Searched refs:focusChange (Results 1 – 2 of 2) sorted by relevance
315 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument316 LogHelper.d(TAG, "onAudioFocusChange. focusChange=", focusChange); in onAudioFocusChange()317 if (focusChange == AudioManager.AUDIOFOCUS_GAIN) { in onAudioFocusChange()321 } else if (focusChange == AudioManager.AUDIOFOCUS_LOSS || in onAudioFocusChange()322 focusChange == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT || in onAudioFocusChange()323 focusChange == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK) { in onAudioFocusChange()326 boolean canDuck = focusChange == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK; in onAudioFocusChange()337 LogHelper.e(TAG, "onAudioFocusChange: Ignoring unsupported focusChange: ", focusChange); in onAudioFocusChange()
189 public void onAudioFocusChange(int focusChange) {190 if (focusChange == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT) {192 } else if (focusChange == AudioManager.AUDIOFOCUS_GAIN) {194 } else if (focusChange == AudioManager.AUDIOFOCUS_LOSS) {