Home
last modified time | relevance | path

Searched refs:aspectRatio (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/dpi/src/android/dpi/cts/
DAspectRatioTest.java49 double aspectRatio = getRealAspectRatio(getActivity()); in testAspectRatio() local
50 if (aspectRatio >= 1.333 && aspectRatio <= 1.86) { in testAspectRatio()
55 if (aspectRatio >= 1.0 && aspectRatio <= 1.86) { in testAspectRatio()
59 fail("Aspect ratio was not between 1.333 and 1.86: " + aspectRatio); in testAspectRatio()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
DPlayVideoActivity.java194 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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVCameraPreview.java59 public void init(Camera camera, float aspectRatio, int rotation) { in init() argument
61 mAspect = aspectRatio; in init()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java391 boolean aspectRatio = true; in getOptimalPreviewSize()
395 if(aspectRatio) { in getOptimalPreviewSize()
415 if (optimalSize == null && aspectRatio == true) { in getOptimalPreviewSize()
418 aspectRatio = false; in getOptimalPreviewSize()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCaptureRequestTest.java1916 double aspectRatio = (double)(size.getWidth()) / size.getHeight();
1917 if (isAspectRatioContained(aspectRatiosTested, aspectRatio, ASPECT_RATIO_THRESHOLD)) {
1925 aspectRatiosTested.add(aspectRatio);
1931 double aspectRatio, double delta) {
1933 if (Math.abs(ratio - aspectRatio) < delta) {
/cts/apps/CtsVerifier/libs/
Dopencv-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...