Searched refs:taskIndex (Results 1 – 4 of 4) sorted by relevance
149 int taskIndex = tasks.indexOf(task); in getExitTransformsForFilterAnimation() local153 boolean willBeInvisible = taskIndex < 0 || !taskTransforms.get(taskIndex).visible; in getExitTransformsForFilterAnimation()155 if (taskIndex < 0) { in getExitTransformsForFilterAnimation()158 toTransform = new TaskViewTransform(taskTransforms.get(taskIndex)); in getExitTransformsForFilterAnimation()163 toTransform = taskTransforms.get(taskIndex); in getExitTransformsForFilterAnimation()
308 int taskIndex = mStack.indexOfTask(task); in synchronizeStackViewsWithModel() local309 if (visibleRange[1] <= taskIndex && taskIndex <= visibleRange[0]) { in synchronizeStackViewsWithModel()321 int taskIndex = mStack.indexOfTask(task); in synchronizeStackViewsWithModel() local339 tv.updateViewPropertiesToTaskTransform(mCurrentTaskTransforms.get(taskIndex), in synchronizeStackViewsWithModel()432 void focusTask(int taskIndex, boolean scrollToNewPosition, final boolean animateFocusedState) { in focusTask() argument434 if (taskIndex == mFocusedTaskIndex) return; in focusTask()436 if (0 <= taskIndex && taskIndex < mStack.getTaskCount()) { in focusTask()437 mFocusedTaskIndex = taskIndex; in focusTask()440 Task t = mStack.getTasks().get(taskIndex); in focusTask()1033 int taskIndex = mStack.indexOfTask(task); in prepareViewToLeavePool() local[all …]
177 public int taskIndex; // Index in the group field in TaskStack.GroupTaskIndex183 taskIndex = ti; in GroupTaskIndex()418 int taskIndex = 0; in createAffiliatedGroupings() local431 tasks.set(taskIndex, taskMap.get(groupTasks.get(j))); in createAffiliatedGroupings()432 taskIndex++; in createAffiliatedGroupings()
3924 private final boolean moveAffiliatedTasksToFront(TaskRecord task, int taskIndex) { in moveAffiliatedTasksToFront() argument3927 int topIndex = taskIndex; in moveAffiliatedTasksToFront()3933 + topIndex + " from intial " + taskIndex); in moveAffiliatedTasksToFront()4002 if (endIndex < taskIndex) { in moveAffiliatedTasksToFront()4004 + ": did not extend to task " + task + " @" + taskIndex); in moveAffiliatedTasksToFront()4056 int taskIndex = mRecentTasks.indexOf(task); in addRecentTaskLocked() local4057 if (taskIndex >= 0) { in addRecentTaskLocked()4060 mRecentTasks.remove(taskIndex); in addRecentTaskLocked()4064 + " from " + taskIndex); in addRecentTaskLocked()4068 if (moveAffiliatedTasksToFront(task, taskIndex)) { in addRecentTaskLocked()[all …]