Searched refs:scaledHeight (Results 1 – 8 of 8) sorted by relevance
/cts/hostsidetests/securitybulletin/test-apps/BUG-183613671/src/android/security/cts/BUG_183613671/ |
D | OverlayService.java | 46 int scaledHeight = (int) (displayMetrics.heightPixels * 0.9); in onCreate() local 56 mLayoutParams.height = scaledHeight; in onCreate() 58 mLayoutParams.y = scaledHeight / 2; in onCreate()
|
/cts/hostsidetests/securitybulletin/test-apps/BUG-183963253/src/android/security/cts/BUG_183963253/ |
D | OverlayService.java | 46 int scaledHeight = (int) (displayMetrics.heightPixels * 0.9); in onCreate() local 56 mLayoutParams.height = scaledHeight; in onCreate() 58 mLayoutParams.y = scaledHeight / 2; in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | DetermineFovActivity.java | 221 int scaledHeight = (int) (scale * photoHeight); in drawContents() local 222 if (scaledHeight < canvasHeight) { in drawContents() 225 int pad = (canvasHeight - scaledHeight) / 2; in drawContents() 226 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 | 1861 int scaledHeight = scaleFromDensity(ret.getHeight(), ret.getDensity(), dummyDensity); in testGetScaledHeight1() local 1863 assertEquals(scaledHeight, ret.getScaledHeight(dummyDensity)); in testGetScaledHeight1() 1871 int scaledHeight = scaleFromDensity(ret.getHeight(), ret.getDensity(), metrics.densityDpi); in testGetScaledHeight2() local 1872 assertEquals(scaledHeight, ret.getScaledHeight(metrics)); in testGetScaledHeight2() 1882 int scaledHeight = scaleFromDensity( in testGetScaledHeight3() local 1884 assertEquals(scaledHeight, ret.getScaledHeight(mCanvas)); in testGetScaledHeight3()
|
D | ImageDecoderTest.java | 1437 int scaledHeight = originalSize.getHeight() * 2 / 3; in testScaleAndCrop() local 1438 decoder.setTargetSize(scaledWidth, scaledHeight); in testScaleAndCrop() 1440 outScaledRect = new Rect(0, 0, scaledWidth, scaledHeight); in testScaleAndCrop() 1443 outCropRect = new Rect(scaledWidth / 2, scaledHeight / 2, in testScaleAndCrop() 1444 scaledWidth, scaledHeight); in testScaleAndCrop()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 898 float scaledHeight = (float) mPreviewTexHeight; in startPreview() local 905 scaledHeight = mPreviewTexHeight * (heightRatio / widthRatio); in startPreview() 907 transform.postTranslate(0, (mPreviewTexHeight - scaledHeight) / 2); in startPreview() 921 float scaledAspect = scaledWidth / scaledHeight; in startPreview()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
D | CameraFormatsActivity.java | 501 float scaledHeight = (float) mPreviewTexHeight; in concatPreviewTransform() local 504 scaledHeight = mPreviewTexHeight * (heightRatio / widthRatio); in concatPreviewTransform() 515 float scaledAspect = scaledWidth / scaledHeight; in concatPreviewTransform()
|