Home
last modified time | relevance | path

Searched refs:scaledHeight (Results 1 – 15 of 15) sorted by relevance

/cts/hostsidetests/securitybulletin/test-apps/BUG-183411279/src/android/security/cts/BUG_183411279/
DOverlayService.java46 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/
DOverlayService.java46 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-183794206/src/android/security/cts/BUG_183794206/
DOverlayService.java46 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-182810085/src/android/security/cts/BUG_182810085/
DOverlayService.java46 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-182808318/src/android/security/cts/BUG_182808318/
DOverlayService.java46 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-182282630/src/android/security/cts/BUG_182282630/
DOverlayService.java46 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-183613671/src/android/security/cts/BUG_183613671/
DOverlayService.java46 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-183411210/src/android/security/cts/BUG_183411210/
DOverlayService.java46 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-183410508/src/android/security/cts/BUG_183410508/
DOverlayService.java46 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/
DDetermineFovActivity.java221 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/
DMovieTest.java150 int scaledHeight = WidgetTestUtils.convertDipToPixels(mContext, mMovie.height()); in testGetMovieProperties() local
151 assertEquals(expectedHeight, scaledHeight); in testGetMovieProperties()
DBitmapTest.java1925 int scaledHeight = scaleFromDensity(ret.getHeight(), ret.getDensity(), dummyDensity); in testGetScaledHeight1() local
1927 assertEquals(scaledHeight, ret.getScaledHeight(dummyDensity)); in testGetScaledHeight1()
1935 int scaledHeight = scaleFromDensity(ret.getHeight(), ret.getDensity(), metrics.densityDpi); in testGetScaledHeight2() local
1936 assertEquals(scaledHeight, ret.getScaledHeight(metrics)); in testGetScaledHeight2()
1946 int scaledHeight = scaleFromDensity( in testGetScaledHeight3() local
1948 assertEquals(scaledHeight, ret.getScaledHeight(mCanvas)); in testGetScaledHeight3()
DImageDecoderTest.java1556 int scaledHeight = originalSize.getHeight() * 2 / 3; in testScaleAndCrop() local
1557 decoder.setTargetSize(scaledWidth, scaledHeight); in testScaleAndCrop()
1559 outScaledRect = new Rect(0, 0, scaledWidth, scaledHeight); in testScaleAndCrop()
1562 outCropRect = new Rect(scaledWidth / 2, scaledHeight / 2, in testScaleAndCrop()
1563 scaledWidth, scaledHeight); in testScaleAndCrop()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java918 float scaledHeight = (float) mPreviewTexHeight; in startPreview() local
925 scaledHeight = mPreviewTexHeight * (heightRatio / widthRatio); in startPreview()
927 transform.postTranslate(0, (mPreviewTexHeight - scaledHeight) / 2); in startPreview()
941 float scaledAspect = scaledWidth / scaledHeight; in startPreview()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java501 float scaledHeight = (float) mPreviewTexHeight; in concatPreviewTransform() local
504 scaledHeight = mPreviewTexHeight * (heightRatio / widthRatio); in concatPreviewTransform()
515 float scaledAspect = scaledWidth / scaledHeight; in concatPreviewTransform()