Home
last modified time | relevance | path

Searched refs:windowingMode (Results 1 – 14 of 14) 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()
96 throw new IllegalArgumentException("Unknown WINDOWING_MODE_: " + windowingMode); in windowingModeName()
138 public Builder setWindowingMode(int windowingMode) { in setWindowingMode() argument
139 mWindowingMode = windowingMode; in setWindowingMode()
DActivityAndWindowManagersState.java328 void waitForFocusedStack(int windowingMode, int activityType) { in waitForFocusedStack() argument
332 && (windowingMode == WINDOWING_MODE_UNDEFINED in waitForFocusedStack()
333 || state.getFocusedStackWindowingMode() == windowingMode), in waitForFocusedStack()
444 final int windowingMode = state.windowingMode; in shouldWaitForActivities() local
464 if (windowingMode != WINDOWING_MODE_UNDEFINED in shouldWaitForActivities()
465 && ws.getWindowingMode() != windowingMode) { in shouldWaitForActivities()
568 void assertContainsStack(String msg, int windowingMode, int activityType) { in assertContainsStack() argument
569 assertTrue(msg, mAmState.containsStack(windowingMode, activityType)); in assertContainsStack()
570 assertTrue(msg, mWmState.containsStack(windowingMode, activityType)); in assertContainsStack()
573 void assertDoesNotContainStack(String msg, int windowingMode, int activityType) { in assertDoesNotContainStack() argument
[all …]
DActivityManagerState.java282 boolean containsStack(int windowingMode, int activityType) { in containsStack() argument
288 if (windowingMode != WINDOWING_MODE_UNDEFINED in containsStack()
289 && windowingMode != stack.getWindowingMode()) { in containsStack()
315 ActivityStack getStandardStackByWindowingMode(int windowingMode) { in getStandardStackByWindowingMode() argument
320 if (stack.getWindowingMode() == windowingMode) { in getStandardStackByWindowingMode()
327 public int getStandardTaskCountByWindowingMode(int windowingMode) { in getStandardTaskCountByWindowingMode() argument
333 if (stack.getWindowingMode() == windowingMode) { in getStandardTaskCountByWindowingMode()
428 boolean containsActivityInWindowingMode(ComponentName activityName, int windowingMode) { in containsActivityInWindowingMode() argument
434 && activity.getWindowingMode() == windowingMode) { in containsActivityInWindowingMode()
585 ActivityTask getTaskByActivity(ComponentName activityName, int windowingMode) { in getTaskByActivity() argument
[all …]
DProtoExtractors.java56 config.setWindowingMode(proto.windowingMode); in extract()
DWindowManagerState.java457 boolean containsStack(int windowingMode, int activityType) { in containsStack() argument
463 if (windowingMode != WINDOWING_MODE_UNDEFINED in containsStack()
464 && windowingMode != stack.getWindowingMode()) { in containsStack()
522 WindowStack getStandardStackByWindowingMode(int windowingMode) { in getStandardStackByWindowingMode() argument
527 if (stack.getWindowingMode() == windowingMode) { in getStandardStackByWindowingMode()
DActivityManagerTestBase.java596 protected void launchActivity(ComponentName activityName, int windowingMode, in launchActivity() argument
599 + " --windowingMode " + windowingMode); in launchActivity()
601 .setWindowingMode(windowingMode) in launchActivity()
605 protected void launchActivityOnDisplay(ComponentName activityName, int windowingMode, in launchActivityOnDisplay() argument
608 + " --windowingMode " + windowingMode); in launchActivityOnDisplay()
610 .setWindowingMode(windowingMode) in launchActivityOnDisplay()
708 protected void setActivityTaskWindowingMode(ComponentName activityName, int windowingMode) { in setActivityTaskWindowingMode() argument
712 () -> mAtm.setTaskWindowingMode(taskId, windowingMode, true /* toTop */)); in setActivityTaskWindowingMode()
715 .setWindowingMode(windowingMode) in setActivityTaskWindowingMode()
/cts/tests/tests/keystore/src/android/server/am/
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()
96 throw new IllegalArgumentException("Unknown WINDOWING_MODE_: " + windowingMode); in windowingModeName()
133 public Builder setWindowingMode(int windowingMode) { in setWindowingMode() argument
134 mWindowingMode = windowingMode; in setWindowingMode()
DActivityManagerTestBase.java167 protected void launchActivity(ComponentName activityName, int windowingMode, in launchActivity() argument
170 + " --windowingMode " + windowingMode); in launchActivity()
172 .setWindowingMode(windowingMode) in launchActivity()
176 protected void setActivityTaskWindowingMode(ComponentName activityName, int windowingMode) { in setActivityTaskWindowingMode() argument
178 mAtm.setTaskWindowingMode(taskId, windowingMode, true /* toTop */); in setActivityTaskWindowingMode()
181 .setWindowingMode(windowingMode) in setActivityTaskWindowingMode()
DActivityAndWindowManagersState.java239 final int windowingMode = state.windowingMode; in shouldWaitForActivities() local
258 if (windowingMode != WINDOWING_MODE_UNDEFINED in shouldWaitForActivities()
259 && ws.getWindowingMode() != windowingMode) { in shouldWaitForActivities()
DProtoExtractors.java56 config.setWindowingMode(proto.windowingMode); in extract()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DManifestLayoutTests.java103 private void testMinimalSize(int windowingMode) throws Exception { in testMinimalSize() argument
106 if (windowingMode == WINDOWING_MODE_FREEFORM) { in testMinimalSize()
DAssistantStackTests.java378 int activityType, int windowingMode) throws Exception { in waitForValidStateWithActivityTypeAndWindowingMode() argument
381 .setWindowingMode(windowingMode) in waitForValidStateWithActivityTypeAndWindowingMode()
DMultiDisplayPolicyTests.java498 private void tryCreatingAndRemovingDisplayWithActivity(boolean splitScreen, int windowingMode) in tryCreatingAndRemovingDisplayWithActivity() argument
525 .setWindowingMode(windowingMode) in tryCreatingAndRemovingDisplayWithActivity()
535 windowingMode, ACTIVITY_TYPE_STANDARD); in tryCreatingAndRemovingDisplayWithActivity()
DPinnedStackTests.java1277 int windowingMode, int activityType) { in assertPinnedStackStateOnMoveToFullscreen() argument
1278 mAmWmState.waitForFocusedStack(windowingMode, activityType); in assertPinnedStackStateOnMoveToFullscreen()
1279 mAmWmState.assertFocusedStack("Wrong focused stack", windowingMode, activityType); in assertPinnedStackStateOnMoveToFullscreen()