Searched defs:volume (Results 1 - 25 of 96) 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 DVolumeComponent.java17 package com.android.systemui.volume;
H A DConfigurableTexts.java17 package com.android.systemui.volume;
H A DVolumeUI.java17 package com.android.systemui.volume;
70 if (LOGD) Log.d(TAG, "Registering default volume controller");
H A DSafetyWarningDialog.java17 package com.android.systemui.volume;
H A DSegmentedButtons.java17 package com.android.systemui.volume;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
H A DStorageManagerVolumeProvider.java53 public long getTotalBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException { argument
54 return stats.getTotalBytes(volume.getFsUuid());
58 public long getFreeBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException { argument
59 return stats.getFreeBytes(volume.getFsUuid());
H A DStorageVolumeProvider.java41 * Returns the emulated volume for a given private volume.
46 * Returns the total bytes for a given storage volume.
48 * @pre The volume is a private volume and is readable.
50 long getTotalBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException; argument
53 * Returns the free bytes for a given storage volume.
55 * @pre The volume is a private volume and is readable.
57 long getFreeBytes(StorageStatsManager stats, VolumeInfo volume) throw argument
[all...]
/frameworks/wilhelm/src/itf/
H A DIDeviceVolume.cpp49 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/av/services/oboeservice/
H A DAAudioServiceEndpointPlay.cpp84 float volume = 0.5; // TODO get from system local
85 bool underflowed = mMixer.mix(fifo, volume);
H A DAAudioMixer.cpp44 bool AAudioMixer::mix(FifoBuffer *fifo, float volume) { argument
61 mixPart(destination, (float *)wrappingBuffer.data[partIndex], framesToMix, volume);
76 void AAudioMixer::mixPart(float *destination, float *source, int32_t numFrames, float volume) { argument
80 *destination++ += *source++ * 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/base/packages/SystemUI/src/com/android/systemui/volume/car/
H A DCarVolumeDialogController.java17 package com.android.systemui.volume.car;
28 import com.android.systemui.volume.VolumeDialogControllerImpl;
31 * A volume dialog controller for the automotive use case.
34 * And volume changes should be sent to the car's audio module instead of the android's audio mixer.
/frameworks/support/media-compat/api21/android/support/v4/media/
H A DVolumeProviderCompatApi21.java28 public void onSetVolumeTo(int volume) {
29 delegate.onSetVolumeTo(volume);
44 void onSetVolumeTo(int volume); argument
/frameworks/av/media/libaudioprocessing/
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...]
/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/services/core/java/com/android/server/storage/
H A DAppCollector.java57 * Constrcuts a new AppCollector which runs on the provided volume.
59 * @param volume Volume to check for apps.
61 public AppCollector(Context context, @NonNull VolumeInfo volume) { argument
62 Preconditions.checkNotNull(volume);
65 volume,
72 * Returns a list of package stats for the context and volume. Note that in a multi-user
104 BackgroundHandler(Looper looper, @NonNull VolumeInfo volume, argument
107 mVolume = volume;
/frameworks/av/include/media/
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.
/frameworks/av/media/libaudioprocessing/include/
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.
/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;

Completed in 390 milliseconds

1234