Searched refs:imageWidth (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
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/core-utils/kitkat/android/support/v4/print/ |
D | PrintHelperKitkat.java | 291 private Matrix getMatrix(int imageWidth, int imageHeight, RectF content, int fittingMode) { in getMatrix() argument 295 float scale = content.width() / imageWidth; in getMatrix() 305 - 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() 310 assertIntTag(exifInterface, ExifInterface.TAG_IMAGE_WIDTH, expectedValue.imageWidth); in compareWithExpectedValue()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 1046 static sp<TiffWriter> DngCreator_setup(JNIEnv* env, jobject thiz, uint32_t imageWidth, in DngCreator_setup() argument 1077 if (!((imageWidth == preWidth && imageHeight == preHeight) || in DngCreator_setup() 1078 (imageWidth == pixWidth && imageHeight == pixHeight))) { in DngCreator_setup() 1134 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_IMAGEWIDTH, 1, &imageWidth, TIFF_IFD_0), in DngCreator_setup() 1586 if (imageWidth == width && imageHeight == height) { in DngCreator_setup()
|
/frameworks/base/docs/html/training/displaying-bitmaps/ |
D | load-bitmap.jd | 68 int imageWidth = options.outWidth;
|
/frameworks/base/docs/html/guide/topics/renderscript/ |
D | compute.jd | 537 const uint32_t imageWidth = rsAllocationGetDimX(inputImage); 539 rs_allocation tmp = rsCreateAllocation_uchar4(imageWidth, imageHeight);
|