Home
last modified time | relevance | path

Searched refs:taskIndex (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewFilterAlgorithm.java149 int taskIndex = tasks.indexOf(task); in getExitTransformsForFilterAnimation() local
153 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()
DTaskStackView.java308 int taskIndex = mStack.indexOfTask(task); in synchronizeStackViewsWithModel() local
309 if (visibleRange[1] <= taskIndex && taskIndex <= visibleRange[0]) { in synchronizeStackViewsWithModel()
321 int taskIndex = mStack.indexOfTask(task); in synchronizeStackViewsWithModel() local
339 tv.updateViewPropertiesToTaskTransform(mCurrentTaskTransforms.get(taskIndex), in synchronizeStackViewsWithModel()
432 void focusTask(int taskIndex, boolean scrollToNewPosition, final boolean animateFocusedState) { in focusTask() argument
434 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DTaskStack.java177 public int taskIndex; // Index in the group field in TaskStack.GroupTaskIndex
183 taskIndex = ti; in GroupTaskIndex()
418 int taskIndex = 0; in createAffiliatedGroupings() local
431 tasks.set(taskIndex, taskMap.get(groupTasks.get(j))); in createAffiliatedGroupings()
432 taskIndex++; in createAffiliatedGroupings()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java3924 private final boolean moveAffiliatedTasksToFront(TaskRecord task, int taskIndex) { in moveAffiliatedTasksToFront() argument
3927 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() local
4057 if (taskIndex >= 0) { in addRecentTaskLocked()
4060 mRecentTasks.remove(taskIndex); in addRecentTaskLocked()
4064 + " from " + taskIndex); in addRecentTaskLocked()
4068 if (moveAffiliatedTasksToFront(task, taskIndex)) { in addRecentTaskLocked()
[all …]