Searched refs:focusChange (Results 1 – 9 of 9) sorted by relevance
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioTestFragment.java | 99 public void onAudioFocusChange(int focusChange) { 100 Log.i(TAG, "Nav focus change:" + focusChange); 106 public void onAudioFocusChange(int focusChange) { 107 Log.i(TAG, "VR focus change:" + focusChange); 113 public void onAudioFocusChange(int focusChange) { 114 Log.i(TAG, "Radio focus change:" + focusChange); 594 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument 595 Log.i(TAG, "onAudioFocusChange " + focusChange); in onAudioFocusChange() 596 if (focusChange == AudioManager.AUDIOFOCUS_GAIN) { in onAudioFocusChange() 598 } else if (focusChange == AudioManager.AUDIOFOCUS_LOSS) { in onAudioFocusChange() [all …]
|
D | AudioPlayer.java | 52 public void onAudioFocusChange(int focusChange) { 53 Log.i(TAG, "audio focus change " + focusChange); 57 if (focusChange == AudioManager.AUDIOFOCUS_GAIN) { 62 } else if (focusChange == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK) { 66 } else if (focusChange == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT && mRepeat) {
|
/packages/apps/Dialer/src/com/android/dialer/voicemail/ |
D | VoicemailAudioManager.java | 68 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument 69 Log.d(TAG, "onAudioFocusChange: focusChange=" + focusChange); in onAudioFocusChange() 70 mVoicemailPlaybackPresenter.onAudioFocusChange(focusChange == AudioManager.AUDIOFOCUS_GAIN); in onAudioFocusChange()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkStreamingStateMachine.java | 123 public void onAudioFocusChange(int focusChange){ 125 Log.d(TAG, "onAudioFocusChangeListener focuschange " + focusChange); 127 A2dpSinkStreamingStateMachine.this.sendMessage(AUDIO_FOCUS_CHANGE, focusChange);
|
/packages/services/Car/tests/carservice_test/src/com/android/car/test/ |
D | CarAudioFocusTest.java | 268 int focusChange = listenerMusic.waitAndGetFocusChange(TIMEOUT_MS); in testMediaExternalMediaNavFocus() local 269 assertEquals(AudioManager.AUDIOFOCUS_LOSS, focusChange); in testMediaExternalMediaNavFocus() 500 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument 501 mLastFocusChange = focusChange; in onAudioFocusChange()
|
/packages/apps/Music/src/com/android/music/ |
D | AudioPreview.java | 279 public void onAudioFocusChange(int focusChange) { 286 switch (focusChange) {
|
D | MediaPlaybackService.java | 306 public void onAudioFocusChange(int focusChange) { 307 mMediaplayerHandler.obtainMessage(FOCUSCHANGE, focusChange, 0).sendToTarget();
|
/packages/services/Car/service/src/com/android/car/ |
D | CarAudioService.java | 732 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument 744 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument 746 mBottomFocusState = focusChange; in onAudioFocusChange()
|
/packages/apps/TV/src/com/android/tv/ |
D | MainActivity.java | 1406 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument 1407 mAudioFocusStatus = focusChange; in onAudioFocusChange()
|