Searched refs:imageHeight (Results 1 - 4 of 4) 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/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
H A DImageUtils.java96 int imageHeight = Math.min(goldenImage.getHeight(), image.getHeight());
106 int height = imageHeight; // makes code more readable
112 for (int y = 0; y < imageHeight; y++) {
147 long total = imageHeight * imageWidth * 3L * 256L;
/frameworks/support/v4/kitkat/android/support/v4/print/
H A DPrintHelperKitkat.java264 * @param imageHeight height of bitmap
269 private Matrix getMatrix(int imageWidth, int imageHeight, RectF content, int fittingMode) { argument
275 scale = Math.max(scale, content.height() / imageHeight);
277 scale = Math.min(scale, content.height() / imageHeight);
285 - imageHeight * scale) / 2;
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp864 uint32_t imageHeight = 0; local
915 imageHeight = height;
1359 if (imageWidth >= dimensionLimit && imageHeight >= dimensionLimit) {
1361 uint32_t defaultCropSize[] = {imageWidth - margin, imageHeight - margin};
1452 imageHeight,

Completed in 5653 milliseconds