History log of /frameworks/base/core/java/android/preference/VolumePreference.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bcc1087af40a0e1bb35dbe8a39c830ecdea8280b 28-Nov-2014 John Spurlock <jspurlock@google.com> Volume: Improve inline volume controls used in settings.

- Make the system internal ringer mode change signal available to
other system components via a standard intent, instead of a
volume-controller-only binder call.
- Update sysui to use new intent for icon policy.
- Add proper muting state to the volumizer, to look more like
the associated volume panel slider.
- Add basic ringer mode state tracking for the notification-ring
slider setting.

Bug: 17899613
Change-Id: Ie2df52edb070055ef59c74039162a0e785d2fdbb
/frameworks/base/core/java/android/preference/VolumePreference.java
735f9ebc188e1cb225533e1f5f9ef925d1f0b20e 21-Oct-2014 John Spurlock <jspurlock@google.com> Settings: Make SeekBarVolumizer more null-resilient.

Now that the instances are reusable, ensure all "post" methods
do a handler check, and ensure they are all internal.

Bug: 18063070
Change-Id: Idc478c636686f666f5656f3d07bf2738ba3e9a5a
/frameworks/base/core/java/android/preference/VolumePreference.java
0e588ea8e1746f3335b2b5c8a51fdd9a96167b59 08-Oct-2014 John Spurlock <jspurlock@google.com> Make SeekBarVolumizer restartable.

Decouple start from constructor, making it possible to restart
once stopped.

Bug:17898190
Change-Id: I2f860864161f818d5a62a28331ef1c47051fb39f
/frameworks/base/core/java/android/preference/VolumePreference.java
95caba127051845ff1e26d7e64909db89408e8e7 27-May-2014 John Spurlock <jspurlock@google.com> frameworks/base: Performance tweaks for SeekBarVolumizer.

Move ringtone init to the worker thread. Allow the volumizer
instance to be reused by making the seekbar settable.

Bug:15091992
Change-Id: Ib616ae0fbb9a45c63391f8335e48ec2754dbdcd5
/frameworks/base/core/java/android/preference/VolumePreference.java
74a2e06d831432f27ebd17cf6f1d0086356e7ee0 17-May-2014 John Spurlock <jspurlock@google.com> VolumeZen: frameworks changes to support Settings.

- Pull SeekBarVolumizer out into a separately reusable class.
- Make register/unregisterOnActivityStopListener avail to system code.
- Add new setting for displaying suppressed notifications in zen mode.

Change-Id: Ic30aa575ae07650cee62c8c1d83b6bc69395cf0d
/frameworks/base/core/java/android/preference/VolumePreference.java
fcb48b3ab94ab6f87b5e29f8d56a3939d4938129 16-May-2014 Alan Viverette <alanv@google.com> Ensure volume preference has correct defStyleAttr

BUG: 14635756
Change-Id: Id78da5df3d355a4dda9bd1b80b14df54803d5d03
/frameworks/base/core/java/android/preference/VolumePreference.java
617feb99a06e7ffb3894e86a286bf30e085f321a 10-Sep-2013 Alan Viverette <alanv@google.com> Add View constructor that supplies a default style resource

Also updates the constructor of every class that extends View.

BUG: 10676369
Change-Id: Ifaf27bf82028d180afa4931c0e906df88d858ac3
/frameworks/base/core/java/android/preference/VolumePreference.java
aca105cfb4479cf8635baed699daf803648a3fed 13-Apr-2013 Eric Laurent <elaurent@google.com> VolumePreference: fix audio sample playback

Handle audio sample start/stop request in a handler
to avoid race conditions.

If a sample is active, do not ignore playback requests but
schedule a second attempt one second later. This is to avoid
ignoring a playback request if a sample is short or about to finish.

Bug: 8176776.

Change-Id: If2d5f7d469eba345af3f4771067a076a56f4bfed
/frameworks/base/core/java/android/preference/VolumePreference.java
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