HomeSort by relevance Sort by last modified time
    Searched refs:currentVolume (Results 1 - 25 of 53) sorted by null

1 2 3

  /frameworks/base/media/java/android/media/update/
VolumeProvider2Provider.java 25 void setCurrentVolume_impl(int currentVolume);
StaticProvider.java 113 int maxVolume, int currentVolume);
  /frameworks/av/packages/MediaComponents/src/com/android/media/
VolumeProvider2Impl.java 34 @VolumeProvider2.ControlType int controlType, int maxVolume, int currentVolume) {
39 if (maxVolume < 0 || currentVolume < 0) {
41 + ", maxVolume=" + maxVolume + ", currentVolume=" + currentVolume);
43 if (currentVolume > maxVolume) {
44 throw new IllegalArgumentException("currentVolume shouldn't be greater than maxVolume"
45 + ", maxVolume=" + maxVolume + ", currentVolume=" + currentVolume);
50 mCurrentVolume = currentVolume;
69 public void setCurrentVolume_impl(int currentVolume) {
    [all...]
  /frameworks/support/media/api21/androidx/media/
VolumeProviderCompatApi21.java 25 public static Object createVolumeProvider(int volumeControl, int maxVolume, int currentVolume,
27 return new VolumeProvider(volumeControl, maxVolume, currentVolume) {
40 public static void setCurrentVolume(Object volumeProviderObj, int currentVolume) {
41 ((VolumeProvider) volumeProviderObj).setCurrentVolume(currentVolume);
  /frameworks/base/media/java/android/media/
VolumeProvider.java 74 * @param currentVolume The current volume on the output.
76 public VolumeProvider(@ControlType int volumeControl, int maxVolume, int currentVolume) {
79 mCurrentVolume = currentVolume;
115 * @param currentVolume The current volume on the output.
117 public final void setCurrentVolume(int currentVolume) {
118 mCurrentVolume = currentVolume;
VolumeProvider2.java 75 * @param currentVolume The current volume on the output.
77 public VolumeProvider2(@ControlType int controlType, int maxVolume, int currentVolume) {
79 this, controlType, maxVolume, currentVolume);
122 * @param currentVolume The current volume on the output.
124 public final void setCurrentVolume(int currentVolume) {
125 mProvider.setCurrentVolume_impl(currentVolume);
  /frameworks/base/media/java/android/media/session/
ParcelableVolumeInfo.java 33 public int currentVolume;
37 int currentVolume) {
42 this.currentVolume = currentVolume;
49 currentVolume = from.readInt();
63 dest.writeInt(currentVolume);
ISession.aidl 52 void setCurrentVolume(int currentVolume);
MediaController.java 327 result.maxVolume, result.currentVolume);
    [all...]
  /frameworks/support/media/src/main/java/android/support/v4/media/session/
ParcelableVolumeInfo.java 30 public int currentVolume;
34 int currentVolume) {
39 this.currentVolume = currentVolume;
46 currentVolume = from.readInt();
60 dest.writeInt(currentVolume);
  /frameworks/support/media/src/main/java/androidx/media/
VolumeProviderCompat.java 80 * @param currentVolume The current volume.
82 public VolumeProviderCompat(@ControlType int volumeControl, int maxVolume, int currentVolume) {
85 mCurrentVolume = currentVolume;
120 * @param currentVolume The current volume of the output.
122 public final void setCurrentVolume(int currentVolume) {
123 mCurrentVolume = currentVolume;
126 VolumeProviderCompatApi21.setCurrentVolume(volumeProviderObj, currentVolume);
MediaController2.java     [all...]
  /frameworks/base/services/core/java/com/android/server/hdmi/
VolumeControlAction.java 164 int currentVolume = audioManager.getStreamVolume(AudioManager.STREAM_MUSIC);
167 return currentVolume == maxVolume;
169 return currentVolume == 0;
  /packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
VolumeAdapter.java 56 vh.currentVolume = convertView.findViewById(R.id.current_volume);
67 vh.currentVolume.setText(String.valueOf(mVolumeList[position].mCurrent));
107 TextView currentVolume;
  /external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
RecorderRunnable.java 477 int currentVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_MUSIC);
483 currentVolume--;
484 mAudioManager.setStreamVolume(AudioManager.STREAM_MUSIC, currentVolume, 0);
495 if (currentVolume < mMaxVolume) {
496 currentVolume++;
498 currentVolume, 0);
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowAudioManager.java 208 private int currentVolume;
219 return currentVolume;
236 currentVolume = vol;
  /frameworks/av/packages/MediaComponents/src/com/android/media/update/
ApiFactory.java 221 int maxVolume, int currentVolume) {
222 return new VolumeProvider2Impl(instance, controlType, maxVolume, currentVolume);
  /packages/services/Car/service/src/com/android/car/
CarAudioService.java 140 final int currentVolume = getGroupVolume(groupId);
144 if (currentVolume > getGroupMinVolume(groupId)) {
145 setGroupVolume(groupId, currentVolume - 1, flags);
149 if (currentVolume < getGroupMaxVolume(groupId)) {
150 setGroupVolume(groupId, currentVolume + 1, flags);
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
MediaController2Test.java 554 final int currentVolume = 23;
557 new TestVolumeProvider(volumeControlType, maxVolume, currentVolume);
572 final int currentVolume = 23;
575 new TestVolumeProvider(volumeControlType, maxVolume, currentVolume);
    [all...]
MediaSession2Test.java 307 final int currentVolume = 23;
310 new VolumeProvider2(volumeControlType, maxVolume, currentVolume) { };
321 assertEquals(currentVolume, info.getCurrentVolume());
349 assertEquals(currentVolume, info.getCurrentVolume());
    [all...]
  /frameworks/support/media/version-compat-tests/current/service/src/androidTest/java/android/support/mediacompat/service/
ServiceBroadcastReceiver.java 156 volumeInfo.currentVolume) {});
  /frameworks/support/media/version-compat-tests/previous/service/src/androidTest/java/android/support/mediacompat/service/
ServiceBroadcastReceiver.java 155 volumeInfo.currentVolume) {});
  /frameworks/support/media/src/androidTest/java/androidx/media/
MediaController2Test.java 691 final int currentVolume = 23;
694 new TestVolumeProvider(volumeControlType, maxVolume, currentVolume);
710 final int currentVolume = 23;
713 new TestVolumeProvider(volumeControlType, maxVolume, currentVolume);
    [all...]
MediaSession2Test.java 441 final int currentVolume = 23;
444 volumeControlType, maxVolume, currentVolume) { };
454 assertEquals(currentVolume, info.getCurrentVolume());
485 assertEquals(currentVolume, info.getCurrentVolume());
    [all...]
  /frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/androidx/media/test/client/
MediaController2Test_copied.java 706 final int currentVolume = 23;
709 new TestVolumeProvider(volumeControlType, maxVolume, currentVolume);
725 final int currentVolume = 23;
728 new TestVolumeProvider(volumeControlType, maxVolume, currentVolume);
    [all...]

Completed in 3679 milliseconds

1 2 3