Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DRecentTasks.java382 private final boolean moveAffiliatedTasksToFront(TaskRecord task, int taskIndex) { in moveAffiliatedTasksToFront() argument
385 int topIndex = taskIndex; in moveAffiliatedTasksToFront()
391 + topIndex + " from intial " + taskIndex); in moveAffiliatedTasksToFront()
460 if (endIndex < taskIndex) { in moveAffiliatedTasksToFront()
462 + ": did not extend to task " + task + " @" + taskIndex); in moveAffiliatedTasksToFront()
517 int taskIndex = indexOf(task); in addLocked() local
518 if (taskIndex >= 0) { in addLocked()
521 remove(taskIndex); in addLocked()
525 + " from " + taskIndex); in addLocked()
529 if (moveAffiliatedTasksToFront(task, taskIndex)) { in addLocked()
[all …]
DActivityStack.java4438 for (int taskIndex = mTaskHistory.indexOf(startTask); taskIndex >= 0; --taskIndex) { in ensureVisibleActivitiesConfigurationLocked()
4439 final TaskRecord task = mTaskHistory.get(taskIndex); in ensureVisibleActivitiesConfigurationLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/views/
DRecentsTvTransitionHelper.java96 int taskIndex = stack.indexOfStackTask(task); in startTaskActivity() local
97 if (taskIndex > -1) { in startTaskActivity()
98 taskIndexFromFront = stack.getTaskCount() - taskIndex - 1; in startTaskActivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackView.java574 int taskIndex = mStack.indexOfStackTask(task); in bindVisibleTaskViews() local
576 if (taskIndex != -1) { in bindVisibleTaskViews()
577 transform = mCurrentTaskTransforms.get(taskIndex); in bindVisibleTaskViews()
584 lastFocusedTaskIndex = taskIndex; in bindVisibleTaskViews()
622 final int taskIndex = mStack.indexOfStackTask(task); in bindVisibleTaskViews() local
623 final int insertIndex = findTaskViewInsertIndex(task, taskIndex); in bindVisibleTaskViews()
677 int taskIndex = mStack.indexOfStackTask(task); in relayoutTaskViews() local
678 TaskViewTransform transform = mCurrentTaskTransforms.get(taskIndex); in relayoutTaskViews()
867 private boolean setFocusedTask(int taskIndex, boolean scrollToTask, in setFocusedTask() argument
869 return setFocusedTask(taskIndex, scrollToTask, requestViewFocus, 0); in setFocusedTask()
[all …]
DTaskStackAnimationHelper.java524 int taskIndex = stackTasks.indexOf(task); in startScrollToFocusedTaskAnimation() local
525 TaskViewTransform fromTransform = mTmpCurrentTaskTransforms.get(taskIndex); in startScrollToFocusedTaskAnimation()
526 TaskViewTransform toTransform = mTmpFinalTaskTransforms.get(taskIndex); in startScrollToFocusedTaskAnimation()
628 int taskIndex = stackTasks.indexOf(task); in startNewStackScrollAnimation() local
629 TaskViewTransform fromTransform = mTmpCurrentTaskTransforms.get(taskIndex); in startNewStackScrollAnimation()
630 TaskViewTransform toTransform = mTmpFinalTaskTransforms.get(taskIndex); in startNewStackScrollAnimation()
DRecentsTransitionHelper.java205 int taskIndex = stack.indexOfStackTask(task);
206 if (taskIndex > -1) {
207 taskIndexFromFront = stack.getTaskCount() - taskIndex - 1;
DTaskStackViewTouchHandler.java636 int taskIndex = mCurrentTasks.indexOf(task); in updateTaskViewTransforms() local
637 TaskViewTransform fromTransform = mCurrentTaskTransforms.get(taskIndex); in updateTaskViewTransforms()
638 TaskViewTransform toTransform = mFinalTaskTransforms.get(taskIndex); in updateTaskViewTransforms()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/
DTestScheduledExecutorService.java145 void run(int taskIndex) { in run() argument
146 scheduled.get(taskIndex).runnable.run(); in run()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DTaskStack.java119 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()
922 int taskIndex = 0; in createAffiliatedGroupings() local
935 tasks.set(taskIndex, taskMap.get(groupTasks.get(j))); in createAffiliatedGroupings()
936 taskIndex++; in createAffiliatedGroupings()