Home
last modified time | relevance | path

Searched defs:aspectRatio (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/util/
DDisplayUtils.java50 final float aspectRatio = Math.max(w, h) / (float) Math.min(w, h); in isCloseToSquareDisplay() local
/cts/tests/app/src/android/app/cts/
DPictureInPictureParamsTest.java62 RemoteAction closeAction, Rational aspectRatio, Rational expandedAspectRatio, in assertPictureInPictureParamsGettersMatchValues()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DDisplayMetricsSession.java49 void changeAspectRatio(double aspectRatio, int orientation) { in changeAspectRatio()
DMultiDisplayTestBase.java171 LetterboxAspectRatioSession(float aspectRatio) { in LetterboxAspectRatioSession()
185 float aspectRatio) { in createManagedLetterboxAspectRatioSession()
DActivityManagerTestBase.java1492 final float aspectRatio = Math.max(w, h) / (float) Math.min(w, h); in isCloseToSquareDisplay() local
/cts/tests/app/app/src/android/app/stubs/
DOrientationTestUtils.java86 final float aspectRatio = Math.max(w, h) / (float) Math.min(w, h); in isCloseToSquareBounds() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVCameraPreview.java72 public void init(Camera camera, float aspectRatio, int rotation) { in init()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DCompatChangeTests.java718 try (var aspectRatio = new DisplayAspectRatioCloseable(ORIENTATION_LANDSCAPE, 2.0f); in testSandbox_viewApiForLetterboxedActivity()
739 try (var aspectRatio = new DisplayAspectRatioCloseable(ORIENTATION_LANDSCAPE, 2.0f); in testNoSandbox_viewApiForLetterboxedActivity()
757 try (var aspectRatio = new DisplayAspectRatioCloseable(ORIENTATION_LANDSCAPE, 2.0f); in testNoSandbox_viewApiForLetterboxedActivityOptOut()
1048 try (var aspectRatio = new DisplayAspectRatioCloseable(ORIENTATION_LANDSCAPE, 2.0f)) { in runLetterboxSandboxTest()