Searched refs:aspectRatio (Results 1 – 6 of 6) sorted by relevance
49 double aspectRatio = getRealAspectRatio(getActivity()); in testAspectRatio() local50 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()
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);
59 public void init(Camera camera, float aspectRatio, int rotation) { in init() argument61 mAspect = aspectRatio; in init()
391 boolean aspectRatio = true; in getOptimalPreviewSize()395 if(aspectRatio) { in getOptimalPreviewSize()415 if (optimalSize == null && aspectRatio == true) { in getOptimalPreviewSize()418 aspectRatio = false; in getOptimalPreviewSize()
1916 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) {
META-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...