/frameworks/support/transition/tests/src/android/support/transition/ |
D | ChangeImageTransformTest.java | 91 int imageWidth = mImage.getIntrinsicWidth(); in centerMatrix() local 93 float tx = Math.round((imageViewWidth - imageWidth) / 2f); in centerMatrix() 105 int imageWidth = mImage.getIntrinsicWidth(); in fitXYMatrix() local 107 float scaleX = ((float) imageViewWidth) / imageWidth; in fitXYMatrix() 119 int imageWidth = mImage.getIntrinsicWidth(); in centerCropMatrix() local 121 float scaleX = ((float) imageViewWidth) / imageWidth; in centerCropMatrix() 129 float width = imageWidth * maxScale; in centerCropMatrix() 141 int imageWidth = mImage.getIntrinsicWidth(); in fitCenterMatrix() local 143 float scaleX = ((float) imageViewWidth) / imageWidth; in fitCenterMatrix() 151 float width = imageWidth * minScale; in fitCenterMatrix() [all …]
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
D | ImageUtils.java | 99 int imageWidth = Math.min(goldenImage.getWidth(), image.getWidth()); in assertImageSimilar() local 108 int width = 3 * imageWidth; in assertImageSimilar() 117 for (int x = 0; x < imageWidth; x++) { in assertImageSimilar() 121 deltaImage.setRGB(imageWidth + x, y, 0x00808080); in assertImageSimilar() 127 deltaImage.setRGB(imageWidth + x, y, 0x00808080); in assertImageSimilar() 142 deltaImage.setRGB(imageWidth + x, y, newRGB); in assertImageSimilar() 151 long total = imageHeight * imageWidth * 3L * 256L; in assertImageSimilar() 173 g.drawImage(image, 2 * imageWidth, 0, null); in assertImageSimilar() 176 if (imageWidth > 80) { in assertImageSimilar() 179 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/media/libstagefright/codecs/on2/h264dec/source/ |
D | h264bsd_deblocking.c | 174 u32 imageWidth); 177 u32 imageWidth); 180 u32 imageWidth); 182 i32 imageWidth); 184 i32 imageWidth); 187 u32 imageWidth); 189 i32 imageWidth); 191 i32 imageWidth); 653 u32 imageWidth) in FilterVerLumaEdge() argument 674 for (i = 4; i; i--, data += imageWidth) in FilterVerLumaEdge() [all …]
|
/frameworks/support/transition/src/android/support/transition/ |
D | ChangeImageTransform.java | 216 final int imageWidth = image.getIntrinsicWidth(); in centerCropMatrix() local 218 final float scaleX = ((float) imageViewWidth) / imageWidth; in centerCropMatrix() 226 final float width = imageWidth * maxScale; in centerCropMatrix()
|
/frameworks/support/core-utils/kitkat/android/support/v4/print/ |
D | PrintHelperKitkat.java | 293 private Matrix getMatrix(int imageWidth, int imageHeight, RectF content, int fittingMode) { in getMatrix() argument 297 float scale = content.width() / imageWidth; in getMatrix() 307 - imageWidth * scale) / 2; in getMatrix()
|
/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/support/exifinterface/tests/src/android/support/media/ |
D | ExifInterfaceTest.java | 135 public final int imageWidth; field in ExifInterfaceTest.ExpectedValue 178 imageWidth = typedArray.getInt(24, 0); in ExpectedValue() 411 assertIntTag(exifInterface, ExifInterface.TAG_IMAGE_WIDTH, expectedValue.imageWidth); in compareWithExpectedValue()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 1047 static sp<TiffWriter> DngCreator_setup(JNIEnv* env, jobject thiz, uint32_t imageWidth, in DngCreator_setup() argument 1078 if (!((imageWidth == preWidth && imageHeight == preHeight) || in DngCreator_setup() 1079 (imageWidth == pixWidth && imageHeight == pixHeight))) { in DngCreator_setup() 1135 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_IMAGEWIDTH, 1, &imageWidth, TIFF_IFD_0), in DngCreator_setup() 1604 if (imageWidth == width && imageHeight == height) { in DngCreator_setup()
|
/frameworks/base/media/java/android/media/ |
D | ExifInterface.java | 1928 int imageWidth = imageWidthAttribute.getIntValue(mExifByteOrder); in getThumbnailBitmap() local 1930 rgbValues, imageWidth, imageLength, Bitmap.Config.ARGB_8888); in getThumbnailBitmap() 2426 int imageWidth = in.readShort(); in getRafAttributes() local 2430 ExifAttribute.createUShort(imageWidth, mExifByteOrder); in getRafAttributes() 2434 Log.d(TAG, "Updated to length: " + imageLength + ", width: " + imageWidth); in getRafAttributes()
|
/frameworks/support/exifinterface/src/android/support/media/ |
D | ExifInterface.java | 1821 int imageWidth = imageWidthAttribute.getIntValue(mExifByteOrder); in getThumbnailBitmap() local 1823 rgbValues, imageWidth, imageLength, Bitmap.Config.ARGB_8888); in getThumbnailBitmap() 2364 int imageWidth = in.readShort(); in getRafAttributes() local 2368 ExifAttribute.createUShort(imageWidth, mExifByteOrder); in getRafAttributes() 2372 Log.d(TAG, "Updated to length: " + imageLength + ", width: " + imageWidth); in getRafAttributes()
|