Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DRecentTasks.java1087 int taskIndex = mTasks.indexOf(task); in add() local
1088 if (taskIndex >= 0) { in add()
1093 mTasks.remove(taskIndex); in add()
1098 + " from " + taskIndex); in add()
1133 int taskIndex; in add() local
1137 taskIndex = otherIndex + 1; in add()
1141 taskIndex = otherIndex; in add()
1148 mTasks.add(taskIndex, task); in add()
1416 return taskIndex == 0; in isInVisibleRange()
1667 int topIndex = taskIndex; in moveAffiliatedTasksToFront()
[all …]
H A DRecentsAnimationController.java779 final int taskIndex = mPendingNewTaskTargets.indexOf(taskId); in removeTaskInternal() local
780 if (taskIndex != -1) { in removeTaskInternal()
781 mPendingNewTaskTargets.remove(taskIndex); in removeTaskInternal()
H A DRootWindowContainer.java2494 final int[] taskIndex = new int[1]; in getRootTaskInfo() local
2501 taskIndex[0]++; in getRootTaskInfo()
2504 info.position = hasFound[0] ? taskIndex[0] : -1; in getRootTaskInfo()
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
H A DTestScheduledExecutorService.java150 public void run(int taskIndex) { in run() argument
151 scheduled.get(taskIndex).runnable.run(); in run()
153 scheduled.remove(taskIndex); in run()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
H A DTaskViewUtils.java195 int taskIndex = recentsView.indexOfChild(v); in createRecentsWindowAnimator() local
200 taskIndex != recentsView.getCurrentPage() && !showAsGrid; in createRecentsWindowAnimator()
201 int taskRectTranslationPrimary = recentsView.getScrollOffset(taskIndex); in createRecentsWindowAnimator()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
H A DRecentsView.java1116 public boolean isTaskInExpectedScrollPosition(int taskIndex) { in isTaskInExpectedScrollPosition() argument
1117 return getScrollForPage(taskIndex) == getPagedOrientationHandler().getPrimaryScroll(this); in isTaskInExpectedScrollPosition()
4126 int taskIndex = indexOfChild(tv);
4128 boolean launchingCenterTask = taskIndex == centerTaskIndex;
4144 && runningTaskIndex != taskIndex
4154 int otherAdjacentTaskIndex = centerTaskIndex + (centerTaskIndex - taskIndex);