Searched refs:taskIndex (Results 1 – 3 of 3) sorted by relevance
1136 int taskIndex = mTasks.indexOf(task); in add() local1137 if (taskIndex >= 0) { in add()1143 mTasks.remove(taskIndex); in add()1145 if (taskIndex != 0) { in add()1152 + indexToAdd + " from " + taskIndex); in add()1187 int taskIndex; in add() local1191 taskIndex = otherIndex + 1; in add()1195 taskIndex = otherIndex; in add()1199 "addRecent: new affiliated task added at " + taskIndex + ": " in add()1202 mTasks.add(taskIndex, task); in add()[all …]
741 final int taskIndex = mPendingNewTaskTargets.indexOf(taskId); in removeTaskInternal() local742 if (taskIndex != -1) { in removeTaskInternal()743 mPendingNewTaskTargets.remove(taskIndex); in removeTaskInternal()
2689 final int[] taskIndex = new int[1]; in getRootTaskInfo() local2696 taskIndex[0]++; in getRootTaskInfo()2699 info.position = hasFound[0] ? taskIndex[0] : -1; in getRootTaskInfo()