/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 = 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/ |
H A D | D.java | 17 package com.android.systemui.volume; 22 public static boolean BUG = Log.isLoggable("volume", Log.DEBUG);
|
H A D | VolumeComponent.java | 17 package com.android.systemui.volume;
|
H A D | Interaction.java | 17 package com.android.systemui.volume;
|
/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. 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 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.
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | vr.rs | 96 rs_allocation volume;
121 short pix = rsGetElementAt_short(volume, ip.x, ip.y, ip.z);
141 // short2 tmps = rsAllocationVLoadX_short2(volume, ip.x + 0, ip.y + 0, ip.z + 0);
143 float v_0_0_0 = (float) rsGetElementAt_short(volume, ip.x + 0, ip.y + 0, ip.z + 0);
144 float v_0_0_1 = (float) rsGetElementAt_short(volume, ip.x + 1, ip.y + 0, ip.z + 0);
146 float v_0_1_0 = (float) rsGetElementAt_short(volume, ip.x + 0, ip.y + 1, ip.z + 0);
147 float v_0_1_1 = (float) rsGetElementAt_short(volume, ip.x + 1, ip.y + 1, ip.z + 0);
148 float v_1_0_0 = (float) rsGetElementAt_short(volume, ip.x + 0, ip.y + 0, ip.z + 1);
149 float v_1_0_1 = (float) rsGetElementAt_short(volume, ip.x + 1, ip.y + 0, ip.z + 1);
150 float v_1_1_0 = (float) rsGetElementAt_short(volume, i [all...] |
H A D | bricked.rs | 24 rs_allocation volume;
27 // output a single bit per pixel volume based on opacity
47 if (pz >= rsAllocationGetDimZ(volume)) {
50 if (py >= rsAllocationGetDimY(volume)) {
57 int intensity = 0xFFFF & rsGetElementAt_short(volume, px, py, pz);
102 } else {// edge of volume
149 rsSetElementAt_short(volume, in, x, y, z);
|
/frameworks/base/media/java/android/media/ |
H A D | IRemoteDisplayProvider.aidl | 29 void setVolume(String id, int volume);
|
H A D | IRingtonePlayer.aidl | 29 void play(IBinder token, in Uri uri, in AudioAttributes aa, float volume, boolean looping); 32 void setPlaybackProperties(IBinder token, float volume, boolean looping);
|
H A D | MediaRouterClientState.java | 103 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 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
|
H A D | ToneGenerator.java | 732 /** Maximum volume, for use with {@link #ToneGenerator(int,int)} */ 734 /** Minimum volume setting, for use with {@link #ToneGenerator(int,int)} */ 739 * ToneGenerator class contructor specifying output stream type and volume. 742 * @param volume The volume of the tone, given in percentage of maximum volume (from 0-100). 745 public ToneGenerator(int streamType, int volume) { argument 746 native_setup(streamType, volume); 880 private native final void native_setup(int streamType, int volume); argument
|
H A D | IMediaRouterService.aidl | 33 void requestSetVolume(IMediaRouterClient client, String routeId, int volume);
|
H A D | 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) { argument 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; [all...] |
H A D | VolumeProvider.java | 25 * 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/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/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...] |
H A D | SystemAudioStatusAction.java | 28 * Action to update audio status (volume or mute) of audio amplifier 96 int volume = params[0] & 0x7F; 97 tv().setAudioStatus(mute, volume);
|
/frameworks/base/media/java/android/media/tv/ |
H A D | ITvInputHardware.aidl | 38 * Set volume for this stream via AudioGain. 40 void setStreamVolume(float volume);
|
/frameworks/support/v4/java/android/support/v4/media/ |
H A D | VolumeProviderCompat.java | 27 * 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 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/base/core/java/android/bluetooth/ |
H A D | IBluetoothA2dp.aidl | 37 oneway void setAvrcpAbsoluteVolume(int volume);
|