SystemUI: Fix potential NPE
Does already cause issues on some Halo ports to other ROMs.
Might not cause issues on PA (yet), but better safe than sorry.

Change-Id: I0ac29c0544cee7679d19624e5e9ced1e79b3ab1b
Camera Tile : Close on flip/switch

Currently the camera tile only checks whether the
container panel is fully expanded. This doesnt take into account
when the user swipes to another panel via handle bar swipe, or by
pressing the switch button in the top right of the drawer.
Reproduction steps :
    Go to quick settings panel
    Enable camera tile
    Switch to notifications via swipe or switch button
    Camera preview stays persistent behind drawer
This patchset also makes the view hierarchy lookups one time, rather than
on each runnable run which is quite frequent (100ms).

Change-Id: Iecea1a0fe727909bf9289acd5cddc66744b59fa9
Revert "JWR bits and pieces"

We are still using this like i said here

http://review.pac-rom.com/#/c/2028/

Change-Id: Ic5355d7fc7082336b4f17688609a47291151454b
Framework: Quick Access Ribbon (Part 1 of 2)

This patchset removes power widgets and replaces it with
a smaller version of the quick settings panel.

ps7- squashed this commit and this: http://review.pac-rom.com/#/c/1997/
together. renamed mRibbonQS & added an extra onChange method in PhoneStatusBar.
added missing attributes in QuickSettingsContainerView (this killed
duplicate tiles in landscape at this moment, will fix later).

Change-Id: I347736ae61590c279baed8403d1e82a4241576d5
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
Fix MDPI Bluetooth statusbar icon

Change-Id: Ibbd54996ec20ffe9e300aff886517d86cc2c509c
Framework: fix double-underscore derp

Change-Id: I6317ac69fa1972929f1baa854e79295496669c14
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