Home
last modified time | relevance | path

Searched refs:AUDIOFOCUS_GAIN (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioManagerTest.java147 AudioManager.AUDIOFOCUS_GAIN); in verifyAudioFocusLoss()
181 verifyAudioFocusLoss(AudioManager.AUDIOFOCUS_GAIN, AudioManager.AUDIOFOCUS_LOSS); in testAudioFocusLoss()
219 AudioManager.STREAM_MUSIC, AudioManager.AUDIOFOCUS_GAIN); in testAudioFocusStressListenerRequestAbandon()
234 AudioManager.AUDIOFOCUS_GAIN); in testAudioFocusStressNoListenerRequestAbandon()
/frameworks/support/v4/java/android/support/v4/media/
DTransportPerformer.java168 static final int AUDIOFOCUS_GAIN = 1; field in TransportPerformer
171 static final int AUDIOFOCUS_LOSS = -1 * AUDIOFOCUS_GAIN;
/frameworks/base/services/core/java/com/android/server/audio/
DFocusRequester.java148 case AudioManager.AUDIOFOCUS_GAIN: in focusChangeToString()
228 case AudioManager.AUDIOFOCUS_GAIN: in focusLossForGainRequest()
DMediaFocusControl.java451 mFocusStack.peek().handleFocusGain(AudioManager.AUDIOFOCUS_GAIN); in notifyTopOfAudioFocusStack()
/frameworks/base/docs/html/training/managing-audio/
Daudio-focus.jd68 AudioManager.AUDIOFOCUS_GAIN);
146 } else if (focusChange == AudioManager.AUDIOFOCUS_GAIN) {
174 } else if (focusChange == AudioManager.AUDIOFOCUS_GAIN) {
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/
DTransportMediatorJellybeanMR2.java134 AudioManager.STREAM_MUSIC, AudioManager.AUDIOFOCUS_GAIN); in takeAudioFocus()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DLocalRenderer.java367 case AudioManager.AUDIOFOCUS_GAIN: in onAudioFocusChange()
478 AudioManager.AUDIOFOCUS_GAIN); in requestAudioFocus()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DNotificationPlayer.java96 AudioManager.AUDIOFOCUS_GAIN); in run()
/frameworks/base/media/java/android/media/
DAudioManager.java2034 public static final int AUDIOFOCUS_GAIN = 1; field in AudioManager
2066 public static final int AUDIOFOCUS_LOSS = -1 * AUDIOFOCUS_GAIN;
2380 if ((durationHint < AUDIOFOCUS_GAIN) || in requestAudioFocus()
/frameworks/base/docs/html/guide/topics/media/
Dmediaplayer.jd498 AudioManager.AUDIOFOCUS_GAIN);
527 <li>{@link android.media.AudioManager#AUDIOFOCUS_GAIN}: You have gained the audio focus.</li>
551 case AudioManager.AUDIOFOCUS_GAIN:
605 AudioManager.AUDIOFOCUS_GAIN);
/frameworks/base/core/java/android/widget/
DVideoView.java320 am.requestAudioFocus(null, AudioManager.STREAM_MUSIC, AudioManager.AUDIOFOCUS_GAIN); in openVideo()
/frameworks/base/api/
Dcurrent.txt14890 field public static final int AUDIOFOCUS_GAIN = 1; // 0x1
Dsystem-current.txt16152 field public static final int AUDIOFOCUS_GAIN = 1; // 0x1