Home
last modified time | relevance | path

Searched refs:focusChange (Results 1 – 4 of 4) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DAudioFocusManager.java353 private void handlePlatformAudioFocusChange(int focusChange) { in handlePlatformAudioFocusChange() argument
354 switch (focusChange) { in handlePlatformAudioFocusChange()
365 if (focusChange == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT || willPauseWhenDucked()) { in handlePlatformAudioFocusChange()
373 Log.w(TAG, "Unknown focus change type: " + focusChange); in handlePlatformAudioFocusChange()
393 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument
394 eventHandler.post(() -> handlePlatformAudioFocusChange(focusChange)); in onAudioFocusChange()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/
DAudioManagerFacade.java43 public void onAudioFocusChange(int focusChange) { in AudioManagerFacade()
44 if (focusChange == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK) { in AudioManagerFacade()
46 } else if (focusChange == AudioManager.AUDIOFOCUS_GAIN) { in AudioManagerFacade()
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DAppRTCAudioManager.java225 public void onAudioFocusChange(int focusChange) { in start()
227 switch (focusChange) { in start()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAudioManagerTest.java25 public void onAudioFocusChange(int focusChange) {