Searched refs:forceDuck (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/audio/ |
D | FocusRequester.java | 310 boolean handleFocusLossFromGain(int focusGain, final FocusRequester frWinner, boolean forceDuck) in handleFocusLossFromGain() argument 313 handleFocusLoss(focusLoss, frWinner, forceDuck); in handleFocusLossFromGain() 347 void handleFocusLoss(int focusLoss, @Nullable final FocusRequester frWinner, boolean forceDuck) in handleFocusLoss() argument 379 if (!forceDuck && ((mGrantFlags in handleFocusLoss() 385 } else if (!forceDuck && (MediaFocusControl.ENFORCE_DUCKING_FOR_NEW && in handleFocusLoss() 392 handled = mFocusController.duckPlayers(frWinner, this, forceDuck); in handleFocusLoss()
|
D | PlayerFocusEnforcer.java | 28 public boolean duckPlayers(FocusRequester winner, FocusRequester loser, boolean forceDuck); in duckPlayers() argument
|
D | MediaFocusControl.java | 108 public boolean duckPlayers(FocusRequester winner, FocusRequester loser, boolean forceDuck) { in duckPlayers() argument 109 return mFocusEnforcer.duckPlayers(winner, loser, forceDuck); in duckPlayers() 175 boolean forceDuck) { in propagateFocusLossFromGain_syncAf() argument 181 focusLoser.handleFocusLossFromGain(focusGain, fr, forceDuck); in propagateFocusLossFromGain_syncAf() 693 int sdk, boolean forceDuck) { in requestAudioFocus() argument 803 propagateFocusLossFromGain_syncAf(focusChangeHint, nfr, forceDuck); in requestAudioFocus()
|
D | PlaybackActivityMonitor.java | 428 public boolean duckPlayers(FocusRequester winner, FocusRequester loser, boolean forceDuck) { in duckPlayers() argument 448 if (!forceDuck && (apc.getAudioAttributes().getContentType() == in duckPlayers()
|