Home
last modified time | relevance | path

Searched refs:windowingMode (Results 1 – 13 of 13) sorted by relevance

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWaitForValidActivityState.java43 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()
DWindowManagerStateHelper.java247 public void waitForFocusedStack(int windowingMode, int activityType) { in waitForFocusedStack() argument
251 && (windowingMode == WINDOWING_MODE_UNDEFINED in waitForFocusedStack()
252 || state.getFocusedStackWindowingMode() == windowingMode), in waitForFocusedStack()
317 public void waitWindowingModeTopFocus(int windowingMode, boolean topFocus, String message) { in waitWindowingModeTopFocus() argument
319 final ActivityTask stack = amState.getStandardStackByWindowingMode(windowingMode); in waitWindowingModeTopFocus()
410 final int windowingMode = state.windowingMode;
430 if (!ws.isWindowingModeCompatible(windowingMode)) {
524 public void assertContainsStack(String msg, int windowingMode, int activityType) {
525 assertTrue(msg, containsStack(windowingMode, activityType));
528 public void assertDoesNotContainStack(String msg, int windowingMode, int activityType) {
[all …]
DWindowManagerState.java578 public boolean containsStack(int windowingMode, int activityType) { in containsStack() argument
579 return countStacks(windowingMode, activityType) > 0; in containsStack()
582 public int countStacks(int windowingMode, int activityType) { in countStacks() argument
589 if (windowingMode != WINDOWING_MODE_UNDEFINED in countStacks()
590 && windowingMode != stack.getWindowingMode()) { in countStacks()
616 public ActivityTask getStandardStackByWindowingMode(int windowingMode) { in getStandardStackByWindowingMode() argument
621 if (stack.getWindowingMode() == windowingMode) { in getStandardStackByWindowingMode()
628 public int getStandardTaskCountByWindowingMode(int windowingMode) { in getStandardTaskCountByWindowingMode() argument
634 if (stack.getWindowingMode() == windowingMode) { in getStandardTaskCountByWindowingMode()
705 public boolean containsActivityInWindowingMode(ComponentName activityName, int windowingMode) { in containsActivityInWindowingMode() argument
[all …]
DActivityLauncher.java216 final int windowingMode = extras.getInt(KEY_WINDOWING_MODE, -1); in launchActivityFromExtras() local
217 if (windowingMode != -1) { in launchActivityFromExtras()
221 options.setLaunchWindowingMode(windowingMode); in launchActivityFromExtras()
DActivityManagerTestBase.java439 Class<T> activityClass, int displayId, int windowingMode) { in launchTestActivityOnDisplaySync() argument
443 launchTestActivityOnDisplaySync(className, intent, displayId, windowingMode); in launchTestActivityOnDisplaySync()
469 @Nullable String className, Intent intent, int displayId, int windowingMode) { in launchTestActivityOnDisplaySync() argument
474 className, intent, displayId, windowingMode); in launchTestActivityOnDisplaySync()
511 @Nullable String className, Intent intent, int displayId, int windowingMode) { in launchActivityOnDisplay() argument
519 launchOptions.setLaunchWindowingMode(windowingMode); in launchActivityOnDisplay()
811 protected void launchActivityNoWait(ComponentName activityName, int windowingMode, in launchActivityNoWait() argument
814 + " --windowingMode " + windowingMode); in launchActivityNoWait()
817 protected void launchActivity(ComponentName activityName, int windowingMode, in launchActivity() argument
819 launchActivityNoWait(activityName, windowingMode, keyValuePairs); in launchActivity()
[all …]
DProtoExtractors.java58 config.setWindowingMode(proto.windowingMode); in extract()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowManagerTestBase.java55 Class<T> cls, int windowingMode) { in startActivityInWindowingMode() argument
56 return startActivity(cls, DEFAULT_DISPLAY, true /* hasFocus */, windowingMode); in startActivityInWindowingMode()
60 boolean hasFocus, int windowingMode) { in startActivity() argument
62 if (displayId == DEFAULT_DISPLAY && windowingMode == WINDOWING_MODE_UNDEFINED) { in startActivity()
67 if (windowingMode != WINDOWING_MODE_UNDEFINED) ap.setLaunchWindowingMode(windowingMode); in startActivity()
DPinnedStackTests.java674 int windowingMode = mWmState.getTaskByActivity(PIP_ACTIVITY).getWindowingMode(); in testRemovePipWithNoFullscreenOrFreeformStack() local
681 WINDOWING_MODE_UNDEFINED, ACTIVITY_TYPE_HOME, windowingMode); in testRemovePipWithNoFullscreenOrFreeformStack()
707 int windowingMode = mWmState.getTaskByActivity(PIP_ACTIVITY).getWindowingMode(); in testRemovePipWithHiddenFullscreenOrFreeformStack() local
714 WINDOWING_MODE_UNDEFINED, ACTIVITY_TYPE_HOME, windowingMode); in testRemovePipWithHiddenFullscreenOrFreeformStack()
724 int windowingMode = mWmState.getTaskByActivity(PIP_ACTIVITY).getWindowingMode(); in testMovePipToBackWithNoFullscreenOrFreeformStack() local
731 WINDOWING_MODE_UNDEFINED, ACTIVITY_TYPE_HOME, windowingMode); in testMovePipToBackWithNoFullscreenOrFreeformStack()
757 int windowingMode = mWmState.getTaskByActivity(PIP_ACTIVITY).getWindowingMode(); in testMovePipToBackWithHiddenFullscreenOrFreeformStack() local
764 PIP_ACTIVITY, WINDOWING_MODE_UNDEFINED, ACTIVITY_TYPE_HOME, windowingMode); in testMovePipToBackWithHiddenFullscreenOrFreeformStack()
952 int windowingMode = mWmState.getTaskByActivity(PIP_ACTIVITY).getWindowingMode(); in testConfigurationChangeOrderDuringTransition() local
955 assertValidPictureInPictureCallbackOrder(PIP_ACTIVITY, windowingMode); in testConfigurationChangeOrderDuringTransition()
[all …]
DAssistantStackTests.java280 int windowingMode = mWmState.getFocusedStackWindowingMode(); in testTranslucentAssistantActivityStackVisibility() local
282 assumeTrue(windowingMode == WINDOWING_MODE_FULLSCREEN); in testTranslucentAssistantActivityStackVisibility()
390 int activityType, int windowingMode) throws Exception { in waitForValidStateWithActivityTypeAndWindowingMode() argument
393 .setWindowingMode(windowingMode) in waitForValidStateWithActivityTypeAndWindowingMode()
DMultiDisplayPolicyTests.java458 private void tryCreatingAndRemovingDisplayWithActivity(boolean splitScreen, int windowingMode) { in tryCreatingAndRemovingDisplayWithActivity() argument
483 .setWindowingMode(windowingMode) in tryCreatingAndRemovingDisplayWithActivity()
492 windowingMode, ACTIVITY_TYPE_STANDARD); in tryCreatingAndRemovingDisplayWithActivity()
DActivityVisibilityTests.java295 int windowingMode) { in sleepDeviceAndLaunchTurnScreenOnActivity() argument
306 }).setTargetActivity(TURN_SCREEN_ON_ACTIVITY).setWindowingMode(windowingMode)); in sleepDeviceAndLaunchTurnScreenOnActivity()
/cts/tests/tests/systemui/src/android/systemui/cts/tv/
DBasicPipTests.kt150 task.windowingMode == WindowConfiguration.WINDOWING_MODE_PINNED in <lambda>()
157 activity.windowingMode == WindowConfiguration.WINDOWING_MODE_PINNED && in <lambda>()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowQueryTest.java587 final int windowingMode = in testToggleSplitScreen()
593 return windowingMode == WINDOWING_MODE_SPLIT_SCREEN_PRIMARY in testToggleSplitScreen()
594 || windowingMode == WINDOWING_MODE_SPLIT_SCREEN_SECONDARY; in testToggleSplitScreen()
606 final int windowingMode = in testToggleSplitScreen()
612 return windowingMode == initialWindowingMode; in testToggleSplitScreen()