Searched refs:imageHeight (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DCropView.java73 final float imageHeight = mRenderer.source.getImageHeight();
76 imageDims[1] = imageHeight;
88 final float imageHeight = imageDims[1];
98 rendererCenter[1] += imageHeight / 2;
103 float centerY = (height / 2f - rendererCenter[1] + (imageHeight - height) / 2f)
107 float topEdge = centerY - imageHeight / 2f * scale;
108 float bottomEdge = centerY + imageHeight / 2f * scale;
166 final float imageHeight = imageDims[1];
167 mMinScale = Math.max(w / imageWidth, h / imageHeight);
/frameworks/support/v4/kitkat/android/support/v4/print/
H A DPrintHelperKitkat.java251 * @param imageHeight height of bitmap
256 private Matrix getMatrix(int imageWidth, int imageHeight, RectF content, int fittingMode) { argument
262 scale = Math.max(scale, content.height() / imageHeight);
264 scale = Math.min(scale, content.height() / imageHeight);
272 - imageHeight * scale) / 2;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DVideoEditorStressTest.java671 final int imageHeight = MediaProperties.HEIGHT_480;
712 imageHeight, mediaItem2.getHeight());

Completed in 240 milliseconds