Searched refs:numTasks (Results 1 – 3 of 3) sorted by relevance
70 public void getTaskKeys(int numTasks, Consumer<ArrayList<Task>> callback) { in getTaskKeys() argument73 ArrayList<Task> tasks = loadTasksInBackground(numTasks, -1, true /* loadKeysOnly */); in getTaskKeys()166 TaskLoadResult loadTasksInBackground(int numTasks, int requestId, boolean loadKeysOnly) { in loadTasksInBackground() argument169 mActivityManagerWrapper.getRecentTasks(numTasks, currentUserId); in loadTasksInBackground()
150 final Integer numTasks = getFromLauncher(launcher -> getTaskCount(launcher)); in testOverview() local156 numTasks - 1, getTaskCount(launcher))); in testOverview()
223 final Integer numTasks = getFromRecents(this::getTaskCount); in testOverview() local229 numTasks - 1, getTaskCount(recents))); in testOverview()