Home
last modified time | relevance | path

Searched refs:currentVolume (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/media/java/android/media/
DVolumeProvider.java76 public VolumeProvider(@ControlType int volumeControl, int maxVolume, int currentVolume) { in VolumeProvider() argument
77 this(volumeControl, maxVolume, currentVolume, null); in VolumeProvider()
91 int currentVolume, in VolumeProvider() argument
95 mCurrentVolume = currentVolume; in VolumeProvider()
137 public final void setCurrentVolume(int currentVolume) { in setCurrentVolume() argument
138 mCurrentVolume = currentVolume; in setCurrentVolume()
DMediaRouter.java2547 SessionVolumeProvider(int volumeControl, int maxVolume, int currentVolume) { in SessionVolumeProvider() argument
2548 super(volumeControl, maxVolume, currentVolume); in SessionVolumeProvider()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputBaseAdapter.java316 final int currentVolume = device.getCurrentVolume(); in initSeekbar() local
318 if (mSeekBar.getVolume() != currentVolume && (mLatestUpdateVolume == -1 in initSeekbar()
319 || currentVolume == mLatestUpdateVolume)) { in initSeekbar()
324 updateTitleIcon(currentVolume == 0 ? R.drawable.media_output_icon_volume_off in initSeekbar()
330 (int) ((double) currentVolume * VOLUME_PERCENTAGE_SCALE_SIZE in initSeekbar()
337 mSeekBar.setVolume(currentVolume); in initSeekbar()
341 } else if (currentVolume == 0) { in initSeekbar()
345 if (currentVolume == mLatestUpdateVolume) { in initSeekbar()
381 int currentVolume = MediaOutputSeekbar.scaleProgressToVolume( in initSeekbar()
383 mStartFromMute = (currentVolume == 0); in initSeekbar()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DVolumeControlAction.java163 int currentVolume = audioManager.getStreamVolume(AudioManager.STREAM_MUSIC); in shouldUpdateAudioVolume() local
166 return currentVolume == maxVolume; in shouldUpdateAudioVolume()
168 return currentVolume == 0; in shouldUpdateAudioVolume()
/frameworks/base/media/java/android/media/session/
DISession.aidl55 void setCurrentVolume(int currentVolume); in setCurrentVolume() argument
DMediaController.java995 @IntRange(from = 0) int currentVolume, in PlaybackInfo()
1001 mCurrentVolume = currentVolume; in PlaybackInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/volume/slider/ui/viewmodel/
DCastVolumeSliderViewModel.kt66 value = currentVolume.toFloat(), in PlaybackInfo()
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
DMediaRouter2ManagerTest.java747 int currentVolume = sessionInfo.getVolume(); in testSetSessionVolume() local
748 int targetVolume = (currentVolume == 0) ? 1 : (currentVolume - 1); in testSetSessionVolume()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt30283 Landroid/media/session/ParcelableVolumeInfo;->currentVolume:I