Home
last modified time | relevance | path

Searched refs:traverseTopToBottom (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DWindowContainer.java1696 boolean forAllWindows(ToBooleanFunction<WindowState> callback, boolean traverseTopToBottom) { in forAllWindows() argument
1697 if (traverseTopToBottom) { in forAllWindows()
1699 if (mChildren.get(i).forAllWindows(callback, traverseTopToBottom)) { in forAllWindows()
1706 if (mChildren.get(i).forAllWindows(callback, traverseTopToBottom)) { in forAllWindows()
1714 void forAllWindows(Consumer<WindowState> callback, boolean traverseTopToBottom) { in forAllWindows() argument
1716 forAllWindows(wrapper, traverseTopToBottom); in forAllWindows()
1724 boolean forAllActivities(Predicate<ActivityRecord> callback, boolean traverseTopToBottom) { in forAllActivities() argument
1725 if (traverseTopToBottom) { in forAllActivities()
1727 if (mChildren.get(i).forAllActivities(callback, traverseTopToBottom)) return true; in forAllActivities()
1732 if (mChildren.get(i).forAllActivities(callback, traverseTopToBottom)) return true; in forAllActivities()
[all …]
DDisplayArea.java420 boolean traverseTopToBottom) { in forAllTaskDisplayAreas() argument
427 int i = traverseTopToBottom ? childCount - 1 : 0; in forAllTaskDisplayAreas()
432 .forAllTaskDisplayAreas(callback, traverseTopToBottom)) { in forAllTaskDisplayAreas()
435 i += traverseTopToBottom ? -1 : 1; in forAllTaskDisplayAreas()
441 void forAllTaskDisplayAreas(Consumer<TaskDisplayArea> callback, boolean traverseTopToBottom) { in forAllTaskDisplayAreas() argument
448 int i = traverseTopToBottom ? childCount - 1 : 0; in forAllTaskDisplayAreas()
453 child.asDisplayArea().forAllTaskDisplayAreas(callback, traverseTopToBottom); in forAllTaskDisplayAreas()
455 i += traverseTopToBottom ? -1 : 1; in forAllTaskDisplayAreas()
462 @Nullable R initValue, boolean traverseTopToBottom) { in reduceOnAllTaskDisplayAreas() argument
469 int i = traverseTopToBottom ? childCount - 1 : 0; in reduceOnAllTaskDisplayAreas()
[all …]
DTaskDisplayArea.java472 boolean traverseTopToBottom) {
475 if (traverseTopToBottom) {
477 return super.forAllTaskDisplayAreas(callback, traverseTopToBottom)
480 return callback.test(this) || super.forAllTaskDisplayAreas(callback, traverseTopToBottom);
484 void forAllTaskDisplayAreas(Consumer<TaskDisplayArea> callback, boolean traverseTopToBottom) {
485 if (traverseTopToBottom) {
486 super.forAllTaskDisplayAreas(callback, traverseTopToBottom);
490 super.forAllTaskDisplayAreas(callback, traverseTopToBottom);
497 @Nullable R initValue, boolean traverseTopToBottom) {
498 if (traverseTopToBottom) {
[all …]
DTask.java1616 final boolean traverseTopToBottom = !mTransitionController.isShellTransitionsEnabled(); in removeActivities()
1623 }, traverseTopToBottom); in removeActivities()
3150 void forAllLeafTasks(Consumer<Task> callback, boolean traverseTopToBottom) {
3153 if (traverseTopToBottom) {
3158 child.forAllLeafTasks(callback, traverseTopToBottom);
3166 child.forAllLeafTasks(callback, traverseTopToBottom);
3174 void forAllTasks(Consumer<Task> callback, boolean traverseTopToBottom) {
3175 super.forAllTasks(callback, traverseTopToBottom);
3180 void forAllRootTasks(Consumer<Task> callback, boolean traverseTopToBottom) {
3212 boolean traverseTopToBottom) {
[all …]
DTaskFragment.java1873 void forAllTaskFragments(Consumer<TaskFragment> callback, boolean traverseTopToBottom) { in forAllTaskFragments() argument
1874 super.forAllTaskFragments(callback, traverseTopToBottom); in forAllTaskFragments()
1879 void forAllLeafTaskFragments(Consumer<TaskFragment> callback, boolean traverseTopToBottom) { in forAllLeafTaskFragments() argument
1882 if (traverseTopToBottom) { in forAllLeafTaskFragments()
1887 child.forAllLeafTaskFragments(callback, traverseTopToBottom); in forAllLeafTaskFragments()
1895 child.forAllLeafTaskFragments(callback, traverseTopToBottom); in forAllLeafTaskFragments()
DWindowState.java4779 boolean forAllWindows(ToBooleanFunction<WindowState> callback, boolean traverseTopToBottom) { in forAllWindows() argument
4782 return applyInOrderWithImeWindows(callback, traverseTopToBottom); in forAllWindows()
4785 if (traverseTopToBottom) { in forAllWindows()
4918 boolean traverseTopToBottom) { in applyImeWindowsIfNeeded() argument
4931 return mDisplayContent.forAllImeWindows(callback, traverseTopToBottom); in applyImeWindowsIfNeeded()
4935 boolean traverseTopToBottom) { in applyInOrderWithImeWindows() argument
4936 if (traverseTopToBottom) { in applyInOrderWithImeWindows()
4937 if (applyImeWindowsIfNeeded(callback, traverseTopToBottom) in applyInOrderWithImeWindows()
4943 || applyImeWindowsIfNeeded(callback, traverseTopToBottom)) { in applyInOrderWithImeWindows()
DDisplayContent.java2711 boolean forAllImeWindows(ToBooleanFunction<WindowState> callback, boolean traverseTopToBottom) { in forAllImeWindows() argument
2712 return mImeWindowsContainer.forAllWindowForce(callback, traverseTopToBottom); in forAllImeWindows()
5153 boolean traverseTopToBottom) { in forAllWindows() argument
5158 return super.forAllWindows(callback, traverseTopToBottom); in forAllWindows()
5173 boolean traverseTopToBottom) { in forAllWindowForce() argument
5174 return super.forAllWindows(callback, traverseTopToBottom); in forAllWindowForce()
DActivityRecord.java4637 boolean forAllActivities(Predicate<ActivityRecord> callback, boolean traverseTopToBottom) { in forAllActivities() argument
4642 void forAllActivities(Consumer<ActivityRecord> callback, boolean traverseTopToBottom) { in forAllActivities() argument
4647 ActivityRecord getActivity(Predicate<ActivityRecord> callback, boolean traverseTopToBottom, in getActivity() argument