HOVER: Fix status bar icon size

Thanks to Lo Huot

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: I59d7a0d8712a5d0f7aa3dc12d9bc3e9884f69f98
Themes: Make notification list bg themeable (PS2)

Thanks Thomas Ekelschot :)

Screen of themed resource https://imgur.com/c8t1Zn0

PS2: Add Clark's proposed changes
PS3: Cleanup old color resource in main xml
PS4: Add informative screen

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: I8eb4427747c3eb035b416860c3ca47122e45c16f
IconPackHelper: Don't respect an icons original size if too large.

  - Otherwise, if an application isn't following app icon guidelines,
  it can create an OOM situation when creating the new icon based
  on the original resource's height and width.

Change-Id: I9430445da5e393cdbf76ed9ebd9698bf30df6a95
Frameworks: Cleanup some CM dependencies

- Wrongly squashed into our xmls

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
SystemUI: Correct settings observer usage

Settings observer was already created by a global variable, but
it was never used and instead a new one was created in start().

Corrected the code to utilize the already created settings observer.

Change-Id: I337ce12bf32f0355f6280f7b74767e5eb17438a6
Signed-off-by: Evan Anderson <evan@thelinuxman.us>
SystemUI: Allow theming of the "no recents" label

This commit defines the label of the "no recent apps" label as a
simple color which allows it to be modified in themes. This resource
matches what CM has been using in cm_colors.xml for a while.

Change-Id: I1346eb25dbcab519f3794d6601337ffa3b632e35
Merge "SystemUI: Allow theming of the "no recents" label" into kitkat
Merge "SystemUI: Correct settings observer usage" into kitkat
Merge "HOVER: Fix status bar icon size" into kitkat
Merge "IconPackHelper: Don't respect an icons original size if too large." into kitkat
Framework: Make the dialog divider color themeable

The holo blue color might not be suitable for some themes. This commit
swaps out the background of all titleDivider elements to use another
resource. This has no difference from the perspective of the user of a
"stock" build but this is huge for theme users.

Thanks to Arz Bhatia for the suggestion.

Change-Id: Icb917220accac3ad38770067120a7b1be894961a
SystemUI: Separate system bar BGs for themes

This commit separates the navigation bar background colors from the
status bar background colors which allows more modular theme-ability.
Backwards compatibility for the old system bar values is still
preserved, but the new values are to be prioritized.

Thanks to Arz Bhatia for the suggestion.

Change-Id: Ibe579d16ea35ca5bdcfe9f98143c3f91cd24900f
Merge "SystemUI: Separate system bar BGs for themes" into kitkat
SystemUI: Follow CM changes for system bars [PS3]

Tracking http://review.cyanogenmod.org/69166
For initial change ID Ibe579d16ea35ca5bdcfe9f98143c3f91cd24900f

This commit removes some hardcoded values and cleans up special casing
as suggested by people in CM. This shouldn't really change anything
for the end user or the theme creator. This only makes the codebase
easier to maintain and understand later down the line.

Change-Id: I8c70e2f1ab7ac789d8beb21a4e8ae7f32db9f015
Merge remote-tracking branch 'pa/kitkat' into kitkat
SystemGestures: Filter navbar interactions

- Since we don't hardcode edge gesture service here (bad),
  let's avoid pulling statusbar when swiping from bottom and pie is on.

- Also cleanup a duplicated registered observer.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Merge branch 'kitkat' of https://github.com/AOSPA-legacy/android_frameworks_base into AOSPA-legacy-kitkat

Conflicts:
	core/res/res/layout/alert_dialog_holo_dark.xml

	modified:   core/java/android/app/IconPackHelper.java
	modified:   core/res/res/layout-xlarge/activity_list.xml
	modified:   core/res/res/layout/alert_dialog_holo_dark.xml
	modified:   core/res/res/layout/dialog_custom_title_holo.xml
	modified:   core/res/res/layout/dialog_title_holo.xml
	modified:   core/res/res/layout/dialog_title_icons_holo.xml
	modified:   core/res/res/layout/notification_action_list.xml
	modified:   core/res/res/values/pa_colors.xml
	modified:   packages/SystemUI/res/drawable-xxhdpi/ic_notify_hover_normal.png
	modified:   packages/SystemUI/res/drawable-xxhdpi/ic_notify_hover_pressed.png
	modified:   packages/SystemUI/res/layout/status_bar_no_recent_apps.xml
	deleted:    packages/SystemUI/res/values/cm_dimens.xml
	modified:   packages/SystemUI/res/values/pa_colors.xml
	modified:   packages/SystemUI/res/values/pa_dimens.xml
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/phone/BarTransitions.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarTransitions.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarTransitions.java
	modified:   policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Merge branch 'AOSPA-legacy-kitkat' into kitkat