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()
797 final boolean beforeConfigPortrait = rotationA.widthDp < rotationA.heightDp; in assertSizesRotate()798 final boolean afterConfigPortrait = rotationB.widthDp < rotationB.heightDp; in assertSizesRotate()817 assertThat(dockedSizes.widthDp, lessThan(fullscreenSizes.widthDp));826 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();