Searched refs:bitmap (Results 426 - 450 of 1242) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/chrome/browser/chromeos/login/users/avatar/
H A Duser_image_manager_test_util.cc25 const SkBitmap* first_bitmap = first.bitmap();
26 const SkBitmap* second_bitmap = second.bitmap();
/external/chromium_org/chrome/browser/search/suggestions/
H A Dimage_manager_impl_browsertest.cc100 const SkBitmap* bitmap) {
101 CHECK(bitmap);
103 test_bitmap_ = *bitmap;
135 const SkBitmap* bitmap) {
136 if (bitmap) {
140 EXPECT_TRUE(ImageManagerImpl::EncodeImage(*bitmap, &actual));
263 SkBitmap* bitmap = image_manager_->GetBitmapFromCache(GURL(kTestUrl1)); local
264 EXPECT_FALSE(bitmap->isNull());
99 OnTestImageAvailable(base::RunLoop* loop, const GURL& url, const SkBitmap* bitmap) argument
134 OnImageAvailable(base::RunLoop* loop, const GURL& url, const SkBitmap* bitmap) argument
/external/chromium_org/chrome/browser/ui/app_list/
H A Dfast_show_pickler.cc92 SkBitmap bitmap = it->sk_bitmap(); local
93 SkAutoLockPixels lock(bitmap);
94 pickle->WriteBytes(bitmap.getPixels(), size);
134 SkBitmap bitmap;
135 if (!bitmap.tryAllocPixels(SkImageInfo::Make(
139 memcpy(bitmap.getPixels(), pixels, bitmap.getSize());
140 result.AddRepresentation(gfx::ImageSkiaRep(bitmap, scale));
/external/chromium_org/chrome/browser/ui/libgtk2ui/
H A Dgtk2_status_icon.cc19 GdkPixbuf* pixbuf = GdkPixbufFromSkBitmap(*image.bitmap());
35 GdkPixbuf* pixbuf = GdkPixbufFromSkBitmap(*image.bitmap());
/external/chromium_org/content/common/cursors/
H A Dwebcursor.cc229 void WebCursor::SetCustomData(const SkBitmap& bitmap) { argument
230 if (bitmap.empty())
234 SkAutoLockPixels bitmap_lock(bitmap);
235 custom_data_.resize(bitmap.getSize());
237 memcpy(&custom_data_[0], bitmap.getPixels(), bitmap.getSize());
238 custom_size_.set_width(bitmap.width());
239 custom_size_.set_height(bitmap.height());
/external/chromium_org/skia/ext/
H A Dbitmap_platform_device_win.cc21 // CreateDIBSection appears to get unhappy if we create an empty bitmap, so
22 // just create a minimal bitmap
31 hdr.biHeight = -height; // minus means top-down bitmap
105 static bool InstallHBitmapPixels(SkBitmap* bitmap, int width, int height, argument
111 return bitmap->installPixels(info, data, rowBytes, color_table,
131 SkBitmap bitmap;
132 if (!InstallHBitmapPixels(&bitmap, width, height, is_opaque, data, hbitmap))
140 bitmap.eraseARGB(255, 0, 255, 128); // bright bluish green
145 return new BitmapPlatformDevice(hbitmap, bitmap);
166 // data. Therefore, we do not transfer ownership to the SkBitmapDevice's bitmap
167 BitmapPlatformDevice( HBITMAP hbitmap, const SkBitmap& bitmap) argument
[all...]
H A Dvector_platform_device_emf_win.h21 // the bitmap-specific entry points, this class should derive from it.
30 VectorPlatformDeviceEmf(HDC dc, const SkBitmap& bitmap);
50 virtual void drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap,
54 virtual void drawBitmap(const SkDraw& draw, const SkBitmap& bitmap,
57 virtual void drawSprite(const SkDraw& draw, const SkBitmap& bitmap,
92 // clipping region, a bitmap or a font. Returns the old selected object.
111 // Draws a bitmap in the the device, using the currently loaded matrix.
112 void InternalDrawBitmap(const SkBitmap& bitmap, int x, int y,
/external/chromium_org/third_party/WebKit/Source/platform/
H A DDragImage.cpp74 RefPtr<NativeImageSkia> bitmap = image->nativeImageForCurrentFrame();
75 if (!bitmap)
97 canvas.drawBitmapRect(bitmap->bitmap(), 0, destRect);
104 if (!bitmap->bitmap().copyTo(&skBitmap, kN32_SkColorType))
202 DragImage::DragImage(const SkBitmap& bitmap, float resolutionScale) argument
203 : m_bitmap(bitmap)
/external/chromium_org/third_party/skia/gm/
H A Dimagefilterscropexpand.cpp39 void make_checkerboard(SkBitmap* bitmap) { argument
40 bitmap->allocN32Pixels(64, 64);
41 SkCanvas canvas(*bitmap);
60 void make_gradient_circle(int width, int height, SkBitmap* bitmap) { argument
64 bitmap->allocN32Pixels(width, height);
65 SkCanvas canvas(*bitmap);
79 static void draw(SkCanvas* canvas, const SkBitmap& bitmap, const SkRect& rect, SkImageFilter* filter) { argument
83 canvas->drawBitmap(bitmap, 0, 0);
H A Dresizeimagefilter.cpp98 SkBitmap bitmap; local
99 bitmap.allocN32Pixels(16, 16);
100 bitmap.eraseARGB(0x00, 0x00, 0x00, 0x00);
102 SkBitmapDevice bitmapDevice(bitmap);
112 SkAutoTUnref<SkBitmapSource> source(SkBitmapSource::Create(bitmap, inRect, outRect));
/external/chromium_org/third_party/skia/src/core/
H A DSkLocalMatrixShader.h26 virtual BitmapType asABitmap(SkBitmap* bitmap, SkMatrix* matrix,
28 return fProxyShader->asABitmap(bitmap, matrix, mode);
H A DSkBBoxRecord.h42 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top,
44 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src,
47 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& mat,
49 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center,
51 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
/external/chromium_org/third_party/skia/src/utils/
H A DSkPictureUtils.cpp109 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap,
111 this->addBitmap(bitmap);
112 if (kAlpha_8_SkColorType == bitmap.colorType()) {
116 virtual void drawBitmapRect(const SkDraw&, const SkBitmap& bitmap,
120 this->addBitmap(bitmap);
121 if (kAlpha_8_SkColorType == bitmap.colorType()) {
125 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap,
127 this->addBitmap(bitmap);
H A DSkProxyCanvas.cpp98 void SkProxyCanvas::drawBitmap(const SkBitmap& bitmap, SkScalar x, SkScalar y, argument
100 fProxy->drawBitmap(bitmap, x, y, paint);
103 void SkProxyCanvas::drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, argument
106 fProxy->drawBitmapRectToRect(bitmap, src, dst, paint, flags);
109 void SkProxyCanvas::drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, argument
111 fProxy->drawBitmapMatrix(bitmap, m, paint);
114 void SkProxyCanvas::drawSprite(const SkBitmap& bitmap, int x, int y, argument
116 fProxy->drawSprite(bitmap, x, y, paint);
/external/chromium_org/third_party/skia/tools/
H A Dsk_tool_utils.cpp52 void write_pixels(SkCanvas* canvas, const SkBitmap& bitmap, int x, int y, argument
54 SkBitmap tmp(bitmap);
/external/opencv/otherlibs/highgui/
H A Dgrfmt_imageio.cpp136 CGContextRef context = NULL; // The bitmap context
138 uchar* bitmap = NULL; local
158 bitmap = (uchar*)malloc( bpp * m_height * m_width );
159 if( !bitmap )
165 context = CGBitmapContextCreate( (void *)bitmap,
176 free( bitmap );
180 // Copy the image data into the bitmap region
187 free( bitmap);
192 // Move the bitmap (in RGB) into data (in BGR)
220 memcpy (data + y * step, bitmap
[all...]
/external/skia/experimental/PdfViewer/
H A DSkTrackDevice.h29 SkTrackDevice(const SkBitmap& bitmap) : SkBitmapDevice(bitmap) argument
32 SkTrackDevice(const SkBitmap& bitmap, const SkDeviceProperties& deviceProperties) argument
33 : SkBitmapDevice(bitmap, deviceProperties)
96 virtual void drawBitmap(const SkDraw& dummy1, const SkBitmap& bitmap, argument
99 INHERITED::drawBitmap(dummy1, bitmap, matrix, paint);
103 virtual void drawSprite(const SkDraw& dummy1, const SkBitmap& bitmap, argument
106 INHERITED::drawSprite(dummy1, bitmap, x, y, paint);
/external/skia/gm/
H A Dimagefilterscropexpand.cpp39 void make_checkerboard(SkBitmap* bitmap) { argument
40 bitmap->allocN32Pixels(64, 64);
41 SkCanvas canvas(*bitmap);
60 void make_gradient_circle(int width, int height, SkBitmap* bitmap) { argument
64 bitmap->allocN32Pixels(width, height);
65 SkCanvas canvas(*bitmap);
79 static void draw(SkCanvas* canvas, const SkBitmap& bitmap, const SkRect& rect, SkImageFilter* filter) { argument
83 canvas->drawBitmap(bitmap, 0, 0);
/external/skia/src/core/
H A DSkLocalMatrixShader.h26 virtual BitmapType asABitmap(SkBitmap* bitmap, SkMatrix* matrix,
28 return fProxyShader->asABitmap(bitmap, matrix, mode);
/external/skia/src/utils/
H A DSkPictureUtils.cpp109 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap,
111 this->addBitmap(bitmap);
112 if (kAlpha_8_SkColorType == bitmap.colorType()) {
116 virtual void drawBitmapRect(const SkDraw&, const SkBitmap& bitmap,
120 this->addBitmap(bitmap);
121 if (kAlpha_8_SkColorType == bitmap.colorType()) {
125 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap,
127 this->addBitmap(bitmap);
H A DSkProxyCanvas.cpp98 void SkProxyCanvas::drawBitmap(const SkBitmap& bitmap, SkScalar x, SkScalar y, argument
100 fProxy->drawBitmap(bitmap, x, y, paint);
103 void SkProxyCanvas::drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, argument
106 fProxy->drawBitmapRectToRect(bitmap, src, dst, paint, flags);
109 void SkProxyCanvas::drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, argument
111 fProxy->drawBitmapMatrix(bitmap, m, paint);
114 void SkProxyCanvas::drawSprite(const SkBitmap& bitmap, int x, int y, argument
116 fProxy->drawSprite(bitmap, x, y, paint);
/external/valgrind/main/drd/
H A Ddrd_bitmap.h38 /* Bitmap representation. A bitmap is a data structure in which two bits are
238 /** Set the bit corresponding to address a in bitmap bm0. */
250 * in bitmap bm0.
265 /** Clear the bit corresponding to address a in bitmap bm0. */
277 * in bitmap bm0.
299 /** Test whether the bit corresponding to address a is set in bitmap bm0. */
328 /* Functions for manipulating a struct bitmap. */
332 /* Second level bitmap. */
343 struct bitmap2* bm2_insert(struct bitmap* const bm, const UWord a1);
379 Bool bm_cache_lookup(struct bitmap* cons
[all...]
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
H A DContentViewReadbackTest.java108 public void onFinishGetBitmap(Bitmap bitmap) {
109 assertNotNull("Readback did not return valid bitmap", bitmap);
111 color.set(bitmap.getPixel(bitmap.getWidth() / 2, bitmap.getHeight() / 2));
/external/chromium_org/third_party/skia/experimental/PdfViewer/
H A Dchop_transparency_main.cpp60 static void setup_bitmap(SkBitmap* bitmap, int width, int height) { argument
61 bitmap->allocN32Pixels(width, height);
96 SkBitmap bitmap; local
111 if (!codec->decode(&stream, &bitmap, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode)) {
115 write_bitmap(srcPath, bitmap);
/external/chromium_org/third_party/skia/include/utils/
H A DSkNWayCanvas.h34 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top,
36 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src,
39 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m,
41 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center,
44 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,

Completed in 680 milliseconds

<<11121314151617181920>>