AudioService: Remove STREAM_NOTIFICATION from ringer mode streams

Change-Id: Ie8d25743b27839fa2bd4e9ae5d3d0a49410ac5b4
JIRA: CYAN-344
Issue: https://jira.cyanogenmod.org/browse/CYAN-344
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Fix layout of MultiWaveView and GlowPadView.

If the calculated size of the rings is much smaller than the measured
size (which is happening e.g. on mdpi 600x1024 tablets), the glow pad
appeared shifted to the right.
This happened due to the insets being calculated as difference of
available and needed size, and later on being added to the available
size. Example numbers (Nexus 4 with density forced to 160):
- computed size in onMeasure: 768x505
- scaled size in onMeasure: 505x505
- thus, insets are calculated as 131/0
- in onLayout, placementWidth (364) and max target width (108) are much
  smaller than width (768)
- thus, center is calculated as 131 + (768 / 2) = 515, thus shifted to
  the right

Fix that by not using width in the calculation, as the inset size
already takes it into consideration.

JIRA:CYAN-829
Change-Id: Ifc2a93214f812f554a8fed3243eed66aec9f00c9
Clock.java : possible memory leak

Change-Id: I319da341f8eb32652a943c1a9bb4b5c4e0c491ed
Framework: GlowPad Torch

LongPress GlowPad...Torch.
Release...No Torch.

Magical Unicorn Dust Not Included
With Your Purchase

Change-Id: I1e5178822efb10f205d30d059af78ebeba6f39a7
Update toggle state base on slim update

Change-Id: Ife15135a6bebe0272257f2ace528c192c14226ad
Fix broken TRDS "multi-select" actionbar on hdpi devices

Change-Id: I0253ecc057e0e66174149694ff300de7c277b1b9
Update custom statusbar font size to patchset 19

Change-Id: I5bf7087edc5dc8e8ef2f592933f581dc8688de68
Framework: Collapse Shade TogglePref

Change-Id: I2fddec83602b284266631bdff722aa93a2d10c30

Conflicts:
	core/java/android/provider/Settings.java
Add transparency settings for lockscreen (2/2)

This will enable the user to set the transparency level
for the lockscreen.

Change-Id: I624b2e136432bb0effceac9f7d41c78c65d22125
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Revert "Use RGB565 surface for wallpaper"

This reverts commit 69a5e4808ad927105e4e099eb7bfc631a0d467fd.
Revert "Prefer 16bpp formats for opaque bitmaps"

This reverts commit e42b690d6f2b24860e56cfc8d2210f53866e10e1.
Improve auto-brightness handling

- Add a setting to control the auto-brightness algorithm responsitivity
- Make the algorithm react much faster when the ambient brightness
  increases quickly, e.g. when receiving a call in bright sunlight.

Change-Id: Ic608901c476609dde69cae982228c09567140a83

Conflicts:
	services/java/com/android/server/power/DisplayPowerRequest.java
	services/java/com/android/server/power/PowerManagerService.java
FW: Menu Overflow Disable - Different Implementation

Original method I used to enable the menu overflow disable option incorrectly disabled the menu overflow altogether for some devices due to a late night derp.

This implementation of the check to confirm if the menu overflow has been disabled through ROMControl should hopefully correct this issue.

Change-Id: I673b298da03838a29004815eee35c63afb74ffbb
Revert "ClockActions: Dismiss Keyguard"

This reverts commit 460a156d2075a03bc0cdbd1d544cb7fd7590f4aa.
ClockActions: Dismiss Keyguard

Kanging SteveSpear's Brilliant
    dismissal method here.
    Doesn't require an activity
    as ...OnNextActivity() does.

PS2: TabletStatusBar.java as well

Change-Id: I2e9a3d8e42f2cd2a41f954026d0e38fe40c5da67
Cleanup overflow ui

Change-Id: I619ccb1194db0d4a1e53c4fe7d2a934bda5d70a4
Audioservice : fix logical error

Change-Id: I6cde1bc8ee6bbcdb29911ae526619f511d8a850e
Pie: Add option to change pie's angle from the attach 2/2

Conflicts:
	core/java/android/provider/Settings.java

Change-Id: I961c202a93c4ad3eeb17a565e081abe3104d575b
Pie: let Chevron adapt itself from pie's angle.
>
> This make Chevron able to recreate the battery bar when the angle changes.
Pie: set angle default to 12° (1/2)

Conflicts:
	core/java/android/provider/Settings.java

Change-Id: Ifebd142667d421e634f3a5914d12f648cdda84fb