Searched refs:taskIndex (Results 1 – 2 of 2) sorted by relevance
1076 int taskIndex = mTasks.indexOf(task); in add() local1077 if (taskIndex >= 0) { in add()1082 mTasks.remove(taskIndex); in add()1087 + " from " + taskIndex); in add()1120 int taskIndex; in add() local1124 taskIndex = otherIndex+1; in add()1128 taskIndex = otherIndex; in add()1131 "addRecent: new affiliated task added at " + taskIndex + ": " + task); in add()1132 mTasks.add(taskIndex, task); in add()1136 if (moveAffiliatedTasksToFront(task, taskIndex)) { in add()[all …]
553 final int taskIndex = mPendingNewTaskTargets.indexOf(taskId); in removeTaskInternal() local554 if (taskIndex != -1) { in removeTaskInternal()555 mPendingNewTaskTargets.remove(taskIndex); in removeTaskInternal()