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: Ia2c6761575dcf62adc5eae248125d4e0ad67be5e

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
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: Ia823856b755a129ea1fcddc2e24cb043ac37d621

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Improve scrolling cache

Scrolling cache helps make short scrolls/flings smooth but will
cause stutter when long flings are made. This patch disables
scrolling cache when long flings are made.

This patch also fixes a related bug where scrolling cache will
not be enabled properly when transitioning from flinging to scrolling.

Patch Set 2: Calculate threshold based on maximum velocity (Sang Tae Park)

Credits: Pawit Pornkitprasan

Change-Id: I1fdbaad92263c9f983a32900e74eba1f0367902b
Signed-off-by: Arham Jamal <arhamjamal@gmail.com>
Complete KitKat White UI look
fb: follow on seekbars new UI guideline for 4.4

google forgot some things.....seekbar is one example

Change-Id: I996062a978322c93694e360dff1e4f42dc589062

fb: correct seeker fb style for 4.4

based on this commit https://github.com/SlimRoms/frameworks_base/commit/a845169c128c19825a69a0ebdf2e4d366fdd67ad

the idea was good but bad done. A middle in the night action lol.
Problem is that holo light themed app cannot handle the white seekbar of course
So add the complete seekbar into the Holo.Light switch to support both cases

Holo: white seekbar
Holo.Light: drak gray seekbar

Change-Id: I82252d0cb30cd4af47d624a37ccc904cb7e9c1e6
Signed-off-by: siracuervo <fl.siracusa@outlook.com.ar>

fb: change alert dialog to new 4.4 UI guidelines and add

Holo / Holo.Light switch to reflect it proper on the
different app styles

Change-Id: I0fb7cd06d19a8eef66551e9f0281d60f33b2efe6
Signed-off-by: siracuervo <fl.siracusa@outlook.com.ar>

fb: update missing google UI changes for 4.4

thanks to kroz other things are now as well consistent to the new
google UI style

Change-Id: I604d29293b04bbcf279efd4d5bf2970ff8ee0c75
Signed-off-by: siracuervo <fl.siracusa@outlook.com.ar>

fix remaining blue dialog dividers

Change-Id: I0b4d2d0706f3393933e40d9c70b62aa3c9b68ed5
Change some defaults
Kill floating activities running in the same thread when tapping outside

This change makes all activities from the same app to be finished when we tap outside the halo window. Other apps running in different threads
(floating or not) won't be finished.

Port from here: https://github.com/ParanoidAndroid/android_frameworks_base/commit/f489f45ab2ba5dd4991c241917f7f4b0fd74b884

Change-Id: Ie6d6f46b2e23be60f991520ed480c2866fb2d0e3
Signed-off-by: siracuervo <fl.siracusa@outlook.com.ar>
Ability to disable hardware keys via nav bar settings (2/2)

Signed-off-by: Janson Kang <temasek71@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java

Change-Id: I0524f193c89f6a10032b0bc0a692cd37420f2bec

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Navigation bar dimensions (1/2)

- Change height when in portrait
- Change width when in landscape
- Option to enable or disable nav bar

This is partially ported from SlimRoms
Thanks to @kufikugel

Change-Id: Ic2bfb32684c3d74062d123266db1516e09d92fb6

Conflicts:
	core/java/android/provider/Settings.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Launch floating notifications from notification panel (long click)

 * Status bar - long click on notification select 'floating mode' option
 * PIE - long click on notification, auto launches floating window

Change-Id: Ia7b85ddd41a663d1fb175d60c0fa34bcaf43f28f
Signed-off-by: siracuervo <fl.siracusa@outlook.com.ar>

Conflicts:
	packages/SystemUI/res/values/cm_strings.xml

Conflicts:
	packages/SystemUI/res/menu/notification_popup_menu.xml
	packages/SystemUI/res/values/axxion_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Add missing strings

Conflicts:
	core/java/android/provider/Settings.java
[1/2] base: add CPU info overlay

this shows
CPU temp (if available)
for every core governor + online + freq

PS3:
increased font size

PS4:
whitespace cleanup

