Searched defs:bitmap (Results 26 - 50 of 826) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/tests/
H A DBitmapHasherTest.cpp17 // Fill in bitmap with test data.
18 static void CreateTestBitmap(SkBitmap* bitmap, int width, int height, argument
20 bitmap->allocN32Pixels(width, height, kOpaque_SkAlphaType);
21 bitmap->eraseColor(color);
26 SkBitmap bitmap; local
29 CreateTestBitmap(&bitmap, 333, 555, SK_ColorBLUE, reporter);
30 REPORTER_ASSERT(reporter, SkBitmapHasher::ComputeDigest(bitmap, &digest));
33 CreateTestBitmap(&bitmap, 555, 333, SK_ColorBLUE, reporter);
34 REPORTER_ASSERT(reporter, SkBitmapHasher::ComputeDigest(bitmap, &digest));
37 CreateTestBitmap(&bitmap, 55
[all...]
/external/chromium_org/tools/telemetry/telemetry/core/
H A Dvideo_unittest.py10 from telemetry.core import bitmap namespace
48 expected_bitmap = bitmap.Bitmap.FromPngFile(os.path.join(
/external/chromium_org/ui/gfx/image/
H A Dimage_png_rep.cc32 SkBitmap bitmap; local
34 &bitmap)) {
38 return gfx::Size(bitmap.width(), bitmap.height());
H A Dimage_skia.h74 // Creates an image from the passed in bitmap.
76 // Adds ref to passed in bitmap.
79 static ImageSkia CreateFrom1xBitmap(const SkBitmap& bitmap);
136 // Returns pointer to 1x bitmap contained by this object. If there is no 1x
137 // bitmap, the bitmap whose scale factor is closest to 1x is returned.
140 // TODO(pkotwicz): Return null SkBitmap when the object has no 1x bitmap.
141 const SkBitmap* bitmap() const { return &GetBitmap(); } function in class:gfx::ImageSkia
160 // If the image rep's bitmap is empty, ImageStorage is set to NULL.
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
H A DBitmapReferenceCounter.java7 public void acquireBitmap(Bitmap bitmap); argument
9 public void releaseBitmap(Bitmap bitmap); argument
H A DBitmapReferenceCounterAdapter.java7 public void acquireBitmap(Bitmap bitmap) { } argument
10 public void releaseBitmap(Bitmap bitmap) { } argument
/external/jemalloc/test/unit/
H A Dbitmap.c32 bitmap_t *bitmap = malloc(sizeof(bitmap_t) * local
34 bitmap_init(bitmap, &binfo);
37 assert_false(bitmap_get(bitmap, &binfo, j),
40 free(bitmap);
55 bitmap_t *bitmap = malloc(sizeof(bitmap_t) * local
57 bitmap_init(bitmap, &binfo);
60 bitmap_set(bitmap, &binfo, j);
61 assert_true(bitmap_full(bitmap, &binfo),
63 free(bitmap);
78 bitmap_t *bitmap local
107 bitmap_t *bitmap = malloc(sizeof(bitmap_t) * local
[all...]
/external/libsepol/tests/
H A Ddebug.c27 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/pdfium/core/src/fxge/Microsoft SDK/include/
H A DGdiPlusCachedBitmap.h28 * An object to store a bitmap prepared for rendering on a particular
31 * initializing the data (with a bitmap) and using the graphics to
44 IN Bitmap *bitmap,
50 (GpBitmap *)bitmap->nativeImage,
43 CachedBitmap( IN Bitmap *bitmap, IN Graphics *graphics) argument
/external/qemu/distrib/sdl-1.2.15/src/video/picogui/
H A DSDL_pgvideo.h45 pghandle bitmap; member in struct:SDL_PrivateVideoData
/external/skia/bench/
H A DReadPixBench.cpp44 SkBitmap bitmap; variable
46 bitmap.setInfo(SkImageInfo::MakeN32Premul(kWindowSize, kWindowSize));
51 canvas->readPixels(&bitmap, x * offX, y * offY);
/external/skia/dm/
H A DDMSKPTask.cpp12 SkBitmap bitmap; local
13 AllocatePixels(kN32_SkColorType, fPicture->width(), fPicture->height(), &bitmap);
14 DrawPicture(fPicture, &bitmap);
17 (*this, fPicture, bitmap, RecordTask::kNoOptimize_Mode)));
19 (*this, fPicture, bitmap, RecordTask::kOptimize_Mode)));
20 this->spawnChild(SkNEW_ARGS(WriteTask, (*this, bitmap)));
H A DDMSerializeTask.cpp30 SkBitmap bitmap; local
31 AllocatePixels(fReference, &bitmap);
32 DrawPicture(reconstructed, &bitmap);
33 if (!BitmapsEqual(bitmap, fReference)) {
35 this->spawnChild(SkNEW_ARGS(WriteTask, (*this, bitmap)));
/external/skia/experimental/PdfViewer/
H A DSkNulCanvas.h26 explicit SkNulCanvas(const SkBitmap& bitmap) : SkCanvas(bitmap) {} argument
38 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top,
40 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src,
44 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m,
46 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center,
48 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
/external/skia/tests/
H A DARGBImageEncoderTest.cpp35 // A bitmap that should generate the above bytes:
36 SkBitmap bitmap; local
38 bool success = bitmap.allocPixels(SkImageInfo::Make(kWidth, kHeight,
41 bitmap.eraseColor(SK_ColorBLUE);
43 SkCanvas canvas(bitmap);
51 // Transform the bitmap.
52 int bufferSize = bitmap.width() * bitmap.height() * 4;
56 REPORTER_ASSERT(reporter, enc->encodeStream(&out, bitmap, SkImageEncoder::kDefaultQuality));
H A DBitmapHasherTest.cpp17 // Fill in bitmap with test data.
18 static void CreateTestBitmap(SkBitmap* bitmap, int width, int height, argument
21 REPORTER_ASSERT(reporter, bitmap->allocPixels(info));
22 bitmap->eraseColor(color);
27 SkBitmap bitmap; local
30 CreateTestBitmap(&bitmap, 333, 555, SK_ColorBLUE, reporter);
31 REPORTER_ASSERT(reporter, SkBitmapHasher::ComputeDigest(bitmap, &digest));
34 CreateTestBitmap(&bitmap, 555, 333, SK_ColorBLUE, reporter);
35 REPORTER_ASSERT(reporter, SkBitmapHasher::ComputeDigest(bitmap, &digest));
38 CreateTestBitmap(&bitmap, 55
[all...]
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
H A DJavaBrowserViewRendererHelper.java33 Bitmap bitmap = null;
35 bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
37 android.util.Log.w(LOGTAG, "Error allocating bitmap");
39 return bitmap;
43 * Draws a provided bitmap into a canvas.
48 Bitmap bitmap, Canvas canvas, int scrollX, int scrollY) {
50 canvas.drawBitmap(bitmap, 0, 0, null);
47 drawBitmapIntoCanvas( Bitmap bitmap, Canvas canvas, int scrollX, int scrollY) argument
/external/chromium_org/cc/blink/
H A Dweb_nine_patch_layer_impl.cc27 void WebNinePatchLayerImpl::setBitmap(const SkBitmap& bitmap) { argument
30 nine_patch->SetBitmap(bitmap);
/external/chromium_org/cc/layers/
H A Dui_resource_layer_unittest.cc68 SkBitmap bitmap; local
69 bitmap.allocN32Pixels(10, 10);
70 bitmap.setImmutable();
72 test_layer->SetBitmap(bitmap);
/external/chromium_org/cc/resources/
H A Dresource_update.cc12 const SkBitmap* bitmap,
19 update.bitmap = bitmap;
28 bitmap(NULL) {}
11 Create(PrioritizedResource* resource, const SkBitmap* bitmap, const gfx::Rect& content_rect, const gfx::Rect& source_rect, const gfx::Vector2d& dest_offset) argument
/external/chromium_org/cc/test/
H A Dfake_ui_resource_layer_tree_host_impl.cc20 const UIResourceBitmap& bitmap) {
26 data.size = bitmap.GetSize();
27 data.opaque = bitmap.GetOpaque();
18 CreateUIResource( UIResourceId uid, const UIResourceBitmap& bitmap) argument
H A Dskia_common.cc20 SkBitmap bitmap; local
21 bitmap.installPixels(info, buffer, info.minRowBytes());
22 SkCanvas canvas(bitmap);
29 void CreateBitmap(const gfx::Size& size, const char* uri, SkBitmap* bitmap) { argument
32 bitmap->allocPixels(info);
33 bitmap->pixelRef()->setImmutable();
34 bitmap->pixelRef()->setURI(uri);
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_pixeltest_masks.cc81 SkBitmap bitmap; local
82 bitmap.allocN32Pixels(400, 400);
83 SkCanvas canvas(bitmap);
89 mask->SetBitmap(bitmap);
/external/chromium_org/chrome/browser/
H A Dimage_holder.cc5 // This class holds the URL to an image and the bitmap for the fetched image,
6 // and has code to fetch the bitmap from the URL.
52 // If this bitmap has a valid GURL, create a fetcher for it.
63 DVLOG(2) << __FUNCTION__ << "Pushing bitmap " << url;
80 void ImageHolder::OnFetchComplete(const GURL url, const SkBitmap* bitmap) { argument
82 // Match the bitmap to the URL to put it into the image with the correct scale
86 if (bitmap != NULL)
87 image_.AddRepresentation(gfx::ImageSkiaRep(*bitmap, 1.0));
90 if (bitmap != NULL)
91 image_.AddRepresentation(gfx::ImageSkiaRep(*bitmap, 2.
[all...]
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_avatar_downloader.cc48 const SkBitmap* bitmap) {
49 if (!bitmap || !cache_)
52 // Decode the downloaded bitmap. Ownership of the image is taken by |cache_|.
53 gfx::Image image = gfx::Image::CreateFrom1xBitmap(*bitmap);
47 OnFetchComplete(const GURL url, const SkBitmap* bitmap) argument

Completed in 6905 milliseconds

1234567891011>>