Searched refs:displayHeight (Results 1 – 12 of 12) sorted by relevance
/cts/tests/vr/src/android/vr/cts/ |
D | VrDisplayTest.java | 91 int displayHeight; in testDisplayResolution() local 95 displayHeight = metrics.heightPixels; in testDisplayResolution() 98 displayHeight = metrics.widthPixels; in testDisplayResolution() 101 assertTrue(displayHeight >= 1080); in testDisplayResolution()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/ |
D | AppConfigurationTests.java | 277 if (initialFullscreenSizes.displayHeight > initialFullscreenSizes.displayWidth) { in moveActivityFullSplitFull() 501 final boolean isLandscape = onCreateSize.displayWidth > onCreateSize.displayHeight; in testRotatedInfoWithFixedRotationTransform() 511 appConfigInfo.sizeInfo.displayWidth > appConfigInfo.sizeInfo.displayHeight); in testRotatedInfoWithFixedRotationTransform() 897 assertEquals(rotationA.displayHeight, rotationA.metricsHeight); in assertSizesRotate() 899 assertEquals(rotationB.displayHeight, rotationB.metricsHeight); in assertSizesRotate() 905 final boolean beforePortrait = rotationA.displayWidth < rotationA.displayHeight; in assertSizesRotate() 906 final boolean afterPortrait = rotationB.displayWidth < rotationB.displayHeight; in assertSizesRotate() 923 fullscreenSizes.displayHeight - dockedSizes.displayHeight > 926 assertThat(dockedSizes.displayHeight, lessThan(fullscreenSizes.displayHeight)); 943 assertEquals(firstSize.displayHeight, secondSize.displayHeight);
|
D | DisplayTests.java | 198 private Configuration getDisplayResourcesConfiguration(int displayWidth, int displayHeight) in getDisplayResourcesConfiguration() argument 205 .setSimulationDisplaySize(displayWidth, displayHeight) in getDisplayResourcesConfiguration()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | DisplayShapeTests.java | 130 final int displayHeight = dc.getDisplayRect().height(); in testDisplayShapeOnVirtualDisplay() local 131 final RectF expectRect = new RectF(0, 0, displayWidth, displayHeight); in testDisplayShapeOnVirtualDisplay()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | CompatScaleTests.java | 270 mAppSizesNormal.displayHeight, in test_scalesCorrectly_inCompatDownscalingMode() 272 mAppSizesDownscaled.displayHeight); in test_scalesCorrectly_inCompatDownscalingMode() 330 mAppSizesNormal.displayHeight, in test_scalesCorrectly_inCompatUpscalingMode() 332 mAppSizesUpscaled.displayHeight); in test_scalesCorrectly_inCompatUpscalingMode()
|
D | PinnedStackTests.java | 452 final int displayHeight = mWmState.getDisplay(DEFAULT_DISPLAY).getDisplayRect().height(); in testEnterExpandedPipAspectRatioMaxHeight() local 453 assertTrue(bounds.height() <= displayHeight); in testEnterExpandedPipAspectRatioMaxHeight()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | CommandSession.java | 1193 public int displayHeight; 1212 displayHeight = displaySize.y; 1231 + " displayWidth=" + displayWidth + " displayHeight=" + displayHeight 1251 && displayHeight == that.displayHeight 1269 result = 31 * result + displayHeight; 1292 dest.writeInt(displayHeight); 1308 displayHeight = in.readInt();
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | VirtualMouseTest.java | 188 final int displayHeight = mVirtualDisplay.getDisplay().getMode().getPhysicalHeight(); in testStartingCursorPosition() local 189 final PointF startPosition = new PointF((displayWidth - 1) / 2f, (displayHeight - 1) / 2f); in testStartingCursorPosition()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/ |
D | MultiDisplayPolicyTests.java | 196 assertTrue(updatedSize.displayHeight == initialSize.displayHeight / 2); in testDisplayResize()
|
/cts/tests/tests/hibernation/src/android/hibernation/cts/ |
D | AppHibernationUtils.kt | 330 swipe(x, displayHeight, x, 0, 1) in expandNotificationsWatch()
|
/cts/tests/tests/packageinstaller/userrestriction/src/android/packageinstaller/userrestriction/cts/ |
D | UserRestrictionInstallTest.kt | 481 val centerY = uiDevice.displayHeight / 2 in <lambda>()
|
/cts/tests/tests/media/player/src/android/media/player/cts/ |
D | MediaPlayerTest.java | 1255 int displayHeight = h; 1258 displayHeight = w; 1260 playVideoTest(file, displayWidth, displayHeight);
|