/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
D | ImageUtils.java | 97 int imageWidth = Math.min(goldenImage.getWidth(), image.getWidth()); in assertImageSimilar() local 106 int width = 3 * imageWidth; in assertImageSimilar() 115 for (int x = 0; x < imageWidth; x++) { in assertImageSimilar() 119 deltaImage.setRGB(imageWidth + x, y, 0x00808080); in assertImageSimilar() 125 deltaImage.setRGB(imageWidth + x, y, 0x00808080); in assertImageSimilar() 140 deltaImage.setRGB(imageWidth + x, y, newRGB); in assertImageSimilar() 149 long total = imageHeight * imageWidth * 3L * 256L; in assertImageSimilar() 170 g.drawImage(image, 2 * imageWidth, 0, null); in assertImageSimilar() 173 if (imageWidth > 80) { in assertImageSimilar() 176 g.drawString("Actual", 2 * imageWidth + 10, 20); in assertImageSimilar()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | CropView.java | 71 final float imageWidth = mRenderer.source.getImageWidth(); in getImageDims() local 74 imageDims[0] = imageWidth; in getImageDims() 86 final float imageWidth = imageDims[0]; in getEdgesHelper() local 96 rendererCenter[0] += imageWidth / 2; in getEdgesHelper() 100 float centerX = (width / 2f - rendererCenter[0] + (imageWidth - width) / 2f) in getEdgesHelper() 104 float leftEdge = centerX - imageWidth / 2f * scale; in getEdgesHelper() 105 float rightEdge = centerX + imageWidth / 2f * scale; in getEdgesHelper() 164 final float imageWidth = imageDims[0]; in updateMinScale() local 166 mMinScale = Math.max(w / imageWidth, h / imageHeight); in updateMinScale()
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | ExifUtils.h | 75 const size_t imageWidth, const size_t imageHeight) = 0;
|
D | ExifUtils.cpp | 63 const size_t imageWidth, 880 const size_t imageWidth, const size_t imageHeight) { in setFromMetadata() argument 881 if (!setImageWidth(imageWidth) || in setFromMetadata()
|
/frameworks/av/camera/ndk/ndk_vendor/tests/ |
D | AImageReaderVendorTest.cpp | 454 int32_t imageWidth = 0; in HandleImageAvailable() local 459 AImage_getWidth(outImage, &imageWidth); in HandleImageAvailable() 461 if (imageWidth != mWidth || imageHeight != mHeight) { in HandleImageAvailable() 463 mHeight, imageWidth, imageHeight); in HandleImageAvailable()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | ExifInterfaceTest.java | 115 public final int imageWidth; field in ExifInterfaceTest.ExpectedValue 158 imageWidth = typedArray.getInt(24, 0); in ExpectedValue() 309 assertIntTag(exifInterface, ExifInterface.TAG_IMAGE_WIDTH, expectedValue.imageWidth); in compareWithExpectedValue()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightMetadataRetriever.cpp | 536 int32_t imageWidth = -1; in parseMetaData() local 595 CHECK(trackMeta->findInt32(kKeyWidth, &imageWidth)); in parseMetaData() 656 sprintf(tmp, "%d", imageWidth); in parseMetaData()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 1217 static sp<TiffWriter> DngCreator_setup(JNIEnv* env, jobject thiz, uint32_t imageWidth, in DngCreator_setup() argument 1254 if (!((imageWidth == preWidth && imageHeight == preHeight) || in DngCreator_setup() 1255 (imageWidth == pixWidth && imageHeight == pixHeight))) { in DngCreator_setup() 1329 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_IMAGEWIDTH, 1, &imageWidth, 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/base/media/java/android/media/ |
D | ExifInterface.java | 2024 int imageWidth = imageWidthAttribute.getIntValue(mExifByteOrder); in getThumbnailBitmap() local 2026 rgbValues, imageWidth, imageLength, Bitmap.Config.ARGB_8888); in getThumbnailBitmap() 2698 int imageWidth = in.readShort(); in getRafAttributes() local 2702 ExifAttribute.createUShort(imageWidth, mExifByteOrder); in getRafAttributes() 2706 Log.d(TAG, "Updated to length: " + imageLength + ", width: " + imageWidth); in getRafAttributes()
|
/frameworks/ml/nn/common/operations/ |
D | GenerateProposals.cpp | 86 float imageWidth = imageInfoBase[1]; in bboxTransformFloat32() local 94 BoxEncodingCorner cliped = {.x1 = std::min(std::max(roiAfter.x1, 0.0f), imageWidth), in bboxTransformFloat32() 96 .x2 = std::min(std::max(roiAfter.x2, 0.0f), imageWidth), in bboxTransformFloat32()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivity.java | 3962 int imageWidth = width - getPaddingRight() - getPaddingLeft(); 3964 mPath.addRoundRect(getPaddingLeft(), getPaddingTop(), imageWidth, imageHeight, mRadius,
|