History log of /frameworks/base/core/java/android/preference/VolumePreference.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8c78752f2bf786ca3e6f45b9dc6955d3b4bba59c 14-May-2012 Eric Laurent <elaurent@google.com> Implement new volume display policy.

Whenever a stream type is muted, the progress bar in volume panel
is at 0.
If a stream is muted by ringer mode and does not control ringer mode,
the progress bar is disabled.
Pressing VOL- when in vibrate or silent mode resets the last audible
volume of ringtone stream (music strem on tablets) to 0.

VolumePanel implementation:
- Always prefer AudioManager APIs over AudioService APIs when available on both.
- Do not use AudioManager.shouldVibrate() (deprecated).

Change-Id: I57fcb19ada4e8d729b6b41d668496562ebe340c3
/frameworks/base/core/java/android/preference/VolumePreference.java
5d36715a76e275fe25f0fe65530c6aae3852d914 13-Aug-2011 Amith Yamasani <yamasani@google.com> am 648dc03c: am 4dbd1bc6: am 5f074067: am 712a8cca: Merge "VolumePreference.onActivityStop only stops playback"

* commit '648dc03cd038a726b25929f9ffc142eb16e891e8':
VolumePreference.onActivityStop only stops playback
648dc03cd038a726b25929f9ffc142eb16e891e8 12-Aug-2011 Amith Yamasani <yamasani@google.com> am 4dbd1bc6: am 5f074067: am 712a8cca: Merge "VolumePreference.onActivityStop only stops playback"

* commit '4dbd1bc6ae84cb4d0cd28922e917473ec6e53517':
VolumePreference.onActivityStop only stops playback
014fea2a663ab0bc2d80a6293b84b2647a4a1895 16-Jun-2011 John Reck <jreck@google.com> Inline SeekBarPreference

Dialog-based SeekBarPreference renamed to SeekBarDialogPreference
New inline SeekBarPreference added

Change-Id: I7a5d8f7aa554c4af4086a9bcc74cf07879c8523c
/frameworks/base/core/java/android/preference/VolumePreference.java
0f31fe096856b957d1a0ed96541d7731dcc14177 04-Feb-2011 Eric Laurent <elaurent@google.com> Issue 3371080: fix volume update in mute state.

VolumePreference should take the stream mute state into account
when updating the progress bar if a change is received by
the content observer

Change-Id: Ia1a8af9d4cc349d2d57753d865e8d2e58daf04f1
/frameworks/base/core/java/android/preference/VolumePreference.java
a458868fd432d4b106f2beddec8bdb2a65808fdb 03-Feb-2011 Samuel Asteberg <samuel.asteberg@sonyericsson.com> VolumePreference.onActivityStop only stops playback

In VolumePreference.onActivityStop, the cleanup has
been replaced with only stopping ringtone playback
for the seekbar. This will avoid problems when switching
between applications that previously lead to inconsistencies
in the ring volume dialog.

Change-Id: Ia751fe0893610c4f5650eb07705481400642a84e
/frameworks/base/core/java/android/preference/VolumePreference.java
998127c8049f22cb6f74483f11d693bfd7c59511 01-Feb-2011 Amith Yamasani <yamasani@google.com> Enable subclass of SeekBarVolumizer to provide a custom file for sample playback.

Bug: 3409194
Change-Id: I8a408a69fd14cf9058afe01ac5c46d0f5afc1503
/frameworks/base/core/java/android/preference/VolumePreference.java
b0418da0e7594a8c2164a46985c5f1993632e010 01-Nov-2010 Jeff Brown <jeffbrown@google.com> Add plumbing for volume mute key.

Full support for the volume mute key will be implemented in a
later change.

Bug: 2912307
Change-Id: I98c27d6360f159c8b7447e04b45f442eff87b38a
/frameworks/base/core/java/android/preference/VolumePreference.java
58bb107f2a7016ae5ff707c174f8d45229330498 21-Jan-2010 Amith Yamasani <yamasani@google.com> Workaround for a database update callback that claims that the data doesn't exist.

It's probably some intermediate state when updating the volumes that's causing
the row to be missing.
/frameworks/base/core/java/android/preference/VolumePreference.java
e43530ab571e901f94361078c7c1f970a0bd27f2 21-Aug-2009 Amith Yamasani <yamasani@google.com> Track CPU speed stepping to get more accurate CPU cost per app.

More CPU speed stepping happening with newer devices, so we need
to qualify CPU time with the CPU speed, since power consumption
varies greatly by speed. Apps that peg the CPU should get a higher
penaltly.

Also, fix for 2062930: NPE at VolumePreference.onKey()
/frameworks/base/core/java/android/preference/VolumePreference.java
6ff5906981fac2aa67c8c1f0df151b536e80ccaf 26-Aug-2009 Amith Yamasani <yamasani@google.com> Fix rare NPE due to key being delivered after activity is stopped. #2062930
/frameworks/base/core/java/android/preference/VolumePreference.java
9b4742cf25c2cd7e10d87554c1e8a60c6702edaa 25-Aug-2009 Amith Yamasani <yamasani@google.com> Revert volume if it wasn't okayed by user.

During orientation changes or homing, the volume is reverted. Also,
during pause/resume, the original and modified values are remembered and
restored if the dialog was up.
/frameworks/base/core/java/android/preference/VolumePreference.java
69f593ccb7414ee98991b1da1a4bfbd9951e3570 28-Jul-2009 Marco Nelissen <marcone@google.com> Support for selection of silent ringtone from the ringtone picker.
This doesn't actually enable that, but adds the necessary code to make it work when enabled, and cleans up some ringtone related code.
/frameworks/base/core/java/android/preference/VolumePreference.java
3156bb00dd3ab3d6ec732bb6a64a2e84d08c34f0 13-Apr-2009 Patrick Scott <> AI 145870: Add a build property for the default alarm alert. Update the various
framework classes to deal with the new property. Also update various
documentation that mentions the default ringtones.
Use the build property as the default alert when the user has not chosen
an alert for an alarm. This is also used if the alarm alert is null when
the alarm fires.
BUG=1723684

Automated import of CL 145870
/frameworks/base/core/java/android/preference/VolumePreference.java
ba87e3e6c985e7175152993b5efcc7dd2f0e1c93 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
/frameworks/base/core/java/android/preference/VolumePreference.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/preference/VolumePreference.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/preference/VolumePreference.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/preference/VolumePreference.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/preference/VolumePreference.java