[1/3] STE OMX Fix

Fix Camera, Camcorder and Torch on STE Devices

Change-Id: I1611493914a8bf14174264350be7863da5d560b8
[1/3]Base: All in One Animation Control

Allow configure System, ListView, Scroll, and Keyboard Animation

base from
AOKP Animation Control https://github.com/AOKP/frameworks_base/commit/015c9cf00a8e49aea22d70b57b0af87c9134be73
thanks to Steve Spear <stephen.k.spear@gmail.com>

ListView Animation https://gerrit.omnirom.org/#/c/2863/
thanks to jkl5616<jkl5616@gmail.com>

Keyboard Animation https://github.com/zst123/XuiMod/commit/975cd531a9a847769b2af306495643a55ec44aaa
thanks to zst123 for patches

with slight modification to OmniRom

Scrolling Animation https://github.com/zst123/XuiMod/commit/48c180cfa762617f59b4ceb3da50a6c28befe24f
thanks to zst123 for patches

add toast animations

PS 40: rebased due to changes in 4.4.3_r1.1,
       conflicts: core/java/android/widget/AbsListView.java
PS 42: Cory Collins' fix

Change-Id: I878e2e845c75a5e7ccf5de69383b18478de60d65
[1/3] Base: Battery Saver mode

Concept:
http://jira.omnirom.org/browse/CONCEPT-24

introduce battery saver mode
this based from what user want or what user do to saving the battery life
this include:
1. Automatically switch mobile network into what user choice and also disable mobile data IF wifi connected to an AP
2. Automatically switch mobile network and disable mobile data IF battery low (battery level can configure)
3. Reduce screen brightness based low battery (this feature will disabled if Auto brightness mode enabled)
4. Not changing network IF on Call or Usb tether enabled or WifiAP enabled
5. Not changing network IF there is Download/upload progress
6. Support For Both GSM and CDMA devices (need someone to test for CDMA devices)
7. every condition has an option :D
8. Restore all network configuration if battery saver mode disabled
9. Add Time Range to start battery saver mode
10. allow device without mobile data support, to using this feature
11. fix inconsistent battery low level
12. rewrite to better performance
13. modified the controller to support battery saver mode
14. add bluetooth, gps, wifi, and mobile data (if support) to be disabled while power saving activated
15. fix build QuickSettings because of LocationController change
16. rewrite to better performance
17. fix brightness value
18. rewrite (again) to allow add more saving mode
19. do delay changing only for POWER SAVING not NORMAL mode
20. add Cpu power saving mode
21. fix Cpu freq value
22. fix call saving state for non user configuration mode
23. fix NPE
24. add kill all task
25. add disable sync
26. add disable vibrate
27. add disable led
28. add notification :)
29. finally fix sync interval :D

preview:
http://jira.omnirom.org/secure/attachment/10394/Screenshot_2014-03-07-19-54-57.png
http://jira.omnirom.org/secure/attachment/10395/Screenshot_2014-03-07-19-55-56.png
http://jira.omnirom.org/secure/attachment/10396/Screenshot_2014-03-07-19-56-06.png
http://jira.omnirom.org/secure/attachment/10397/Screenshot_2014-03-07-19-56-14.png
http://jira.omnirom.org/secure/attachment/10398/Screenshot_2014-03-07-19-56-27.png
http://jira.omnirom.org/secure/attachment/10399/Screenshot_2014-03-07-19-56-34.png

PS47: fix conflicts.
PS48: forgot delete obsolete call to refreshImmersiveTile()

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothController.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java

Change-Id: I9d86ef1425228e11cadd85d37c5b6e8b20e50fb0
[1/2] Base: On-The-Go mode

On-The-Go turns on the camera of your phone and streams it to an overlay,
which is drawn over everything.
this makes you feel like your display is transparent, as you see the content
behind it.

its really useful when you are using your phone while walking, thats why
we called it "On-The-Go"

allows to change transparency of the overlay via the notification.

have fun!

rewrite and tweak de service

add Tile

drawable courtesy of @Alex-Cruz thanks :)

also fix possible NPE

PS11: rebased
Conflicts:
        packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSetting$

PS12: handle display orientation changes, now Landscape also working
      (tested, working, not sure if i merged it the right way
      https://gerrit.nameless-rom.org/4950 )

PS13: Make it multi-user aware (https://gerrit.nameless-rom.org/4951/_

Change-Id: I149e3578e51d9b8b8c8bff41c4eaebca774739ab

Conflicts:

	packages/SystemUI/res/values/custom_strings.xml
6380/24

Change-Id: Id2911672611692569d3c875c1f29fa2ca739a688
6378/21

Change-Id: I5f746f35476c310a089d9952fe280a0417d129dc
6515/10

Change-Id: I2f763e94a4ae5174d401c879083552517e420909
Base: Follow 4.4 UI

Follow on seekbars new UI guideline for 4.4

google forgot some things.....seekbar is one example

Change-Id: Ib281c3a5364f5c4168c7e3b0e419a18a12b18e82

fb: correct seeker fb style for 4.4

based on this commit https://github.com/SlimRoms/frameworks_base/commit/a845169c128c19825a69a0ebdf2e4d366fdd67ad

the idea was good but bad done. A middle in the night action lol.
Problem is that holo light themed app cannot handle the white seekbar of course
So add the complete seekbar into the Holo.Light switch to support both cases

Holo: white seekbar
Holo.Light: drak gray seekbar

Change-Id: Ic493219cf520ce622e80b467e58599e3cb72ec65

fb: global menu follow new 4.4 UI

the sound indicator is still ICS blue...change it to white
In general we should consider to change all tab_selected
files into a Holo.Light switch due it is already defined in styles.xml

but thats work for our themer :p

Change-Id: I90fd3e02bc3e9b229d104afc63f42c8cd2680df1

fb: change alert dialog to new 4.4 UI guidelines and add

Holo / Holo.Light switch to reflect it proper on the
different app styles

Change-Id: I5ffee96e2c2e467bcf1cb8c017a2c776329132dd

Update missing google UI changes for 4.4

thanks to kroz other things are now as well consistent to the new
google UI style

Change-Id: Icf00c216377377e577fdf660628d450c07f1170a

fb: changed all open forgoten UI from google into new UI

thanks kroz

Change-Id: Ic2f560fd07365448ffd06a54a08963c8fac2dff9

Update the color of the expandable volume panel icon

This still retains the old settings icon since it
happens to fit perfectly. Pressing it does indeed
show you a bunch of sliders like the icon indicates.

Also add xhdpi and xxhdpi versions.

Change-Id: I944a325c8871e1afc9d7163b0f23f7f9d8ae070a

Change-Id: Ie0e75fce17816ecc87a895a2d493e03399ca86b7
Fix: "Ok Google"

-It seems thats the "source" device is defined incorrectly
for this device. So we just switch to the known mic source.

-This might be better fixed in somewhere else but this works
until/if a better fix is found.

Change-Id: Ia02fe0a766f16633fc4fc0f516ebf4f21e660eaa
Always reset alarm sooner if mTryAgainTimesMax has a negative value

Change-Id: I5babf1a891f085f1e97f18cc42aee3471478c60a
Merge https://github.com/golden-guy/android_frameworks_base into android-4.4
Always re-try sooner, if mTryAgainTimesMax has been defined negative

Change-Id: I8a8ed022448acfa7870d719dd8ff235bd1b389e5