camera: add power mode support

Based on commit 7036d66bec7697160ba1b2e255f1e7fae0c8c435 from CAF,
branch ics_chocolate.

Change-Id: I8a60668b18980fd5e6f9dd341db5a8a63deb99d0
Port "Option to control cursor in text fields using volume keys (1/2)"

This feature is moved to framework so it also works with third party keyboards.
Patch Set 3: Added missin @hide statements

Change-Id: I8e20240e7bee5351ab20bb3d701eb95a5fd3e112
Fix derp in WindowManager

Signed-off-by: travp624 <travp624@gmail.com>
QuietHours: fix missing boolean in vibrator service

Signed-off-by: travp624 <travp624@gmail.com>
QuickSettings: Allow custom off-status strings for translates

- GPS
- Torch
- Wi-Fi AP

PatchSet 4:	Removed all translations.

Change-Id: Ibc7fa50c8b1ee87170bd4b58866e45c63655a192

Conflicts:

	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/quicksettings/GPSTile.java

Signed-off-by: travp624 <travp624@gmail.com>
Clean up, simplify and fix AlarmTile class and logic

This commit cleans up the AlarmTile class by removing the unnecessary
listener on the alarm intent. It now listens only to the next alarm
setting value, which was fetched after receiving the intent anyway.

These changes also fix a bug that would cause the tile to not show up
after some actions, like reordering the tiles due to the visibility not
being set on tile creation.

Lastly, some minor code styling issues have been fixed.

Patch set #2: collapse onNextAlarmChanged into onChangeUri, remove
mEnabled, use TextUtils to check for string emptiness and mark
updateQuickSettings explicitly as public.

Change-Id: Ic5871a9cc4874f33181dfac14e25a89499c182f2
Quick Settings: Fix flip-to-settings animation

Bug is reproduced as follows:

1. close the notification area while Quick Settings is showing
2. open the notification area, so that the notifications show
3. click the button on the top, to switch to quick settings.

Notice that only half of the animation is played. Having some
notifications shown helps visualizing it.

This bug was introduced by

I3cab45f72fe3c5fa40d4631fc6a84ea7bfe51bd1
http://review.cyanogenmod.org/29118
(Yes, it was me. Sorry.)

Change-Id: I31510617bf7e78fa09305a9c323b6ce30c058218
QuickSettings: add LTE tile (1/2)

ps 1: add all things for lte toggle
ps 2: cleanup unused code in QuickSettingsController.java

Signed-off-by: travp624 <travp624@gmail.com>
Merge pull request #1 from Backed/jb-4.2

Jb 4.2