Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DOverviewCommandHelper.java82 private final ArrayList<CommandInfo> mPendingCommands = new ArrayList<>(); field in OverviewCommandHelper
111 if (mPendingCommands.isEmpty()) { in scheduleNextTask()
115 if (mPendingCommands.get(0) != command) { in scheduleNextTask()
117 + " mPendingCommands[0] type is " + mPendingCommands.get(0) in scheduleNextTask()
122 mPendingCommands.remove(0); in scheduleNextTask()
133 if (mPendingCommands.isEmpty()) { in executeNext()
137 CommandInfo cmd = mPendingCommands.get(0); in executeNext()
148 boolean wasEmpty = mPendingCommands.isEmpty(); in addCommand()
149 mPendingCommands.add(cmd); in addCommand()
162 if (mPendingCommands.size() >= MAX_QUEUE_SIZE) { in addCommand()
[all …]
/packages/modules/Media/apex/framework/java/android/media/
DMediaController2.java85 private ArrayMap<ResultReceiver, Integer> mPendingCommands; field in MediaController2
120 mPendingCommands = new ArrayMap<>(); in MediaController2()
161 mPendingCommands.clear(); in close()
216 mPendingCommands.remove(this); in sendSessionCommand()
228 mPendingCommands.put(resultReceiver, seq); in sendSessionCommand()
233 mPendingCommands.remove(resultReceiver); in sendSessionCommand()
252 Integer seq = mPendingCommands.remove(token); in cancelSessionCommand()
DMediaSession2.java665 private ArrayMap<ResultReceiver, Integer> mPendingCommands; field in MediaSession2.ControllerInfo
686 mPendingCommands = new ArrayMap<>(); in ControllerInfo()
794 mPendingCommands.put(resultReceiver, seq); in sendSessionCommand()
800 mPendingCommands.remove(resultReceiver); in sendSessionCommand()
810 seq = mPendingCommands.remove(token); in cancelSessionCommand()
819 mPendingCommands.remove(resultReceiver); in receiveCommandResult()