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

123456

/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 DMediaRouterWrapper.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;
74 if (LOGD) Log.d(TAG, "Registering default volume controller");
H A DSafetyWarningDialog.java17 package com.android.systemui.volume;
H A DSystemUIInterpolators.java17 package com.android.systemui.volume;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
H A DUtilTest.java16 package com.android.systemui.volume;
H A DVolumeDialogImplTest.java17 package com.android.systemui.volume;
24 import static com.android.systemui.volume.Events.DISMISS_REASON_UNKNOWN;
25 import static com.android.systemui.volume.Events.SHOW_REASON_UNKNOWN;
26 import static com.android.systemui.volume.VolumeDialogControllerImpl.STREAMS;
H A DVolumeDialogControllerImplTest.java17 package com.android.systemui.volume;
/frameworks/base/media/java/android/mtp/
H A DMtpStorage.java36 public MtpStorage(StorageVolume volume, int storageId) { argument
38 mPath = volume.getInternalPath();
39 mDescription = volume.getDescription(null);
40 mRemovable = volume.isRemovable();
41 mMaxFileSize = volume.getMaxFileSize();
/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/support/media/api21/androidx/media/
H A DVolumeProviderCompatApi21.java29 public void onSetVolumeTo(int volume) {
30 delegate.onSetVolumeTo(volume);
45 void onSetVolumeTo(int volume); argument
/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/base/cmds/bootanimation/iot/
H A DBootParameters.h35 // Returns true if volume/brightness were explicitly set on reboot.
39 // Returns volume/brightness in [0,1], or -1 if unset.
50 int volume; member in struct:android::BootParameters::SavedBootParameters
/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/media/
H A DVolumeProvider2.java29 * Handles requests to adjust or set the volume on a session. This is also used
30 * to push volume updates back to the session. The provider must call
31 * {@link #setCurrentVolume(int)} each time the volume being provided changes.
33 * You can set a volume provider on a session by calling
47 * The volume is fixed and can not be modified. Requests to change volume
53 * The volume control uses relative adjustment via
54 * {@link #onAdjustVolume(int)}. Attempts to set the volume to a specific
60 * The volume control uses an absolute value. It may be adjusted using
69 * Create a new volume provide
135 onSetVolumeTo(int volume) argument
[all...]
H A DMediaRouterClientState.java93 public int volume; field in class:MediaRouterClientState.RouteInfo
119 volume = other.volume;
135 volume = in.readInt();
157 dest.writeInt(volume);
174 + ", volume=" + volume
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...]
/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/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.

Completed in 4276 milliseconds

123456