Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DTaskView.java283 public void launchTask(boolean animate, Consumer<Boolean> resultCallback, in launchTask() argument
285 launchTask(animate, false /* freezeTaskList */, resultCallback, resultCallbackHandler); in launchTask()
288 … public void launchTask(boolean animate, boolean freezeTaskList, Consumer<Boolean> resultCallback, in launchTask() argument
293 () -> resultCallbackHandler.post(() -> resultCallback.accept(true))); in launchTask()
295 launchTaskInternal(animate, freezeTaskList, resultCallback, resultCallbackHandler); in launchTask()
298 launchTaskInternal(animate, freezeTaskList, resultCallback, resultCallbackHandler); in launchTask()
303 Consumer<Boolean> resultCallback, Handler resultCallbackHandler) { in launchTaskInternal() argument
312 opts, resultCallback, resultCallbackHandler); in launchTaskInternal()
315 if (resultCallback != null) { in launchTaskInternal()
318 resultCallbackHandler.post(() -> resultCallback.accept(true)); in launchTaskInternal()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRecentTasksList.java88 Runnable resultCallback = callback == null in getTasks() local
95 mMainThreadExecutor.post(resultCallback); in getTasks()
107 resultCallback.run(); in getTasks()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTaskSystemShortcut.java308 Consumer<Boolean> resultCallback = success -> {
319 taskView.launchTask(true, resultCallback, mHandler);
DBaseSwipeUpHandler.java207 protected void startNewTask(int successStateFlag, Consumer<Boolean> resultCallback) { in startNewTask() argument
222 resultCallback.accept(success); in startNewTask()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java8249 int subscriptionId, IBooleanConsumer resultCallback) { in setSystemSelectionChannels() argument
8256 if (resultCallback != null) { in setSystemSelectionChannels()
8257 resultCallback.accept(false); in setSystemSelectionChannels()
8267 if (resultCallback != null) { in setSystemSelectionChannels()
8268 resultCallback.accept(x); in setSystemSelectionChannels()