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

  /frameworks/base/core/tests/coretests/src/android/util/
ScrollViewScenario.java 73 protected ViewFactoryBase(float heightRatio) {
74 mHeightRatio = heightRatio;
97 * @param heightRatio The view's height will be this * the screen height.
99 public Params addTextView(final String text, float heightRatio) {
100 mViewFactories.add(new ViewFactoryBase(heightRatio) {
114 * @param heightRatio The view's height will be this * the screen height.
116 public Params addTextViews(int numViews, String textPrefix, float heightRatio) {
118 addTextView(textPrefix + i, heightRatio);
126 * @param heightRatio The view's height will be this * the screen height.
128 public Params addButton(final String text, float heightRatio) {
    [all...]
  /frameworks/base/core/java/android/app/backup/
WallpaperBackupHelper.java 140 double heightRatio = mDesiredMinHeight / options.outHeight;
142 && heightRatio > 0 && heightRatio < 1.33) {
151 + " hr=" + heightRatio);
  /development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
ImageResizer.java 242 final int heightRatio = Math.round((float) height / (float) reqHeight);
247 inSampleSize = heightRatio < widthRatio ? heightRatio : widthRatio;
  /external/webkit/Source/WebCore/inspector/front-end/
FontView.js 127 var heightRatio = containerHeight / height;
128 var finalFontSize = Math.floor(WebInspector.FontView._measureFontSize * Math.min(widthRatio, heightRatio)) - 2;
  /development/samples/training/ContactsList/src/com/example/android/contactslist/util/
ImageLoader.java 398 final int heightRatio = Math.round((float) height / (float) reqHeight);
403 inSampleSize = heightRatio < widthRatio ? heightRatio : widthRatio;
  /frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
CameraPreviewActivity.java 269 float heightRatio = mNextPreviewSize.height / (float)mPreviewTexHeight;
271 transform.setScale(1, heightRatio/widthRatio);
273 mPreviewTexHeight * (1 - heightRatio/widthRatio)/2);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
CameraFormatsActivity.java 402 float heightRatio = mNextPreviewSize.height / (float)mPreviewTexHeight;
404 transform.setScale(1, heightRatio/widthRatio);
406 mPreviewTexHeight * (1 - heightRatio/widthRatio)/2);
  /packages/apps/LegacyCamera/src/com/android/camera/panorama/
PanoramaActivity.java     [all...]

Completed in 303 milliseconds