/frameworks/support/transition/tests/src/android/support/transition/ |
H A D | ChangeImageTransformTest.java | 91 int imageWidth = mImage.getIntrinsicWidth(); 93 float tx = Math.round((imageViewWidth - imageWidth) / 2f); 105 int imageWidth = mImage.getIntrinsicWidth(); 107 float scaleX = ((float) imageViewWidth) / imageWidth; 119 int imageWidth = mImage.getIntrinsicWidth(); 121 float scaleX = ((float) imageViewWidth) / imageWidth; 129 float width = imageWidth * maxScale; 141 int imageWidth = mImage.getIntrinsicWidth(); 143 float scaleX = ((float) imageViewWidth) / imageWidth; 151 float width = imageWidth * minScal [all...] |
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
H A D | ImageUtils.java | 99 int imageWidth = Math.min(goldenImage.getWidth(), image.getWidth()); 108 int width = 3 * imageWidth; 117 for (int x = 0; x < imageWidth; x++) { 121 deltaImage.setRGB(imageWidth + x, y, 0x00808080); 127 deltaImage.setRGB(imageWidth + x, y, 0x00808080); 142 deltaImage.setRGB(imageWidth + x, y, newRGB); 151 long total = imageHeight * imageWidth * 3L * 256L; 173 g.drawImage(image, 2 * imageWidth, 0, null); 176 if (imageWidth > 80) { 179 g.drawString("Actual", 2 * imageWidth [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | CropView.java | 71 final float imageWidth = mRenderer.source.getImageWidth(); 74 imageDims[0] = imageWidth; 86 final float imageWidth = imageDims[0]; 96 rendererCenter[0] += imageWidth / 2; 100 float centerX = (width / 2f - rendererCenter[0] + (imageWidth - width) / 2f) 104 float leftEdge = centerX - imageWidth / 2f * scale; 105 float rightEdge = centerX + imageWidth / 2f * scale; 164 final float imageWidth = imageDims[0]; 166 mMinScale = Math.max(w / imageWidth, h / imageHeight);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A 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) 674 for (i = 4; i; i--, data += imageWidth) 649 FilterVerLumaEdge( u8 *data, u32 bS, edgeThreshold_t *thresholds, u32 imageWidth) argument 760 FilterHorLumaEdge( u8 *data, u32 bS, edgeThreshold_t *thresholds, i32 imageWidth) argument 829 FilterHorLuma( u8 *data, u32 bS, edgeThreshold_t *thresholds, i32 imageWidth) argument [all...] |
/frameworks/support/transition/src/android/support/transition/ |
H A D | ChangeImageTransform.java | 216 final int imageWidth = image.getIntrinsicWidth(); 218 final float scaleX = ((float) imageViewWidth) / imageWidth; 226 final float width = imageWidth * maxScale;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | ExifInterfaceTest.java | 115 public final int imageWidth; field in class:ExifInterfaceTest.ExpectedValue 158 imageWidth = typedArray.getInt(24, 0); 309 assertIntTag(exifInterface, ExifInterface.TAG_IMAGE_WIDTH, expectedValue.imageWidth);
|
/frameworks/support/core-utils/java/android/support/v4/print/ |
H A D | PrintHelper.java | 410 * @param imageWidth with of bitmap 417 private Matrix getMatrix(int imageWidth, int imageHeight, RectF content, argument 422 float scale = content.width() / imageWidth; 432 - imageWidth * scale) / 2;
|
/frameworks/support/exifinterface/tests/src/android/support/media/ |
H A D | ExifInterfaceTest.java | 250 public final int imageWidth; field in class:ExifInterfaceTest.ExpectedValue 293 imageWidth = typedArray.getInt(24, 0); 764 assertIntTag(exifInterface, ExifInterface.TAG_IMAGE_WIDTH, expectedValue.imageWidth);
|
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_DngCreator.cpp | 1047 static sp<TiffWriter> DngCreator_setup(JNIEnv* env, jobject thiz, uint32_t imageWidth, argument 1078 if (!((imageWidth == preWidth && imageHeight == preHeight) || 1079 (imageWidth == pixWidth && imageHeight == pixHeight))) { 1135 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_IMAGEWIDTH, 1, &imageWidth, TIFF_IFD_0), 1604 if (imageWidth == width && imageHeight == height) {
|
/frameworks/base/media/java/android/media/ |
H A D | ExifInterface.java | 1937 int imageWidth = imageWidthAttribute.getIntValue(mExifByteOrder); 1939 rgbValues, imageWidth, imageLength, Bitmap.Config.ARGB_8888); 2507 int imageWidth = in.readShort(); 2511 ExifAttribute.createUShort(imageWidth, mExifByteOrder); 2515 Log.d(TAG, "Updated to length: " + imageLength + ", width: " + imageWidth);
|
/frameworks/support/exifinterface/src/android/support/media/ |
H A D | ExifInterface.java | 4405 int imageWidth = imageWidthAttribute.getIntValue(mExifByteOrder); 4407 rgbValues, imageWidth, imageLength, Bitmap.Config.ARGB_8888); 4991 int imageWidth = in.readShort(); 4995 ExifAttribute.createUShort(imageWidth, mExifByteOrder); 4999 Log.d(TAG, "Updated to length: " + imageLength + ", width: " + imageWidth);
|