Searched refs:focusHolder (Results 1 – 4 of 4) sorted by relevance
476 private int evaluateRequest(AudioFocusEntry request, AudioFocusEntry focusHolder, in evaluateRequest() argument482 new AudioAttributesWrapper(focusHolder.getAudioFocusInfo().getAttributes()); in evaluateRequest()493 focusLosers.add(focusHolder); in evaluateRequest()502 if (!allowDucking || wantsPauseInsteadOfDucking(focusHolder.getAudioFocusInfo())) { in evaluateRequest()503 focusLosers.add(focusHolder); in evaluateRequest()523 private boolean wantsPauseInsteadOfDucking(AudioFocusInfo focusHolder) { in wantsPauseInsteadOfDucking() argument524 return (focusHolder.getFlags() & AudioManager.AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS) in wantsPauseInsteadOfDucking()
394 int evaluateRequest(int requestedUsage, FocusEntry focusHolder, boolean allowDucking, in evaluateRequest() argument396 int holderUsage = focusHolder.getAudioFocusInfo().getAttributes().getSystemUsage(); in evaluateRequest()408 focusLosers.add(focusHolder); in evaluateRequest()418 || focusHolder.wantsPauseInsteadOfDucking() in evaluateRequest()419 || focusHolder.receivesDuckEvents()) { in evaluateRequest()420 focusLosers.add(focusHolder); in evaluateRequest()
340 public @NonNull Builder addFocusHolders(@NonNull AudioFocusEntry focusHolder) { in addFocusHolders() argument341 Preconditions.checkArgument(focusHolder != null, in addFocusHolders()344 mFocusHolders.add(focusHolder); in addFocusHolders()
214 currentHolderToIncomingFocusInteractions, AudioAttributes focusHolder) in parseExclusiveOrRejectFocusAttributes() argument245 currentHolderToIncomingFocusInteractions.put(focusHolder, incomingFocusInteractions); in parseExclusiveOrRejectFocusAttributes()