SystemUI: RAM bar view optimizations

findViewById() was being called every time updateSettings()
was being called. Instead, let's instantiate them once, and 
remove calls to updateSettings() since it will be called 
on its own when the setting values change.

Change-Id: Iaa02343caccb615921219be2a56b3bac4f3263b9
Signed-off-by: Roman Birg <romanbirg@gmail.com>
SystemUI: fix recents minimization animation

Splitting up the buttons into each class is cute, 
but it only seemed to complicate its interactions. 
The instantiation was wrong before anyways and 
onTouchListener was never being registered 
(which is why the animation was wonky).

Change-Id: I4194569aaf0099754852d5cfb83f308f3271008b
Signed-off-by: Roman Birg <romanbirg@gmail.com>
FW: Settings.system get and put arraylist methods

Change-Id: I304b324d48832e18a9468308cffee41f4d1114cd
Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Updated simplified Chinese translations

Change-Id: I1405784a576ccf0ad1b1460a41933b3b188376d0
Merge "SystemUI: RAM bar view optimizations" into jb-mr1
Battery: Solid green when battery is full and introduce 4th stage

* Solid green when battery is full
* Introduce 4th step in colors which includes 69-99%
	 0-14: red
	15-69: orange
	70-99: yellow
          100: solid green

Change-Id: I24af9bb012744ea15d411c2aa42afe9388f2a97e
Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>
Revert "Workaround until gps can be fixed, force gps to stay in standalone mode when ro.agps.allow=false"

This reverts commit 15ca77919a320e6fb1178178ab225e8c4291d6e4

Change-Id: I94eefa844c9c2b2cbfbcd009ad423242477f4183
Merge "FW: Settings.system get and put arraylist methods" into jb-mr1
Merge "Battery: Solid green when battery is full and introduce 4th stage" into jb-mr1
FW: Method for exluding options from navbar.

Change-Id: Icd6d51fe95a2dabd20c7c138d0b31159d4cd78ff
Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Merge "Updated simplified Chinese translations" into jb-mr1
Policy: Lockscreen Targets Unlock speed update

Fixes lag on the classic lockscreen targets and sets up a broadcast
receiver to use those methods from outside of policy like navring
example this commit and the future AOKP Ribbon.

Change-Id: Ia0735aa26a4cd1a2c95d0860992837daf5cacf6d
FW: AOKP Ribbon

This creates a series of options for shortcuts in a few places

The AOKP Swipe ribbon
Lockscreen ribbon
Notifications ribbon
Quick Settings ribbon

Options for Long Press, Icons size, Custom Icons,
  Text on and off, Text color, and options for
  Swipe ribbon color and Opacity.

Change-Id: I6bfb541801bd428b5eee06ef1c3f7d23ef7eeede
Merge "FW: Method for exluding options from navbar." into jb-mr1
FW: Updated czech translation for Ribbon

Change-Id: I0b00a2621676c421d822af55449459c75d403150
Signed-off-by: kecinzer <kecinzer@gmail.com>
SystemUI: StayAwake Toggle

Instead of overcomplicating toggle, onLongClick simply takes the user to
Settings$DisplaySettingsActivity instead. onClick (on) sets screen timeout to
int MAX_VALUE(approx 24 days), and restores user value onClick (off).

** Icon Credit to Nitroz(Thanks a ton!)

Change-Id: Ifd2051b2a6e8235160713cad3b4385dbb6d66b8f
Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>
FX: NavRing fix longpress derp.

Change-Id: Icebb34612b65ff30e427f237780b366f94a9b24e
Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
FW: Ribbons Padding, Click options, autohide updates 1/2

Adjustable padding
vibrate on click optional
if no short action set use long action icon and
  dont set short click listener - long press only mode...
Autohide flakiness fixed
Don't unlock on torch

Change-Id: I45c9f29453220e80249300b66bb61d5a7afc784f
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: Ic6d9deb4ae49c87251b8b258ff0f42da46910986
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Merge "Dynamic glowScale adjustment and spacing of NavBar." into jb-mr1