/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/grid/ |
D | TaskGridLayoutAlgorithm.java | 75 TaskGridRectInfo(int taskCount) { in TaskGridRectInfo() argument 77 xOffsets = new int[taskCount]; in TaskGridRectInfo() 78 yOffsets = new int[taskCount]; in TaskGridRectInfo() 80 int layoutTaskCount = Math.min(MAX_LAYOUT_TASK_COUNT, taskCount); in TaskGridRectInfo() 123 for (int taskIndex = 0; taskIndex < taskCount; taskIndex++) { in TaskGridRectInfo() 125 int taskLayoutIndex = taskCount - taskIndex - 1; in TaskGridRectInfo() 136 private int getTasksPerLine(int taskCount) { 137 switch(taskCount) { 153 throw new IllegalArgumentException("Unsupported task count " + taskCount); 194 public TaskViewTransform getTransform(int taskIndex, int taskCount, [all …]
|
D | TaskViewFocusFrame.java | 127 final int taskCount = stack.getTaskCount(); in onGlobalFocusChanged() local 129 final int taskIndexToFocus = k == -1 ? (taskCount - 1) : (k % taskCount); in onGlobalFocusChanged()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/ |
D | TaskStack.java | 155 int taskCount = mRawTaskList.size(); in setTasks() local 156 for (int i = taskCount - 1; i >= 0; i--) { in setTasks() 166 taskCount = tasks.size(); in setTasks() 167 for (int i = 0; i < taskCount; i++) { in setTasks() 226 int taskCount = tasks.size(); in getTaskKeys() local 227 for (int i = 0; i < taskCount; i++) { in getTaskKeys() 262 int taskCount = tasks.size(); in getLaunchTarget() local 263 for (int i = 0; i < taskCount; i++) { in getLaunchTarget() 304 int taskCount = getTaskCount(); in getNextLaunchTargetRaw() local 305 if (taskCount == 0) { in getNextLaunchTargetRaw() [all …]
|
D | FilteredTaskList.java | 93 int taskCount = mTasks.size(); in updateFilteredTasks() local 94 for (int i = 0; i < taskCount; i++) { in updateFilteredTasks() 99 for (int i = 0; i < taskCount; i++) { in updateFilteredTasks() 113 int taskCount = mFilteredTasks.size(); in updateFilteredTaskIndices() local 115 for (int i = 0; i < taskCount; i++) { in updateFilteredTaskIndices()
|
D | RecentsTaskLoadPlan.java | 104 int taskCount = mRawTasks.size(); in preloadPlan() local 105 for (int i = 0; i < taskCount; i++) { in preloadPlan() 175 int taskCount = tasks.size(); in executePlan() local 176 for (int i = 0; i < taskCount; i++) { in executePlan() 181 boolean isVisibleTask = i >= (taskCount - opts.numVisibleTasks); in executePlan() 182 boolean isVisibleThumbnail = i >= (taskCount - opts.numVisibleTaskThumbnails); in executePlan()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/lowram/ |
D | TaskStackLowRamLayoutAlgorithm.java | 123 TaskViewTransform transformOut, int taskCount, TaskStackLayoutAlgorithm stackLayout) { in getTransform() argument 124 if (taskCount == 0) { in getTransform() 130 if (taskCount > 1) { in getTransform() 204 public float getMaxScrollP(int taskCount) { in getMaxScrollP() argument 205 return getScrollPForTask(taskCount - 1); in getMaxScrollP() 214 public float getInitialScrollP(int taskCount, boolean fromHome) { in getInitialScrollP() argument 216 return getMaxScrollP(taskCount); in getInitialScrollP() 218 if (taskCount < 2) { in getInitialScrollP() 221 return getScrollPForTask(taskCount - 2); in getInitialScrollP() 245 private int getTotalHeightOfTasks(int taskCount) { in getTotalHeightOfTasks() argument [all …]
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | TaskStackView.java | 474 int taskCount = tasks.size(); in computeVisibleTaskTransforms() local 488 for (int i = taskCount - 1; i >= 0; i--) { in computeVisibleTaskTransforms() 973 int taskCount = mStack.getTaskCount(); in setRelativeFocusedTask() local 974 newIndex = (newIndex + (forward ? -1 : 1) + taskCount) % taskCount; in setRelativeFocusedTask() 980 int taskCount = tasks.size(); in setRelativeFocusedTask() local 984 newIndex = taskCount - 1; in setRelativeFocusedTask() 990 for (newIndex = taskCount - 1; newIndex >= 0; newIndex--) { in setRelativeFocusedTask() 998 for (newIndex = 0; newIndex < taskCount; newIndex++) { in setRelativeFocusedTask() 1862 final int taskCount = mStack.getTaskCount(); in onBusEvent() local 1864 final int nextIndex = mLayoutAlgorithm.mTaskGridLayoutAlgorithm.navigateFocus(taskCount, in onBusEvent() [all …]
|
D | TaskStackLayoutAlgorithm.java | 462 int taskCount = stackTasks.size(); in update() local 463 for (int i = 0; i < taskCount; i++) { in update() 501 ? mTaskStackLowRamLayoutAlgorithm.getMaxScrollP(taskCount) in update() 563 int taskCount = tasks.size(); in setTaskOverridesForInitialState() local 564 for (int i = taskCount - 1; i >= 0; i--) { in setTaskOverridesForInitialState() 565 int indexFromFront = taskCount - i - 1; in setTaskOverridesForInitialState() 786 int taskCount = mTaskIndexMap.size(); in getStackTransform() local 787 mTaskGridLayoutAlgorithm.getTransform(taskIndex, taskCount, transformOut, this); in getStackTransform()
|
D | TaskStackViewTouchHandler.java | 681 int taskCount = tasks.size(); in findViewAtPoint() local 682 for (int i = taskCount - 1; i >= 0; i--) { in findViewAtPoint()
|
D | RecentsView.java | 301 final int taskCount = mTaskStackView.getStack().getTaskCount(); 302 final float busyness = Math.min(taskCount, BUSY_RECENTS_TASK_COUNT)
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PageContentRepository.java | 626 final int taskCount = mPageToRenderTaskMap.size(); in stopPreload() local 627 for (int i = 0; i < taskCount; i++) { in stopPreload() 713 final int taskCount = mPageToRenderTaskMap.size(); in cancelAllRendering() local 714 for (int i = 0; i < taskCount; i++) { in cancelAllRendering()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/ |
D | RecentsImpl.java | 578 int taskCount = tasks.size(); 579 for (int i = taskCount - 1; i >= 1; i--) { 634 int taskCount = tasks.size(); in showRelativeAffiliatedTask() local 635 for (int i = 0; i < taskCount; i++) { in showRelativeAffiliatedTask() 639 if ((i + 1) < taskCount) { in showRelativeAffiliatedTask()
|
D | RecentsActivity.java | 469 int taskCount = mRecentsView.getStack().getTaskCount(); in reloadStackView() local 470 MetricsLogger.histogram(this, "overview_task_count", taskCount); in reloadStackView()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RecentsAnimationController.java | 366 final int taskCount = visibleTasks.size(); in initialize() local 367 for (int i = 0; i < taskCount; i++) { in initialize()
|
/frameworks/native/vulkan/api/ |
D | vulkan.api | 7683 u32 taskCount 11801 u32 taskCount,
|