Searched refs:taskIndex (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/grid/ |
D | TaskGridLayoutAlgorithm.java | 124 for (int taskIndex = 0; taskIndex < taskCount; taskIndex++) { in TaskGridRectInfo() 126 int taskLayoutIndex = taskCount - taskIndex - 1; in TaskGridRectInfo() 130 xOffsets[taskIndex] = mWindowRect.left + in TaskGridRectInfo() 132 yOffsets[taskIndex] = mWindowRect.top + in TaskGridRectInfo() 195 public TaskViewTransform getTransform(int taskIndex, int taskCount, 205 int x = gridInfo.xOffsets[taskIndex]; 206 int y = gridInfo.yOffsets[taskIndex]; 215 int taskLayoutIndex = taskCount - taskIndex - 1;
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | RecentTasks.java | 404 private final boolean moveAffiliatedTasksToFront(TaskRecord task, int taskIndex) { in moveAffiliatedTasksToFront() argument 407 int topIndex = taskIndex; in moveAffiliatedTasksToFront() 413 + topIndex + " from intial " + taskIndex); in moveAffiliatedTasksToFront() 482 if (endIndex < taskIndex) { in moveAffiliatedTasksToFront() 484 + ": did not extend to task " + task + " @" + taskIndex); in moveAffiliatedTasksToFront() 539 int taskIndex = indexOf(task); in addLocked() local 540 if (taskIndex >= 0) { in addLocked() 543 remove(taskIndex); in addLocked() 547 + " from " + taskIndex); in addLocked() 551 if (moveAffiliatedTasksToFront(task, taskIndex)) { in addLocked() [all …]
|
D | ActivityStack.java | 4723 for (int taskIndex = mTaskHistory.indexOf(startTask); taskIndex >= 0; --taskIndex) { in ensureVisibleActivitiesConfigurationLocked() 4724 final TaskRecord task = mTaskHistory.get(taskIndex); in ensureVisibleActivitiesConfigurationLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | TaskStackView.java | 618 int taskIndex = mStack.indexOfStackTask(task); in bindVisibleTaskViews() local 620 if (taskIndex != -1) { in bindVisibleTaskViews() 621 transform = mCurrentTaskTransforms.get(taskIndex); in bindVisibleTaskViews() 628 lastFocusedTaskIndex = taskIndex; in bindVisibleTaskViews() 666 final int taskIndex = mStack.indexOfStackTask(task); in bindVisibleTaskViews() local 667 final int insertIndex = findTaskViewInsertIndex(task, taskIndex); in bindVisibleTaskViews() 728 int taskIndex = mStack.indexOfStackTask(task); in relayoutTaskViews() local 729 TaskViewTransform transform = mCurrentTaskTransforms.get(taskIndex); in relayoutTaskViews() 923 public boolean setFocusedTask(int taskIndex, boolean scrollToTask, in setFocusedTask() argument 925 return setFocusedTask(taskIndex, scrollToTask, requestViewFocus, 0); in setFocusedTask() [all …]
|
D | TaskStackAnimationHelper.java | 484 int taskIndex = stackTasks.indexOf(task); in startScrollToFocusedTaskAnimation() local 485 TaskViewTransform fromTransform = mTmpCurrentTaskTransforms.get(taskIndex); in startScrollToFocusedTaskAnimation() 486 TaskViewTransform toTransform = mTmpFinalTaskTransforms.get(taskIndex); in startScrollToFocusedTaskAnimation() 588 int taskIndex = stackTasks.indexOf(task); in startNewStackScrollAnimation() local 589 TaskViewTransform fromTransform = mTmpCurrentTaskTransforms.get(taskIndex); in startNewStackScrollAnimation() 590 TaskViewTransform toTransform = mTmpFinalTaskTransforms.get(taskIndex); in startNewStackScrollAnimation()
|
D | RecentsTransitionHelper.java | 206 int taskIndex = stack.indexOfStackTask(task); 207 if (taskIndex > -1) { 208 taskIndexFromFront = stack.getTaskCount() - taskIndex - 1;
|
D | TaskStackViewTouchHandler.java | 638 int taskIndex = mCurrentTasks.indexOf(task); in updateTaskViewTransforms() local 639 if (taskIndex == -1) { in updateTaskViewTransforms() 645 TaskViewTransform fromTransform = mCurrentTaskTransforms.get(taskIndex); in updateTaskViewTransforms() 646 TaskViewTransform toTransform = mFinalTaskTransforms.get(taskIndex); in updateTaskViewTransforms()
|
D | TaskStackLayoutAlgorithm.java | 887 int taskIndex = mTaskIndexMap.get(task.key.id); in getStackTransform() local 889 mTaskGridLayoutAlgorithm.getTransform(taskIndex, taskCount, transformOut, this); in getStackTransform()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
D | TaskStack.java | 119 int taskIndex = indexOf(task); in moveTaskToStack() local 120 if (taskIndex != insertIndex) { in moveTaskToStack() 121 mTasks.remove(taskIndex); in moveTaskToStack() 122 if (taskIndex < insertIndex) { in moveTaskToStack() 1007 int taskIndex = 0; in createAffiliatedGroupings() local 1020 tasks.set(taskIndex, taskMap.get(groupTasks.get(j))); in createAffiliatedGroupings() 1021 taskIndex++; in createAffiliatedGroupings()
|