Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DPlayerFocusEnforcer.java28 public boolean duckPlayers(FocusRequester winner, FocusRequester loser, boolean forceDuck); in duckPlayers() argument
30 public void unduckPlayers(FocusRequester winner); in unduckPlayers() argument
DPlaybackActivityMonitor.java428 public boolean duckPlayers(FocusRequester winner, FocusRequester loser, boolean forceDuck) { in duckPlayers() argument
431 winner.getClientUid(), loser.getClientUid())); in duckPlayers()
444 if (!winner.hasSameUid(apc.getClientUid()) in duckPlayers()
476 public void unduckPlayers(FocusRequester winner) { in unduckPlayers() argument
477 if (DEBUG) { Log.v(TAG, "unduckPlayers: uids winner=" + winner.getClientUid()); } in unduckPlayers()
479 mDuckingManager.unduckUid(winner.getClientUid(), mPlayers); in unduckPlayers()
DMediaFocusControl.java108 public boolean duckPlayers(FocusRequester winner, FocusRequester loser, boolean forceDuck) { in duckPlayers() argument
109 return mFocusEnforcer.duckPlayers(winner, loser, forceDuck); in duckPlayers()
113 public void unduckPlayers(FocusRequester winner) { in unduckPlayers() argument
114 mFocusEnforcer.unduckPlayers(winner); in unduckPlayers()
/frameworks/base/core/tests/coretests/src/android/os/
DBroadcasterTest.java94 boolean winner = true; in handleMessage()
97 winner = false; in handleMessage()
100 if (winner) { in handleMessage()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java1752 ViewHolder winner = null; in chooseDropTarget() local
1765 winner = target; in chooseDropTarget()
1775 winner = target; in chooseDropTarget()
1785 winner = target; in chooseDropTarget()
1796 winner = target; in chooseDropTarget()
1801 return winner; in chooseDropTarget()