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

  /packages/apps/Camera2/src/com/android/camera/data/
GlideFilmstripManager.java 216 double widthRatio = (double) maxSize.width() / original.width();
219 double ratio = widthRatio > heightRatio ? heightRatio : widthRatio;
  /development/samples/training/ContactsList/src/com/example/android/contactslist/util/
ImageLoader.java 399 final int widthRatio = Math.round((float) width / (float) reqWidth);
403 inSampleSize = heightRatio < widthRatio ? heightRatio : widthRatio;
  /frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
CameraPreviewActivity.java 271 float widthRatio = mNextPreviewSize.width / (float)mPreviewTexWidth;
274 transform.setScale(1, heightRatio/widthRatio);
276 mPreviewTexHeight * (1 - heightRatio/widthRatio)/2);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
CameraVideoActivity.java 699 float widthRatio = mNextPreviewSize.width / (float)mPreviewTexWidth;
702 Log.v(TAG, "startPreview: widthRatio=" + widthRatio + " " + "heightRatio=" +
706 if (heightRatio < widthRatio) {
707 transform.setScale(1, heightRatio / widthRatio);
709 mPreviewTexHeight * (1 - heightRatio / widthRatio) / 2);
711 Log.v(TAG, "startPreview: shrink vertical by " + heightRatio / widthRatio);
714 transform.setScale(widthRatio / heightRatio, 1);
715 transform.postTranslate(mPreviewTexWidth * (1 - widthRatio / heightRatio) / 2, 0);
717 Log.v(TAG, "startPreview: shrink horizontal by " + widthRatio / heightRatio)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
CameraFormatsActivity.java 453 float widthRatio = mNextPreviewSize.width / (float)mPreviewTexWidth;
456 if (heightRatio < widthRatio) {
457 transform.setScale(1, heightRatio/widthRatio);
459 mPreviewTexHeight * (1 - heightRatio/widthRatio)/2);
461 transform.setScale(widthRatio/heightRatio, 1);
462 transform.postTranslate(mPreviewTexWidth * (1 - widthRatio/heightRatio)/2,
  /development/samples/SupportLeanbackShowcase/libs/
picasso-2.5.2.jar 
  /prebuilts/devtools/tools/lib/
jfreechart-1.0.9.jar 
  /prebuilts/tools/common/jfreechart/
jfreechart-1.0.9.jar 
  /prebuilts/tools/common/m2/repository/jfree/jfreechart/1.0.9/
jfreechart-1.0.9.jar 
  /external/robolectric/v3/runtime/
android-all-4.1.2_r1-robolectric-0.jar 
android-all-4.2.2_r1.2-robolectric-0.jar 
android-all-4.3_r2-robolectric-0.jar 

Completed in 118 milliseconds