Searched refs:candidateTask (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskDisplayAreaTests.java | 355 final Task candidateTask = createTask(mDisplayContent); in testReuseTaskAsRootTask() local 357 assertGetOrCreateRootTask(WINDOWING_MODE_FULLSCREEN, type, candidateTask, in testReuseTaskAsRootTask() 359 assertGetOrCreateRootTask(WINDOWING_MODE_UNDEFINED, type, candidateTask, in testReuseTaskAsRootTask() 361 assertGetOrCreateRootTask(WINDOWING_MODE_SPLIT_SCREEN_SECONDARY, type, candidateTask, in testReuseTaskAsRootTask() 363 assertGetOrCreateRootTask(WINDOWING_MODE_FREEFORM, type, candidateTask, in testReuseTaskAsRootTask() 365 assertGetOrCreateRootTask(WINDOWING_MODE_MULTI_WINDOW, type, candidateTask, in testReuseTaskAsRootTask() 367 assertGetOrCreateRootTask(WINDOWING_MODE_SPLIT_SCREEN_PRIMARY, type, candidateTask, in testReuseTaskAsRootTask() 369 assertGetOrCreateRootTask(WINDOWING_MODE_PINNED, type, candidateTask, in testReuseTaskAsRootTask() 373 assertGetOrCreateRootTask(windowingMode, ACTIVITY_TYPE_HOME, candidateTask, in testReuseTaskAsRootTask() 375 assertGetOrCreateRootTask(windowingMode, ACTIVITY_TYPE_RECENTS, candidateTask, in testReuseTaskAsRootTask() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RootWindowContainer.java | 2856 @Nullable Task candidateTask, boolean onTop) { in getLaunchRootTask() argument 2857 return getLaunchRootTask(r, options, candidateTask, null /* sourceTask */, onTop, in getLaunchRootTask() 2876 @Nullable ActivityOptions options, @Nullable Task candidateTask, in getLaunchRootTask() argument 2911 final int activityType = resolveActivityType(r, options, candidateTask); in getLaunchRootTask() 2935 taskDisplayArea, r, candidateTask, options, launchParams); in getLaunchRootTask() 2942 rootTask = taskDisplayArea.getOrCreateRootTask(r, options, candidateTask, in getLaunchRootTask() 2953 if (candidateTask != null) { in getLaunchRootTask() 2954 rootTask = candidateTask.getRootTask(); in getLaunchRootTask() 2965 windowingMode = container.resolveWindowingMode(r, options, candidateTask, in getLaunchRootTask() 2982 windowingMode = container.resolveWindowingMode(r, options, candidateTask, in getLaunchRootTask() [all …]
|
D | TaskDisplayArea.java | 1088 @Nullable Task candidateTask, @Nullable Task sourceTask, 1099 } else if (candidateTask != null) { 1100 final Task rootTask = candidateTask; 1119 if (candidateTask.getWindowingMode() != windowingMode) { 1120 candidateTask.setWindowingMode(windowingMode); 1142 @Nullable Task candidateTask, @Nullable Task sourceTask, 1156 windowingMode = validateWindowingMode(windowingMode, r, candidateTask, activityType); 1157 return getOrCreateRootTask(windowingMode, activityType, onTop, candidateTask, sourceTask,
|