Searched refs:taskIndex (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/grid/ |
D | TaskGridLayoutAlgorithm.java | 123 for (int taskIndex = 0; taskIndex < taskCount; taskIndex++) { in TaskGridRectInfo() 125 int taskLayoutIndex = taskCount - taskIndex - 1; in TaskGridRectInfo() 129 xOffsets[taskIndex] = mWindowRect.left + in TaskGridRectInfo() 131 yOffsets[taskIndex] = mWindowRect.top + in TaskGridRectInfo() 194 public TaskViewTransform getTransform(int taskIndex, int taskCount, 204 int x = gridInfo.xOffsets[taskIndex]; 205 int y = gridInfo.yOffsets[taskIndex]; 214 int taskLayoutIndex = taskCount - taskIndex - 1;
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/lowram/ |
D | TaskStackLowRamLayoutAlgorithm.java | 122 public TaskViewTransform getTransform(int taskIndex, float stackScroll, in getTransform() argument 131 y = getTaskTopFromIndex(taskIndex) - percentageToScroll(stackScroll); in getTransform() 229 public float getScrollPForTask(int taskIndex) { in getScrollPForTask() argument 230 return scrollToPercentage(getTaskTopFromIndex(taskIndex) - mPaddingEndTopBottom); in getScrollPForTask()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RecentTasks.java | 1054 int taskIndex = mTasks.indexOf(task); in add() local 1055 if (taskIndex >= 0) { in add() 1060 mTasks.remove(taskIndex); in add() 1065 + " from " + taskIndex); in add() 1098 int taskIndex; in add() local 1102 taskIndex = otherIndex+1; in add() 1106 taskIndex = otherIndex; in add() 1109 "addRecent: new affiliated task added at " + taskIndex + ": " + task); in add() 1110 mTasks.add(taskIndex, task); in add() 1114 if (moveAffiliatedTasksToFront(task, taskIndex)) { in add() [all …]
|
D | ActivityStack.java | 5067 for (int taskIndex = mTaskHistory.indexOf(startTask); taskIndex >= 0; --taskIndex) { in ensureVisibleActivitiesConfigurationLocked() 5068 final TaskRecord task = mTaskHistory.get(taskIndex); in ensureVisibleActivitiesConfigurationLocked()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | TaskStackView.java | 567 int taskIndex = mStack.indexOfTask(task); in bindVisibleTaskViews() local 569 if (taskIndex != -1) { in bindVisibleTaskViews() 570 transform = mCurrentTaskTransforms.get(taskIndex); in bindVisibleTaskViews() 577 lastFocusedTaskIndex = taskIndex; in bindVisibleTaskViews() 611 final int taskIndex = mStack.indexOfTask(task); in bindVisibleTaskViews() local 612 final int insertIndex = findTaskViewInsertIndex(task, taskIndex); in bindVisibleTaskViews() 671 int taskIndex = mStack.indexOfTask(task); in relayoutTaskViews() local 672 TaskViewTransform transform = mCurrentTaskTransforms.get(taskIndex); in relayoutTaskViews() 858 public boolean setFocusedTask(int taskIndex, boolean scrollToTask, in setFocusedTask() argument 860 return setFocusedTask(taskIndex, scrollToTask, requestViewFocus, 0); in setFocusedTask() [all …]
|
D | TaskStackAnimationHelper.java | 499 int taskIndex = stackTasks.indexOf(task); in startScrollToFocusedTaskAnimation() local 500 TaskViewTransform fromTransform = mTmpCurrentTaskTransforms.get(taskIndex); in startScrollToFocusedTaskAnimation() 501 TaskViewTransform toTransform = mTmpFinalTaskTransforms.get(taskIndex); in startScrollToFocusedTaskAnimation() 603 int taskIndex = stackTasks.indexOf(task); in startNewStackScrollAnimation() local 604 TaskViewTransform fromTransform = mTmpCurrentTaskTransforms.get(taskIndex); in startNewStackScrollAnimation() 605 TaskViewTransform toTransform = mTmpFinalTaskTransforms.get(taskIndex); in startNewStackScrollAnimation()
|
D | TaskStackViewTouchHandler.java | 652 int taskIndex = mCurrentTasks.indexOf(task); in updateTaskViewTransforms() local 653 if (taskIndex == -1) { in updateTaskViewTransforms() 659 TaskViewTransform fromTransform = mCurrentTaskTransforms.get(taskIndex); in updateTaskViewTransforms() 660 TaskViewTransform toTransform = mFinalTaskTransforms.get(taskIndex); in updateTaskViewTransforms()
|
D | TaskStackLayoutAlgorithm.java | 785 int taskIndex = mTaskIndexMap.get(task.key.id); in getStackTransform() local 787 mTaskGridLayoutAlgorithm.getTransform(taskIndex, taskCount, transformOut, this); in getStackTransform() 794 int taskIndex = mTaskIndexMap.get(task.key.id); in getStackTransform() local 795 mTaskStackLowRamLayoutAlgorithm.getTransform(taskIndex, stackScroll, transformOut, in getStackTransform()
|
D | RecentsView.java | 1032 int taskIndex = stack.indexOfTask(task); 1033 if (taskIndex > -1) { 1034 taskIndexFromFront = stack.getTaskCount() - taskIndex - 1;
|