Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DFocusRequester.java347 final int focusLoss = focusLossForGainRequest(focusGain); in handleFocusLossFromGain() local
348 handleFocusLoss(focusLoss, frWinner, forceDuck); in handleFocusLossFromGain()
349 return (focusLoss == AudioManager.AUDIOFOCUS_LOSS); in handleFocusLossFromGain()
383 void handleFocusLoss(int focusLoss, @Nullable final FocusRequester frWinner, boolean forceDuck) in handleFocusLoss() argument
386 Log.i(TAG, "handleFocusLoss for " + mClientId + " loss:" + focusLoss); in handleFocusLoss()
389 if (focusLoss != mFocusLossReceived) { in handleFocusLoss()
390 mFocusLossReceived = focusLoss; in handleFocusLoss()
414 handled = frameworkHandleFocusLoss(focusLoss, frWinner, forceDuck); in handleFocusLoss()
455 private boolean frameworkHandleFocusLoss(int focusLoss, @NonNull final FocusRequester frWinner, in frameworkHandleFocusLoss() argument
463 if (focusLoss == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK) { in frameworkHandleFocusLoss()
[all …]