FW: Improve Recents (2/2)

- Moved Kill-All option to RB Settings
- Create list preference for different options
- Remove ugly Kill-All button and replace it with image
- Give the user the option to specify location of image (Bottom/Top/Left/Right)
- Add RB Icon for No recents apps
- Move recent items to the middle
- Add header to recent items
- Switch app icons to the right of recent items

Change-Id: I64f3bd1e5bb78b8dd846f90ceeea15907b0eb13b
FW: Improve Recents V2.0

- Removed RB icon in "No Recents", looks weird.
- Changed Recents item header
- 2 options for colors: White/Dark (Dark RootBox)
- Moved app icon to bottom right
Check and fail early if requested wallpaper size exceeds maximum texture size.

This fixes an issue where OpenGL initialization succeeds but buffer allocation fails because the requested wallpaper size
is too large (or otherwise unsupported) by the graphics hardware. This fixes an issue where SystemUI crashes constantly
on the PandaBoard when connected to a full HD display. Tested only on PandaBoard, no access to alternative hardware.
Signed-off-by: Wim Vander Schelden <wim.vander.schelden@philips.com>

Change-Id: I8d2e1ae9fd9772977c4e365f23f2f58bbca3787c
Fix ringer mode being unneededly changed by setting ringer mode volume
to 0.

When having set the ringer mode to silent on a device with vibrator and
calling setStreamVolume() for the ringer stream again (e.g. in one of
the volume control dialogs in the settings app), the ringer mode is set
to vibrate, although there's no reason to do so.

Fix that by remembering the last non-normal (that is, either silent or
vibrate) ringer mode and using that when setting the stream volume to 0.

Change-Id: I27f1c75a0fef52bd63ac20f4101042808ce2c458
JIRA: CYAN-1403
Revert "Ported: Volume adjust sound preference 1/2"

This reverts commit 0a686542789fd8b9317319d5face87a013b39aa3.
Forward port Volume panel style and Linked volumes

Original author ptunstal

Change-Id: I47804b3e405088b9909a30b48142e11cc8c4ac40
Hybrid Toggle (See Credit Below)

Credit and Thanks to Bajee11

Change-Id: Ib52015fc0533979ab7f4ee3f21290aeb4c976c78
prevent viewpager from sneaking in

Change-Id: I16ed8866182cba7a2bbba7f4eb2937d794ed9b72
Make package of paprefs a final variable
Framework: Fix multi-user support in AudioService

Change-Id: Iddeeeac0734a237103e238bcdaa1e85806a64e4f
ThemeUtils: Retain the original package name in themed UI context

In order for themes to reflect on system elements, we're changing
their context, including the package name.

This breaks anything that tries to identify system elements,
most notably any users of the uiautomator. Trying to do
'UiSelector().packageName("android")' to find, for example,
a force-close dialog will fail.

Fixes com.android.cts.uiautomatortest.CtsUiAutomatorTest#testUiWatcher

Change-Id: Ic05c3024b20ac3772ed5597846fbfa4a184ebb0d
Show as floating window on recent apps
Fix derp observer

If per app color is disabled, pie gravity ain't work?

Change-Id: Ia1c1cfc23b521863db7993cad2581b38ea011f0a
Re-work and clean up the Halo style code

Change-Id: I6dd53bfd3e2bdb339a16f0929c4300dd5e3c59a8
HALO: Speech bubble color and text color

TODO: Now ditch Halo Style and bring colors instead.... Because, users had a colorful mind. So let's bring in a colorpicker instead...
HALO: Circle color

Change-Id: I8d30a7c1431fd1886f3e1c2bdb9eff07d3243670
HALO : Ability to enable/disable custom colors

Why? Because, we all know some themers might theme the halo bg or also maybe the speech bubbles, so we trying not to mess with the alternate colors... ;)

Also, the drawable are being color filtered...
HALO : Effect colors
Frameworks: speed up statubar/notification drawer

a lot user complain about slow statusbar pull down introduced
with jb 4.2....this speed it up

thanks to IceColdJelly

Change-Id: Iae108f5680b25ea995168a505a30e06bef0185d3
FW: Final recents commits

- Bring stock recents to stock: White app name
- No more white frames for RB Style: Grey and Black only
- Keep app name on top right to avoid alignment issues
- Fix alignment for HDPI/TVDPI devices

Change-Id: I98fe0cde4d63786dce6b048effd35f4fcc9d10bb