PS5:
more of that :(

Change-Id: I8e2fd81edd8499eea2b1a6de8c042938387b33ef
Signed-off-by: siracuervo <fl.siracusa@outlook.com.ar>
Status bar clock and date customization (1/2)
Thanks SlimRoms for this codes.
Based on this commit: https://github.com/SlimRoms/frameworks_base/commit/39545c535c0d0d6857dd769eeae8bda73955d3b1

Change-Id: Ib13e7fd18ae2f22c12eedb8adbae0127822faa6e
Signed-off-by: siracuervo <fl.siracusa@outlook.com.ar>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Conflicts:
	packages/SystemUI/res/layout/status_bar.xml
Fix status bar clock actions

Change-Id: I0b7bc60aa8c98f9ac12cc433a7525598891d61be

Fix icons overflowing status bar view in center clock and date layout

Change-Id: I43829f58330357de7a09d8eb80141a6385aef533
Signed-off-by: siracuervo <fl.siracusa@outlook.com.ar>

Take date into account to not overflow icons in stock or center clock
- This commit complements this other: https://github.com/cristianomatos/android_frameworks_base/commit/0f1165e0149850107314b9781acf2c2b9994f8e7

Change-Id: I469aedf2abb811edbe180a397480829f33ea3245
Signed-off-by: siracuervo <fl.siracusa@outlook.com.ar>
SystemUI: Add missing }
Port OnClick Fliptile animation. (1/2)

credits to: TeamBAMF for the original work.

Change-Id: I27cfd3871e45b8265e16fe15e4f4c1e964a18688

Conflicts:
	core/java/android/provider/Settings.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/quicksettings/ToggleLockscreenTile.java
Quicksettings Customizations (1/2)

- Tiles background color
- Tiles pressed background color
- Tiles text color
- Tiles background transparency

Credits to kufikugel

Change-Id: Ieea096a0b70beb225219d7b1728545a244260fea
Signed-off-by: siracuervo <fl.siracusa@outlook.com.ar>

Conflicts:
	packages/SystemUI/res/values/cm_colors.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Signed-off-by: siracuervo <fl.siracusa@outlook.com.ar>

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/axxion_colors.xml
	packages/SystemUI/src/com/android/systemui/quicksettings/UserTile.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Custom actions on navbar recents long press (1/2)

For now 7 actions are possible
1 - none
2 - last app
3 - screenshot
4 - kill app
5 - notifications panel
6 - QS panel
7 - power menu

Thanks to @kufikugel for base and idea in SlimRoms navbar and navring customization

Change-Id: Ic96d8bb31025efd7260759709ddb8d9736c2619f
Signed-off-by: siracuervo <fl.siracusa@outlook.com.ar>

Conflicts:
	core/java/android/provider/Settings.java
	core/java/com/android/internal/statusbar/IStatusBar.aidl
	core/java/com/android/internal/statusbar/IStatusBarService.aidl
	packages/SystemUI/res/values/cr_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java

Conflicts:
	core/java/com/android/internal/statusbar/IStatusBar.aidl
	core/java/com/android/internal/statusbar/IStatusBarService.aidl
	packages/SystemUI/res/values/axxion_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Power menu QS tile (1/2) (Needed by long press navbar)

- Simple press goes to power menu dialog
- Long press goes to reboot dialog

Change-Id: Ica86831bf02be60b88a693b6367be6f08e705ba6
Signed-off-by: siracuervo <fl.siracusa@outlook.com.ar>

Conflicts:
	packages/SystemUI/res/values/cr_strings.xml

Signed-off-by: siracuervo <fl.siracusa@outlook.com.ar>

Conflicts:
	packages/SystemUI/res/values/cr_strings.xml

Signed-off-by: siracuervo <fl.siracusa@outlook.com.ar>

Conflicts:
	core/java/android/view/WindowManagerPolicy.java
	core/java/com/android/internal/util/cm/QSConstants.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
Frameworks: apple can do...we can do as well

incredible apple engineers speeded up the overall UI and reduced per default slightly
the animation scales. Well we do as well and reduce it from 1 to 0.75...smooth, looks well
and does not break anything

Change-Id: Icbcc889e49c8d3ab24cf2b1c10bbe0e8bf7e7637
DocumentsUI: Add a standalone File Manager

This commit adds a standalone mode to the DocumentsUI, to let
it act as a file manager/explorer.
You can browse your storage contents, open files, and delete them,
as well as do everything that the DocumentsUI can do (ie. sort
by name/size/type, list and grid view, recents, search, ...).

This gives us a consistent file browsing UX accross all apps
that uses the new documents API.

Change-Id: If73a3c100f010bdb766c843976d4fd3573ea805c