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

  /developers/build/prebuilts/gradle/BasicMediaDecoder/BasicMediaDecoderSample/src/main/java/com/example/android/common/media/
CameraHelper.java 51 double targetRatio = (double) w / h;
69 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE)
  /developers/build/prebuilts/gradle/BasicRenderScript/BasicRenderScriptSample/src/main/java/com/example/android/common/media/
CameraHelper.java 51 double targetRatio = (double) w / h;
69 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE)
  /developers/build/prebuilts/gradle/MediaRecorder/MediaRecorderSample/src/main/java/com/example/android/common/media/
CameraHelper.java 51 double targetRatio = (double) w / h;
69 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE)
  /developers/samples/android/common/src/java/com/example/android/common/media/
CameraHelper.java 51 double targetRatio = (double) w / h;
69 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE)
  /development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
CameraHelper.java 51 double targetRatio = (double) w / h;
69 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)
  /packages/apps/LegacyCamera/src/com/android/camera/
Util.java 375 List<Size> sizes, double targetRatio) {
400 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue;
424 List<Size> sizes, double targetRatio) {
434 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue;
  /packages/apps/Camera2/src/com/android/camera/util/
CameraUtil.java 479 List<Size> sizes, double targetRatio) {
488 int optimalPickIndex = getOptimalPreviewSize(currentActivity, points, targetRatio);
493 Point[] sizes, double targetRatio) {
512 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue;
536 List<Size> sizes, double targetRatio) {
546 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue;
    [all...]
  /packages/apps/Camera/src/com/android/camera/
Util.java 438 List<Size> sizes, double targetRatio) {
456 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue;
479 List<Size> sizes, double targetRatio) {
489 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
CameraOrientationActivity.java 380 double targetRatio = (double) 640 / (double) 480;
395 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) {
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
PositionController.java     [all...]

Completed in 463 milliseconds