Searched refs:focusChange (Results 1 – 12 of 12) sorted by relevance
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioTestFragment.java | 101 private final AudioManager.OnAudioFocusChangeListener mNavFocusListener = (focusChange) -> { 102 Log.i(TAG, "Nav focus change:" + focusChange); 104 private final AudioManager.OnAudioFocusChangeListener mVrFocusListener = (focusChange) -> { 105 Log.i(TAG, "VR focus change:" + focusChange); 107 private final AudioManager.OnAudioFocusChangeListener mRadioFocusListener = (focusChange) -> { 108 Log.i(TAG, "Radio focus change:" + focusChange); 663 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument 664 Log.i(TAG, "onAudioFocusChange " + focusChange); in onAudioFocusChange() 665 if (focusChange == AudioManager.AUDIOFOCUS_GAIN) { in onAudioFocusChange() 667 } 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 | 105 public void onAudioFocusChange(int focusChange) { 107 Log.d(TAG, "onAudioFocusChangeListener focuschange " + focusChange); 109 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 | 96 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument 97 if (focusChange == AudioManager.AUDIOFOCUS_GAIN) { in onAudioFocusChange()
|
/packages/apps/Music/kotlin/src/com/android/music/ |
D | AudioPreview.kt | 249 override fun onAudioFocusChange(focusChange: Int) { in onAudioFocusChange() 256 when (focusChange) { 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()
|
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/ |
D | BugReportActivity.java | 538 .setOnAudioFocusChangeListener(focusChange -> in startRecordingWithPermission() 539 Log.d(TAG, "AudioManager focus change " + focusChange)) in startRecordingWithPermission()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertService.java | 759 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument 760 if(focusChange == AudioManager.AUDIOFOCUS_GAIN) { in onAudioFocusChange()
|