Searched refs:AudioFocus (Results 1 – 1 of 1) sorted by relevance
113 enum AudioFocus { enum in MusicService118 AudioFocus mAudioFocus = AudioFocus.NoFocusNoDuck;199 mAudioFocus = AudioFocus.Focused; // no focus feature, so we always "have" audio focus in onCreate()345 if (mAudioFocus == AudioFocus.Focused && mAudioFocusHelper != null in giveUpAudioFocus()347 mAudioFocus = AudioFocus.NoFocusNoDuck; in giveUpAudioFocus()359 if (mAudioFocus == AudioFocus.NoFocusNoDuck) { in configAndStartMediaPlayer()366 else if (mAudioFocus == AudioFocus.NoFocusCanDuck) in configAndStartMediaPlayer()391 if (mAudioFocus != AudioFocus.Focused && mAudioFocusHelper != null in tryToGetAudioFocus()393 mAudioFocus = AudioFocus.Focused; in tryToGetAudioFocus()564 mAudioFocus = AudioFocus.Focused; in onGainedAudioFocus()[all …]