Home
last modified time | relevance | path

Searched refs:rootTask (Results 1 – 4 of 4) sorted by relevance

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerState.java590 final Task rootTask = getRootTask(mTopFocusedTaskId); in getFocusedRootTaskActivityType() local
591 return rootTask != null ? rootTask.getActivityType() : ACTIVITY_TYPE_UNDEFINED; in getFocusedRootTaskActivityType()
595 final Task rootTask = getRootTask(mTopFocusedTaskId); in getFocusedRootTaskWindowingMode() local
596 return rootTask != null ? rootTask.getWindowingMode() : WINDOWING_MODE_UNDEFINED; in getFocusedRootTaskWindowingMode()
644 for (Task rootTask : mRootTasks) { in countRootTasks()
646 && activityType != rootTask.getActivityType()) { in countRootTasks()
650 && windowingMode != rootTask.getWindowingMode()) { in countRootTasks()
659 for (Task rootTask : mRootTasks) { in getRootTask()
660 if (taskId == rootTask.mRootTaskId) { in getRootTask()
661 return rootTask; in getRootTask()
[all …]
DWindowManagerStateHelper.java125 for (Task rootTask : getRootTasks()) { in waitForAllNonHomeActivitiesToDestroyed()
126 final Activity activity = rootTask.getActivity( in waitForAllNonHomeActivitiesToDestroyed()
387 final Task rootTask = amState.getStandardRootTaskByWindowingMode(windowingMode);
388 return rootTask != null
389 && topFocus == (amState.getFocusedTaskId() == rootTask.getRootTaskId());
599 for (Task rootTask : getRootTasks()) {
600 final int taskId = rootTask.mRootTaskId;
601 for (Task task : rootTask.getTasks()) {
DActivityManagerTestBase.java954 for (Task rootTask : rootTasks) { in getRootTaskForLeafTaskId()
955 if (rootTask.getTask(taskId) != null) { in getRootTaskForLeafTaskId()
956 return rootTask; in getRootTaskForLeafTaskId()
965 for (Task rootTask : rootTasks) { in getRootTask()
966 if (rootTask.getRootTaskId() == taskId) { in getRootTask()
967 return rootTask; in getRootTask()
1162 Task rootTask = getRootTask(rootTaskId); in moveActivityToRootTaskOrOnTop() local
1163 if (rootTask.getActivities().size() != 0) { in moveActivityToRootTaskOrOnTop()
1166 .setDisplayId(rootTask.mDisplayId) in moveActivityToRootTaskOrOnTop()
1167 .setWindowingMode(rootTask.getWindowingMode()) in moveActivityToRootTaskOrOnTop()
[all …]
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/
DActivityManagerHelperTest.java541 WindowManagerState.Task rootTask = in findSimpleActivityInType() local
543 if (rootTask != null) { in findSimpleActivityInType()
545 List<WindowManagerState.Activity> allActivities = rootTask.getActivities(); in findSimpleActivityInType()
546 if (rootTask.getActivity(SIMPLE_ACTIVITY_COMPONENT_NAME) != null) { in findSimpleActivityInType()