Searched defs:bitmap (Results 1 - 25 of 826) sorted by relevance

1234567891011>>

/external/chromium_org/ui/base/cursor/
H A Dcursor_loader_x11_unittest.cc18 SkBitmap bitmap; local
19 bitmap.allocN32Pixels(10, 5);
20 bitmap.eraseColor(SK_ColorBLACK);
26 &bitmap,
28 EXPECT_EQ(10, bitmap.width());
29 EXPECT_EQ(5, bitmap.height());
34 &bitmap,
37 EXPECT_EQ(5, bitmap.width());
38 EXPECT_EQ(10, bitmap.height());
43 &bitmap,
[all...]
/external/chromium_org/cc/blink/
H A Dweb_image_layer_impl.cc28 void WebImageLayerImpl::setImageBitmap(const SkBitmap& bitmap) { argument
30 static_cast<cc::PictureImageLayer*>(layer_->layer())->SetBitmap(bitmap);
32 ->SetFixedBounds(gfx::Size(bitmap.width(), bitmap.height()));
34 static_cast<cc::ImageLayer*>(layer_->layer())->SetBitmap(bitmap);
/external/chromium_org/third_party/skia/dm/
H A DDMPDFRasterizeTask.cpp29 SkBitmap bitmap; local
31 if (fRasterize(fPdf.get(), &bitmap)) {
32 this->spawnChild(SkNEW_ARGS(WriteTask, (*this, "PDF", bitmap)));
H A DDMSKPTask.cpp24 SkBitmap bitmap; local
25 AllocatePixels(kN32_SkColorType, width, height, &bitmap);
26 DrawPicture(*fPicture, &bitmap);
28 this->spawnChild(SkNEW_ARGS(WriteTask, (*this, "SKP", bitmap)));
/external/chromium_org/third_party/skia/tools/
H A Dtest_image_decoder.cpp25 SkBitmap bitmap; local
26 if (!(SkImageDecoder::DecodeFile(argv[1], &bitmap))) {
29 if (bitmap.empty()) {
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Ddesktop_frame_win.h23 // Frame data is stored in a GDI bitmap.
31 HBITMAP bitmap() { return bitmap_; } function in class:webrtc::DesktopFrameWin
38 HBITMAP bitmap);
/external/skia/dm/
H A DDMExpectationsTask.cpp8 SkBitmap bitmap)
12 , fBitmap(bitmap)
6 ExpectationsTask(const Task& parent, const Expectations& expectations, SkBitmap bitmap) argument
H A DDMPDFRasterizeTask.cpp28 SkBitmap bitmap; local
30 if (fRasterize(&pdfStream, &bitmap)) {
31 this->spawnChild(SkNEW_ARGS(WriteTask, (*this, bitmap)));
/external/skia/tools/
H A Dtest_image_decoder.cpp25 SkBitmap bitmap; local
26 if (!(SkImageDecoder::DecodeFile(argv[1], &bitmap))) {
29 if (bitmap.empty()) {
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DBitmapEncoder.java1 package com.bumptech.glide.load.resource.bitmap;
24 final Bitmap bitmap = resource.get();
25 bitmap.compress(getFormat(bitmap), quality, os);
31 return "BitmapEncoder.com.bumptech.glide.load.resource.bitmap";
34 private Bitmap.CompressFormat getFormat(Bitmap bitmap) { argument
37 } else if (bitmap.hasAlpha()) {
H A DBitmapResource.java1 package com.bumptech.glide.load.resource.bitmap;
9 private Bitmap bitmap; field in class:BitmapResource
12 public BitmapResource(Bitmap bitmap, BitmapPool bitmapPool) { argument
13 this.bitmap = bitmap;
19 return bitmap;
24 return Util.getSize(bitmap);
29 if (!bitmapPool.put(bitmap)) {
30 bitmap.recycle();
/external/chromium_org/cc/output/
H A Dcopy_output_result.cc15 CopyOutputResult::CopyOutputResult(scoped_ptr<SkBitmap> bitmap) argument
16 : size_(bitmap->width(), bitmap->height()),
17 bitmap_(bitmap.Pass()) {
/external/chromium_org/cc/resources/
H A Dresource_update.h20 const SkBitmap* bitmap,
29 const SkBitmap* bitmap; member in struct:cc::ResourceUpdate
H A Dscoped_ui_resource.cc15 const UIResourceBitmap& bitmap) {
16 return make_scoped_ptr(new ScopedUIResource(host, bitmap));
20 const UIResourceBitmap& bitmap)
21 : bitmap_(bitmap), host_(host) {
13 Create( LayerTreeHost* host, const UIResourceBitmap& bitmap) argument
19 ScopedUIResource(LayerTreeHost* host, const UIResourceBitmap& bitmap) argument
H A Dui_resource_request.cc15 const UIResourceBitmap& bitmap)
16 : type_(type), id_(id), bitmap_(new UIResourceBitmap(bitmap)) {}
13 UIResourceRequest(UIResourceRequestType type, UIResourceId id, const UIResourceBitmap& bitmap) argument
/external/chromium_org/chrome/browser/
H A Dimage_holder_unittest.cc49 // Put a real bitmap into "bitmap". 2x2 bitmap of green 32 bit pixels.
50 SkBitmap bitmap; local
51 bitmap.allocN32Pixels(2, 2);
52 bitmap.eraseColor(SK_ColorGREEN);
54 image_holder.OnFetchComplete(GURL(kIconUrl1), &bitmap); local
76 // Put a real bitmap into "bitmap". 2x2 bitmap o
77 SkBitmap bitmap; local
82 image_holder1.OnFetchComplete(GURL(kIconUrl1), &bitmap); local
83 image_holder2.OnFetchComplete(GURL(kIconUrl1), &bitmap); local
84 image_holder3.OnFetchComplete(GURL(kIconUrl1), &bitmap); local
85 image_holder4.OnFetchComplete(GURL(kIconUrl1), &bitmap); local
92 image_holder1.OnFetchComplete(GURL(kIconUrl2), &bitmap); local
93 image_holder2.OnFetchComplete(GURL(kIconUrl2), &bitmap); local
94 image_holder3.OnFetchComplete(GURL(kIconUrl2), &bitmap); local
95 image_holder4.OnFetchComplete(GURL(kIconUrl2), &bitmap); local
[all...]
/external/chromium_org/chrome/browser/notifications/
H A Dnotification_conversion_helper_unittest.cc54 SkBitmap bitmap; local
55 bitmap.allocN32Pixels(1, 1);
56 bitmap.eraseColor(SkColorSetRGB(1, 2, 3));
57 gfx::Image icon = gfx::Image::CreateFrom1xBitmap(bitmap);
/external/chromium_org/chrome/browser/ui/ash/
H A Dsolid_color_user_wallpaper_delegate.cc49 SkBitmap bitmap; variable
50 bitmap.allocN32Pixels(16, 16);
51 bitmap.eraseARGB(255, kBackgroundRed, kBackgroundGreen, kBackgroundBlue);
56 SkAutoLockPixels alp(bitmap);
57 *bitmap.getAddr32(0,0) = SkColorSetRGB(0, 0, 0);
60 gfx::ImageSkia wallpaper = gfx::ImageSkia::CreateFrom1xBitmap(bitmap);
/external/chromium_org/third_party/WebKit/Source/platform/
H A DDragImage.h46 const SkBitmap& bitmap() { return m_bitmap; } function in class:blink::DragImage
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DImageBufferSurface.cpp68 const SkBitmap& ImageBufferSurface::bitmap() function in class:blink::ImageBufferSurface
H A DInterceptingCanvas.h40 InterceptingCanvas(SkBitmap bitmap) : SkCanvas(bitmap), m_depthCount(0) { }; argument
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
H A DGaneshUtils.cpp39 bool ensureTextureBackedSkBitmap(GrContext* gr, SkBitmap& bitmap, const IntSize& size, GrSurfaceOrigin origin, GrPixelConfig config) argument
41 if (!bitmap.getTexture() || bitmap.width() != size.width() || bitmap.height() != size.height()) {
59 bitmap.setInfo(info);
60 bitmap.setPixelRef(pixelRef)->unref();
/external/chromium_org/third_party/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/chromium_org/third_party/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/chromium_org/third_party/skia/tests/
H A DARGBImageEncoderTest.cpp35 // A bitmap that should generate the above bytes:
36 SkBitmap bitmap; local
38 bitmap.allocPixels(SkImageInfo::Make(kWidth, kHeight, gColorTypes[ctIndex],
40 bitmap.eraseColor(SK_ColorBLUE);
42 SkCanvas canvas(bitmap);
50 // Transform the bitmap.
51 int bufferSize = bitmap.width() * bitmap.height() * 4;
55 REPORTER_ASSERT(reporter, enc->encodeStream(&out, bitmap, SkImageEncoder::kDefaultQuality));

Completed in 424 milliseconds

1234567891011>>