Searched refs:numTasks (Results 1 – 3 of 3) sorted by relevance
70 final int numTasks = 10; in testTaskInfo_expectNoExtrasByDefault() local71 for (int i = 0; i < numTasks; i++) { in testTaskInfo_expectNoExtrasByDefault()95 final int numTasks = 10; in testTaskInfo_expectExtrasWithKeepExtraFlag() local96 for (int i = 0; i < numTasks; i++) { in testTaskInfo_expectExtrasWithKeepExtraFlag()127 final int numTasks = 10; in testGetTasksSortByFocusAndVisibility() local129 for (int i = 0; i < numTasks; i++) { in testGetTasksSortByFocusAndVisibility()135 final Task focusedTask = tasks.get(numTasks - 1); in testGetTasksSortByFocusAndVisibility()139 final Task visibleTaskTop = tasks.get(numTasks - 2); in testGetTasksSortByFocusAndVisibility()142 final Task visibleTaskBottom = tasks.get(numTasks - 3); in testGetTasksSortByFocusAndVisibility()153 assertEquals(numTasks - i - 1, fetchTasks.get(i).id); in testGetTasksSortByFocusAndVisibility()[all …]
2704 final int numTasks = task.getDescendantTaskCount(); in getRootTaskInfo() local2705 info.childTaskIds = new int[numTasks]; in getRootTaskInfo()2706 info.childTaskNames = new String[numTasks]; in getRootTaskInfo()2707 info.childTaskBounds = new Rect[numTasks]; in getRootTaskInfo()2708 info.childTaskUserIds = new int[numTasks]; in getRootTaskInfo()
473 int numTasks = tasks.size(); in onSensorUseStarted() local474 for (int taskNum = 0; taskNum < numTasks; taskNum++) { in onSensorUseStarted()