Home
last modified time | relevance | path

Searched refs:scaledWidth (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DMovieTest.java150 int scaledWidth = WidgetTestUtils.convertDipToPixels(getActivity(), mMovie.width()); in testGetMovieProperties() local
151 assertEquals(expectedWidth, scaledWidth); in testGetMovieProperties()
DBitmapTest.java989 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), dummyDensity); in testGetScaledWidth1() local
991 assertEquals(scaledWidth, ret.getScaledWidth(dummyDensity)); in testGetScaledWidth1()
998 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), metrics.densityDpi); in testGetScaledWidth2() local
999 assertEquals(scaledWidth, ret.getScaledWidth(metrics)); in testGetScaledWidth2()
1008 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), mCanvas.getDensity()); in testGetScaledWidth3() local
1009 assertEquals(scaledWidth, ret.getScaledWidth(mCanvas)); in testGetScaledWidth3()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DDetermineFovActivity.java206 float scaledWidth = scale * photoWidth; in drawContents() local
207 float pad = (canvasWidth - scaledWidth) / 2; in drawContents()
208 drawRect.set(pad, 0, pad + scaledWidth - 1, canvasHeight); in drawContents()