History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/VolumeController.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
48f37ec8c98a6281dbf067d1740a3bc4953ed26f 05-Oct-2012 John Spurlock <jspurlock@google.com> Keep quick settings brightness icon/dialog level in sync.

We now listen for brightness changes and update the icon appropriately.
Note there are still only two icon states in QS (auto-on and auto-off).

We also listen for user switches, since the brightness setting is per-user.

The manual brightness level is now kept in sync with level set in Settings.

This change is tightly scoped to brightness only. Any other
QS bugs should be triaged separately.

Bug:7283805
Change-Id: Ibaf8fe94e98f65cc02efe7fcddf4f38370fdb09f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/VolumeController.java
bffc3d1bd33eb2d8e00a9f8b6261d815db503311 08-May-2012 Eric Laurent <elaurent@google.com> Silent and Vibrate mode clean up

Clean up related to new Vibration policy.
The vibrate behavior is now only derived from:
- presence of a vibrator on the device
- current ringer mode selected: NORMAL, VIBRATE or SILENT
If no vibrator is present the ringer mode can only be NORMAL or SILENT.

The control of ringer mode via volume keys when volume keys control the "master"
stream type (RING on phones, MUSIC on tablets) is as follows:
If a vibrator is present:
VOL- and volume equals 1: NORMAL => VIBRATE
VOL- and volume equals 0 and not continuous press: VIBRATE => SILENT
VOL+ and in SILENT mode: SILENT => VIBRATE
VOL+ and in VIBRATE mode: VIBRATE => NORMAL, volume = 1
If no vibrator is present:
VOL- and volume equals 0 and not continuous press: NORMAL => SILENT
VOL+ and in SILENT mode: SILENT => NORMAL, volume = 0

VIBRATE_ON and VIBRATE_IN_SILENT settings are not stored/retreived any more.

AudioService checks and corrects ringer mode and stream volumes if necessary when reading from
DB at boot time.

Also:
Added dump for stream volumes in AudioService.
Added device names missing in AudioSystem for USB accessory and USB device.

Issue: 6036529
Issue: 6414950
Issue: 6448163

Change-Id: I77fb821ec63e4e566320cac2701b4ac466e86aef
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/VolumeController.java
1e28f4110f4005a38a1c55836b87df706e8e3229 01-Dec-2010 Joe Onorato <joeo@google.com> Brightness and volume controls in the quick settings panel.

Change-Id: I2d2394c84a2783772f16dbeb88664381917e0ead
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/VolumeController.java