Searched refs:imageHeight (Results 1 – 9 of 9) 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/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/av/services/camera/libcameraservice/utils/ |
D | ExifUtils.h | 75 const size_t imageWidth, const size_t imageHeight) = 0;
|
D | ExifUtils.cpp | 64 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/ |
D | AImageReaderVendorTest.cpp | 455 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/ |
D | StagefrightMetadataRetriever.cpp | 537 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/ |
D | android_hardware_camera2_DngCreator.cpp | 1218 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/ |
D | GenerateProposals.cpp | 85 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/ |
D | ChooserActivity.java | 3963 int imageHeight = height - getPaddingBottom() - getPaddingTop(); 3964 mPath.addRoundRect(getPaddingLeft(), getPaddingTop(), imageWidth, imageHeight, mRadius,
|