Searched refs:widthDp (Results 1 – 5 of 5) sorted by relevance
103 float widthDp = mDisplayMetrics.widthPixels / mDisplayMetrics.density; in getMaxErrorRatio() local104 return (widthDp - (float) Math.floor(widthDp)) / widthDp; in getMaxErrorRatio()
132 mAppSizesNormal.widthDp, mAppSizesDownscaled.widthDp); in test_config_screenSize_inDPs_doesNotChange_inCompatDownscalingMode()
873 final boolean beforeConfigPortrait = rotationA.widthDp < rotationA.heightDp; in assertSizesRotate()874 final boolean afterConfigPortrait = rotationB.widthDp < rotationB.heightDp; in assertSizesRotate()895 assertThat(dockedSizes.widthDp, lessThan(fullscreenSizes.widthDp));904 assertEquals(firstSize.widthDp, secondSize.widthDp);
186 assertTrue(updatedSize.widthDp <= initialSize.widthDp); in testDisplayResize()
1131 public int widthDp;1156 widthDp = config.screenWidthDp;1171 return "SizeInfo: {widthDp=" + widthDp + " heightDp=" + heightDp1189 return widthDp == that.widthDp1207 result = 31 * result + widthDp;1230 dest.writeInt(widthDp);1246 widthDp = in.readInt();