Revert "Pie: Fix navigation icon hints being cleared on reorientation"

Not recreating every time causes a regression of the hold pie while rotating bug

This reverts commit 148de1e8b7756a01e0d7f3353756fcb49860ba62.

Change-Id: I8dd2b22f257e66586fda018f7a90cfbcc982ba03
PIE: Add themeable colors support

Move colors to xml resources.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Pie: Fix Pie positioning when PIE_ALWAYS_AT_RIGHT

Locking Pie to a single physical side of the screen makes perfect
sense when it's done on the short side of the screen (bottom in
portrait) as then Pie is more easily swipeable in at all times, but
a user might instead prefer being able to quickly swipe in from the
right or left hand side in portrait which becomes cumbersome when the
device is turned to landscape as the user is then forced to reach to
the middle of the long side of the screen which becomes located at
the bottom making it harder to access Pie.

The PIE_ALWAYS_AT_RIGHT value should be used to solve this issue
by forcing Pie to relocate itself to the right hand side just
like with the stock navigation bar.

Change-Id: I9b4dd3cee3fa7d85194389640dcedc02fa522530
Themes: Use INSTALL_LOCATION_INTERNAL_ONLY for legacy icon packs

If an icon pack is currently applied and is installed using forward
locking, the system will crash when the pack is updated.  Several
applications can have the pack attached to their resources and this
causes the system to crash because it cannot unmount the asec container
to finish the post install process.  Installing these packs to internal
storage without forward locking alleviates this issue.

This is done with theme packs as well, including legacy themes.

Change-Id: I155fc0bd671f3f9baaf2565d1c4d654a0a5348dc
Themes: Theme IME switcher alert dialog

Change-Id: I5344e9ddbacb1520080532d9cc1a7a5f5428e131
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Merge "PIE: Add themeable colors support" into kitkat
HOVER: Match notification width on tablets too

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Merge "Themes: Use INSTALL_LOCATION_INTERNAL_ONLY for legacy icon packs" into kitkat
Merge "Themes: Theme IME switcher alert dialog" into kitkat
Merge "Pie: Fix Pie positioning when PIE_ALWAYS_AT_RIGHT" into kitkat
HOVER: Ensure to clear after reparenting all notifications

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: I8d3735836952394942f044ebd067d7cc7a82bc2e
HOVER: Fix notification content not being updated

Change-Id: I6f5e95cfff9b78cdabd1d9aa00e0577b0ab78508
Merge "HOVER: Fix notification content not being updated" into kitkat
SystemUI: Make battery indicator themeable

- make statusbar and quicksettings tile individually themeable
- add a couple of colors for circle battery
- make circle battery size & thickness themeable

Change-Id: Ibec608fa41c68df9aa3f9cb1e79bf7e0d5d7c39a
Merge "SystemUI: Make battery indicator themeable" into kitkat
Merge "HOVER: Match notification width on tablets too" into kitkat
Framework: Lower long press back to kill timeout to 250

Adjust timeout to 250 so long pressing back to kill mimics the behavior
of long pressing Home for Google Search, keeping both long press methods
in the navbar the same.

Also set defaultHomePackage to Google Now Launcher instead of the AOSP
launcher.

Change-Id: I1817d2046daf1baa56d015b4ed52537c221199e2
Signed-off-by: Rob Beane <robbeane@gmail.com>
Merge branch 'kitkat' of https://github.com/AOSPA/android_frameworks_base into kitkat