fix pac alpha flicker

Change-Id: Ia7122f965382b9686d53e4a518093f2bc76709f7
FW: User select Tablet Mode -  NAVIGATION_BAR_WIDTH [2/2]

Partially pick some left over from AOKP commit "FW - User select Tablet Mode [2/2]"

Change-Id: I512a4cc653d11f3b387730fb6a49233b8e3e987c
Dynamic glowScale adjustment and spacing of NavBar.

This adjust the Glowscale for the NavBar buttons based on
the number of buttons on the bar.  I also added spacer
views to the outer edges of the NavBar.  This helps alleviate
conditions where the glow was cut off on outer buttons (especially
in tablet UI).  It also makes the Glow more appropriately sized
as the number of buttons increase.

There are still some cases where an excess number of buttons,
and a small navbar percentage (TabUI) is going to create some
glow cut-off conditions.  That's just going to be unavoidable when
the user tries to squeeze it down that small.

ps 2: Adding the spacers now only occurs on TabUI.  This prevents
    major changes to the look/layout of buttons on Phone/Phablet,
    but still provides glow cutoff release for tablets, as they
    were the worst effected.
ps3 : adjust the size of the separators to not squeeze navbar too much

PS4 : whitespaces

Change-Id: Icbc60d748fc1c4e37115801a67115b27363798ec
FW - Restore Padding in NavBar Buttons.

In a prior patch to adjust NavBar glow I removed extra padding
that was inserted when there was only 3 buttons.  This caused
the NavBar to tighten up a bit on this case.  This restores
the previous condition of adding a little extra space when
only 3 buttons involved.

Change-Id: I9177cd7eaa795c3705f4e83362648aca992d2fe3
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
SystemUI: TabletUI - disable search light in lockscreen & fix systembar transparency

Change-Id: I00306537b7d8d84486043c19b2483b1ac7eed34e
clean up double imports

Change-Id: I1d26be25d0851ae312e0646309a3501afe29ddde
InputDevices: DE translations

Change-Id: I15d98333db8859082c489df9c157eb4c21f65b3e
InputDevices: PT-BR update translations

Change-Id: I071120fc5088b47d82da4bb36c3525bf6192d1e7
SystemUI: CA translations

Change-Id: Iaf635b393451801dcf530e5ad70ceb46a297dc76
PackageManager: allow build-time disabling of components

Allow components to be specified as disabled at build time
(applied on boot).

This allows stock OTA components to be marked as disabled in
CM builds.

Change-Id: I6e4499cc40a779792a5ea97a10137399dad7d69f
SystemUI: Fix translatable [translation]

Change-Id: I407e9ea2525ec8ba8570cb4edbd190f4076df4e5
Fix notification background

Change-Id: I168985b3c279d9ad8b444d278d4cf6c0326d2130
ShortCutBar support

PS2: Add back darker gradient

Change-Id: Ibcac1bf8c1810771f5a82395d434d0687406fb2e
Low-end devices need help!

-> Check for wakelocks faster
-> More granular hidden apps selection
-> Kill hidden and service_b apps at higher lmk
-> Rearrange OOM values [similar to SuperCharger! But not exact]

Change-Id: If6163a8c15b8c3ec622a44124609be21b4359e36
ActivityManager: memoize for performance

isHighEndGfx and isLargeRam are frequently called upon.. isLargeRam very
frequently within the ActivityStack. these aren't going to change after
they're calculated the first time so subject them to a basic memoization.
FTW.

Change-Id: I176089f99ac6c6e4074cb2fde502c729986ea701
Fix DataInputStream leaks

Fix fixes
-In viewstateserializer, try to close before throwing or returning, and throw early if inputstream is null
-other stuff

Change-Id: I7f3b16057582566b82a85841829ff6ed11cd570e
potential GraphRunner leak in camera effects

if the camera FCs while recording effects.. *poof* a tiny leak is born.
so.. we close mRunner onDestroy.

Change-Id: I6a7983f120a03137f545a3cd9bb07ff51a9cd2d7
activity manager tweak-a-roonie

Change-Id: Ic511257e8154610288019c52fb41cc6bf551ebd3
fix cursor leaks in F_B

my previous commit was submitted before i was finished.  Here is an updated version.

PS2: missing bracket

Change-Id: I9d8048e49695cdac7ded086cd49ee6eb99e518cc
Selectively restore non-stupid parts of stuff we had
before a patented nuclear decrapificating

Change-Id: I679f5748365bb50451abc71398dcf35002282330