Home
last modified time | relevance | path

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

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java104 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 …]
DAudioPlayer.java53 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/
DAudioStreamController.java250 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/
DVoicemailAudioManager.java70 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/
DA2dpSinkStreamHandler.java103 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/
DAudioManagerHelper.java141 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/
DVolumeTestFragment.java98 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument
99 if (focusChange == AudioManager.AUDIOFOCUS_GAIN) { in onAudioFocusChange()
/packages/apps/Music/src/com/android/music/
DAudioPreview.java278 public void onAudioFocusChange(int focusChange) {
285 switch (focusChange) {
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DAudioFocusTest.java482 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument
484 mFocusChange = focusChange; in onAudioFocusChange()