Searched refs:imageHeight (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | CropView.java | 72 final float imageHeight = mRenderer.source.getImageHeight(); in getImageDims() local 75 imageDims[1] = imageHeight; in getImageDims() 87 final float imageHeight = imageDims[1]; in getEdgesHelper() local 97 rendererCenter[1] += imageHeight / 2; in getEdgesHelper() 102 float centerY = (height / 2f - rendererCenter[1] + (imageHeight - height) / 2f) in getEdgesHelper() 106 float topEdge = centerY - imageHeight / 2f * scale; in getEdgesHelper() 107 float bottomEdge = centerY + imageHeight / 2f * scale; in getEdgesHelper() 165 final float imageHeight = imageDims[1]; in updateMinScale() local 166 mMinScale = Math.max(w / imageWidth, h / imageHeight); in updateMinScale()
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
D | ImageUtils.java | 100 int imageHeight = Math.min(goldenImage.getHeight(), image.getHeight()); in assertImageSimilar() local 110 int height = imageHeight; // makes code more readable in assertImageSimilar() 116 for (int y = 0; y < imageHeight; y++) { in assertImageSimilar() 151 long total = imageHeight * imageWidth * 3L * 256L; in assertImageSimilar()
|
/frameworks/support/core-utils/kitkat/android/support/v4/print/ |
D | PrintHelperKitkat.java | 291 private Matrix getMatrix(int imageWidth, int imageHeight, RectF content, int fittingMode) { in getMatrix() argument 297 scale = Math.max(scale, content.height() / imageHeight); in getMatrix() 299 scale = Math.min(scale, content.height() / imageHeight); in getMatrix() 307 - imageHeight * scale) / 2; in getMatrix()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 1047 uint32_t imageHeight) { in DngCreator_setup() argument 1077 if (!((imageWidth == preWidth && imageHeight == preHeight) || in DngCreator_setup() 1078 (imageWidth == pixWidth && imageHeight == pixHeight))) { in DngCreator_setup() 1136 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_IMAGELENGTH, 1, &imageHeight, TIFF_IFD_0), in DngCreator_setup() 1586 if (imageWidth == width && imageHeight == height) { in DngCreator_setup()
|
/frameworks/base/docs/html/training/displaying-bitmaps/ |
D | load-bitmap.jd | 67 int imageHeight = options.outHeight;
|
/frameworks/base/docs/html/guide/topics/renderscript/ |
D | compute.jd | 538 const uint32_t imageHeight = rsAllocationGetDimY(inputImage); 539 rs_allocation tmp = rsCreateAllocation_uchar4(imageWidth, imageHeight);
|