Home
last modified time | relevance | path

Searched refs:setPixels (Results 1 – 25 of 37) sorted by relevance

12

/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/
DGifDecoder.java299 Bitmap result = setPixels(currentFrame, previousFrame); in getNextFrame()
424 private Bitmap setPixels(GifFrame currentFrame, GifFrame previousFrame) { in setPixels() method in GifDecoder
510 previousImage.setPixels(dest, 0, width, 0, 0, width, height); in setPixels()
515 result.setPixels(dest, 0, width, 0, 0, width, height); in setPixels()
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DShadowNativeBitmapTest.java1209 assertThrows(IllegalStateException.class, () -> bitmap.setPixels(colors, 0, 0, 0, 0, 0, 0)); in testSetPixelsOnRecycled()
1217 assertThrows(IllegalStateException.class, () -> bitmap.setPixels(colors, 0, 0, 0, 0, 0, 0)); in testSetPixelsOnImmutable()
1227 IllegalArgumentException.class, () -> bitmap.setPixels(colors, 0, 0, -1, -1, 200, 16)); in testSetPixelsXYNegative()
1237 IllegalArgumentException.class, () -> bitmap.setPixels(colors, 0, 0, 0, 0, -1, -1)); in testSetPixelsWidthHeightNegative()
1247 IllegalArgumentException.class, () -> bitmap.setPixels(colors, 0, 0, 10, 10, 95, 50)); in testSetPixelsXTooHigh()
1257 IllegalArgumentException.class, () -> bitmap.setPixels(colors, 0, 0, 10, 10, 50, 95)); in testSetPixelsYTooHigh()
1267 IllegalArgumentException.class, () -> bitmap.setPixels(colors, 0, 10, 10, 10, 50, 50)); in testSetPixelsStrideIllegal()
1278 () -> bitmap.setPixels(colors, -1, 50, 10, 10, 50, 50)); in testSetPixelsOffsetNegative()
1289 () -> bitmap.setPixels(colors, 60, 50, 10, 10, 50, 50)); in testSetPixelsOffsetTooBig()
1300 () -> bitmap.setPixels(colors, 10, -50, 10, 10, 50, 50)); in testSetPixelsLastScanlineNegative()
[all …]
/external/skia/docs/examples/
DBitmap_setPixels.cpp13 bitmap.setPixels(set2); in draw()
DBitmap_tryAllocPixels_3.cpp15 bitmap.setPixels(set1); in draw()
DShader_Methods_b.cpp11 bitmap.setPixels(pixels); in draw()
DImageInfo_computeByteSize.cpp13 bitmap.setPixels(pixels); in draw()
DImageInfo_computeMinByteSize.cpp13 bitmap.setPixels(pixels); in draw()
DCanvas_writePixels_2.cpp11 bitmap.setPixels(pixels); in draw()
DPaint_setStyle.cpp20 bitmap.setPixels(pixels); in draw()
DImageInfo_MakeS32.cpp26 noColorSpaceBitmap.setPixels(bitmap.getAddr(0, 0)); in draw()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowBitmapTest.java335 bitmap.setPixels(new int[] {1}, 0, 0, 0, 0, 1, 1); in shouldThrowExceptionForSetPixelsOnImmutableBitmap()
709 original1.setPixels(pixels1, 0, 1, 0, 0, 2, 2); in sameAs_bitmapsDifferentPixels()
713 original2.setPixels(pixels2, 0, 1, 0, 0, 2, 2); in sameAs_bitmapsDifferentPixels()
721 original1.setPixels(pixels, 0, 1, 0, 0, 2, 2); in sameAs_bitmapsSamePixels()
724 original2.setPixels(pixels, 0, 1, 0, 0, 2, 2); in sameAs_bitmapsSamePixels()
732 bitmap.setPixels( in extractAlpha()
753 bitmap.setPixels( in extractAlpha_withArgs()
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/testing/bitmapverifiers/
DGoldenImageVerifier.java58 differenceBitmapBase.setPixels(differences, 0, width, 0, 0, width, height); in verify()
DPerPixelBitmapVerifier.java86 differenceBitmapBase.setPixels(differenceMap, offset, stride, 0, 0, width, height); in verify()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBitmap.java224 …shadowBitmap.setPixels(new int[shadowBitmap.getHeight() * shadowBitmap.getWidth()], 0, shadowBitma… in createBitmap()
256 …shadowBitmap.setPixels(new int[shadowBitmap.getHeight() * shadowBitmap.getWidth()], 0, 0, 0, 0, sh… in createScaledBitmap()
285 protected void setPixels( in setPixels() method in ShadowBitmap
DShadowBitmapFactory.java194 shadowBitmap.setPixels(new int[p.x * p.y], 0, 0, 0, 0, p.x, p.y); in create()
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
DPlanarYUVLuminanceSource.java126 bitmap.setPixels(pixels, 0, width, 0, 0, width, height); in renderCroppedGreyscaleBitmap()
/external/skia/gm/
Dbitmapshader.cpp136 bitmap.setPixels(pixels);
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowBitmapTest.java619 original1.setPixels(pixels1, 0, 1, 0, 0, 2, 2); in sameAs_bitmapsDifferentPixels()
623 original2.setPixels(pixels2, 0, 1, 0, 0, 2, 2); in sameAs_bitmapsDifferentPixels()
631 original1.setPixels(pixels, 0, 1, 0, 0, 2, 2); in sameAs_bitmapsSamePixels()
634 original2.setPixels(pixels, 0, 1, 0, 0, 2, 2); in sameAs_bitmapsSamePixels()
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/image/
DImageConversions.java58 bitmap.setPixels(intValues, 0, w, 0, 0, w, h); in convertRgbTensorBufferToBitmap()
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/
DClassifierActivity.java151 rgbFrameBitmap.setPixels(getRgbBytes(), 0, previewWidth, 0, 0, previewWidth, previewHeight); in processImage()
DStylizeActivity.java506 rgbFrameBitmap.setPixels(getRgbBytes(), 0, previewWidth, 0, 0, previewWidth, previewHeight); in processImage()
577 bitmap.setPixels(intValues, 0, bitmap.getWidth(), 0, 0, bitmap.getWidth(), bitmap.getHeight()); in stylizeImage()
DDetectorActivity.java266 rgbFrameBitmap.setPixels(getRgbBytes(), 0, previewWidth, 0, 0, previewWidth, previewHeight); in processImage()
/external/skia/include/core/
DSkBitmap.h655 void setPixels(void* pixels);
/external/skia/src/ports/
DSkScalerContext_win_dw.cpp1211 dstBitmap.setPixels(glyph.fImage); in generateColorGlyphImage()
1276 dstBitmap.setPixels(glyph.fImage); in generateSVGGlyphImage()
1330 dstBitmap.setPixels(glyph.fImage); in generatePngGlyphImage()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNativeBitmap.java421 bitmap.setPixels(parceledColors, 0, parceledWidth, 0, 0, parceledWidth, parceledHeight); in nativeCreateFromParcel()

12