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
derp on cameratile
fix pac alpha flicker

Change-Id: Ia7122f965382b9686d53e4a518093f2bc76709f7
Merge commit 'ac1f149' into jbam10
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

Conflicts:

	core/java/android/provider/Settings.java
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

Conflicts:

	packages/SystemUI/res/layout-sw600dp/navigation_bar.xml
Fix MDPI Bluetooth statusbar icon

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

Conflicts:

	core/res/res/values/symbols.xml
SystemUI: Fix translatable [translation]

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

Conflicts:

	core/res/res/values/symbols.xml
Merge commit 'fa6afe1' into jbam10