Home
last modified time | relevance | path

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

/cts/tests/tests/theme/src/android/theme/cts/
DWatchPercentageScreenDimenTest.java103 float widthDp = mDisplayMetrics.widthPixels / mDisplayMetrics.density; in getMaxErrorRatio() local
104 return (widthDp - (float) Math.floor(widthDp)) / widthDp; in getMaxErrorRatio()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAppConfigurationTests.java791 final boolean beforeConfigPortrait = rotationA.widthDp < rotationA.heightDp; in assertSizesRotate()
792 final boolean afterConfigPortrait = rotationB.widthDp < rotationB.heightDp; in assertSizesRotate()
811 assertThat(dockedSizes.widthDp, lessThan(fullscreenSizes.widthDp));
820 assertEquals(firstSize.widthDp, secondSize.widthDp);
DMultiDisplayPolicyTests.java191 assertTrue(updatedSize.widthDp <= initialSize.widthDp); in testDisplayResize()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCommandSession.java1026 public int widthDp;
1047 widthDp = config.screenWidthDp;
1058 return "SizeInfo: {widthDp=" + widthDp + " heightDp=" + heightDp
1074 return widthDp == that.widthDp
1092 dest.writeInt(widthDp);
1104 widthDp = in.readInt();