Allow unlinking of notification sound and ringtone volume. Thanks to http://forum.aokp.co/
 for this.

Change-Id: I55db003cc1691fbca5d3e8ea79e088d0622d38ee

Conflicts:

	core/java/android/provider/Settings.java

Conflicts:

	media/java/android/media/AudioService.java
Sound Settings - Quiet Hours (Part 2 of 2)

This is the frameworks part of the Quiet Hours settings, ported from
CM7

Patch set 3 - Using a separate observer
Patch set 4 - Rebased

Change-Id: Id1756b62ed8146cf6a7cc2d80f2dbe1a5803eb66

Conflicts:

	core/java/android/provider/Settings.java
	services/java/com/android/server/NotificationManagerService.java
Conflicts:

	core/java/android/provider/Settings.java
	services/java/com/android/server/NotificationManagerService.java
	services/java/com/android/server/VibratorService.java
fix notification bug
Conflicts:

	services/java/com/android/server/NotificationManagerService.java

Change-Id: Iffeb63c85ab431ea51d915dc29f6e7a6f3d34125
Interface Settings: battery display

Patch Set 4: Adjusted battery graphics as requested
Patch Set 5: Decreased font size for tablets

Change-Id: Icc27099206b0296f79d61fa0bcf33fc8d4e10060
Conflicts:

	core/java/android/provider/Settings.java
	packages/SystemUI/res/layout-sw600dp/status_bar_notification_area.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Conflicts:

	packages/SystemUI/res/layout/status_bar.xml
	packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
Interface settings: clock display

Change-Id: I99abcd92320a083a2e3be79fec5cfc3e0bb80b47

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
Interface Settings: signal status style (2/2)

Ported from CM7 change I4984b06c70acd49862b5afc502cb4875abba64b7

Change-Id: Iebce598e278e8429444db862dd71547f57ea86ba

Conflicts:

	packages/SystemUI/res/values/styles.xml

Conflicts:

	packages/SystemUI/res/layout/status_bar.xml
	packages/SystemUI/res/values/styles.xml
systemui: Add option to enable notification counts
Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/StatusBarIconView.java

Change-Id: I28a94fafbfe55d4f90faa10582b9d0ae62c2442e
Configurable 0, 90, 180 and 270 degree rotation (framework part)

This is similar to my previous CM contributions. Requires settings
UI to configure (not done yet). The rationale is to be able to
have automatic rotation always enabled, but only for desired
angles.

Change-Id: I19d3d2cb91249ba2cdee310e6ff7b0978e9bfde0

Conflicts:

	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Conflicts:

	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Extended Power Menu - Reboot

Ported the reboot menu from CM9 to CM10, the original patch was not
clean and require a bit of re-work.

Change-Id: I70cf515f097ea94aedaa7469b0cb18c797af4b57

Extended Power Menu: Initialize reboot reason to the first reason
Change-Id: Id94863d56c45ff10d3ded7f62e3f2ef7b8cd0e69

Extended Power Menu - Reboot
Change-Id: I8c3a773ba943dc42e8cf3feab32c462d25d3bb06

Conflicts:

	core/res/res/values/public.xml

Conflicts:

	core/java/android/view/WindowManagerPolicy.java
	core/res/res/values/arrays.xml
	core/res/res/values/public.xml
	core/res/res/values/strings.xml
	services/java/com/android/server/pm/ShutdownThread.java
	services/java/com/android/server/wm/WindowManagerService.java
move power off too top
Framework:Use holo alert drawable

Change-Id: If4de3695351d23b2a0994d5e3af94fc30a6cf878
framework: fix notification icons not animating till ticker is updated

Fixes Android issue #15657

Change-Id: Ic406ffbf139ae1562ed2b048b2e8e1f8b734271c
bootanim: Don't cache textures if they're expected to use a lot of VRAM

bootanimation cached all the textures generated until the animation
was completed.
For Hi-res animations with lots of frames (like the new CM9 anim on
xhdpi devices), this implied using large amounts of video RAM, more
than most devices actually have available, causing the animation to
stall (and in some cases, gralloc to lock up); so if an animation is
expected to use a lot of RAM (rough estimation based on frame size
and number of frames), disable cache entirely and generate the textures
on demand

Change-Id: I157e5cdde2aab1d82d980d77cbedd9f127c83a1d

Conflicts:

	cmds/bootanimation/BootAnimation.cpp
bootanimation: performance enhancements

This patch implements two simple performance enhancements, which
might benefit devices. They are completely opt-in by setting
the following variables.

  * TARGET_BOOTANIMATION_PRELOAD: will preload the bootanimation
    zip to memory; this is handy on devices where the storage
    might be slow. By preloading it, we get quick access to the
    zip file, and the animation doesn't stutter.

  * TARGET_BOOTANIMATION_TEXTURE_CACHE: allows maintainers to
    force texture cache on/off.

Also fixes the sign warnings related to int / size_t comparison

Change-Id: Ie92d1b0aa90b43ba39c368a2a33657a60c3a64b5

Conflicts:

	cmds/bootanimation/BootAnimation.cpp
bootanimation: fix usage of LOGW

Change-Id: I1d59df9f44f414d80058a532644cbbb40e22c701
bootanimation: allow using RGB565 instead of ARGB8888

RGB565 uses considerably less memory, and together with texture
cache, it allows us to offer a really smooth bootanimation on
not so powerful devices.

Change-Id: I9da8fd7e6a587b5895519dd0983ec9b8f676771b
Add CmCircleBattery to StatusBar options (1/2)

Cyanogenmod Circle Battery implementation
- Done 100% in pure code, wont blow up the framework with countless png resources
- View can be shown with or without percentage as text inside
- Indicator turns holo-red below 15%.
- All sizes are calculated on the fly and should work on all current and
  future screen resolutions. (needs testing)
- All colors are read from the holo-theme, so changes by themers will be obeyed.
- The lower part of the pictures tries to illustrate the charge animation.

Screenshot: http://dl.dropbox.com/u/16186798/cm10/cm-circle-bat-mockup.png

Patchset 2:
- Level >= 95% is treated as 100% (see inline comment)
- paint.setDither(true) should reduce artifacts on 16bit color depth devices
- modified tablet-specific xml. alignment should fit now (not tested yet)
- cleaned up some xml formating derps
- fixed possible crash bug

PS3: 97% seems better than 95% for full circle

Patchset 4+5: lost track of patchsets.

Patchset 6:
The battery fill-up above 97% was a quick shot. In the end,
we show the right percentage in text, but circle fills up, once 97% is
reached. This also solves the issue, that circle with very tiny gap
looks slightly unbalanced.

Also gave in about code formating. Its for the greater good. (I still am
convinced, the whole world is wrong about this :)

Patchset 7:
- Fix derp

Change-Id: I3dfe0b4e69c545cb9bbad2d1461d154618c60e00

Conflicts:

	core/java/android/provider/Settings.java
	packages/SystemUI/res/layout/system_bar_notification_area.xml
	packages/SystemUI/res/layout/system_bar_notification_panel_title.xml
	packages/SystemUI/src/com/android/systemui/statusbar/policy/DockBatteryController.java

Conflicts:

	packages/SystemUI/res/layout/status_bar.xml
	packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
CircleBattery: Revamped charging animation

Youtube Video: https://www.youtube.com/watch?v=nztroKnBDPs

Patchset 2: removed obsolete mPaintAnim

Change-Id: I629614497fc47d96eda03912d5dac4d6dd2ed0df

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/policy/CircleBattery.java

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/policy/CircleBattery.java
Add Lockscreen rotation as optional setting