Frameworks: notification drawer background (1/2)

so after keyguard is mostly done let us start notification drawer
and QS. First one custom background.....either color or picture
with custom alpha and ability to set a landscape picture seperatly
(landscape phone only)

Compared to the 4.3 included version completly recoded and better
integrated. No idea what I thought 1 year ago on the old implementation

cheeers

Change-Id: Id7d0f718acd05d34fab57bb250c29ed944bdcd58
fb: support for keyguard widget carusell on tablets

support it as well on tablets and reduce used memory in general
and remove the not needed view instead of just hiding it.

Change-Id: I573bb120c5e3819488fbac6ec12dc9852d4c9be4
fb: notification transparency (1/2)

this add back notification transparency...compared to 4.3
it controlls as well the notification icon backgound transparency
which felt in the past dissplaced. As well codecleanup of the old
implementation.

largeIcon support I did not add due that google does not support it
as well at current status...it is only a placeholder in
NotificationData

Change-Id: Ic5bb8998f64cac573d70005fad909104accc9e96
Keyguard: fix statusbar lags when default widget shown.

When statusbar became expanded KeyguardStatusView receives
onKeyguardVisibilityChanged callback and refreshes ClockView.
Because it receives more than one call and every time it reads
new values from resources it cause lags in opening statusbar panel.

Replace this code with BroadcastReceiver and ContentObserver to
refresh it only in case something was changed.

Change-Id: If0dbc1db059536806852661931cb2e6436f2acf4
fb: post time-critical systemui flags to window manager

thanks Kiril for this suggestion. We are already using window
manager for other things in immersive mode....so nice addition
to fix a race condition

Change-Id: I5d818214d7864014fa77c0d562d2908110d93303
fb: add back small bottom margin 1px

2px was to much 0 was to less.....1 seems to be perfect

Change-Id: Iefa3aee39197786da1652c3b372aa46c0ea3a6dc
fb: less notifications sound (1/2)

add back the 4.3 feature like it was.
User can setup how often notification sound
for an app comes trough so that
it does not annoy to much

Change-Id: I3d7b2ef2e2ff99b7c23880626e0268ec4c5d8543
Framework: Fix GSM signal strength

Certain OEM gsm ril libs send back a bogus value for LTE signal
that causes SignalStrength.java to default to LTE and report
incorrect signal values.
Use prop value ro.telephony.ril.v3=signalstrength to get proper
GSM signal reading on certain devices.

Signed-off-by: dhacker29 <davidhackerdvm@gmail.com>

Change-Id: I86279dcbc350fe718d89070acc12178de3c600c2
fb: changed all open forgoten UI from google into new UI

thanks kroz

Change-Id: Ibc32ad8e73617dd74c8cd313dc2e071962eec966
extend PreferenceActivity for title text on a single pane mode

startPreferencePanel() ignores titleText on a single pane mode
this commits extends PreferenceActivity by adding EXTRA_SHOW_FRAGMENT_TITLE_TEXT to intent

ported from CM9, http://review.cyanogenmod.org/#/c/14919
AOSP part verified, but not merged

Change-Id: Ie0702dc20b17504148f4da9cc83a6d7865d95423
telephony: SignalStrengh: Don't calculate a LTE snr if the srq is invalid

If the previous values are invalid and signal quality is -1, chances are there's
no LTE signal at all, so don't calculate the SNR and mark it invalid as well.

This fixes the strength indicator in GSM devices where it was being skewed
by the ghost LTE value

Change-Id: I070573401c141aa99941a332ee256246697abb90
Quicksettings customizations Slim style

First thank to CM for the general base idea.....but we changed, fixed a lot
as well the UX is not the best on original implementation. It is way to much
to list all down what we changed and ehanced and fixed...so just a small overview

Whatever this patch adds following tiles:

Airplane mode
Battery
Bluetooth
Brightness
Go to sleep
Location
Torch
Lock screen
LTE
Mobile data
Orientation
Settings
Sound
Sync
Wi-Fi AP
Wi-Fi
User switcher
Network mode
NFC
Screen timeout
Quiet hours
Volume
Expanded desktop
Music - new nifty one ;)
Reboot

and the usual dynamic tiles which are always dynamic now. As well we put all setup
options into one screen.

as reference see

http://s1.directupload.net/file/d/3461/phhimlo7_png.htm
http://s7.directupload.net/file/d/3461/fvaxgins_png.htm

and video
http://www.file-upload.net/download-8362155/drawer.mp4.html

PS2: QuietHours broadcast
PS3: Context derp.
PS4
- revert QS battery tile implementation and move it into new
  Battery tile
- move click action to longpress on alarmtile for more consistent
- collapse qs for location tile to show the confirmation dialog
  when turning on
PS5: change sleep screen icon back to our power icon and add longpress
     action to open power menu
PS6: rename GpsTile into LocationTile and do not remove it on devices
     without GPS due that location is always available over wifi as well
     minor icon corrections
PS8:
- added expanded desktop
- added Music tile
- minor fixe
PS9:
- tweek the music tile...check the video
http://slim.mimic.ca/images/music_tile.mp4

PS10:
- better controll of the picture stream on the music tile
- send a broadcast if no bindable music callerId is present
  to force music player to start
PS11:
- fix location tile
PS12:
- add lincenses and changed on some tiles the click and lonpress behaviours
  to be consistent
PS13:
- tweek screen time out tile and added never as option to it
PS14:
- added reboot/recovery tile
- added text color
- tile quanitity per row including text resize
- added tile bg color
- added tile bg pressed color
- added tile bg alpha
- added langscape duplicate or not option
- some tweeks and minor fixes
PS15:
- remove depreciated code
- reboot tile add a small delay before calling final reboot
- remove added padding....not needed any more with the new style
PS16:
- better settings support
PS17:
- add more dynamic tile layout to handle better 3,4,5 tiles in a row
PS18
- wifi tile as well sorry

custom tile not sure if we do in initial version...lets see. Settings is a lot
work due that I want to change a lot on our old version

Other then that it seems to be done now :)

so lets go doing the settings lol

Change-Id: I41c4e06198b0849dba3eefa6f05536d606b49d3b
Frameworks: Quiet Hours Change Logic (1/2)

12:00am - 12:00am = 24 hours
	(Or any "==" time)

This makes more sense for the user
	if they have the direct ability
	to toggle quiet hours.
	The feature should work as-is
	and in a 24-hour on/off manner
	through using the toggle.

Change-Id: Ib10ab5c1ac9278ab1f195d48f88de7357722979c
Framework: Quick Settings Pulldown thanks CM

Change-Id: I322ec2726ec3e6741ea68dee77b56b73c247d11c
Merge "telephony: SignalStrengh: Don't calculate a LTE snr if the srq is invalid" into kk4.4
[1/3] base: allow disabling non intrusive incall ui

Change-Id: Ibe9c65f1fe024a859d98d96fd86199607a1060de
Fix Duplicate Alarm : Replace Cesium with Classic

Change-Id: I0c83d73b8c2cad3cee42f7d9f268dde6a4dd3420
Merge "[1/3] base: allow disabling non intrusive incall ui" into kk4.4
SystemUI: add CHANGE_NETWORK_MODE permission

Required for 2G/3G quick settings toggle

Change-Id: I72392bd995d12c22388c99f34abb431cd0be8f0d
pm: Prevent a system_server crash is package name is null

 * If an app is placed on the system partition and it doesn't specify a
   valid package name, system_server will crash forever. Just skip it.

Change-Id: I9b911d40b3c4d7cf6fac8cc0166a2ba359329b7b