/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/utils/ |
D | ImageCrop.kt | 55 imageHeight: Float in centerCoverCrop() 57 val uvScaleHeight: Float = imageHeight / surfaceHeight in centerCoverCrop() 61 if (imageWidth / imageHeight > surfaceWidth / surfaceHeight) { in centerCoverCrop() 68 val verticalOffset = (imageHeight - surfaceHeight * uvScale) / 2f in centerCoverCrop()
|
/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/av/media/ndk/fuzzer/ |
D | ndk_image_reader_fuzzer.cpp | 44 int32_t imageHeight = mFdp.ConsumeIntegralInRange<int32_t>(kMinSize, kMaxSize); in process() local 53 AImageReader_new(imageWidth, imageHeight, imageFormat, imageMaxCount, &reader); in process() 55 AImageReader_newWithUsage(imageWidth, imageHeight, imageFormat, imageUsage, imageMaxCount, in process()
|
D | README.md | 37 2. Height (parameter name: "imageHeight")
|
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/util/ |
D | ImageUtils.java | 89 int imageHeight = Math.min(goldenImage.getHeight(), image.getHeight()); in assertImageSimilar() local 99 int height = imageHeight; // makes code more readable in assertImageSimilar() 105 for (int y = 0; y < imageHeight; y++) { in assertImageSimilar() 140 long total = imageHeight * imageWidth * 3L * 256L; in assertImageSimilar()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | LayerDrawable.cpp | 126 const int imageHeight = layerImage->height(); in DrawLayer() local 141 adjustCropForYUV(layer->getBufferFormat(), imageWidth, imageHeight, &skiaSrcRect); in DrawLayer() 143 skiaSrcRect = SkRect::MakeIWH(imageWidth, imageHeight); in DrawLayer()
|
/frameworks/av/services/camera/virtualcamera/tests/ |
D | JpegUtilTest.cc | 144 std::optional<size_t> compress(int imageWidth, int imageHeight, in compress() argument 146 return compressJpeg(imageWidth, imageHeight, kJpegQuality, inBuffer, in compress()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/ |
D | LongScreenshotActivity.java | 473 int imageHeight = previewHeight; in updateImageDimensions() local 480 imageHeight = (int) (previewHeight * viewRatio / imageRatio); in updateImageDimensions() 481 extraPadding = (previewHeight - imageHeight) / 2; in updateImageDimensions() 484 imageTop += (previewHeight - imageHeight) / 2; in updateImageDimensions() 497 Rect boundaries = mCropView.getCropBoundaries(imageWidth, imageHeight); in updateImageDimensions()
|
D | CropView.java | 351 public Rect getCropBoundaries(int imageWidth, int imageHeight) { in getCropBoundaries() argument 352 return new Rect((int) (mCrop.left * imageWidth), (int) (mCrop.top * imageHeight), in getCropBoundaries() 353 (int) (mCrop.right * imageWidth), (int) (mCrop.bottom * imageHeight)); in getCropBoundaries()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightMetadataRetriever.cpp | 610 int32_t imageHeight = -1; in parseMetaData() local 673 && trackMeta->findInt32(kKeyHeight, &imageHeight)) { in parseMetaData() 682 && displayBottom < imageHeight && displayLeft <= displayRight in parseMetaData() 685 imageHeight = displayBottom - displayTop + 1; in parseMetaData() 756 CHECK(imageHeight >= 0); in parseMetaData() 757 sprintf(tmp, "%d", imageHeight); in parseMetaData()
|
/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/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/ |
D | AppClipsActivity.java | 325 int imageHeight = (int) (previewHeight * viewRatio / imageRatio); in updateImageDimensions() local 326 int extraPadding = (previewHeight - imageHeight) / 2; in updateImageDimensions()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | EmphasizedNotificationButton.java | 435 CenterBesideImageSpan(int imageHeight) { in CenterBesideImageSpan() argument 436 mImageHeight = imageHeight; in CenterBesideImageSpan()
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/ |
D | RemoteComposeBuffer.java | 167 int imageWidth, int imageHeight, in drawBitmap() argument 175 BitmapData.COMPANION.apply(mBuffer, imageId, imageWidth, imageHeight, data); in drawBitmap() 306 int imageHeight = mPlatform.getImageHeight(image); in addDrawBitmap() local 308 BitmapData.COMPANION.apply(mBuffer, imageId, imageWidth, imageHeight, data); in addDrawBitmap()
|
/frameworks/av/camera/ndk/ndk_vendor/tests/ |
D | AImageReaderVendorTest.cpp | 579 int32_t imageHeight = 0; in HandleImageAvailable() local 584 AImage_getHeight(outImage, &imageHeight); in HandleImageAvailable() 585 if (imageWidth != mWidth || imageHeight != mHeight) { in HandleImageAvailable() 587 mHeight, imageWidth, imageHeight); in HandleImageAvailable()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 804 uint32_t imageHeight, const sp<TiffWriter> writer, in isMaximumResolutionModeImage() argument 840 return (imageWidth == preWidth && imageHeight == preHeight) || in isMaximumResolutionModeImage() 841 (imageWidth == pixWidth && imageHeight == pixHeight); in isMaximumResolutionModeImage() 1281 uint32_t imageHeight) { in DngCreator_setup() argument 1303 isMaximumResolutionModeImage(characteristics, imageWidth, imageHeight, writer, env); in DngCreator_setup() 1323 if (!((imageWidth == preWidth && imageHeight == preHeight) || in DngCreator_setup() 1324 (imageWidth == pixWidth && imageHeight == pixHeight))) { in DngCreator_setup() 1400 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_IMAGELENGTH, 1, &imageHeight, TIFF_IFD_0), in DngCreator_setup() 1861 if (imageWidth == width && imageHeight == height) { in DngCreator_setup() 2069 if (preWidth == imageWidth && preHeight == imageHeight) { in DngCreator_setup()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivity.java | 4029 int imageHeight = height - getPaddingBottom() - getPaddingTop(); 4030 mPath.addRoundRect(getPaddingLeft(), getPaddingTop(), imageWidth, imageHeight, mRadius,
|