Searched refs:widthDp (Results 1 – 4 of 4) sorted by relevance
103 float widthDp = mDisplayMetrics.widthPixels / mDisplayMetrics.density; in getMaxErrorRatio() local104 return (widthDp - (float) Math.floor(widthDp)) / widthDp; in getMaxErrorRatio()
791 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);
191 assertTrue(updatedSize.widthDp <= initialSize.widthDp); in testDisplayResize()
1026 public int widthDp;1047 widthDp = config.screenWidthDp;1058 return "SizeInfo: {widthDp=" + widthDp + " heightDp=" + heightDp1074 return widthDp == that.widthDp1092 dest.writeInt(widthDp);1104 widthDp = in.readInt();