Searched refs:heightDp (Results 1 – 5 of 5) sorted by relevance
157 final int heightDp = (int) (bounds.height() / density); in reduceScreenLayout() local158 final int longSize = Math.max(widthDp, heightDp); in reduceScreenLayout()159 final int shortSize = Math.min(widthDp, heightDp); in reduceScreenLayout()
366 reportedSizes.heightDp >= reportedSizes.widthDp); in testFullscreenAppOrientationRequests()376 reportedSizes.heightDp < reportedSizes.widthDp); in testFullscreenAppOrientationRequests()398 initialReportedSizes.heightDp >= initialReportedSizes.widthDp); in testTranslucentAppOrientationRequests()805 reportedSizes.heightDp < reportedSizes.widthDp); in testTaskMoveToBackOrientation()831 reportedSizes.heightDp < reportedSizes.widthDp); in testTaskMoveToBackOrientation()909 final boolean beforeConfigPortrait = rotationA.widthDp < rotationA.heightDp; in assertSizesRotate()910 final boolean afterConfigPortrait = rotationB.widthDp < rotationB.heightDp; in assertSizesRotate()927 assertThat(dockedSizes.heightDp, lessThan(fullscreenSizes.heightDp));941 assertEquals(firstSize.heightDp, secondSize.heightDp);
227 mAppSizesNormal.heightDp, in test_scalesCorrectly_inCompatDownscalingMode()228 equalTo(mAppSizesDownscaled.heightDp)); in test_scalesCorrectly_inCompatDownscalingMode()287 mAppSizesNormal.heightDp, in test_scalesCorrectly_inCompatUpscalingMode()288 equalTo(mAppSizesUpscaled.heightDp)); in test_scalesCorrectly_inCompatUpscalingMode()
1191 public int heightDp;1216 heightDp = config.screenHeightDp;1230 return "SizeInfo: {widthDp=" + widthDp + " heightDp=" + heightDp1249 && heightDp == that.heightDp1267 result = 31 * result + heightDp;1290 dest.writeInt(heightDp);1306 heightDp = in.readInt();
194 assertTrue(updatedSize.heightDp <= initialSize.heightDp); in testDisplayResize()