Home
last modified time | relevance | path

Searched refs:imageHeight (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DCropView.java72 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/
DImageUtils.java98 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/av/services/camera/libcameraservice/utils/
DExifUtils.h75 const size_t imageWidth, const size_t imageHeight) = 0;
DExifUtils.cpp64 const size_t imageHeight);
880 const size_t imageWidth, const size_t imageHeight) { in setFromMetadata() argument
882 !setImageHeight(imageHeight)) { in setFromMetadata()
/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp455 int32_t imageHeight = 0; in HandleImageAvailable() local
460 AImage_getHeight(outImage, &imageHeight); in HandleImageAvailable()
461 if (imageWidth != mWidth || imageHeight != mHeight) { in HandleImageAvailable()
463 mHeight, imageWidth, imageHeight); in HandleImageAvailable()
/frameworks/av/media/libmediaplayerservice/
DStagefrightMetadataRetriever.cpp537 int32_t imageHeight = -1; in parseMetaData() local
596 CHECK(trackMeta->findInt32(kKeyHeight, &imageHeight)); in parseMetaData()
659 sprintf(tmp, "%d", imageHeight); in parseMetaData()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_DngCreator.cpp1218 uint32_t imageHeight) { in DngCreator_setup() argument
1254 if (!((imageWidth == preWidth && imageHeight == preHeight) || in DngCreator_setup()
1255 (imageWidth == pixWidth && imageHeight == pixHeight))) { in DngCreator_setup()
1331 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_IMAGELENGTH, 1, &imageHeight, TIFF_IFD_0), in DngCreator_setup()
1789 if (imageWidth == width && imageHeight == height) { in DngCreator_setup()
1986 if (preWidth == imageWidth && preHeight == imageHeight) { in DngCreator_setup()
/frameworks/ml/nn/common/operations/
DGenerateProposals.cpp85 float imageHeight = imageInfoBase[0]; in bboxTransformFloat32() local
95 .y1 = std::min(std::max(roiAfter.y1, 0.0f), imageHeight), in bboxTransformFloat32()
97 .y2 = std::min(std::max(roiAfter.y2, 0.0f), imageHeight)}; in bboxTransformFloat32()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java3963 int imageHeight = height - getPaddingBottom() - getPaddingTop();
3964 mPath.addRoundRect(getPaddingLeft(), getPaddingTop(), imageWidth, imageHeight, mRadius,