/external/skia/gm/ |
H A D | smallimage.cpp | 5 SkBitmap bitmap; local 6 if (GetResourceAsBitmap("randPixels.png", &bitmap)) { 7 canvas->drawBitmap(bitmap, 0.0f, 0.0f);
|
H A D | colorfilteralpha8.cpp | 28 SkBitmap bitmap; variable 30 bitmap.allocPixels(info); 31 bitmap.eraseColor(0x88FFFFFF); 42 canvas->drawBitmap(bitmap, 100.0f, 100.0f, &paint);
|
H A D | overdrawcolorfilter.cpp | 12 static inline void set_bitmap(SkBitmap* bitmap, uint8_t alpha) { argument 13 for (int y = 0; y < bitmap->height(); y++) { 14 for (int x = 0; x < bitmap->width(); x++) { 15 uint8_t* addr = bitmap->getAddr8(x, y); 20 bitmap->notifyPixelsChanged(); 46 SkBitmap bitmap; variable 47 bitmap.allocPixels(info); 48 set_bitmap(&bitmap, 0); 49 canvas->drawBitmap(bitmap, 0, 0, &paint); 50 set_bitmap(&bitmap, [all...] |
/external/pdfium/core/fpdfapi/page/ |
H A D | fpdf_page_func_embeddertest.cpp | 17 FPDF_BITMAP bitmap = RenderPage(page); local 18 CompareBitmap(bitmap, 612, 792, "1940568c9ba33bac5d0b1ee9558c76b3"); 19 FPDFBitmap_Destroy(bitmap);
|
/external/pdfium/core/fpdfapi/render/ |
H A D | fpdf_render_loadimage_embeddertest.cpp | 16 FPDF_BITMAP bitmap = RenderPage(page); local 17 CompareBitmap(bitmap, 612, 792, "a14d7ee573c1b2456d7bf6b7762823cf"); 18 FPDFBitmap_Destroy(bitmap); 27 FPDF_BITMAP bitmap = RenderPage(page); local 28 CompareBitmap(bitmap, 24, 24, "dc0ea1b743c2edb22c597cadc8537f7b"); 29 FPDFBitmap_Destroy(bitmap); 38 FPDF_BITMAP bitmap = RenderPage(page); local 39 CompareBitmap(bitmap, 749, 749, "b9e75190cdc5edf0069a408744ca07dc"); 40 FPDFBitmap_Destroy(bitmap);
|
H A D | fpdf_render_pattern_embeddertest.cpp | 14 FPDF_BITMAP bitmap = RenderPage(page); local 15 CompareBitmap(bitmap, 612, 792, "1940568c9ba33bac5d0b1ee9558c76b3"); 16 FPDFBitmap_Destroy(bitmap);
|
/external/pdfium/core/fxcodec/codec/ |
H A D | fx_codec_embeddertest.cpp | 16 FPDF_BITMAP bitmap = RenderPage(page); local 17 CompareBitmap(bitmap, 691, 432, "24d75af646f8772c5ee7ced260452ae4"); 18 FPDFBitmap_Destroy(bitmap);
|
/external/pdfium/core/fxge/ge/ |
H A D | fx_ge_text_embeddertest.cpp | 15 FPDF_BITMAP bitmap = RenderPage(page); local 16 FPDFBitmap_Destroy(bitmap);
|
/external/skia/tests/ |
H A D | PictureShaderTest.cpp | 19 SkBitmap bitmap; local 20 bitmap.allocN32Pixels(1,1); 22 SkCanvas canvas(bitmap); 29 REPORTER_ASSERT(reporter, *bitmap.getAddr32(0,0) == SK_ColorGREEN); 39 REPORTER_ASSERT(reporter, *bitmap.getAddr32(0,0) == SK_ColorGREEN);
|
H A D | PDFInvalidBitmapTest.cpp | 33 SkBitmap bitmap; local 34 bitmap.setInfo(imageInfo); 35 bitmap.setPixelRef(sk_make_sp<InvalidPixelRef>(imageInfo), 0 ,0); 36 return bitmap;
|
H A D | PathOpsExtendedTest.h | 25 const SkPath& one, const SkPath& two, SkBitmap& bitmap); 29 SkBitmap bitmap; local 30 return comparePaths(reporter, filename, one, two, bitmap);
|
/external/skia/samplecode/ |
H A D | DecodeFile.h | 16 static inline bool decode_file(const char* filename, SkBitmap* bitmap, argument 31 if (!bitmap->tryAllocPixels(info)) { 35 return SkCodec::kSuccess == codec->getPixels(info, bitmap->getPixels(), bitmap->rowBytes());
|
/external/webrtc/webrtc/modules/desktop_capture/ |
H A D | desktop_frame_win.h | 23 // Frame data is stored in a GDI bitmap. 31 HBITMAP bitmap() { return bitmap_; } function in class:webrtc::DesktopFrameWin 38 HBITMAP bitmap);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
H A D | BitmapResource.java | 1 package com.bumptech.glide.load.resource.bitmap; 13 private final Bitmap bitmap; field in class:BitmapResource 20 * @param bitmap A Bitmap. 23 public static BitmapResource obtain(Bitmap bitmap, BitmapPool bitmapPool) { argument 24 if (bitmap == null) { 27 return new BitmapResource(bitmap, bitmapPool); 31 public BitmapResource(Bitmap bitmap, BitmapPool bitmapPool) { argument 32 if (bitmap == null) { 38 this.bitmap = bitmap; [all...] |
H A D | BitmapEncoder.java | 1 package com.bumptech.glide.load.resource.bitmap; 42 final Bitmap bitmap = resource.get(); 45 Bitmap.CompressFormat format = getFormat(bitmap); 46 bitmap.compress(format, quality, os); 48 Log.v(TAG, "Compressed with type: " + format + " of size " + Util.getBitmapByteSize(bitmap) + " in " 56 return "BitmapEncoder.com.bumptech.glide.load.resource.bitmap"; 59 private Bitmap.CompressFormat getFormat(Bitmap bitmap) { argument 62 } else if (bitmap.hasAlpha()) {
|
H A D | BitmapDecoder.java | 1 package com.bumptech.glide.load.resource.bitmap; 9 * A bitmap decoder for a given resource type. 15 * Returns a decoded bitmap for a given resource and target dimensions. 18 * @param bitmapPool A bitmap pool that can be used to reuse bitmaps during the load. Any bitmaps created or 19 * obtained from the pool other than the bitmap returned by this method should be returned to the 21 * @param outWidth The target width for the returned bitmap (need not match exactly). 22 * @param outHeight The target height for the returned bitmap (need not match exactly). 23 * @param decodeFormat The desired configuration for the returned bitmap.
|
H A D | BitmapDrawableResource.java | 1 package com.bumptech.glide.load.resource.bitmap;
|
H A D | BitmapTransformation.java | 1 package com.bumptech.glide.load.resource.bitmap; 71 * @param outWidth The ideal width of the transformed bitmap (does not need to match exactly). 72 * @param outHeight The ideal height of the transformed bitmap (does not need to match exactly).
|
/external/c-ares/ |
H A D | ares_getsock.c | 31 int bitmap = 0; local 50 bitmap |= ARES_GETSOCK_READABLE(setbits, sockindex); 62 bitmap |= ARES_GETSOCK_READABLE(setbits, sockindex); 66 bitmap |= ARES_GETSOCK_WRITABLE(setbits, sockindex); 71 return bitmap;
|
/external/jemalloc/test/unit/ |
H A D | bitmap.c | 30 bitmap_t *bitmap = (bitmap_t *)malloc( local 32 bitmap_init(bitmap, &binfo); 35 assert_false(bitmap_get(bitmap, &binfo, j), 38 free(bitmap); 53 bitmap_t *bitmap = (bitmap_t *)malloc( local 55 bitmap_init(bitmap, &binfo); 58 bitmap_set(bitmap, &binfo, j); 59 assert_true(bitmap_full(bitmap, &binfo), 61 free(bitmap); 76 bitmap_t *bitmap local 105 bitmap_t *bitmap = (bitmap_t *)malloc( local [all...] |
/external/pdfium/fpdfsdk/ |
H A D | fpdfeditimg_unittest.cpp | 58 FPDF_BITMAP bitmap = FPDFBitmap_Create(kBitmapSize, kBitmapSize, 0); local 59 FPDFBitmap_FillRect(bitmap, 0, 0, kBitmapSize, kBitmapSize, 0x00000000); 60 EXPECT_EQ(kBitmapSize, FPDFBitmap_GetWidth(bitmap)); 61 EXPECT_EQ(kBitmapSize, FPDFBitmap_GetHeight(bitmap)); 64 ASSERT_TRUE(FPDFImageObj_SetBitmap(&page, 0, page_image, bitmap)); 71 FPDFBitmap_Destroy(bitmap);
|
/external/selinux/libsepol/tests/ |
H A D | debug.c | 27 void print_ebitmap(ebitmap_t * bitmap, FILE * fp) argument 30 for (i = 0; i < bitmap->highbit; i++) { 31 fprintf(fp, "%d", ebitmap_get_bit(bitmap, i));
|
/external/skia/bench/ |
H A D | ReadPixBench.cpp | 43 SkBitmap bitmap; variable 45 bitmap.setInfo(SkImageInfo::MakeN32Premul(kWindowSize, kWindowSize)); 50 canvas->readPixels(&bitmap, x * offX, y * offY);
|
/external/swiftshader/src/Main/ |
H A D | FrameBufferGDI.hpp | 52 HBITMAP bitmap; member in class:sw::FrameBufferGDI
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/ |
H A D | LruPoolStrategy.java | 6 void put(Bitmap bitmap); argument 9 String logBitmap(Bitmap bitmap); argument 11 int getSize(Bitmap bitmap); argument
|