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 | 104 private final AudioManager.OnAudioFocusChangeListener mNavFocusListener = (focusChange) -> { 105 Log.i(TAG, "Nav focus change:" + focusChange); 107 private final AudioManager.OnAudioFocusChangeListener mVrFocusListener = (focusChange) -> { 108 Log.i(TAG, "VR focus change:" + focusChange); 110 private final AudioManager.OnAudioFocusChangeListener mRadioFocusListener = (focusChange) -> { 111 Log.i(TAG, "Radio focus change:" + focusChange); 659 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument 660 Log.i(TAG, "onAudioFocusChange " + focusChange); in onAudioFocusChange() 661 if (focusChange == AudioManager.AUDIOFOCUS_GAIN) { in onAudioFocusChange() 663 } else if (focusChange == AudioManager.AUDIOFOCUS_LOSS) { in onAudioFocusChange() [all …]
|
D | AudioPlayer.java | 53 public void onAudioFocusChange(int focusChange) { 58 if (focusChange == AudioManager.AUDIOFOCUS_GAIN) { 66 } else if (focusChange == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK) { 70 } else if (focusChange == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT) { 81 Log.e(TAG, "Unrecognized audio focus change " + focusChange);
|
/packages/apps/Car/Radio/src/com/android/car/radio/audio/ |
D | AudioStreamController.java | 250 private void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument 251 Log.v(TAG, "onAudioFocusChange(" + focusChange + ")"); in onAudioFocusChange() 254 switch (focusChange) { in onAudioFocusChange() 271 Log.w(TAG, "Unexpected audio focus state: " + focusChange); in onAudioFocusChange()
|
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
D | VoicemailAudioManager.java | 70 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument 71 LogUtil.d("VoicemailAudioManager.onAudioFocusChange", "focusChange=" + focusChange); in onAudioFocusChange() 72 voicemailPlaybackPresenter.onAudioFocusChange(focusChange == AudioManager.AUDIOFOCUS_GAIN); in onAudioFocusChange()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkStreamHandler.java | 103 public void onAudioFocusChange(int focusChange) { 105 Log.d(TAG, "onAudioFocusChangeListener focuschange " + focusChange); 107 A2dpSinkStreamHandler.this.obtainMessage(AUDIO_FOCUS_CHANGE, focusChange)
|
/packages/apps/TV/src/com/android/tv/audio/ |
D | AudioManagerHelper.java | 141 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument 142 mAudioFocusStatus = focusChange; in onAudioFocusChange()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/ |
D | VolumeTestFragment.java | 98 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument 99 if (focusChange == AudioManager.AUDIOFOCUS_GAIN) { in onAudioFocusChange()
|
/packages/apps/Music/src/com/android/music/ |
D | AudioPreview.java | 278 public void onAudioFocusChange(int focusChange) { 285 switch (focusChange) {
|
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | AudioFocusTest.java | 482 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument 484 mFocusChange = focusChange; in onAudioFocusChange()
|