Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRecentTasksList.java96 public synchronized int getTasks(boolean loadKeysOnly, Consumer<ArrayList<Task>> callback) { in getTasks() argument
98 if (mResultsUi.isValidForRequest(requestLoadId, loadKeysOnly)) { in getTasks()
115 if (!mResultsBg.isValidForRequest(requestLoadId, loadKeysOnly)) { in getTasks()
116 mResultsBg = loadTasksInBackground(Integer.MAX_VALUE, requestLoadId, loadKeysOnly); in getTasks()
181 TaskLoadResult loadTasksInBackground(int numTasks, int requestId, boolean loadKeysOnly) { in loadTasksInBackground() argument
199 TaskLoadResult allTasks = new TaskLoadResult(requestId, loadKeysOnly, rawTasks.size()); in loadTasksInBackground()
203 if (!loadKeysOnly) { in loadTasksInBackground()
237 boolean isValidForRequest(int requestId, boolean loadKeysOnly) { in isValidForRequest() argument
238 return mId == requestId && (!mKeysOnly || loadKeysOnly); in isValidForRequest()