Sensor: Add RotationVectorSensor2

Some ICS apps (namely, Google Maps) expects a rotation vector to be
available. Newer devices, this is provided by either Android's
sensor fusion (requires Gyro) or by hardware sensor fusion (MPL).

Older devices will lack this virtual sensor and compass in Google
Maps will not work. To fix this, we can provide our own rotation
vector sensor by converting the values from the orientation sensor.
(They are basically the same information in different formats.)

Thanks to Unhelpful for the help with related math.

Change-Id: Id3bad65659174a08cfe945e9af6e48ca012a5135

(cherry-picked from ics)
Telephony: Samsung CDMA SMS fix

Patch set 2: Public.xml...

Change-Id: I82099d60f80f400bfefa23aae78b6102c61937e0
Improve scrolling cache

Scrolling cache helps make short scrolls/flings smooth but will
cause stutter when long flings are made. This patch disables
scrolling cache when long flings are made.

This patch also fixes a related bug where scrolling cache will
not be enabled properly when transitioning from flinging to scrolling.

Patch Set 2: Calculate threshold based on maximum velocity (Sang Tae Park)

Credits: Pawit Pornkitprasan

Change-Id: I1fdbaad92263c9f983a32900e74eba1f0367902b
Signed-off-by: Arham Jamal <arhamjamal@gmail.com>
navbar alpha settings ported from ics

credit:Roman

Change-Id: I3aa373c1e1da02f358042f7bf2da161d4fc5fbbb
SystemUI: fix navbar alpha

Yay navbar alpha now staying the % picked
Signed-off-by: Adam Fisch <adammfisch@gmail.com>

Change-Id: I7b88ed851ea3292a951f380c590f3fc4a8623bf2
Merge "Sensor: Add RotationVectorSensor2" into jb
Merge "Improve scrolling cache" into jb
Merge "Telephony: Samsung CDMA SMS fix" into jb
Add theming of lockscreen and fix reboot dialog not theming.

Change-Id: Ie0aabd4d58b11eac02d0ea116a90d983316145b5
SystemUI: Battery Bar landscape fix

Herpity derp derp derp on my part!
I wold like to take the time to blame protekk and maybe even
xoomdev just because.

Change-Id: I5a3a8cc7a5d8dd38f4df27d10abbf46cf22eff32
Signed-off-by: Adam Fisch <adammfisch@gmail.com>
Merge "SystemUI: Battery Bar landscape fix" into jb
GlobalActions: hide power menu before showing it again

This patch stops multiple power menus popping up when
long pressing power more than once.

Change-Id: I4170b5fb84acfdde1e25a87c29cbb35e796510fc
reboot dialog fixes

1) make un-cancelable: So the user doesn't accidentally close it by tapping outside the dialog

2) set proper dialog window level so it shows up above the lockscreen

Change-Id: I3df6e1d0aa5c99007117c88af96c7b1cd1fecc3f
Signed-off-by: Roman Birg <romanbirg@gmail.com>
framework: correct size of some toggle icons

changed xhdpi torch icon from 48x48 > 64x64 and a few
mdpi icons from 24x24 > 32x32

Signed-off-by: Jonathan Steadman <xxwhitehawk@gmail.com>
Change-Id: I94933ec4cb7ede00b58b4c5661eee4115b61bc49
Framework : @Hide PREVENT_POWER_KEY

@Hide PREVENT_POWER_KEY to prevent it from entering public sdk.

Change-Id: I4fa9430d9796a9eac7273398092dfc9b5cc54d84
SamsungCDMAQualcommRIL: Clean up.

	- Remove HTC, and unused constants.
	- Remove setRadioStateFromRILInt method and
	  extended IccHandler.
	- Format code to make it all pretty and stuff.

Change-Id: I722e2c61515b55cf012dc4dbea12a94fe7e6691a
Change I3b7afc39: SamsungCDMAQualcommRIL: Fix SignalStrength.

Change-Id: I87e833d98c0065e9a4277c09a12c2a1667bd23fa
Framework : Hide PREVENT_POWER_KEY permission

@Hide PREVENT_POWER_KEY permission to prevent it from entering public sdk.

Change-Id: I9955ed17942db5a7f179c2efc97b5b1e563926e2
CdmaLteServiceStateTracker: simultaneous voice and data support on CDMA (e.g: SVDO)

Forward port from CM9 commit I246fe1f609f494006dfa6e98589a62cb859146a4

Change-Id: Ife6fdf67931b48863dea8ced90d6898318249907
Signed-off-by: dhacker29 <davidhackerdvm@gmail.com>
LED flash when screen ON (frameworks part 1/2)

Add ability to select whether the LED will flash
notifications when screen is ON.

Change-Id: I23e3579847b7c4f3b7f4bca63836ce9d2b5600a8