Searched refs:bitmap (Results 151 - 175 of 1242) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/gm/
H A Dbitmaprect.cpp16 static void make_bitmap(SkBitmap* bitmap) { argument
17 bitmap->allocN32Pixels(64, 64);
19 SkCanvas canvas(*bitmap);
68 SkBitmap bitmap; variable
69 make_bitmap(&bitmap); variable
78 canvas->drawBitmap(bitmap, 0, 0, &paint);
80 canvas->drawBitmapRectToRect(bitmap, &srcR, dstR, &paint);
82 canvas->drawBitmapRect(bitmap, &src[i], dstR, &paint);
97 static void make_3x3_bitmap(SkBitmap* bitmap) { argument
109 bitmap
143 SkBitmap bitmap; variable
144 make_3x3_bitmap(&bitmap); variable
157 make_big_bitmap(SkBitmap* bitmap) argument
[all...]
H A Dtileimagefilter.cpp79 SkBitmap* bitmap = (i & 0x01) ? &fCheckerboard : &fBitmap; local
80 SkRect srcRect = SkRect::MakeXYWH(SkIntToScalar(bitmap->width()/4),
81 SkIntToScalar(bitmap->height()/4),
82 SkIntToScalar(bitmap->width()/(i+1)),
83 SkIntToScalar(bitmap->height()/(i+1)));
86 SkIntToScalar(bitmap->width() - i * 12),
87 SkIntToScalar(bitmap->height()) - i * 12);
88 SkAutoTUnref<SkImageFilter> tileInput(SkBitmapSource::Create(*bitmap));
97 x += bitmap->width() + MARGIN;
98 if (x + bitmap
[all...]
/external/chromium_org/third_party/skia/tools/skpdiff/
H A DSkCLImageDiffer.cpp87 bool SkCLImageDiffer::makeImage2D(SkBitmap* bitmap, cl_mem* image) const { argument
90 switch (bitmap->colorType()) {
108 // Upload the bitmap data to OpenCL
109 bitmap->lockPixels();
111 &bitmapFormat, bitmap->width(), bitmap->height(),
112 bitmap->rowBytes(), bitmap->getPixels(),
114 bitmap->unlockPixels();
/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/chromium_org/ui/base/cursor/ozone/
H A Dbitmap_cursor_factory_ozone.cc24 SkBitmap bitmap; local
26 if (GetCursorBitmap(type, &bitmap, &hotspot))
27 return new BitmapCursorOzone(bitmap, hotspot);
33 BitmapCursorOzone::BitmapCursorOzone(const SkBitmap& bitmap, argument
36 bitmaps_.push_back(bitmap);
54 const SkBitmap& BitmapCursorOzone::bitmap() { function in class:ui::BitmapCursorOzone
81 const SkBitmap& bitmap,
83 BitmapCursorOzone* cursor = new BitmapCursorOzone(bitmap, hotspot);
113 // Create new image cursor from default aura bitmap for this type. We hold a
118 DCHECK(cursor.get()) << "Failed to load default cursor bitmap";
80 CreateImageCursor( const SkBitmap& bitmap, const gfx::Point& hotspot) argument
[all...]
/external/pdfium/core/include/thirdparties/freetype/freetype/
H A Dftbitmap.h62 /* abitmap :: A pointer to the bitmap structure. */
74 /* Copy a bitmap into another one. */
79 /* source :: A handle to the source bitmap. */
82 /* target :: A handle to the target bitmap. */
99 /* Embolden a bitmap. The new bitmap will be about `xStrength' */
113 /* bitmap :: A handle to the target bitmap. */
120 /* or equal to~8 if bitmap is of pixel_mode @FT_PIXEL_MODE_MONO. */
122 /* If you want to embolden the bitmap owne
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/
H A Dftbitmap.h62 /* abitmap :: A pointer to the bitmap structure. */
74 /* Copy a bitmap into another one. */
79 /* source :: A handle to the source bitmap. */
82 /* target :: A handle to the target bitmap. */
99 /* Embolden a bitmap. The new bitmap will be about `xStrength' */
113 /* bitmap :: A handle to the target bitmap. */
120 /* or equal to~8 if bitmap is of pixel_mode @FT_PIXEL_MODE_MONO. */
122 /* If you want to embolden the bitmap owne
[all...]
/external/skia/experimental/Intersection/
H A DEdgeWalkerQuadratics_Test.cpp11 static SkBitmap bitmap; variable
21 testSimplify(path, true, out, bitmap);
32 testSimplify(path, true, out, bitmap);
43 testSimplify(path, true, out, bitmap);
54 testSimplify(path, true, out, bitmap);
68 testSimplify(path, true, out, bitmap);
82 testSimplify(path, true, out, bitmap);
96 testSimplify(path, true, out, bitmap);
110 testSimplify(path, true, out, bitmap);
124 testSimplify(path, true, out, bitmap);
[all...]
/external/skia/gm/
H A Dbitmaprect.cpp16 static void make_bitmap(SkBitmap* bitmap) { argument
17 bitmap->allocN32Pixels(64, 64);
19 SkCanvas canvas(*bitmap);
61 SkBitmap bitmap; variable
62 make_bitmap(&bitmap); variable
71 canvas->drawBitmap(bitmap, 0, 0, &paint);
73 canvas->drawBitmapRectToRect(bitmap, &srcR, dstR, &paint);
75 canvas->drawBitmapRect(bitmap, &src[i], dstR, &paint);
90 static void make_3x3_bitmap(SkBitmap* bitmap) { argument
102 bitmap
136 SkBitmap bitmap; variable
137 make_3x3_bitmap(&bitmap); variable
150 make_big_bitmap(SkBitmap* bitmap) argument
[all...]
H A Dtileimagefilter.cpp78 SkBitmap* bitmap = (i & 0x01) ? &fCheckerboard : &fBitmap; local
79 SkRect srcRect = SkRect::MakeXYWH(SkIntToScalar(bitmap->width()/4),
80 SkIntToScalar(bitmap->height()/4),
81 SkIntToScalar(bitmap->width()/(i+1)),
82 SkIntToScalar(bitmap->height()/(i+1)));
85 SkIntToScalar(bitmap->width() - i * 12),
86 SkIntToScalar(bitmap->height()) - i * 12);
87 SkAutoTUnref<SkImageFilter> tileInput(SkBitmapSource::Create(*bitmap));
96 x += bitmap->width() + MARGIN;
97 if (x + bitmap
[all...]
/external/skia/tools/
H A Dsk_tool_utils.cpp20 void write_pixels(SkCanvas* canvas, const SkBitmap& bitmap, int x, int y, argument
22 SkBitmap tmp(bitmap);
/external/skia/tools/skpdiff/
H A DSkCLImageDiffer.cpp87 bool SkCLImageDiffer::makeImage2D(SkBitmap* bitmap, cl_mem* image) const { argument
90 switch (bitmap->colorType()) {
108 // Upload the bitmap data to OpenCL
109 bitmap->lockPixels();
111 &bitmapFormat, bitmap->width(), bitmap->height(),
112 bitmap->rowBytes(), bitmap->getPixels(),
114 bitmap->unlockPixels();
/external/chromium_org/chrome/browser/bitmap_fetcher/
H A Dbitmap_fetcher_service.cc26 void NotifyImageChanged(const SkBitmap& bitmap);
50 void BitmapFetcherRequest::NotifyImageChanged(const SkBitmap& bitmap) { argument
51 if (!bitmap.empty())
52 observer_->OnImageChanged(request_id_, bitmap);
98 request->NotifyImageChanged(*(entry->bitmap.get()));
167 const SkBitmap* bitmap) {
168 DCHECK(bitmap); // can never be NULL, guaranteed by BitmapFetcher.
177 (*iter)->NotifyImageChanged(*bitmap);
184 if (!bitmap->isNull()) {
186 entry->bitmap
166 OnFetchComplete(const GURL url, const SkBitmap* bitmap) argument
[all...]
/external/chromium_org/third_party/skia/src/image/
H A DSkImage.cpp53 bool SkImage::readPixels(SkBitmap* bitmap, const SkIRect* subset) const { argument
54 if (NULL == bitmap) {
60 // trim against the bitmap, if its already been allocated
61 if (bitmap->pixelRef()) {
62 bounds.fRight = SkMin32(bounds.fRight, bitmap->width());
63 bounds.fBottom = SkMin32(bounds.fBottom, bitmap->height());
70 // perhaps we could return true + empty-bitmap?
73 return as_IB(this)->onReadPixels(bitmap, bounds);
110 bool SkImage_Base::onReadPixels(SkBitmap* bitmap, const SkIRect& subset) const { argument
111 if (bitmap
[all...]
/external/chromium_org/third_party/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/
H A DViESurfaceRenderer.java33 // the bitmap used for drawing.
34 private Bitmap bitmap = null; field in class:ViESurfaceRenderer
37 // Rect of the source bitmap to draw
103 bitmap = null;
109 if (bitmap == null) {
117 bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565);
122 return bitmap;
127 if (bitmap == null) {
128 bitmap = CreateBitmap(width, height);
144 // It saves bitmap dat
[all...]
/external/chromium_org/chrome/browser/search/suggestions/
H A Dimage_manager_impl.cc118 SkBitmap* bitmap = GetBitmapFromCache(url); local
119 if (bitmap) {
120 callback.Run(url, bitmap);
158 const SkBitmap* bitmap) {
166 // Here |bitmap| could be NULL or a pointer to a bitmap which is owned by the
171 callback_iter->Run(request->url, bitmap);
174 // Save the bitmap to the in-memory model as well as the database, because it
177 if (bitmap) SaveImage(request->url, *bitmap);
157 OnFetchComplete(const GURL image_url, const SkBitmap* bitmap) argument
183 SaveImage(const GURL& url, const SkBitmap& bitmap) argument
266 EncodeImage(const SkBitmap& bitmap, std::vector<unsigned char>* dest) argument
[all...]
/external/chromium_org/third_party/skia/src/utils/
H A DSkNinePatch.cpp104 const SkBitmap& bitmap,
108 if (bounds.isEmpty() || bitmap.width() == 0 || bitmap.height() == 0) {
113 SkAutoLockPixels alp(bitmap);
115 if (!bitmap.readyToDraw()) {
128 for (i = numYDivs - 1; i >= 0 && yDivs[i] == bitmap.height(); --i) {
139 canvas->drawBitmapRect(bitmap, NULL, bounds, paint);
160 const SkScalar fixed = SkIntToScalar(bitmap.width() - stretchSize);
172 const SkScalar fixed = SkIntToScalar(bitmap.height() - stretchSize);
181 bitmap
103 DrawMesh(SkCanvas* canvas, const SkRect& bounds, const SkBitmap& bitmap, const int32_t xDivs[], int numXDivs, const int32_t yDivs[], int numYDivs, const SkPaint* paint) argument
254 drawNineViaRects(SkCanvas* canvas, const SkRect& dst, const SkBitmap& bitmap, const SkIRect& margins, const SkPaint* paint) argument
301 DrawNine(SkCanvas* canvas, const SkRect& bounds, const SkBitmap& bitmap, const SkIRect& margins, const SkPaint* paint) argument
[all...]
/external/skia/src/utils/
H A DSkNinePatch.cpp104 const SkBitmap& bitmap,
108 if (bounds.isEmpty() || bitmap.width() == 0 || bitmap.height() == 0) {
113 SkAutoLockPixels alp(bitmap);
115 if (!bitmap.readyToDraw()) {
128 for (i = numYDivs - 1; i >= 0 && yDivs[i] == bitmap.height(); --i) {
139 canvas->drawBitmapRect(bitmap, NULL, bounds, paint);
160 const SkScalar fixed = SkIntToScalar(bitmap.width() - stretchSize);
172 const SkScalar fixed = SkIntToScalar(bitmap.height() - stretchSize);
181 bitmap
103 DrawMesh(SkCanvas* canvas, const SkRect& bounds, const SkBitmap& bitmap, const int32_t xDivs[], int numXDivs, const int32_t yDivs[], int numYDivs, const SkPaint* paint) argument
254 drawNineViaRects(SkCanvas* canvas, const SkRect& dst, const SkBitmap& bitmap, const SkIRect& margins, const SkPaint* paint) argument
301 DrawNine(SkCanvas* canvas, const SkRect& bounds, const SkBitmap& bitmap, const SkIRect& margins, const SkPaint* paint) argument
[all...]
/external/chromium_org/athena/test/
H A Dtest_app_model_builder.cc80 SkBitmap bitmap; local
81 bitmap.allocN32Pixels(kIconSize, kIconSize);
82 bitmap.eraseColor(color);
83 return gfx::ImageSkia::CreateFrom1xBitmap(bitmap);
/external/chromium_org/cc/blink/
H A Dweb_image_layer_impl.h24 virtual void setImageBitmap(const SkBitmap& bitmap);
/external/chromium_org/cc/layers/
H A Dimage_layer.cc24 void ImageLayer::SetBitmap(const SkBitmap& bitmap) { argument
29 if (bitmap.pixelRef() && bitmap.pixelRef() == bitmap_.pixelRef())
32 bitmap_ = bitmap;
H A Dpicture_image_layer.cc31 void PictureImageLayer::SetBitmap(const SkBitmap& bitmap) { argument
36 if (bitmap.pixelRef() && bitmap.pixelRef() == bitmap_.pixelRef())
39 bitmap_ = bitmap;
/external/chromium_org/cc/test/
H A Dfake_content_layer_client.h22 SkBitmap bitmap; member in struct:cc::FakeContentLayerClient::BitmapData
45 void add_draw_bitmap(const SkBitmap& bitmap, argument
49 data.bitmap = bitmap;
H A Dskia_common.h26 void CreateBitmap(const gfx::Size& size, const char* uri, SkBitmap* bitmap);
/external/chromium_org/chrome/browser/android/profiles/
H A Dprofile_downloader_android.h26 const SkBitmap& bitmap);

Completed in 1065 milliseconds

1234567891011>>