XML: Update fill_parent to match_parent (API 8)
sysUI: fix for double recents and foreground activity

1. aosp has a rare bug that displays twice the amount of
recents at startup - sometimes. its hard to reproduce because it is
caused by the interaction of two concurrent threads. one of these
will try to cancel the other, but in some cases that flag comes in
too late and the result is double-recents.

2. google blinds out the foreground task. this will unhide it.
its actually great for quitting an app or for accessing hybrid props.

Change-Id: Ia9fd6479d89ea0dfe14e4d83697a01f1b3931aa3
Fix statusbar transparency

* Fixes statusbar becoming 0% transparent after theme change
* Fixes the dumb old method to set transparency, this one sets alpha
  instead of overriding background color (wich makes statusbar not themeable)

Change-Id: Ia850d729fad880b71fccc950b0d9036f9b7265b1

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
sysUI: fix for double notification avatar

using the compat_ticker which is tied to the old icon/text format.
we loose content by doing this, but it seems jb cant deal with custom
content anyway.

Change-Id: Ia3dee8506f12bb06f31471c1d16da85272cb7cef
Revert "sysUI: fix for double notification avatar"

This reverts commit 2514254a5e3b4c2079f5e596e310a14da01806f9

Change-Id: Ib5303702cf2fbeb75c00cefe67b19f50023cd085
sysUI: idiotic aosp bug (double icon/notification ticker)

google meant to say "icon_right", not "icon" since they display
"iconLarge" already in sysUI's ticker via system_bar_ticker_panel.
used to show the avatar twice, the second one was cut. now it shows
the avatar left, like always, and the app icon centered on the right,
just like in the notificationpanel.

Change-Id: I90867f768c75e25eca025b67786d749a96215757
aapt: Add simple caching to XML compilation

XML compilation stage will perform many (expensive) resource ID
lookups - for the same entries. Adding this simple cache can
dramatically improve performance of this stage (often a bottleneck)

Change-Id: Ib1ab82ba9bf901bc2a3f9027b47d680861d6c315
Signed-off-by: Jorrit Jongma <jorrit@jongma.org>
sysUI: g-now swipe-up hold-off fix

Change-Id: I9f8ec1c47a5114fa5417691413e04e0e07b9fe80
Framework: NavBar transparency (1/2)

Change-Id: Ib27834f4f2416cfa8916502007003874b0aaf99f

Conflicts:

	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
frameworks: fix for minus sized layouts

android will not accept layouts smaller than zero, for obvious reasons.
it should not bring down apps though but simply zero out the layout in
question.

Change-Id: I82e39d2ce096213a7504da7ec369cf803164941a
sysUI: double ime toggle + compat button

tabUI's ime toggle is better no doubt, but it kind of interferes with
the way standard aosp handles it, and it is hardcoded. for better or for
worse, this will kill it. the compatbutton aswell.

the result is, we get one ime toggle in the form of a standard notification
icon. this icon has no function, unless we swipe up the center and tap it,
just like in phoneUI.

Change-Id: I4114d4f9b22a7ceac70a8bb4ce9ccffb08ea2ded

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
optional encryption password sync

Option to use 2 different tokens for encryption and locking.
Allows convenient usage and strong encryption at the same time.

Inspired by reading next:
https://santoku-linux.com/howto/mobile-forensics/how-to-brute-force-android-encryption

Related discussion:
http://code.google.com/p/android/issues/detail?id=29468

Change-Id: I87f12bb1644f3abcbbd6b23813bbbf2cd58855df