/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeComponent.java | 17 package com.android.systemui.volume;
|
H A D | IconPulser.java | 17 package com.android.systemui.volume;
|
H A D | Interaction.java | 17 package com.android.systemui.volume;
|
H A D | SegmentedButtons.java | 17 package com.android.systemui.volume;
|
/frameworks/wilhelm/src/itf/ |
H A D | IDeviceVolume.c | 49 static SLresult IDeviceVolume_SetVolume(SLDeviceVolumeItf self, SLuint32 deviceID, SLint32 volume) argument 64 thiz->mVolume[~deviceID] = volume; 96 SLint32 volume = thiz->mVolume[~deviceID]; local 98 *pVolume = volume;
|
/frameworks/base/core/jni/ |
H A D | android_media_ToneGenerator.cpp | 89 jint streamType, jint volume) { 90 ToneGenerator *lpToneGen = new ToneGenerator((audio_stream_type_t) streamType, AudioSystem::linearToLog(volume), true); 88 android_media_ToneGenerator_native_setup(JNIEnv *env, jobject thiz, jint streamType, jint volume) argument
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpStorage.java | 38 public MtpStorage(StorageVolume volume, Context context) { argument 39 mStorageId = volume.getStorageId(); 40 mPath = volume.getPath(); 41 mDescription = context.getResources().getString(volume.getDescriptionId()); 42 mReserveSpace = volume.getMtpReserveSpace() * 1024L * 1024L; 43 mRemovable = volume.isRemovable(); 44 mMaxFileSize = volume.getMaxFileSize();
|
H A D | MtpPropertyGroup.java | 69 String volume, int[] properties) { 73 mVolumeName = volume; 74 mUri = Files.getMtpObjectsUri(volume); 68 MtpPropertyGroup(MtpDatabase database, IContentProvider provider, String packageName, String volume, int[] properties) argument
|
/frameworks/support/v4/api21/android/support/v4/media/ |
H A D | VolumeProviderCompatApi21.java | 26 public void onSetVolumeTo(int volume) { 27 delegate.onSetVolumeTo(volume); 42 void onSetVolumeTo(int volume); argument
|
/frameworks/av/services/audioflinger/ |
H A D | AudioMixerOps.h | 39 * by a volume gain, with the formula: 43 * The output, input, and volume may have different types. 58 inline TO MixMul(TI value, TV volume) { argument 62 return value * volume; 66 inline int32_t MixMul<int32_t, int16_t, int16_t>(int16_t value, int16_t volume) { argument 67 return value * volume; 71 inline int32_t MixMul<int32_t, int32_t, int16_t>(int32_t value, int16_t volume) { argument 72 return (value >> 12) * volume; 76 inline int32_t MixMul<int32_t, int16_t, int32_t>(int16_t value, int32_t volume) { argument 77 return value * (volume >> 1 81 MixMul(int32_t value, int32_t volume) argument 86 MixMul(float value, int16_t volume) argument 92 MixMul(float value, int32_t volume) argument 98 MixMul(float value, int16_t volume) argument 103 MixMul(float value, int32_t volume) argument 108 MixMul(int16_t value, int16_t volume) argument 114 MixMul(int16_t value, int32_t volume) argument 120 MixMul(int16_t value, int16_t volume) argument 125 MixMul(int32_t value, int16_t volume) argument 130 MixMul(int16_t value, int32_t volume) argument 135 MixMul(int32_t value, int32_t volume) argument 144 MixMul(float value, float volume) argument 149 MixMul(int16_t value, float volume) argument 155 MixMul(int32_t value, float volume) argument 161 MixMul(int16_t value, float volume) argument 168 MixMul(int16_t value, float volume) argument 174 MixMul(float value, float volume) argument 220 MixMulAux(TI value, TV volume, TA *auxaccum) argument [all...] |
H A D | AudioResampler.h | 147 inline float clampFloatVol(float volume) { argument 148 if (volume > UNITY_GAIN_FLOAT) { 150 } else if (volume >= 0.) { 151 return volume; 153 return 0.; // NaN or negative volume maps to 0.
|
H A D | AudioResamplerFirProcess.h | 59 int32_t volumeAdjust(int32_t value, int32_t volume) argument 61 return 2 * mulRL(0, value, volume); // Note: only use top 16b 66 float volumeAdjust(float value, float volume) argument 68 return value * volume; 92 inline void volume(TO*& out, TO gain) { function in class:android::Accumulator 94 Accumulator<CHANNELS-1, TO>::volume(out, gain); 108 inline void volume(TO*& out __unused, TO gain __unused) { function in class:android::Accumulator 166 * the negative half FIR dot product, accumulates, and then applies the volume. 216 accum.volume(tmp_out, volumeLR[0]); 309 * @param volumeLR is a pointer to an array of two 32 bit volume value [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | AudioPlaybackQueueItem.java | 100 private static void setupVolume(MediaPlayer player, float volume, float pan) { argument 101 final float vol = clip(volume, 0.0f, 1.0f);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaRouterClientState.java | 103 public int volume; field in class:MediaRouterClientState.RouteInfo 127 volume = other.volume; 142 volume = in.readInt(); 163 dest.writeInt(volume); 179 + ", volume=" + volume
|
H A D | VolumeProvider.java | 21 * Handles requests to adjust or set the volume on a session. This is also used 22 * to push volume updates back to the session. The provider must call 23 * {@link #setCurrentVolume(int)} each time the volume being provided changes. 25 * You can set a volume provider on a session by calling 30 * The volume is fixed and can not be modified. Requests to change volume 36 * The volume control uses relative adjustment via 37 * {@link #onAdjustVolume(int)}. Attempts to set the volume to a specific 43 * The volume control uses an absolute value. It may be adjusted using 55 * Create a new volume provide 118 onSetVolumeTo(int volume) argument [all...] |
H A D | RemoteDisplayState.java | 107 public int volume; field in class:RemoteDisplayState.RemoteDisplayInfo 124 volume = other.volume; 135 volume = in.readInt(); 156 dest.writeInt(volume); 168 + ", volume=" + volume
|
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/ |
H A D | RemoteDisplay.java | 58 * Volume handling: Output volume can be changed. 64 * Volume handling: Output volume is fixed. 118 return mMutableInfo.volume; 121 public void setVolume(int volume) { argument 122 if (mMutableInfo.volume != volume) { 123 mMutableInfo.volume = volume;
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | VolumeControlAction.java | 27 * Feature action that transmits volume change to Audio Receiver. 29 * This action is created when a user pressed volume up/down. However, Android only provides a 30 * listener for delta of some volume change instead of individual key event. Also it's hard to know 31 * Audio Receiver's number of volume steps for a single volume control key. Because of this, it 33 * volume change happens; otherwise, it will send again key-down as press and hold feature does. 38 // State that wait for next volume press. 52 * Scale a custom volume value to cec volume scale. 54 * @param volume volum 58 scaleToCecVolume(int volume, int scale) argument [all...] |
/frameworks/base/tests/RemoteDisplayProvider/src/com/android/media/remotedisplay/test/ |
H A D | RemoteDisplayProviderService.java | 48 private RemoteDisplay mTestDisplay1; // variable volume 49 private RemoteDisplay mTestDisplay2; // fixed volume 76 mTestDisplay1.setDescription("Variable volume"); 86 mTestDisplay2.setDescription("Fixed volume"); 259 public void onSetVolume(RemoteDisplay display, int volume) { argument 261 + ", volume=" + volume); 264 display.setVolume(Math.max(0, Math.min(display.getVolumeMax(), volume)));
|
/frameworks/support/v4/java/android/support/v4/media/ |
H A D | VolumeProviderCompat.java | 23 * Handles requests to adjust or set the volume on a session. This is also used 24 * to push volume updates back to the session after a request has been handled. 25 * You can set a volume provider on a session by calling 30 * The volume is fixed and can not be modified. Requests to change volume 36 * The volume control uses relative adjustment via 37 * {@link #onAdjustVolume(int)}. Attempts to set the volume to a specific 43 * The volume control uses an absolute value. It may be adjusted using 57 * Create a new volume provider for handling volume event 115 onSetVolumeTo(int volume) argument [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | RemoteControlClientCompat.java | 61 * Sets a callback to receive volume change requests from the remote control client. 63 * @param callback The volume callback to use or null if none. 73 public int volume; field in class:RemoteControlClientCompat.PlaybackInfo 81 * Called when volume updates are requested by the remote control client. 85 * Called when the volume should be increased or decreased. 87 * @param direction An integer indicating whether the volume is to be increased 90 * in the same direction, e.g. +3 corresponds to three "volume up" changes. 95 * Called when the volume for the route should be set to the given value. 97 * @param volume An integer indicating the new volume valu 100 onVolumeSetRequest(int volume) argument 180 onVolumeSetRequest(Object routeObj, int volume) argument [all...] |
/frameworks/av/media/libmedia/ |
H A D | ToneGenerator.cpp | 791 // volume: volume applied to tone (0.0 to 1.0) 797 ToneGenerator::ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava) { argument 799 ALOGV("ToneGenerator constructor: streamType=%d, volume=%f", streamType, volume); 809 mVolume = volume; 1175 // If segment, ON -> OFF transition : ramp volume down 1497 // volume: volume (0.0 to 1.0) 1504 unsigned short frequency, float volume) { 1503 WaveGenerator(unsigned short samplingRate, unsigned short frequency, float volume) argument [all...] |
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyClientImpl.cpp | 127 float volume, audio_io_handle_t output, 130 return mAudioPolicyService->setStreamVolume(stream, volume, output, 169 status_t AudioPolicyService::AudioPolicyClient::setVoiceVolume(float volume, int delay_ms) argument 171 return mAudioPolicyService->setVoiceVolume(volume, delay_ms); 126 setStreamVolume(audio_stream_type_t stream, float volume, audio_io_handle_t output, int delay_ms) argument
|
H A D | AudioPolicyClientImplLegacy.cpp | 283 float volume, audio_io_handle_t output, 288 return audioPolicyService->setStreamVolume(stream, volume, output, 307 int aps_set_voice_volume(void *service, float volume, int delay_ms) argument 311 return audioPolicyService->setVoiceVolume(volume, delay_ms); 282 aps_set_stream_volume(void *service, audio_stream_type_t stream, float volume, audio_io_handle_t output, int delay_ms) argument
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothA2dp.java | 397 * Checks if Avrcp device supports the absolute volume feature. 399 * @return true if device supports absolute volume 417 * Tells remote device to adjust volume. Only if absolute volume is supported. 419 * @param direction 1 to increase volume, or -1 to decrease volume 437 * Tells remote device to set an absolute volume. Only if absolute volume is supported 439 * @param volume Absolute volume t 442 setAvrcpAbsoluteVolume(int volume) argument [all...] |