/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
MediaPresetReverbTest.java | 47 // Implementor UUID for volume controller effect defined in 203 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); local 210 // creating a volume controller on output mix ensures that ro.audio.silent mutes 258 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); 276 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); local 281 // creating a volume controller on output mix ensures that ro.audio.silent mutes 343 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0);
|
MediaEnvReverbTest.java | 53 // Implementor UUID for volume controller effect defined in 358 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); local 365 // creating a volume controller on output mix ensures that ro.audio.silent mutes 415 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); 433 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); local 438 // creating a volume controller on output mix ensures that ro.audio.silent mutes 502 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0);
|
MediaVisualizerTest.java | 50 // Implementor UUID for volume controller effect defined in 236 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); local 242 // creating a volume controller on output mix ensures that ro.audio.silent mutes 299 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); 315 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); local 321 // creating a volume controller on output mix ensures that ro.audio.silent mutes 431 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0); 437 //Test case 2.2: test capture in polling mode with volume scaling 441 // SCALING_MODE_AS_PLAYED mode decreases when lowering the volume 454 // creating a volume controller on output mix ensures that ro.audio.silent mute [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
Events.java | 17 package com.android.systemui.volume; 27 import com.android.systemui.volume.VolumeDialogController.State; 32 * Interesting events related to the volume.
|
VolumeDialogMotion.java | 17 package com.android.systemui.volume; 42 private final ViewGroup mContents; // volume rows + zen footer
|
MediaSessions.java | 17 package com.android.systemui.volume;
|
VolumeUI.java | 17 package com.android.systemui.volume; 107 if (LOGD) Log.d(TAG, "Registering default volume controller"); 110 if (LOGD) Log.d(TAG, "Unregistering default volume controller");
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
alsa_mixer.c | 72 {" Playback Volume", CTL_PLAYBACK_VOLUME}, 73 {" Capture Volume", CTL_CAPTURE_VOLUME}, 74 {" Volume", CTL_GLOBAL_VOLUME}, 404 ALOGV("capability: volume\n"); 477 * This is useful for volume controls which take two parameters as input value. 529 int volume = 0; local 538 ALOGV("capability: volume\n"); 553 volume = 1; 558 volume = 1; 574 if (!volume) [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
NotificationPlayer.java | 39 * the addition of a volume parameter. Hopefully the framework will adapt AsyncPlayer to support 52 float volume; field in class:NotificationPlayer.Command 93 player.setVolume(mCmd.volume, mCmd.volume); 274 * @param volume The volume at which to play this sound, as a fraction of the system volume for 276 * volume with no attenuation. 278 public void play(final Uri uri, final boolean looping, final int stream, final float volume) { 285 cmd.volume = volume [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
AudioManagerTest.java | 101 float volume = 13; local 108 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP, volume); 109 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN, volume); 110 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT, volume); 111 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT, volume); 121 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP, volume); 122 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN, volume); 123 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT, volume); 124 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT, volume); 444 assertEquals("setStreamVolume did not change volume", 467 int volume, volumeDelta; local [all...] |
/external/libgdx/backends/gdx-backend-moe/src/com/badlogic/gdx/backends/iosmoe/objectal/ |
ALChannelSource.java | 370 @Selector("volume") 371 public native float volume(); method in class:ALChannelSource
|
ALSource.java | 464 @Selector("volume") 465 public native float volume(); method in class:ALSource
|
OALAudioTrack.java | 394 @Selector("volume") 395 public native float volume(); method in class:OALAudioTrack
|
/external/webrtc/webrtc/voice_engine/test/android/android_test/jni/ |
android_test.cc | 71 if (!veData1.volume) \ 74 "Volume pointer doesn't exist"); \ 126 VoEVolumeControl* volume; member in struct:__anon26903 224 veData2.volume->SetSpeakerVolume(204); 1089 // [Volume] Set speaker volume 1098 if (veData1.volume->SetSpeakerVolume(level) != 0) 1104 if (veData1.volume->GetSpeakerVolume(storedVolume) != 0) 1173 // Volume 1174 veData.volume = VoEVolumeControl::GetInterface(veData.ve) [all...] |
/frameworks/av/services/audioflinger/ |
AudioMixer.h | 58 static const uint32_t MAX_NUM_VOLUMES = 2; // stereo volume only 75 RAMP_VOLUME = 0x3002, // ramp to new volume 76 VOLUME = 0x3003, // don't ramp 100 // for target RAMP_VOLUME and VOLUME (8 channels max) 176 // TODO: Eventually remove legacy integer volume settings 178 int16_t volume[MAX_NUM_VOLUMES]; // U4.12 fixed point (top bit should be zero) member in union:android::AudioMixer::track_t::__anon28038 252 float mVolume[MAX_NUM_VOLUMES]; // floating point set volume 253 float mPrevVolume[MAX_NUM_VOLUMES]; // floating point previous volume 254 float mVolumeInc[MAX_NUM_VOLUMES]; // floating point volume increment 340 /* multi-format volume mixing function (calls template function [all...] |
/frameworks/base/media/java/android/media/ |
Ringtone.java | 160 * Sets the volume on this player. 161 * @param volume a raw scalar in range 0.0 to 1.0, where 0.0 mutes this player, and 1.0 164 public void setVolume(float volume) { 166 if (volume < 0.0f) { volume = 0.0f; } 167 if (volume > 1.0f) { volume = 1.0f; } 168 mVolume = volume; 326 // do not play ringtones if stream volume is 0 335 final float volume; local [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
OpenExternalDirectoryActivity.java | 91 // Special directory name representing the full volume 126 final StorageVolume volume = (StorageVolume) storageVolume; local 128 volume.getUuid(), directoryName) == PERMISSION_NEVER_ASK) { 137 if (!showFragment(this, userId, volume, directoryName)) { 153 * Validates the given path (volume + directory) and display the appropriate dialog asking the 159 Log.d(TAG, "showFragment() for volume " + storageVolume.dump() + ", directory " 165 if (DEBUG) Log.d(TAG, "root access requested on primary volume"); 174 Log.e(TAG, "Could not get canonical file for volume " + storageVolume.dump() 199 // Gets volume label and converted path. 206 for (VolumeInfo volume : volumes) [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
MediaRouteProviderService.java | 272 int controllerId, int volume) { 278 controller.onSetVolume(volume); 280 Log.d(TAG, client + ": Route volume changed" 281 + ", controllerId=" + controllerId + ", volume=" + volume); 299 Log.d(TAG, client + ": Route volume updated" 688 int volume = data.getInt(CLIENT_DATA_VOLUME, -1); local 689 if (volume >= 0) { 691 messenger, requestId, arg, volume);
|
/packages/services/Car/service/src/com/android/car/hal/ |
AudioHalService.java | 139 * Audio volume change from car. 141 * @param volume 144 void onVolumeChange(int streamNumber, int volume, int volumeState); 146 * Volume limit change from car. 148 * @param volume 150 void onVolumeLimitChange(int streamNumber, int volume); 371 int volume = v.getInt32Values( local 377 listener.onVolumeChange(streamNum, volume, volumeState);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/pulse/ |
introspect.h | 33 #include <pulse/volume.h> 147 * modify the volume of the audio. Identical to how sinks and sources can 164 * If an application desires to modify the volume of just a single stream 165 * (commonly one of its own streams), this can be done by setting the volume 168 * There is no support for modifying the volume of source outputs. 215 pa_cvolume volume; /**< Volume of the sink */ member in struct:pa_sink_info 224 pa_volume_t base_volume; /**< Some kind of "base" volume that refers to unamplified/unattenuated volume in the context of the output device. \since 0.9.15 */ 226 uint32_t n_volume_steps; /**< Number of volume steps for sinks which do not support arbitrary volumes. \since 0.9.15 * 292 pa_cvolume volume; \/**< Volume of the source *\/ member in struct:pa_source_info 496 pa_cvolume volume; \/**< The volume of this sink input *\/ member in struct:pa_sink_input_info 600 pa_cvolume volume; \/**< Default volume of this entry *\/ member in struct:pa_sample_info [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/pulse/ |
introspect.h | 33 #include <pulse/volume.h> 148 * modify the volume of the audio. Identical to how sinks and sources can 165 * If an application desires to modify the volume of just a single stream 166 * (commonly one of its own streams), this can be done by setting the volume 218 pa_cvolume volume; /**< Volume of the sink */ member in struct:pa_sink_info 227 pa_volume_t base_volume; /**< Some kind of "base" volume that refers to unamplified/unattenuated volume in the context of the output device. \since 0.9.15 */ 229 uint32_t n_volume_steps; /**< Number of volume steps for sinks which do not support arbitrary volumes. \since 0.9.15 */ 250 /** Set the volume of a sink device specified by its index * 298 pa_cvolume volume; \/**< Volume of the source *\/ member in struct:pa_source_info 520 pa_cvolume volume; \/**< The volume of this sink input *\/ member in struct:pa_sink_input_info 578 pa_cvolume volume; \/**< The volume of this source output \\since 1.0 *\/ member in struct:pa_source_output_info 640 pa_cvolume volume; \/**< Default volume of this entry *\/ member in struct:pa_sample_info [all...] |
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/ |
AudioProtocol.java | 240 final int volume = mDataBuffer.getInt(3 * 4); local 278 float newVolume = (maxVolume - minVolume) * volume / 100 + minVolume; 280 Log.d(TAG, "setting volume " + newVolume + " max " + maxVolume + 281 " min " + minVolume + " received " + volume); 336 final int volume = mDataBuffer.getInt(2 * 4); local 345 //TODO volume ?
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/BroadphaseCollision/ |
btDbvt.h | 179 btDbvtVolume volume; member in struct:btDbvtNode 191 ///The btDbvt class implements a fast dynamic bounding volume tree based on axis aligned bounding boxes (aabb tree). 279 void update(btDbvtNode* leaf,btDbvtVolume& volume); 280 bool update(btDbvtNode* leaf,btDbvtVolume& volume,const btVector3& velocity,btScalar margin); 281 bool update(btDbvtNode* leaf,btDbvtVolume& volume,const btVector3& velocity); 282 bool update(btDbvtNode* leaf,btDbvtVolume& volume,btScalar margin); 326 const btDbvtVolume& volume, 752 else if(Intersect(p.a->volume,p.b->volume)) 817 else if(Intersect(p.a->volume,p.b->volume) [all...] |
/external/sonic/ |
Sonic.java | 23 private float volume; field in class:Sonic 79 float volume) 81 int fixedPointVolume = (int)(volume*4096.0f); 166 return volume; 171 float volume) 173 this.volume = volume; 206 volume = 1.0f; 628 // Overlap two sound segments, ramp the volume of one down, while ramping the 653 // Overlap two sound segments, ramp the volume of one down, while ramping th [all...] |
sonic.c | 27 float volume; member in struct:sonicStreamStruct 71 float volume) 73 int fixedPointVolume = volume*4096.0f; 169 return stream->volume; 175 float volume) 177 stream->volume = volume; 266 stream->volume = 1.0f; 733 /* Overlap two sound segments, ramp the volume of one down, while ramping the 763 /* Overlap two sound segments, ramp the volume of one down, while ramping th [all...] |