Home
last modified time | relevance | path

Searched refs:mDisplayId (Results 1 – 19 of 19) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDisplayTests.java122 DEFAULT_DISPLAY, frontStack.mDisplayId); in testMultiDisplayDisabled()
202 private final int mDisplayId; field in DisplayTests.DisplayMetricsSession
205 mDisplayId = displayId; in DisplayMetricsSession()
206 mInitialDisplayMetrics = ReportedDisplayMetrics.getDisplayMetrics(mDisplayId); in DisplayMetricsSession()
214 return ReportedDisplayMetrics.getDisplayMetrics(mDisplayId); in getDisplayMetrics()
DVrDisplayTests.java148 focusedStack.mDisplayId); in testVrActivityLaunch()
198 focusedStack.mDisplayId); in testVrActivityReLaunch()
250 focusedStack.mDisplayId); in testActivityLaunchPostVr()
278 DEFAULT_DISPLAY, frontStack.mDisplayId); in testActivityLaunchPostVr()
DWindowFocusTests.java358 private int mDisplayId = INVALID_DISPLAY; field in WindowFocusTests.InputTargetActivity
367 mDisplayId = getWindow().getDecorView().getDisplay().getDisplayId(); in onAttachedToWindow()
375 mDisplayId = displayId; in onMovedToDisplay()
382 if (mDisplayId != displayId) { in waitAndAssertDisplayId()
386 displayId, mDisplayId); in waitAndAssertDisplayId() local
DFreeformWindowingModeTests.java103 assertEquals(mAmWmState.getWmState().getDisplay(stack.mDisplayId).getDisplayRect(), in testNonResizeableActivityHasFullDisplayBounds()
121 WINDOWING_MODE_FREEFORM).mDisplayId; in testActivityLifeCycleOnResizeFreeformTask()
DMultiDisplayTestBase.java663 private int mDisplayId = INVALID_DISPLAY; field in MultiDisplayTestBase.ExternalDisplaySession
704 mDisplayId = newDisplay.mId; in createVirtualDisplay()
728 waitForDisplayGone(d -> d.getDisplayId() == mDisplayId); in close()
729 mDisplayId = INVALID_DISPLAY; in close()
DMultiDisplaySecurityTests.java117 focusedStack.mDisplayId); in testLaunchWithoutPermissionOnVirtualDisplayByOwner()
524 DEFAULT_DISPLAY, frontStack.mDisplayId); in testPermissionLaunchFromShell()
631 DEFAULT_DISPLAY, frontStack.mDisplayId); in testPermissionLaunchFromOwner()
670 DEFAULT_DISPLAY, frontStack.mDisplayId); in testPermissionLaunchFromDifferentApp()
DMultiDisplayActivityLaunchTests.java322 newDisplay.mId == newFrontStack.mDisplayId); in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask()
332 put(newFrontStack.mDisplayId, NON_RESIZEABLE_ACTIVITY); in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask()
DAppConfigurationTests.java191 final int displayId = mAmWmState.getAmState().getStackById(task.mStackId).mDisplayId; in rotateAndCheckSizes()
306 mAmWmState.getWmState().getDisplay(stack.mDisplayId); in testDialogWhenLargeSplitSmall()
DConfigChangeTests.java217 final int displayId = mAmWmState.getAmState().getStackById(actualStackId).mDisplayId; in testRotation()
DAssistantStackTests.java80 mAssistantDisplayId = assistantStack.mDisplayId; in setUp()
DMultiDisplayPolicyTests.java417 DEFAULT_DISPLAY, frontStack.mDisplayId); in testMoveTaskBetweenDisplays()
DPinnedStackTests.java1275 final Rect displayRect = mAmWmState.getWmState().getDisplay(stack.mDisplayId) in offsetPipWithinMovementBounds()
/cts/tests/tests/keystore/src/android/server/am/
DWindowManagerState.java164 mDisplayStacks.put(display.mDisplayId, stacks); in parseSysDumpProto()
416 private final int mDisplayId; field in WindowManagerState.Display
424 mDisplayId = proto.id; in Display()
453 return mDisplayId; in getDisplayId()
470 return "Display #" + mDisplayId + ": name=" + mName + " mDisplayRect=" + mDisplayRect in toString()
485 private int mDisplayId; field in WindowManagerState.WindowState
499 mDisplayId = proto.displayId; in WindowState()
548 return mDisplayId; in getDisplayId()
DActivityAndWindowManagersState.java448 && !isScreenPortrait(aStack.mDisplayId)) { in assertValidBounds()
484 ? defaultMinimalPinnedTaskSize(aStack.mDisplayId) in assertValidBounds()
485 : defaultMinimalTaskSize(aStack.mDisplayId); in assertValidBounds()
505 if (isScreenPortrait(aStack.mDisplayId)) { in assertValidBounds()
DActivityManagerState.java267 int mDisplayId; field in ActivityManagerState.ActivityStack
275 mDisplayId = proto.displayId; in ActivityStack()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerState.java209 mDisplayStacks.put(display.mDisplayId, stacks); in parseSysDumpProto()
729 private final int mDisplayId; field in WindowManagerState.Display
742 mDisplayId = proto.id; in Display()
787 return mDisplayId; in getDisplayId()
820 return "Display #" + mDisplayId + ": name=" + mName + " mDisplayRect=" + mDisplayRect in toString()
836 private int mDisplayId; field in WindowManagerState.WindowState
854 mDisplayId = proto.displayId; in WindowState()
920 return mDisplayId; in getDisplayId()
DActivityAndWindowManagersState.java802 WINDOWING_MODE_SPLIT_SCREEN_PRIMARY).mDisplayId); in assertDockedTaskBounds()
852 && !isScreenPortrait(aStack.mDisplayId)) { in assertValidBounds()
888 ? defaultMinimalPinnedTaskSize(aStack.mDisplayId) in assertValidBounds()
889 : defaultMinimalTaskSize(aStack.mDisplayId); in assertValidBounds()
909 if (isScreenPortrait(aStack.mDisplayId)) { in assertValidBounds()
975 WINDOWING_MODE_SPLIT_SCREEN_PRIMARY).mDisplayId; in isScreenPortrait()
DActivityManagerState.java377 return getStackById(task.mStackId).mDisplayId; in getDisplayByActivity()
693 public int mDisplayId; field in ActivityManagerState.ActivityStack
701 mDisplayId = proto.displayId; in ActivityStack()
DActivityManagerTestBase.java534 tapOnCenter(stack.getBounds(), stack.mDisplayId); in tapOnStackCenter()
1813 private int mDisplayId = INVALID_DISPLAY;
1890 mDisplayId = id;
1997 b.putInt(KEY_DISPLAY_ID, mDisplayId);
2044 if (mDisplayId != INVALID_DISPLAY) {
2045 commandBuilder.append(" --ei " + KEY_DISPLAY_ID + " ").append(mDisplayId);