Searched refs:scaledHeight (Results 1 – 3 of 3) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | DetermineFovActivity.java | 197 int scaledHeight = (int) (scale * photoHeight); in drawContents() local 198 if (scaledHeight < canvasHeight) { in drawContents() 201 int pad = (canvasHeight - scaledHeight) / 2; in drawContents() 202 drawRect.set(0, pad, canvasWidth, pad + scaledHeight - 1); in drawContents()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | MovieTest.java | 150 int scaledHeight = WidgetTestUtils.convertDipToPixels(mContext, mMovie.height()); in testGetMovieProperties() local 151 assertEquals(expectedHeight, scaledHeight); in testGetMovieProperties()
|
D | BitmapTest.java | 1630 int scaledHeight = scaleFromDensity(ret.getHeight(), ret.getDensity(), dummyDensity); in testGetScaledHeight1() local 1632 assertEquals(scaledHeight, ret.getScaledHeight(dummyDensity)); in testGetScaledHeight1() 1640 int scaledHeight = scaleFromDensity(ret.getHeight(), ret.getDensity(), metrics.densityDpi); in testGetScaledHeight2() local 1641 assertEquals(scaledHeight, ret.getScaledHeight(metrics)); in testGetScaledHeight2() 1651 int scaledHeight = scaleFromDensity( in testGetScaledHeight3() local 1653 assertEquals(scaledHeight, ret.getScaledHeight(mCanvas)); in testGetScaledHeight3()
|