Home
last modified time | relevance | path

Searched refs:volume (Results 1 – 14 of 14) sorted by relevance

/developers/samples/android/wearable/wear/WearDrawers/Wearable/src/main/java/com/example/android/wearable/wear/weardrawers/
DPlanet.java27 private String volume; field in Planet
35 String volume, in Planet() argument
42 this.volume = volume; in Planet()
63 return volume; in getVolume()
/developers/build/prebuilts/gradle/WearDrawers/Wearable/src/main/java/com/example/android/wearable/wear/weardrawers/
DPlanet.java27 private String volume; field in Planet
35 String volume, in Planet() argument
42 this.volume = volume; in Planet()
63 return volume; in getVolume()
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/simple/
DSimpleTvInputService.java80 public void onSetStreamVolume(float volume) { in onSetStreamVolume() argument
82 mPlayer.setVolume(volume, volume); in onSetStreamVolume()
84 mVolume = volume; in onSetStreamVolume()
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/service/players/
DMediaPlayerAdapter.java252 public void setVolume(float volume) { in setVolume() argument
254 mMediaPlayer.setVolume(volume, volume); in setVolume()
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/service/players/
DMediaPlayerAdapter.java252 public void setVolume(float volume) { in setVolume() argument
254 mMediaPlayer.setVolume(volume, volume); in setVolume()
/developers/build/prebuilts/gradle/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/
DScopedDirectoryAccessFragment.java130 for (final StorageVolume volume : storageVolumes) { in onViewCreated()
131 String volumeDescription = volume.getDescription(mActivity); in onViewCreated()
132 if (volume.isPrimary()) { in onViewCreated()
150 Intent intent = volume.createAccessIntent(directoryName); in onViewCreated()
/developers/samples/android/content/documentsUi/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/
DScopedDirectoryAccessFragment.java157 for (final StorageVolume volume : storageVolumes) { in onViewCreated()
158 String volumeDescription = volume.getDescription(mActivity); in onViewCreated()
159 if (volume.isPrimary()) { in onViewCreated()
179 Intent intent = volume.createAccessIntent(directoryName); in onViewCreated()
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/provider/
DSampleMediaRouteProvider.java268 public void onSetVolume(int volume) { in onSetVolume() argument
269 Log.d(TAG, mRouteId + ": Set volume to " + volume); in onSetVolume()
271 setVolumeInternal(volume); in onSetVolume()
328 private void setVolumeInternal(int volume) { in setVolumeInternal() argument
329 if (volume >= 0 && volume <= VOLUME_MAX) { in setVolumeInternal()
330 mVolume = volume; in setVolumeInternal()
334 audioManager.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in setVolumeInternal()
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/provider/
DSampleMediaRouteProvider.java268 public void onSetVolume(int volume) { in onSetVolume() argument
269 Log.d(TAG, mRouteId + ": Set volume to " + volume); in onSetVolume()
271 setVolumeInternal(volume); in onSetVolume()
328 private void setVolumeInternal(int volume) { in setVolumeInternal() argument
329 if (volume >= 0 && volume <= VOLUME_MAX) { in setVolumeInternal()
330 mVolume = volume; in setVolumeInternal()
334 audioManager.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); in setVolumeInternal()
/developers/build/prebuilts/gradle/ScopedDirectoryAccess/
DREADME.md24 StorageVolume volume = sm.getPrimaryVolume();
25 Intent intent = volume.createAccessIntent(Environment.DIRECTORY_PICTURES);
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/service/
DPlayerAdapter.java112 public abstract void setVolume(float volume); in setVolume() argument
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/service/
DPlayerAdapter.java112 public abstract void setVolume(float volume); in setVolume() argument
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/
DRichTvInputService.java251 public void onSetStreamVolume(float volume) { in onSetStreamVolume() argument
253 mPlayer.setVolume(volume); in onSetStreamVolume()
255 mVolume = volume; in onSetStreamVolume()
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/player/
DTvInputPlayer.java397 public void setVolume(float volume) { in setVolume() argument
398 mVolume = volume; in setVolume()
401 volume); in setVolume()