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.java99 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 …]
DAudioPlayer.java52 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/
DVoicemailAudioManager.java68 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/
DA2dpSinkStreamingStateMachine.java123 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/
DCarAudioFocusTest.java268 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/
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/services/Car/service/src/com/android/car/
DCarAudioService.java732 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/
DMainActivity.java1406 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument
1407 mAudioFocusStatus = focusChange; in onAudioFocusChange()