Searched refs:aspectRatio (Results 1 – 9 of 9) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/util/ |
D | DisplayUtils.java | 50 final float aspectRatio = Math.max(w, h) / (float) Math.min(w, h); in isCloseToSquareDisplay() local 51 return aspectRatio <= closeToSquareMaxAspectRatio; in isCloseToSquareDisplay()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/ |
D | PlayVideoActivity.java | 194 float aspectRatio = ((float) mVideoWidth) / mVideoHeight; 195 if (rect.width() / aspectRatio <= rect.height()) { 197 lp.height = (int) (rect.width() / aspectRatio); 199 lp.width = (int) (rect.height() * aspectRatio);
|
/cts/tests/app/app/src/android/app/stubs/ |
D | OrientationTestUtils.java | 88 final float aspectRatio = Math.max(w, h) / (float) Math.min(w, h); in isCloseToSquareDisplay() local 89 return aspectRatio <= closeToSquareMaxAspectRatio; in isCloseToSquareDisplay()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVCameraPreview.java | 72 public void init(Camera camera, float aspectRatio, int rotation) { in init() argument 74 mCameraAspectRatio = aspectRatio; in init()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | MultiDisplayTestBase.java | 292 void changeAspectRatio(double aspectRatio, int orientation) { in changeAspectRatio() argument 295 final int larger = (int) (smaller * aspectRatio); in changeAspectRatio() 364 LetterboxAspectRatioSession(int displayId, float aspectRatio) { in LetterboxAspectRatioSession() argument 372 executeShellCommand(WM_SET_LETTERBOX_STYLE_ASPECT_RATIO + aspectRatio); in LetterboxAspectRatioSession() 386 float aspectRatio) { in createManagedLetterboxAspectRatioSession() argument 387 return mObjectTracker.manage(new LetterboxAspectRatioSession(displayId, aspectRatio)); in createManagedLetterboxAspectRatioSession()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
D | CameraOrientationActivity.java | 403 boolean aspectRatio = true; in getOptimalSize() 407 if(aspectRatio) { in getOptimalSize() 427 if (optimalSize == null && aspectRatio == true) { in getOptimalSize() 430 aspectRatio = false; in getOptimalSize()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CaptureRequestTest.java | 2948 double aspectRatio = (double)(size.getWidth()) / size.getHeight(); 2949 if (isAspectRatioContained(aspectRatiosTested, aspectRatio, ASPECT_RATIO_THRESHOLD)) { 2957 aspectRatiosTested.add(aspectRatio); 2963 double aspectRatio, double delta) { 2965 if (Math.abs(ratio - aspectRatio) < delta) {
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityManagerTestBase.java | 1192 final float aspectRatio = Math.max(w, h) / (float) Math.min(w, h); in isCloseToSquareDisplay() local 1193 return aspectRatio <= closeToSquareMaxAspectRatio; in isCloseToSquareDisplay()
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |