Searched refs:numTasks (Results 1 – 3 of 3) sorted by relevance
81 public void getTaskKeys(int numTasks, Consumer<ArrayList<Task>> callback) { in getTaskKeys() argument84 ArrayList<Task> tasks = loadTasksInBackground(numTasks, -1, true /* loadKeysOnly */); in getTaskKeys()181 TaskLoadResult loadTasksInBackground(int numTasks, int requestId, boolean loadKeysOnly) { in loadTasksInBackground() argument184 mActivityManagerWrapper.getRecentTasks(numTasks, currentUserId); in loadTasksInBackground()
140 final Integer numTasks = getFromLauncher(launcher -> getTaskCount(launcher)); in testOverview() local146 numTasks - 1, getTaskCount(launcher))); in testOverview()
251 final Integer numTasks = getFromRecents(this::getTaskCount); in testOverview() local257 numTasks - 1, getTaskCount(recents))); in testOverview()