Home
last modified time | relevance | path

Searched refs:displayRect (Results 1 – 4 of 4) sorted by relevance

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityAndWindowManagersState.java691 final Rect displayRect = display.getDisplayRect(); in assertDeviceDefaultDisplaySize() local
692 if (Math.min(displayRect.width(), displayRect.height()) < minTaskSizePx) { in assertDeviceDefaultDisplaySize()
980 final Rect displayRect = mWmState.getDisplay(displayId).getDisplayRect(); in isScreenPortrait() local
981 return displayRect.height() > displayRect.width(); in isScreenPortrait()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAppConfigurationTests.java244 final Rect displayRect = getDisplayRect(activityName); in moveActivityFullSplitFull() local
262 resizeStack(stack.mStackId, displayRect.left, displayRect.top, displayRect.width(), in moveActivityFullSplitFull()
263 displayRect.height()); in moveActivityFullSplitFull()
DPinnedStackTests.java302 Rect displayRect = display.getDisplayRect(); in testPinnedStackOutOfBoundsInsetsNonNegative() local
307 final int left = displayRect.width() - 200; in testPinnedStackOutOfBoundsInsetsNonNegative()
1275 final Rect displayRect = mAmWmState.getWmState().getDisplay(stack.mDisplayId) in offsetPipWithinMovementBounds() local
1279 if (initialBoundsOut.top < displayRect.centerY()) { in offsetPipWithinMovementBounds()
1347 final Rect displayRect = display.getDisplayRect(); in assertPinnedStackActivityIsInDisplayBounds() local
1349 assertTrue(displayRect.contains(pinnedStackBounds)); in assertPinnedStackActivityIsInDisplayBounds()
/cts/tests/tests/keystore/src/android/server/am/
DActivityAndWindowManagersState.java547 final Rect displayRect = mWmState.getDisplay(displayId).getDisplayRect(); in isScreenPortrait() local
548 return displayRect.height() > displayRect.width(); in isScreenPortrait()