Searched refs:mAudioFocus (Results 1 – 1 of 1) sorted by relevance
74 private int mAudioFocus = AUDIO_NO_FOCUS_NO_DUCK; field in Playback243 if (mAudioFocus != AUDIO_FOCUSED) { in tryToGetAudioFocus()247 mAudioFocus = AUDIO_FOCUSED; in tryToGetAudioFocus()257 if (mAudioFocus == AUDIO_FOCUSED) { in giveUpAudioFocus()259 mAudioFocus = AUDIO_NO_FOCUS_NO_DUCK; in giveUpAudioFocus()275 LogHelper.d(TAG, "configMediaPlayerState. mAudioFocus=", mAudioFocus); in configMediaPlayerState()276 if (mAudioFocus == AUDIO_NO_FOCUS_NO_DUCK) { in configMediaPlayerState()282 if (mAudioFocus == AUDIO_NO_FOCUS_CAN_DUCK) { in configMediaPlayerState()319 mAudioFocus = AUDIO_FOCUSED; in onAudioFocusChange()327 mAudioFocus = canDuck ? AUDIO_NO_FOCUS_CAN_DUCK : AUDIO_NO_FOCUS_NO_DUCK; in onAudioFocusChange()