/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WaitForValidActivityState.java | 43 public final int windowingMode; field in WaitForValidActivityState 54 this.windowingMode = WINDOWING_MODE_UNDEFINED; in WaitForValidActivityState() 62 this.windowingMode = builder.mWindowingMode; in WaitForValidActivityState() 78 if (windowingMode != WINDOWING_MODE_UNDEFINED) { in toString() 79 sb.append(" mode=").append(windowingModeName(windowingMode)); in toString() 87 private static String windowingModeName(int windowingMode) { in windowingModeName() argument 88 switch (windowingMode) { in windowingModeName() 95 return "Unknown WINDOWING_MODE_: " + windowingMode; in windowingModeName() 137 public Builder setWindowingMode(int windowingMode) { in setWindowingMode() argument 138 mWindowingMode = windowingMode; in setWindowingMode()
|
D | WindowManagerTestBase.java | 57 Class<T> cls, int windowingMode) { in startActivityInWindowingMode() argument 58 return startActivity(cls, DEFAULT_DISPLAY, true /* hasFocus */, windowingMode); in startActivityInWindowingMode() 67 Class<T> cls, int displayId, boolean hasFocus, int windowingMode) { in startActivity() argument 68 return startActivity(cls, displayId, hasFocus, windowingMode, INVALID_STACK_ID); in startActivity() 72 Class<T> cls, int displayId, boolean hasFocus, int windowingMode, int taskId) { in startActivity() argument 74 if (displayId == DEFAULT_DISPLAY && windowingMode == WINDOWING_MODE_UNDEFINED in startActivity() 80 if (windowingMode != WINDOWING_MODE_UNDEFINED) ap.setLaunchWindowingMode(windowingMode); in startActivity()
|
D | WindowManagerStateHelper.java | 300 public void waitForFocusedStack(int windowingMode, int activityType) { in waitForFocusedStack() argument 304 && (windowingMode == WINDOWING_MODE_UNDEFINED in waitForFocusedStack() 305 || state.getFocusedRootTaskWindowingMode() == windowingMode), in waitForFocusedStack() 385 public void waitWindowingModeTopFocus(int windowingMode, boolean topFocus, String message) { 387 final Task rootTask = amState.getStandardRootTaskByWindowingMode(windowingMode); 497 final int windowingMode = state.windowingMode; 517 if (!ws.isWindowingModeCompatible(windowingMode)) { 612 public void assertContainsStack(String msg, int windowingMode, int activityType) { 613 assertTrue(msg, containsRootTasks(windowingMode, activityType)); 616 public void assertDoesNotContainStack(String msg, int windowingMode, int activityType) { [all …]
|
D | ActivityManagerTestBase.java | 379 final ComponentName activityName, int windowingMode) { in getAmStartCmdWithWindowingMode() argument 380 return getAmStartCmdInNewTask(activityName) + " --windowingMode " + windowingMode; in getAmStartCmdWithWindowingMode() 560 Class<T> activityClass, int displayId, int windowingMode) { in launchTestActivityOnDisplaySync() argument 564 launchTestActivityOnDisplaySync(className, intent, displayId, windowingMode); in launchTestActivityOnDisplaySync() 590 @Nullable String className, Intent intent, int displayId, int windowingMode) { in launchTestActivityOnDisplaySync() argument 595 className, intent, displayId, windowingMode); in launchTestActivityOnDisplaySync() 632 @Nullable String className, Intent intent, int displayId, int windowingMode) { in launchActivityOnDisplay() argument 640 launchOptions.setLaunchWindowingMode(windowingMode); in launchActivityOnDisplay() 1011 protected void launchActivityNoWait(ComponentName activityName, int windowingMode, in launchActivityNoWait() argument 1014 + " --windowingMode " + windowingMode); in launchActivityNoWait() [all …]
|
D | ActivityLauncher.java | 222 final int windowingMode = extras.getInt(KEY_WINDOWING_MODE, -1); in launchActivityFromExtras() local 223 if (windowingMode != -1) { in launchActivityFromExtras() 227 options.setLaunchWindowingMode(windowingMode); in launchActivityFromExtras()
|
D | WindowManagerState.java | 638 public boolean containsRootTasks(int windowingMode, int activityType) { in containsRootTasks() argument 639 return countRootTasks(windowingMode, activityType) > 0; in containsRootTasks() 642 public int countRootTasks(int windowingMode, int activityType) { in countRootTasks() argument 649 if (windowingMode != WINDOWING_MODE_UNDEFINED in countRootTasks() 650 && windowingMode != rootTask.getWindowingMode()) { in countRootTasks() 677 public Task getTopRootTaskByWindowingMode(int windowingMode) { in getTopRootTaskByWindowingMode() argument 679 if (windowingMode == rootTask.getWindowingMode()) { in getTopRootTaskByWindowingMode() 686 public int getStandardTaskCountByWindowingMode(int windowingMode) { in getStandardTaskCountByWindowingMode() argument 692 if (rootTask.getWindowingMode() == windowingMode) { in getStandardTaskCountByWindowingMode() 764 public boolean containsActivityInWindowingMode(ComponentName activityName, int windowingMode) { in containsActivityInWindowingMode() argument [all …]
|
D | ProtoExtractors.java | 58 config.setWindowingMode(proto.windowingMode); in extract()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | TransitionSelectionTests.java | 411 int windowingMode) { in testOpenTask() argument 421 windowingMode); in testOpenTask() 430 int windowingMode) { in testCloseTask() argument 440 windowingMode); in testCloseTask() 482 int windowingMode) { in testTransitionSelection() argument 492 executeShellCommand(bottomStartCmd + " --windowingMode " + windowingMode); in testTransitionSelection() 519 topStartCmd += " --windowingMode " + windowingMode; in testTransitionSelection()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/ |
D | TestActivityLauncher.java | 63 public TestActivityLauncher<T> setWindowingMode(int windowingMode) { in setWindowingMode() argument 64 mOptions.setLaunchWindowingMode(windowingMode); in setWindowingMode()
|
D | WindowManagerJetpackTestBase.java | 166 final int windowingMode = isFullScreen ? WINDOWING_MODE_FULLSCREEN : in launcherForActivityNewTask() local 171 .setWindowingMode(windowingMode); in launcherForActivityNewTask()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | WindowMetricsActivityTests.java | 253 final int windowingMode = activity.getResources().getConfiguration().windowConfiguration in assertMetricsMatchesLayout() local 257 inMultiWindowMode(windowingMode)); in assertMetricsMatchesLayout() 262 private static boolean inMultiWindowMode(int windowingMode) { in inMultiWindowMode() argument 263 return windowingMode != WINDOWING_MODE_FULLSCREEN in inMultiWindowMode() 264 && windowingMode != WINDOWING_MODE_UNDEFINED; in inMultiWindowMode()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | PinnedStackTests.java | 940 int windowingMode = mWmState.getTaskByActivity(PIP_ACTIVITY).getWindowingMode(); in testRemovePipWithNoFullscreenOrFreeformStack() local 947 WINDOWING_MODE_UNDEFINED, ACTIVITY_TYPE_HOME, windowingMode); in testRemovePipWithNoFullscreenOrFreeformStack() 973 int windowingMode = mWmState.getTaskByActivity(PIP_ACTIVITY).getWindowingMode(); in testRemovePipWithHiddenFullscreenOrFreeformStack() local 980 WINDOWING_MODE_UNDEFINED, ACTIVITY_TYPE_HOME, windowingMode); in testRemovePipWithHiddenFullscreenOrFreeformStack() 990 int windowingMode = mWmState.getTaskByActivity(PIP_ACTIVITY).getWindowingMode(); in testMovePipToBackWithNoFullscreenOrFreeformStack() local 997 WINDOWING_MODE_UNDEFINED, ACTIVITY_TYPE_HOME, windowingMode); in testMovePipToBackWithNoFullscreenOrFreeformStack() 1023 int windowingMode = mWmState.getTaskByActivity(PIP_ACTIVITY).getWindowingMode(); in testMovePipToBackWithHiddenFullscreenOrFreeformStack() local 1030 PIP_ACTIVITY, WINDOWING_MODE_UNDEFINED, ACTIVITY_TYPE_HOME, windowingMode); in testMovePipToBackWithHiddenFullscreenOrFreeformStack() 1252 int windowingMode = mWmState.getTaskByActivity(PIP_ACTIVITY).getWindowingMode(); in testConfigurationChangeOrderDuringTransition() local 1255 assertValidPictureInPictureCallbackOrder(PIP_ACTIVITY, windowingMode); in testConfigurationChangeOrderDuringTransition() [all …]
|
D | PrivacyIndicatorBoundsTests.java | 111 final int windowingMode = mWmState in testStaticBoundsAreNotNull() local 114 final boolean inMultiWindowMode = windowingMode != WINDOWING_MODE_FULLSCREEN in testStaticBoundsAreNotNull() 115 && windowingMode != WINDOWING_MODE_UNDEFINED; in testStaticBoundsAreNotNull()
|
/cts/tests/tests/systemui/src/android/systemui/cts/tv/ |
D | BasicPipTests.kt | 154 task.windowingMode == WindowConfiguration.WINDOWING_MODE_PINNED in <lambda>() 161 activity.windowingMode == WindowConfiguration.WINDOWING_MODE_PINNED && in <lambda>()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/taskfragment/ |
D | TaskFragmentOrganizerTest.java | 75 final int windowingMode = WINDOWING_MODE_MULTI_WINDOW; in testCreateTaskFragment() local 79 .setWindowingMode(windowingMode) in testCreateTaskFragment() 92 assertThat(info.getWindowingMode()).isEqualTo(windowingMode); in testCreateTaskFragment()
|
D | TaskFragmentOrganizerTestBase.java | 316 @NonNull Rect relativeBounds, int windowingMode) { in generateTaskFragParams() argument 317 return generateTaskFragParams(new Binder(), ownerToken, relativeBounds, windowingMode); in generateTaskFragParams() 322 @NonNull IBinder ownerToken, @NonNull Rect relativeBounds, int windowingMode) { in generateTaskFragParams() argument 326 .setWindowingMode(windowingMode) in generateTaskFragParams()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/ |
D | AssistantStackTests.java | 280 int windowingMode = mWmState.getFocusedRootTaskWindowingMode(); in testTranslucentAssistantActivityStackVisibility() local 282 assumeTrue(windowingMode == WINDOWING_MODE_FULLSCREEN); in testTranslucentAssistantActivityStackVisibility() 427 int activityType, int windowingMode) throws Exception { in waitForValidStateWithActivityTypeAndWindowingMode() argument 430 .setWindowingMode(windowingMode) in waitForValidStateWithActivityTypeAndWindowingMode()
|
D | ActivityVisibilityTests.java | 317 boolean useWindowFlags, int sleepMsInOnCreate, int windowingMode) { in sleepDeviceAndLaunchTurnScreenOnActivity() argument 326 }).setTargetActivity(TURN_SCREEN_ON_ACTIVITY).setWindowingMode(windowingMode)); in sleepDeviceAndLaunchTurnScreenOnActivity()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | TestActivity.java | 265 public Starter withWindowingMode(int windowingMode) { in withWindowingMode() argument 269 mOptions.setLaunchWindowingMode(windowingMode); in withWindowingMode()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/ |
D | MultiDisplayPolicyTests.java | 467 private void tryCreatingAndRemovingDisplayWithActivity(boolean splitScreen, int windowingMode) { in tryCreatingAndRemovingDisplayWithActivity() argument 497 .setWindowingMode(windowingMode) in tryCreatingAndRemovingDisplayWithActivity() 506 windowingMode, ACTIVITY_TYPE_STANDARD); in tryCreatingAndRemovingDisplayWithActivity()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageStatsTest.java | 353 private void launchSubActivity(Class<? extends Activity> clazz, int windowingMode) { in launchSubActivity() argument 358 options.setLaunchWindowingMode(windowingMode); in launchSubActivity() 374 private void launchTestActivity(String pkgName, String className, int windowingMode) { in launchTestActivity() argument 376 options.setLaunchWindowingMode(windowingMode); in launchTestActivity()
|