Home
last modified time | relevance | path

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

/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.java169 protected void launchActivity(ComponentName activityName, int windowingMode, in launchActivity() argument
172 + " --windowingMode " + windowingMode); in launchActivity()
174 .setWindowingMode(windowingMode) in launchActivity()
178 protected void setActivityTaskWindowingMode(ComponentName activityName, int windowingMode) { in setActivityTaskWindowingMode() argument
180 mAm.setTaskWindowingMode(taskId, windowingMode, true /* toTop */); in setActivityTaskWindowingMode()
183 .setWindowingMode(windowingMode) in setActivityTaskWindowingMode()
DProtoExtractors.java56 config.setWindowingMode(proto.windowingMode); in extract()
DActivityAndWindowManagersState.java238 final int windowingMode = state.windowingMode; in shouldWaitForActivities() local
257 if (windowingMode != WINDOWING_MODE_UNDEFINED in shouldWaitForActivities()
258 && ws.getWindowingMode() != windowingMode) { in shouldWaitForActivities()
/cts/tests/framework/base/activitymanager/util/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()
138 public Builder setWindowingMode(int windowingMode) { in setWindowingMode() argument
139 mWindowingMode = windowingMode; in setWindowingMode()
DActivityAndWindowManagersState.java288 void waitForFocusedStack(int windowingMode, int activityType) { in waitForFocusedStack() argument
292 && (windowingMode == WINDOWING_MODE_UNDEFINED in waitForFocusedStack()
293 || state.getFocusedStackWindowingMode() == windowingMode), in waitForFocusedStack()
388 final int windowingMode = state.windowingMode; in shouldWaitForActivities() local
408 if (windowingMode != WINDOWING_MODE_UNDEFINED in shouldWaitForActivities()
409 && ws.getWindowingMode() != windowingMode) { in shouldWaitForActivities()
511 void assertContainsStack(String msg, int windowingMode, int activityType) { in assertContainsStack() argument
512 assertTrue(msg, mAmState.containsStack(windowingMode, activityType)); in assertContainsStack()
513 assertTrue(msg, mWmState.containsStack(windowingMode, activityType)); in assertContainsStack()
516 void assertDoesNotContainStack(String msg, int windowingMode, int activityType) { in assertDoesNotContainStack() argument
[all …]
DActivityManagerState.java241 boolean containsStack(int windowingMode, int activityType) { in containsStack() argument
247 if (windowingMode != WINDOWING_MODE_UNDEFINED in containsStack()
248 && windowingMode != stack.getWindowingMode()) { in containsStack()
274 ActivityStack getStandardStackByWindowingMode(int windowingMode) { in getStandardStackByWindowingMode() argument
279 if (stack.getWindowingMode() == windowingMode) { in getStandardStackByWindowingMode()
286 int getStandardTaskCountByWindowingMode(int windowingMode) { in getStandardTaskCountByWindowingMode() argument
292 if (stack.getWindowingMode() == windowingMode) { in getStandardTaskCountByWindowingMode()
365 boolean containsActivityInWindowingMode(ComponentName activityName, int windowingMode) { in containsActivityInWindowingMode() argument
371 && activity.getWindowingMode() == windowingMode) { in containsActivityInWindowingMode()
522 ActivityTask getTaskByActivity(ComponentName activityName, int windowingMode) { in getTaskByActivity() argument
[all …]
DProtoExtractors.java56 config.setWindowingMode(proto.windowingMode); in extract()
DWindowManagerState.java428 boolean containsStack(int windowingMode, int activityType) { in containsStack() argument
434 if (windowingMode != WINDOWING_MODE_UNDEFINED in containsStack()
435 && windowingMode != stack.getWindowingMode()) { in containsStack()
493 WindowStack getStandardStackByWindowingMode(int windowingMode) { in getStandardStackByWindowingMode() argument
498 if (stack.getWindowingMode() == windowingMode) { in getStandardStackByWindowingMode()
DActivityManagerTestBase.java334 protected void launchActivity(ComponentName activityName, int windowingMode, in launchActivity() argument
337 + " --windowingMode " + windowingMode); in launchActivity()
339 .setWindowingMode(windowingMode) in launchActivity()
429 protected void setActivityTaskWindowingMode(ComponentName activityName, int windowingMode) { in setActivityTaskWindowingMode() argument
432 mAm.setTaskWindowingMode(taskId, windowingMode, true /* toTop */); in setActivityTaskWindowingMode()
435 .setWindowingMode(windowingMode) in setActivityTaskWindowingMode()
/cts/tests/framework/base/activitymanager/src/android/server/am/
DActivityManagerManifestLayoutTests.java101 private void testMinimalSize(int windowingMode) throws Exception { in testMinimalSize() argument
104 if (windowingMode == WINDOWING_MODE_FREEFORM) { in testMinimalSize()
DActivityManagerAssistantStackTests.java386 int activityType, int windowingMode) throws Exception { in waitForValidStateWithActivityTypeAndWindowingMode() argument
389 .setWindowingMode(windowingMode) in waitForValidStateWithActivityTypeAndWindowingMode()
DActivityManagerPinnedStackTests.java1364 int windowingMode, int activityType) { in assertPinnedStackStateOnMoveToFullscreen() argument
1365 mAmWmState.waitForFocusedStack(windowingMode, activityType); in assertPinnedStackStateOnMoveToFullscreen()
1366 mAmWmState.assertFocusedStack("Wrong focused stack", windowingMode, activityType); in assertPinnedStackStateOnMoveToFullscreen()
DActivityManagerMultiDisplayTests.java760 private void tryCreatingAndRemovingDisplayWithActivity(boolean splitScreen, int windowingMode) in tryCreatingAndRemovingDisplayWithActivity() argument
788 .setWindowingMode(windowingMode) in tryCreatingAndRemovingDisplayWithActivity()
798 windowingMode, ACTIVITY_TYPE_STANDARD); in tryCreatingAndRemovingDisplayWithActivity()