/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 | 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/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | LongScreenshotActivity.java | 472 int imageHeight = previewHeight; in updateImageDimensions() local 479 imageHeight = (int) (previewHeight * viewRatio / imageRatio); in updateImageDimensions() 480 extraPadding = (previewHeight - imageHeight) / 2; in updateImageDimensions() 483 imageTop += (previewHeight - imageHeight) / 2; in updateImageDimensions() 496 Rect boundaries = mCropView.getCropBoundaries(imageWidth, imageHeight); in updateImageDimensions()
|
D | CropView.java | 344 public Rect getCropBoundaries(int imageWidth, int imageHeight) { in getCropBoundaries() argument 345 return new Rect((int) (mCrop.left * imageWidth), (int) (mCrop.top * imageHeight), in getCropBoundaries() 346 (int) (mCrop.right * imageWidth), (int) (mCrop.bottom * imageHeight)); in getCropBoundaries()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | LayerDrawable.cpp | 130 const int imageHeight = layerImage->height(); in DrawLayer() local 146 skiaSrcRect = SkRect::MakeIWH(imageWidth, imageHeight); in DrawLayer()
|
/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 | 511 int32_t imageHeight = 0; in HandleImageAvailable() local 516 AImage_getHeight(outImage, &imageHeight); in HandleImageAvailable() 517 if (imageWidth != mWidth || imageHeight != mHeight) { in HandleImageAvailable() 519 mHeight, imageWidth, imageHeight); in HandleImageAvailable()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightMetadataRetriever.cpp | 609 int32_t imageHeight = -1; in parseMetaData() local 672 && trackMeta->findInt32(kKeyHeight, &imageHeight)) { in parseMetaData() 743 CHECK(imageHeight >= 0); in parseMetaData() 744 sprintf(tmp, "%d", imageHeight); in parseMetaData()
|
/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() 1859 if (imageWidth == width && imageHeight == height) { in DngCreator_setup() 2065 if (preWidth == imageWidth && preHeight == imageHeight) { in DngCreator_setup()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivity.java | 4091 int imageHeight = height - getPaddingBottom() - getPaddingTop(); 4092 mPath.addRoundRect(getPaddingLeft(), getPaddingTop(), imageWidth, imageHeight, mRadius,
|