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()
179 verifyAudioFocusLoss(AudioManager.AUDIOFOCUS_GAIN, AudioManager.AUDIOFOCUS_LOSS); in testAudioFocusLoss()
217 AudioManager.STREAM_MUSIC, AudioManager.AUDIOFOCUS_GAIN); in testAudioFocusStressListenerRequestAbandon()
232 AudioManager.AUDIOFOCUS_GAIN); in testAudioFocusStressNoListenerRequestAbandon()
/frameworks/base/services/core/java/com/android/server/audio/
DFocusRequester.java185 case AudioManager.AUDIOFOCUS_GAIN: in focusChangeToString()
268 case AudioManager.AUDIOFOCUS_GAIN: in focusLossForGainRequest()
433 || focusChange == AudioManager.AUDIOFOCUS_GAIN) in dispatchFocusChange()
DMediaFocusControl.java145 mFocusStack.peek().handleFocusGain(AudioManager.AUDIOFOCUS_GAIN); in notifyTopOfAudioFocusStack()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DPlayback.java246 AudioManager.AUDIOFOCUS_GAIN); in tryToGetAudioFocus()
318 if (focusChange == AudioManager.AUDIOFOCUS_GAIN) { in onAudioFocusChange()
/frameworks/base/media/java/android/media/
DAudioFocusRequest.java246 case AudioManager.AUDIOFOCUS_GAIN: in isValidFocusGain()
DAudioManager.java1995 public static final int AUDIOFOCUS_GAIN = 1; field in AudioManager
2027 public static final int AUDIOFOCUS_LOSS = -1 * AUDIOFOCUS_GAIN;
/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/core/java/android/widget/
DVideoView.java127 private int mAudioFocusType = AudioManager.AUDIOFOCUS_GAIN; // legacy focus gain
294 && focusGain != AudioManager.AUDIOFOCUS_GAIN in setAudioFocusRequest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DNotificationPlayer.java105 focusGain = AudioManager.AUDIOFOCUS_GAIN; in run()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DSampleMediaRouterActivity.java206 } else if (focusChange == AudioManager.AUDIOFOCUS_GAIN) {
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt14099 field public static final int AUDIOFOCUS_GAIN = 1; // 0x1
/frameworks/base/api/
Dcurrent.txt21133 field public static final int AUDIOFOCUS_GAIN = 1; // 0x1
Dsystem-current.txt22954 field public static final int AUDIOFOCUS_GAIN = 1; // 0x1