Home
last modified time | relevance | path

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

/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailPlaybackPresenter.java574 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument
575 Log.d(TAG, "onAudioFocusChange: focusChange=" + focusChange); in onAudioFocusChange()
576 boolean lostFocus = focusChange == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT in onAudioFocusChange()
577 || focusChange == AudioManager.AUDIOFOCUS_LOSS; in onAudioFocusChange()
578 if (mIsPlaying && focusChange == AudioManager.AUDIOFOCUS_LOSS) { in onAudioFocusChange()
580 } else if (!mIsPlaying && focusChange == AudioManager.AUDIOFOCUS_GAIN) { in onAudioFocusChange()
/packages/apps/Music/src/com/android/music/
DAudioPreview.java279 public void onAudioFocusChange(int focusChange) {
286 switch (focusChange) {
DMediaPlaybackService.java306 public void onAudioFocusChange(int focusChange) {
307 mMediaplayerHandler.obtainMessage(FOCUSCHANGE, focusChange, 0).sendToTarget();
/packages/apps/FMRadio/src/com/android/fmradio/
DFmService.java1979 public void onAudioFocusChange(int focusChange) {
1980 Log.d(TAG, "onAudioFocusChange " + focusChange);
1981 switch (focusChange) {
/packages/apps/DeskClock/src/com/android/deskclock/
DTimerRingService.java202 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument