Home | History | Annotate | Download | only in camera

Lines Matching refs:Math

109         return Math.round(sPixelDensity * dp);
199 (int) Math.ceil(Math.sqrt(w * h / maxNumOfPixels));
201 (int) Math.min(Math.floor(w / minSideLength),
202 Math.floor(h / minSideLength));
317 return (float) Math.sqrt(dx * dx + dy * dy);
364 int dist = Math.abs(orientation - orientationHistory);
365 dist = Math.min( dist, 360 - dist );
390 int targetHeight = Math.min(display.getHeight(), display.getWidth());
400 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue;
401 if (Math.abs(size.height - targetHeight) < minDiff) {
403 minDiff = Math.abs(size.height - targetHeight);
413 if (Math.abs(size.height - targetHeight) < minDiff) {
415 minDiff = Math.abs(size.height - targetHeight);
434 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue;
570 rect.left = Math.round(rectF.left);
571 rect.top = Math.round(rectF.top);
572 rect.right = Math.round(rectF.right);
573 rect.bottom = Math.round(rectF.bottom);