Searched refs:imageHeight (Results 1 – 8 of 8) sorted by relevance
/frameworks/support/transition/src/androidTest/java/androidx/transition/ |
D | ChangeImageTransformTest.java | 96 int imageHeight = mImage.getIntrinsicHeight(); in centerMatrix() local 98 float ty = Math.round((imageViewHeight - imageHeight) / 2f); in centerMatrix() 110 int imageHeight = mImage.getIntrinsicHeight(); in fitXYMatrix() local 112 float scaleY = ((float) imageViewHeight) / imageHeight; in fitXYMatrix() 124 int imageHeight = mImage.getIntrinsicHeight(); in centerCropMatrix() local 126 float scaleY = ((float) imageViewHeight) / imageHeight; in centerCropMatrix() 131 float height = imageHeight * maxScale; in centerCropMatrix() 146 int imageHeight = mImage.getIntrinsicHeight(); in fitCenterMatrix() local 148 float scaleY = ((float) imageViewHeight) / imageHeight; in fitCenterMatrix() 153 float height = imageHeight * minScale; in fitCenterMatrix() [all …]
|
/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/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
D | ImageUtils.java | 98 int imageHeight = Math.min(goldenImage.getHeight(), image.getHeight()); in assertImageSimilar() local 108 int height = imageHeight; // makes code more readable in assertImageSimilar() 114 for (int y = 0; y < imageHeight; y++) { in assertImageSimilar() 149 long total = imageHeight * imageWidth * 3L * 256L; in assertImageSimilar()
|
/frameworks/support/transition/src/main/java/androidx/transition/ |
D | ChangeImageTransform.java | 221 final int imageHeight = image.getIntrinsicHeight(); in centerCropMatrix() local 223 final float scaleY = ((float) imageViewHeight) / imageHeight; in centerCropMatrix() 228 final float height = imageHeight * maxScale; in centerCropMatrix()
|
/frameworks/support/print/src/main/java/androidx/print/ |
D | PrintHelper.java | 573 private static Matrix getMatrix(int imageWidth, int imageHeight, RectF content, in getMatrix() argument 580 scale = Math.max(scale, content.height() / imageHeight); in getMatrix() 582 scale = Math.min(scale, content.height() / imageHeight); in getMatrix() 590 - imageHeight * scale) / 2; in getMatrix()
|
/frameworks/av/media/libstagefright/ |
D | StagefrightMetadataRetriever.cpp | 502 int32_t imageHeight = -1; in parseMetaData() local 543 CHECK(trackMeta->findInt32(kKeyHeight, &imageHeight)); in parseMetaData() 606 sprintf(tmp, "%d", imageHeight); in parseMetaData()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 1049 uint32_t imageHeight) { in DngCreator_setup() argument 1079 if (!((imageWidth == preWidth && imageHeight == preHeight) || in DngCreator_setup() 1080 (imageWidth == pixWidth && imageHeight == pixHeight))) { in DngCreator_setup() 1138 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_IMAGELENGTH, 1, &imageHeight, TIFF_IFD_0), in DngCreator_setup() 1603 if (imageWidth == width && imageHeight == height) { in DngCreator_setup()
|
/frameworks/support/car/car-stubs/ |
D | android.car.jar | META-INF/
META-INF/MANIFEST.MF
android/car/Car.class
Car ... |