Searched defs:volume (Results 1 - 25 of 81) sorted by relevance

1234

/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DD.java17 package com.android.systemui.volume;
22 public static boolean BUG = Log.isLoggable("volume", Log.DEBUG);
H A DInteraction.java17 package com.android.systemui.volume;
H A DSpTexts.java17 package com.android.systemui.volume;
H A DVolumeComponent.java17 package com.android.systemui.volume;
H A DSafetyWarningDialog.java17 package com.android.systemui.volume;
H A DSegmentedButtons.java17 package com.android.systemui.volume;
H A DVolumePrefs.java17 package com.android.systemui.volume;
25 * Configuration for the volume dialog + related policy.
H A DZenFooter.java16 package com.android.systemui.volume;
35 * Zen mode information (and end button) attached to the bottom of the volume dialog.
/frameworks/wilhelm/src/itf/
H A DIDeviceVolume.c49 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 Dandroid_media_ToneGenerator.cpp89 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 DMtpStorage.java38 public MtpStorage(StorageVolume volume, Context context) { argument
39 mStorageId = volume.getStorageId();
40 mPath = volume.getPath();
41 mDescription = volume.getDescription(context);
42 mReserveSpace = volume.getMtpReserveSpace() * 1024L * 1024L;
43 mRemovable = volume.isRemovable();
44 mMaxFileSize = volume.getMaxFileSize();
/frameworks/support/v4/api21/android/support/v4/media/
H A DVolumeProviderCompatApi21.java26 public void onSetVolumeTo(int volume) {
27 delegate.onSetVolumeTo(volume);
42 void onSetVolumeTo(int volume); argument
/frameworks/av/services/audioflinger/
H A DAudioMixerOps.h39 * by a volume gain, with the formula:
43 * The output, input, and volume may have different types.
60 TO MixMul(TI value, TV volume);
63 inline int32_t MixMul<int32_t, int16_t, int16_t>(int16_t value, int16_t volume) { argument
64 return value * volume;
68 inline int32_t MixMul<int32_t, int32_t, int16_t>(int32_t value, int16_t volume) { argument
69 return (value >> 12) * volume;
73 inline int32_t MixMul<int32_t, int16_t, int32_t>(int16_t value, int32_t volume) { argument
74 return value * (volume >> 16);
78 inline int32_t MixMul<int32_t, int32_t, int32_t>(int32_t value, int32_t volume) { argument
83 MixMul(float value, int16_t volume) argument
89 MixMul(float value, int32_t volume) argument
95 MixMul(float value, int16_t volume) argument
100 MixMul(float value, int32_t volume) argument
105 MixMul(int16_t value, int16_t volume) argument
111 MixMul(int16_t value, int32_t volume) argument
117 MixMul(int16_t value, int16_t volume) argument
122 MixMul(int32_t value, int16_t volume) argument
127 MixMul(int16_t value, int32_t volume) argument
132 MixMul(int32_t value, int32_t volume) argument
141 MixMul(float value, float volume) argument
146 MixMul(int16_t value, float volume) argument
152 MixMul(int32_t value, float volume) argument
158 MixMul(int16_t value, float volume) argument
165 MixMul(int16_t value, float volume) argument
171 MixMul(float value, float volume) argument
216 MixMulAux(TI value, TV volume, TA *auxaccum) argument
[all...]
H A DAudioResampler.h147 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 DAudioResamplerFirProcess.h59 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.
217 accum.volume(tmp_out, volumeLR[0]);
290 * @param volumeLR is a pointer to an array of two 32 bit volume value
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DAudioPlaybackQueueItem.java99 private static void setupVolume(MediaPlayer player, float volume, float pan) { argument
100 final float vol = clip(volume, 0.0f, 1.0f);
/frameworks/base/media/java/android/media/
H A DVolumeProvider.java25 * Handles requests to adjust or set the volume on a session. This is also used
26 * to push volume updates back to the session. The provider must call
27 * {@link #setCurrentVolume(int)} each time the volume being provided changes.
29 * You can set a volume provider on a session by calling
42 * The volume is fixed and can not be modified. Requests to change volume
48 * The volume control uses relative adjustment via
49 * {@link #onAdjustVolume(int)}. Attempts to set the volume to a specific
55 * The volume control uses an absolute value. It may be adjusted using
67 * Create a new volume provide
131 onSetVolumeTo(int volume) argument
[all...]
H A DMediaRouterClientState.java103 public int volume; field in class:MediaRouterClientState.RouteInfo
129 volume = other.volume;
145 volume = in.readInt();
167 dest.writeInt(volume);
184 + ", volume=" + volume
H A DRemoteDisplayState.java107 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 DRemoteDisplay.java58 * 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 DVolumeControlAction.java27 * 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 DRemoteDisplayProviderService.java48 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 DVolumeProviderCompat.java27 * Handles requests to adjust or set the volume on a session. This is also used
28 * to push volume updates back to the session after a request has been handled.
29 * You can set a volume provider on a session by calling
42 * The volume is fixed and can not be modified. Requests to change volume
48 * The volume control uses relative adjustment via
49 * {@link #onAdjustVolume(int)}. Attempts to set the volume to a specific
55 * The volume control uses an absolute value. It may be adjusted using
69 * Create a new volume provider for handling volume event
133 onSetVolumeTo(int volume) argument
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DRemoteControlClientCompat.java61 * 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 DToneGenerator.cpp809 // volume: volume applied to tone (0.0 to 1.0)
815 ToneGenerator::ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava) { argument
817 ALOGV("ToneGenerator constructor: streamType=%d, volume=%f", streamType, volume);
827 mVolume = volume;
1195 // If segment, ON -> OFF transition : ramp volume down
1517 // volume: volume (0.0 to 1.0)
1524 unsigned short frequency, float volume) {
1523 WaveGenerator(unsigned short samplingRate, unsigned short frequency, float volume) argument
[all...]

Completed in 2794 milliseconds

1234