HomeSort by relevance Sort by last modified time
    Searched defs:targetRatio (Results 1 - 10 of 10) sorted by null

  /developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/
CameraHelper.java 54 double targetRatio = (double) w / h;
78 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE)
  /developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/
CameraHelper.java 54 double targetRatio = (double) w / h;
78 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE)
  /developers/samples/android/common/src/java/com/example/android/common/media/
CameraHelper.java 54 double targetRatio = (double) w / h;
78 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE)
  /development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
CameraHelper.java 53 double targetRatio = (double) w / h;
77 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE)
  /development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
CameraHelper.java 53 double targetRatio = (double) w / h;
77 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE)
  /development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
CameraHelper.java 53 double targetRatio = (double) w / h;
77 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE)
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
CameraPreview.java 269 double targetRatio = (double) w / h;
280 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue;
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
CameraFragment.java 288 double targetRatio = (double) w / h;
300 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE)
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
CameraOrientationActivity.java 381 double targetRatio = (double) 640 / (double) 480;
397 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) {
  /packages/apps/Camera2/src/com/android/camera/util/
CameraUtil.java 477 public static Size getOptimalPreviewSize(List<Size> sizes, double targetRatio) {
478 int optimalPickIndex = getOptimalPreviewSizeIndex(sizes, targetRatio);
495 * @param targetRatio the target aspect ratio, typically the aspect ratio of
500 public static int getOptimalPreviewSizeIndex(List<Size> sizes, double targetRatio) {
506 return getOptimalPreviewSizeIndex(sizes, targetRatio, aspectRatioTolerance);
514 * @param targetRatio the target aspect ratio, typically the aspect ratio of
523 List<Size> previewSizes, double targetRatio, Double aspectRatioTolerance) {
531 return getOptimalPreviewSizeIndex(previewSizes, targetRatio);
548 if (Math.abs(ratio - targetRatio) > aspectRatioTolerance) {
614 final double targetRatio = (double) targetWidth / targetHeight
    [all...]

Completed in 613 milliseconds