/frameworks/av/media/libaudioclient/include/media/ |
H A D | AudioMixer.h | 56 static const uint32_t MAX_NUM_VOLUMES = 2; // stereo volume only 73 RAMP_VOLUME = 0x3002, // ramp to new volume 174 // TODO: Eventually remove legacy integer volume settings 176 int16_t volume[MAX_NUM_VOLUMES]; // U4.12 fixed point (top bit should be zero) member in union:android::AudioMixer::track_t::__anon193 250 float mVolume[MAX_NUM_VOLUMES]; // floating point set volume 251 float mPrevVolume[MAX_NUM_VOLUMES]; // floating point previous volume 252 float mVolumeInc[MAX_NUM_VOLUMES]; // floating point volume increment 338 /* multi-format volume mixing function (calls template functions 342 * USEFLOATVOL (set to true if float volume is used) 343 * ADJUSTVOL (set to true if volume ram [all...] |
H A D | AudioTrack.h | 386 * If the track was previously paused, volume is ramped up over the first mix buffer. 415 /* Set volume for this track, mostly used for games' sound effects 421 /* Set volume for all channels. This is the preferred API for new applications, 424 status_t setVolume(float volume); 740 /* Sets the volume shaper object */ 745 /* Gets the volume shaper state */
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeDialogMotion.java | 17 package com.android.systemui.volume; 42 private final ViewGroup mContents; // volume rows + zen footer
|
H A D | MediaSessions.java | 17 package com.android.systemui.volume;
|
H A D | VolumeDialogControllerImpl.java | 17 package com.android.systemui.volume; 60 * Source of truth for all state / events related to the volume dialog. No presentation. 139 Log.w(TAG, "Unable to set the volume controller", e); 177 Log.w(TAG, "No volume policy api");
|
H A D | ZenModePanel.java | 17 package com.android.systemui.volume;
|
H A D | VolumeDialogImpl.java | 17 package com.android.systemui.volume; 91 * Visual presentation of the volume dialog. 594 // if there is no touch feature, show the volume ringer instead
|
/frameworks/av/services/audioflinger/ |
H A D | Threads.cpp | 1675 // If the HAL we are using has support for master volume or master mute, 1676 // then do not attenuate or mute during mixing (just leave the volume at 1.0 1695 mStreamTypes[stream].volume = mAudioFlinger->streamVolume_l(stream); 1729 result.appendFormat("%d:%.2g", i, 20.0 * log10(st->volume)); 2081 // Don't apply master volume in SW if our HAL can do it for us. 2108 mStreamTypes[stream].volume = value; 2122 return mStreamTypes[stream].volume; 4021 // Delegate master volume control to effect in output mix effect chain if needed 4182 // cache the combined master volume and stream type volume fo 8305 float volume; local [all...] |
H A D | AudioFlinger.cpp | 871 // Set master volume in the HALs which support it. 883 // Now set the master volume in each playback thread. Playback threads 884 // assigned to HALs which do not have master volume support will apply 885 // master volume during the mix operation. Threads with HALs which do 886 // support master volume will simply ignore the setting. 1066 ALOG_ASSERT(stream != AUDIO_STREAM_PATCH, "attempt to change AUDIO_STREAM_PATCH volume"); 1078 mStreamTypes[stream].volume = value; 1126 float volume; local 1130 volume = volumeInterface->streamVolume(stream); 1132 volume [all...] |
/frameworks/base/media/java/android/media/tv/ |
H A D | TvInputService.java | 783 * Sets the relative stream volume of the current TV input session. 790 * @param volume A volume value between {@code 0.0f} to {@code 1.0f}. 792 public abstract void onSetStreamVolume(@FloatRange(from = 0.0, to = 1.0) float volume); argument 1180 void setStreamVolume(float volume) { argument 1181 onSetStreamVolume(volume);
|
/frameworks/av/include/media/ |
H A D | AudioTrack.h | 386 * If the track was previously paused, volume is ramped up over the first mix buffer. 415 /* Set volume for this track, mostly used for games' sound effects 421 /* Set volume for all channels. This is the preferred API for new applications, 424 status_t setVolume(float volume); 740 /* Sets the volume shaper object */ 745 /* Gets the volume shaper state */
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | Dependency.java | 85 import com.android.systemui.volume.VolumeDialogControllerImpl;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | DndTile.java | 58 import com.android.systemui.volume.ZenModePanel;
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeechService.java | 710 AudioOutputParams(int sessionId, float volume, float pan, argument 713 mVolume = volume;
|
/frameworks/base/media/java/android/media/session/ |
H A D | MediaSession.java | 53 * Allows interaction with media controllers, volume keys, media buttons, and 263 * system's volume handling for this session. If 265 * volume commands and the system will begin sending volume changes to the 284 * Configure this session to use remote volume handling. This must be called 285 * to receive volume button events, otherwise the system will adjust the 286 * appropriate stream volume for this session. If 288 * handling volume changes for this session and pass them to the volume 291 * @param volumeProvider The provider that will handle volume change 619 dispatchSetVolumeTo(int volume) argument [all...] |
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/ |
H A D | MediaControllerCompatTest.java | 193 public void onSetVolumeTo(int volume) { 195 setCurrentVolume(volume);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteControllerDialog.java | 104 // Time to wait before updating the volume when the user lets go of the seek bar 142 // Layout for media controllers including play/pause button and the main volume slider. 261 * Sets whether to enable the volume slider and volume control using the volume keys 277 * Returns whether to enable the volume slider and volume control using the volume keys 514 // Defer dialog updates if a user is adjusting a volume in the list 556 * volume contro [all...] |
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaSessionRecord.java | 69 * The amount of time we'll send an assumed volume after the last volume 70 * command before reverting to the last reported volume. 115 // End volume handling fields 233 * Send a volume adjustment to the session owner. Direction must be one of 237 * @param direction The direction to adjust volume in. 239 * @param packageName The package that made the original volume request. 240 * @param uid The uid that made the original volume request. 251 // Adjust the volume with a handler not to be blocked by other system service. 257 // Nothing to do, the volume canno 861 setCurrentVolume(int volume) argument [all...] |
/frameworks/av/media/libaudioclient/ |
H A D | AudioTrack.cpp | 803 status_t AudioTrack::setVolume(float volume) argument 805 return setVolume(volume, volume); 2261 // restore volume handler 2723 snprintf(buffer, 255, " stream type(%d), left - right volume(%f, %f)\n", mStreamType,
|
/frameworks/base/media/java/android/media/ |
H A D | MediaPlayer.java | 239 * such as audio/sound volume, screenOnWhilePlaying, looping can be 2123 * Sets the volume on this player. 2127 * {@link AudioManager#setStreamVolume(int, int, int)} which sets the volume of ALL streams of 2128 * a particular type. Note that the passed volume values are raw scalars in range 0.0 to 1.0. 2131 * @param leftVolume left volume scalar 2132 * @param rightVolume right volume scalar 2151 * Similar, excepts sets volume of all channels to same value. 2154 public void setVolume(float volume) { argument 2155 setVolume(volume, volume); [all...] |
H A D | AudioManager.java | 62 * AudioManager provides access to volume and ringer mode control. 82 * audio streams may consider pausing, reducing volume or some other action 133 * @hide Broadcast intent when the volume for a particular stream type changes. 134 * Includes the stream, the new volume and previous volumes. 137 * - never used for "remote" volume changes 151 * - never used for "remote" volume changes 175 * Includes the the new volume 208 * @hide The stream type for the volume changed intent. 214 * The stream type alias for the volume changed intent. 217 * reflected by a change of the volume o 1936 playSoundEffect(int effectType, float volume) argument [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiControlService.java | 976 void setAudioStatus(boolean mute, int volume) { argument 991 // volume change notification back to hdmi control service. 992 audioManager.setStreamVolume(AudioManager.STREAM_MUSIC, volume,
|
/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | AudioService.java | 141 * The implementation of the volume manager service. 144 * asynchronous to external calls. For example, the task of setting a volume 146 * volume and later persist to the database. Similarly, setting the ringer mode 170 /** How long to delay before persisting a change in volume/ringer mode. */ 173 /** How long to delay after a volume down event before unmuting a stream */ 185 // the platform type affects volume and silent mode behavior 199 /** The controller for the volume UI. */ 277 /** Maximum volume index values for audio streams */ 292 /** Minimum volume index values for audio streams */ 307 /* mStreamVolumeAlias[] indicates for each stream if it uses the volume setting 2627 playSoundEffectVolume(int effectType, float volume) argument 4685 onPlaySoundEffect(int effectType, int volume) argument [all...] |
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvInputManagerService.java | 1312 public void setVolume(IBinder sessionToken, float volume, int userId) { argument 1324 getSessionLocked(sessionState).setVolume(volume); 1326 // Here, we let the hardware session know only whether volume is on or 1327 // off to prevent that the volume is controlled in the both side. 1329 Process.SYSTEM_UID, resolvedUserId).setVolume((volume > 0.0f)
|
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 1988 XAint32 volume
|