Searched refs:scaledWidth (Results 1 – 8 of 8) sorted by relevance
/cts/hostsidetests/securitybulletin/test-apps/BUG-183613671/src/android/security/cts/BUG_183613671/ |
D | OverlayService.java | 45 int scaledWidth = (int) (displayMetrics.widthPixels * 0.9); in onCreate() local 55 mLayoutParams.width = scaledWidth; in onCreate() 57 mLayoutParams.x = scaledWidth / 2; in onCreate()
|
/cts/hostsidetests/securitybulletin/test-apps/BUG-183963253/src/android/security/cts/BUG_183963253/ |
D | OverlayService.java | 45 int scaledWidth = (int) (displayMetrics.widthPixels * 0.9); in onCreate() local 55 mLayoutParams.width = scaledWidth; in onCreate() 57 mLayoutParams.x = scaledWidth / 2; in onCreate()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | MovieTest.java | 154 int scaledWidth = WidgetTestUtils.convertDipToPixels(mContext, mMovie.width()); in testGetMovieProperties() local 155 assertEquals(expectedWidth, scaledWidth); in testGetMovieProperties()
|
D | BitmapTest.java | 1891 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), dummyDensity); in testGetScaledWidth1() local 1893 assertEquals(scaledWidth, ret.getScaledWidth(dummyDensity)); in testGetScaledWidth1() 1901 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), metrics.densityDpi); in testGetScaledWidth2() local 1902 assertEquals(scaledWidth, ret.getScaledWidth(metrics)); in testGetScaledWidth2() 1912 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), mCanvas.getDensity()); in testGetScaledWidth3() local 1913 assertEquals(scaledWidth, ret.getScaledWidth(mCanvas)); in testGetScaledWidth3()
|
D | ImageDecoderTest.java | 1436 int scaledWidth = originalSize.getWidth() * 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/fov/ |
D | DetermineFovActivity.java | 230 float scaledWidth = scale * photoWidth; in drawContents() local 231 float pad = (canvasWidth - scaledWidth) / 2; in drawContents() 232 drawRect.set(pad, 0, pad + scaledWidth - 1, canvasHeight); in drawContents()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 897 float scaledWidth = (float) mPreviewTexWidth; in startPreview() local 912 scaledWidth = mPreviewTexWidth * (widthRatio / heightRatio); in startPreview() 914 transform.postTranslate((mPreviewTexWidth - scaledWidth) / 2, 0); in startPreview() 921 float scaledAspect = scaledWidth / scaledHeight; in startPreview()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
D | CameraFormatsActivity.java | 500 float scaledWidth = (float) mPreviewTexWidth; in concatPreviewTransform() local 509 scaledWidth = mPreviewTexWidth * (widthRatio / heightRatio); in concatPreviewTransform() 515 float scaledAspect = scaledWidth / scaledHeight; in concatPreviewTransform()
|