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>
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>
Return PIE behaviour to previous state.
FW: Settings.system get and put arraylist methods

Change-Id: I304b324d48832e18a9468308cffee41f4d1114cd
Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
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>
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
Setting the default value for dock audio

There was no default value for parameter "dock_audio_media_enabled"
in global settings and because of that it couldn't be obtained before
Settings app first start and improper actions, such as FORCE_NONE
sending to AudioSystem instead of FORCE_ANALOG_DOCK, were taken.
This patch sets default value to 'true'.

Change-Id: Idbe343519db15f806f3a237e8b39f8420b9edde1
Signed-off-by: Dmytro Dubovyk <dmytro.dubovyk@ti.com>

Conflicts:
	packages/SettingsProvider/res/values/defaults.xml
[1/2] Power connect/disconnect notification support

part 1/2: frameworks/base PowerUI and Settings
http://review.cyanogenmod.org/#/c/35241/

part 2/2: packages/apps/Settings Sound settings
http://review.cyanogenmod.org/#/c/35242/

patchset 3:
    shrink a couple of long lines
    remove power_notifications_use_default option (folded into ringtone option)
    load default settings in global instead of system

patchset 5:
    support vibrate toggle
    ignore first power state change (on boot) if it's a DISCONNECT

patchset 6:
    fix ignore first power state change

patchset 7:
    change vibrate to default to off
    simplify first power state change ignore logic

Change-Id: I36a6b9f924d2cd52191a8e83a744745b37c5b068
Merge branch 'jb-mr1' of https://github.com/Root-Box/frameworks_base.git into jb-mr1