/external/skia/tests/ |
SkImageTest.cpp | 27 SkBitmap dstBitmap; 28 srcBitmap.extractSubset(&dstBitmap, r); 29 image = SkImage::MakeFromBitmap(dstBitmap);
|
/external/skqp/tests/ |
SkImageTest.cpp | 27 SkBitmap dstBitmap; 28 srcBitmap.extractSubset(&dstBitmap, r); 29 image = SkImage::MakeFromBitmap(dstBitmap);
|
VkHardwareBufferTest.cpp | [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapShaderTest.java | 108 Bitmap dstBitmap = Bitmap.createBitmap(4, 1, Config.ARGB_8888); 109 Canvas canvas = new Canvas(dstBitmap); 116 dstBitmap.getPixels(pixels, 0, 4, 0, 0, 4, 1); 130 Bitmap dstBitmap = Bitmap.createBitmap(4, 1, Config.ARGB_8888); 131 Canvas canvas = new Canvas(dstBitmap); 138 dstBitmap.getPixels(pixels, 0, 4, 0, 0, 4, 1); 152 Bitmap dstBitmap = Bitmap.createBitmap(4, 1, Config.ARGB_8888); 153 Canvas canvas = new Canvas(dstBitmap); 160 dstBitmap.getPixels(pixels, 0, 4, 0, 0, 4, 1);
|
BitmapTest.java | 134 Bitmap dstBitmap = srcBitmap.copy(dst, false); 136 dstBitmap); 140 + dst, Color.BLACK, dstBitmap.getPixel(0, 0)); 143 + dst, Color.WHITE, dstBitmap.getPixel(0, 0)); [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
FrameImage2D.java | 171 Bitmap dstBitmap = Bitmap.createBitmap(dstImage.getWidth(), dstImage.getHeight(), config); 172 Canvas canvas = new Canvas(dstBitmap); 181 dstImage.setBitmap(dstBitmap);
|
/cts/tests/tests/view/src/android/view/cts/ |
TextureViewTest.java | 168 void verify(float[] srcColor, ColorSpace.Named srcColorSpace, Bitmap dstBitmap); 186 public void verify(float[] srcColor, ColorSpace.Named srcColorSpace, Bitmap dstBitmap) { 188 ByteBuffer buffer = ByteBuffer.allocate(dstBitmap.getAllocationByteCount()); 190 dstBitmap.copyPixelsToBuffer(buffer); 223 public void verify(float[] srcColor, ColorSpace.Named srcColorSpace, Bitmap dstBitmap) { 224 int color = dstBitmap.getPixel(0, 0);
|
/external/skia/src/ports/ |
SkFontHost_FreeType_common.cpp | 544 SkBitmap dstBitmap; 546 dstBitmap.setInfo(SkImageInfo::Make(glyph.fWidth, glyph.fHeight, 551 dstBitmap.allocPixels(); 553 dstBitmap.setPixels(glyph.fImage); 556 // Scale unscaledBitmap into dstBitmap. 557 SkCanvas canvas(dstBitmap); 581 // Copy the A8 dstBitmap into the A1 glyph.fImage. 584 packA8ToA1(dstMask, dstBitmap.getAddr8(0, 0), dstBitmap.rowBytes()); 586 // Copy the A8 dstBitmap into the LCD16 glyph.fImage [all...] |
/external/skqp/src/ports/ |
SkFontHost_FreeType_common.cpp | 544 SkBitmap dstBitmap; 546 dstBitmap.setInfo(SkImageInfo::Make(glyph.fWidth, glyph.fHeight, 551 dstBitmap.allocPixels(); 553 dstBitmap.setPixels(glyph.fImage); 556 // Scale unscaledBitmap into dstBitmap. 557 SkCanvas canvas(dstBitmap); 581 // Copy the A8 dstBitmap into the A1 glyph.fImage. 584 packA8ToA1(dstMask, dstBitmap.getAddr8(0, 0), dstBitmap.rowBytes()); 586 // Copy the A8 dstBitmap into the LCD16 glyph.fImage [all...] |
/packages/apps/Camera2/src/com/android/camera/widget/ |
RoundedThumbnailView.java | 747 Bitmap dstBitmap; 749 dstBitmap = Bitmap.createBitmap( 752 dstBitmap = Bitmap.createBitmap( 755 return dstBitmap;
|
/frameworks/base/core/jni/android/graphics/ |
Bitmap.cpp | 438 int x, int y, int width, int height, const SkBitmap& dstBitmap) { 439 void* dst = dstBitmap.getPixels(); 440 FromColorProc proc = ChooseFromColorProc(dstBitmap); 450 dst = dstBitmap.getAddr(x, y); 452 SkColorSpace* colorSpace = dstBitmap.colorSpace(); 453 if (dstBitmap.colorType() == kRGBA_F16_SkColorType || 459 dst = (char*)dst + dstBitmap.rowBytes(); 476 dst = (char*)dst + dstBitmap.rowBytes(); 480 dstBitmap.notifyPixelsChanged(); [all...] |
GraphicsJNI.h | 102 Whether to use premultiplied pixels is determined by dstBitmap's alphaType. 106 const SkBitmap& dstBitmap);
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
Bitmap_Delegate.java | 670 /*package*/ static void nativeCopyColorSpace(long srcBitmap, long dstBitmap) {
|
/frameworks/base/graphics/java/android/graphics/ |
Bitmap.java | [all...] |