Searched refs:leafTask (Results 1 – 5 of 5) sorted by relevance
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AppTransitionController.java | 652 Task leafTask = null; in findParentTaskForAllEmbeddedWindows() local 656 leafTask = null; in findParentTaskForAllEmbeddedWindows() 672 leafTask = null; in findParentTaskForAllEmbeddedWindows() 676 if (leafTask != null && leafTask != task) { in findParentTaskForAllEmbeddedWindows() 677 leafTask = null; in findParentTaskForAllEmbeddedWindows() 683 leafTask = null; in findParentTaskForAllEmbeddedWindows() 689 leafTask = null; in findParentTaskForAllEmbeddedWindows() 692 leafTask = task; in findParentTaskForAllEmbeddedWindows() 695 return leafTask; in findParentTaskForAllEmbeddedWindows()
|
H A D | TaskDisplayArea.java | 1273 forAllLeafTasks(leafTask -> { 1276 if (!leafTask.isLeafTaskFragment()) { 1278 final ActivityRecord resumedActivity = leafTask.getResumedActivity(); 1279 if (resumedActivity != null && top.getTaskFragment() != leafTask) { 1281 if (leafTask.startPausing(false /* uiSleeping*/, resuming, "pauseBackTasks")) { 1287 leafTask.forAllLeafTaskFragments((taskFrag) -> {
|
H A D | RecentsAnimationController.java | 698 task.forAllLeafTasks(leafTask -> { in collectTaskRemoteAnimations() 699 if (!leafTask.shouldBeVisible(null /* starting */)) { in collectTaskRemoteAnimations() 702 final int taskId = leafTask.mTaskId; in collectTaskRemoteAnimations() 703 TaskAnimationAdapter adapter = addAnimation(leafTask, in collectTaskRemoteAnimations()
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | TaskTests.java | 445 final Task leafTask = createTaskInRootTask(rootTask, 0 /* userId */); in testPropagateFocusedStateToRootTask() local 447 final ActivityRecord activity = createActivityRecord(leafTask); in testPropagateFocusedStateToRootTask() 449 leafTask.getDisplayContent().setFocusedApp(activity); in testPropagateFocusedStateToRootTask() 451 assertTrue(leafTask.getTaskInfo().isFocused); in testPropagateFocusedStateToRootTask() 454 leafTask.getDisplayContent().setFocusedApp(null); in testPropagateFocusedStateToRootTask() 456 assertFalse(leafTask.getTaskInfo().isFocused); in testPropagateFocusedStateToRootTask() 1427 final Task leafTask = createTaskInRootTask(task, 0 /* userId */); in testNotSaveLaunchingStateForNonLeafTask() local 1429 leafTask.setHasBeenVisible(true); in testNotSaveLaunchingStateForNonLeafTask() 1434 verify(persister).saveTask(same(leafTask), any()); in testNotSaveLaunchingStateForNonLeafTask()
|
H A D | RecentsAnimationControllerTest.java | 559 final Task leafTask = createTaskInRootTask(childTask, 0 /* userId */); in testIsAnimatingByRecents() local 560 spyOn(leafTask); in testIsAnimatingByRecents() 561 doReturn(true).when(leafTask).isVisible(); in testIsAnimatingByRecents() 566 verify(mController).addAnimation(eq(leafTask), anyBoolean(), anyBoolean(), any()); in testIsAnimatingByRecents() 567 assertTrue(leafTask.isAnimatingByRecents()); in testIsAnimatingByRecents()
|