HomeSort by relevance Sort by last modified time
    Searched refs:heightRatio (Results 1 - 13 of 13) 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...]
  /external/chromium_org/ui/android/java/src/org/chromium/ui/gfx/
BitmapHelper.java 58 final int heightRatio = Math.round((float) height / (float) reqHeight);
64 inSampleSize = heightRatio < widthRatio ? heightRatio : widthRatio;
  /frameworks/base/core/java/android/app/backup/
WallpaperBackupHelper.java 140 double heightRatio = mDesiredMinHeight / options.outHeight;
142 && heightRatio > 0 && heightRatio < 1.33) {
151 + " hr=" + heightRatio);
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
FontView.js 134 var heightRatio = containerHeight / height;
135 var finalFontSize = Math.floor(WebInspector.FontView._measureFontSize * Math.min(widthRatio, heightRatio)) - 2;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
CameraVideoActivity.java 697 float heightRatio = mNextPreviewSize.height / (float)mPreviewTexHeight;
699 Log.v(TAG, "startPreview: widthRatio=" + widthRatio + " " + "heightRatio=" +
700 heightRatio);
703 if (heightRatio < widthRatio) {
704 transform.setScale(1, heightRatio / widthRatio);
706 mPreviewTexHeight * (1 - heightRatio / widthRatio) / 2);
708 Log.v(TAG, "startPreview: shrink vertical by " + heightRatio / widthRatio);
711 transform.setScale(widthRatio / heightRatio, 1);
712 transform.postTranslate(mPreviewTexWidth * (1 - widthRatio / heightRatio) / 2, 0);
714 Log.v(TAG, "startPreview: shrink horizontal by " + widthRatio / heightRatio);
    [all...]
  /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;
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
RoundedRect.cpp 192 float heightRatio = static_cast<float>(m_rect.height()) / maxRadiusHeight;
193 m_radii.scale(widthRatio < heightRatio ? widthRatio : heightRatio);
  /frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
CameraPreviewActivity.java 272 float heightRatio = mNextPreviewSize.height / (float)mPreviewTexHeight;
274 transform.setScale(1, heightRatio/widthRatio);
276 mPreviewTexHeight * (1 - heightRatio/widthRatio)/2);
  /external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
Shape.cpp 95 float heightRatio = bounds.height() / (2 * radii.height());
96 float reductionRatio = std::min<float>(widthRatio, heightRatio);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
CameraFormatsActivity.java 403 float heightRatio = mNextPreviewSize.height / (float)mPreviewTexHeight;
405 transform.setScale(1, heightRatio/widthRatio);
407 mPreviewTexHeight * (1 - heightRatio/widthRatio)/2);
  /external/chromium_org/third_party/WebKit/Source/web/
WebDevToolsAgentImpl.cpp 309 double heightRatio = static_cast<double>(overrideHeight) / availableViewHeight;
310 double dimensionRatio = max(widthRatio, heightRatio);
  /packages/apps/Camera2/src/com/android/camera/data/
LocalMediaData.java 498 int heightRatio = Math.round((float) mHeight / (float) mDecodeHeight);
500 sampleSize = Math.max(heightRatio, widthRatio);
    [all...]
  /packages/apps/LegacyCamera/src/com/android/camera/panorama/
PanoramaActivity.java     [all...]

Completed in 480 milliseconds