Home
last modified time | relevance | path

Searched refs:bitmap_rect (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/content/browser/renderer_host/
Dbacking_store_gtk.cc315 const gfx::Rect& bitmap_rect, in PaintRectWithoutXrender() argument
317 const int width = bitmap_rect.width(); in PaintRectWithoutXrender()
318 const int height = bitmap_rect.height(); in PaintRectWithoutXrender()
333 copy_rect.x() - bitmap_rect.x(), // src_x in PaintRectWithoutXrender()
334 copy_rect.y() - bitmap_rect.y(), // src_y in PaintRectWithoutXrender()
347 const gfx::Rect& bitmap_rect, in PaintToBackingStore() argument
357 if (bitmap_rect.IsEmpty()) in PaintToBackingStore()
361 gfx::ScaleRect(bitmap_rect, scale_factor)); in PaintToBackingStore()
374 return PaintRectWithoutXrender(dib, bitmap_rect, copy_rects); in PaintToBackingStore()
485 copy_rect.x() - bitmap_rect.x(), // src_x in PaintToBackingStore()
[all …]
Dbacking_store_manager.cc198 const gfx::Rect& bitmap_rect, in PrepareBackingStore() argument
208 if (bitmap_rect.size() != backing_store_size || in PrepareBackingStore()
209 bitmap_rect.x() != 0 || bitmap_rect.y() != 0 || in PrepareBackingStore()
222 bitmap_rect, copy_rects, scale_factor, in PrepareBackingStore()
Dbacking_store_gtk.h62 const gfx::Rect& bitmap_rect,
77 const gfx::Rect& bitmap_rect,
Dbacking_store_aura.cc94 const gfx::Rect& bitmap_rect, in PaintToBackingStore() argument
100 if (bitmap_rect.IsEmpty()) in PaintToBackingStore()
104 gfx::ScaleRect(bitmap_rect, scale_factor)); in PaintToBackingStore()
Dbacking_store_manager.h57 const gfx::Rect& bitmap_rect,
Dbacking_store_win.cc102 const gfx::Rect& bitmap_rect, in PaintToBackingStore() argument
128 gfx::ScaleRect(bitmap_rect, scale_factor)); in PaintToBackingStore()
Dbacking_store_win.h31 const gfx::Rect& bitmap_rect,
Dbacking_store_mac.h39 const gfx::Rect& bitmap_rect,
Dbacking_store.h59 const gfx::Rect& bitmap_rect,
Dbacking_store_aura.h44 const gfx::Rect& bitmap_rect,
Dbacking_store_mac.mm80 const gfx::Rect& bitmap_rect,
95 gfx::ScaleRect(bitmap_rect, scale_factor));
Drender_widget_host_view_win.cc1331 gfx::Rect bitmap_rect(gfx::Point(), in OnPaint() local
1363 gfx::IntersectRects(bitmap_rect, gfx::Rect(region_rects[i])); in OnPaint()
1381 if (damaged_rect.right() > bitmap_rect.right()) { in OnPaint()
1383 r.left = std::max(bitmap_rect.right(), damaged_rect.x()); in OnPaint()
1386 r.bottom = std::min(bitmap_rect.bottom(), damaged_rect.bottom()); in OnPaint()
1389 if (damaged_rect.bottom() > bitmap_rect.bottom()) { in OnPaint()
1393 r.top = std::max(bitmap_rect.bottom(), damaged_rect.y()); in OnPaint()
Drender_widget_host_impl.cc1582 DCHECK(!params.bitmap_rect.IsEmpty()); in OnUpdateRect()
1584 gfx::ScaleSize(params.bitmap_rect.size(), params.scale_factor)); in OnUpdateRect()
1603 params.bitmap_rect, in OnUpdateRect()
1856 const gfx::Rect& bitmap_rect, in PaintBackingStoreRect() argument
1875 BackingStoreManager::PrepareBackingStore(this, view_size, bitmap, bitmap_rect, in PaintBackingStoreRect()
Drender_widget_host_impl.h706 const gfx::Rect& bitmap_rect,
/external/chromium_org/printing/
Demf_win.cc119 gfx::Rect bitmap_rect(raster_size); in RasterBitmap() local
128 RECT rect = bitmap_rect.ToRECT(); in RasterBitmap()
619 gfx::Rect bitmap_rect(page_size); in RasterizeMetafile() local
620 RECT rect = bitmap_rect.ToRECT(); in RasterizeMetafile()
634 float(page_bounds.width()) / bitmap_rect.width(), 0, in RasterizeMetafile()
635 0, float(page_bounds.height()) / bitmap_rect.height(), in RasterizeMetafile()
640 ::BitBlt(hdc, 0, 0, bitmap_rect.width(), bitmap_rect.height(), in RasterizeMetafile()
641 bitmap.context(), bitmap_rect.x(), bitmap_rect.y(), SRCCOPY); in RasterizeMetafile()
/external/chromium_org/content/renderer/browser_plugin/
Dbrowser_plugin_backing_store.cc35 const gfx::Rect& bitmap_rect, in PaintToBackingStore() argument
38 if (bitmap_rect.IsEmpty()) in PaintToBackingStore()
42 gfx::ScaleRect(bitmap_rect, scale_factor_)); in PaintToBackingStore()
Dbrowser_plugin_backing_store.h39 const gfx::Rect& bitmap_rect,
/external/chromium_org/skia/ext/
Dlazy_pixel_ref_utils.cc141 SkRect bitmap_rect = SkRect::MakeWH(bitmap.width(), bitmap.height()); in drawBitmap() local
143 total_matrix.mapRect(&mapped_rect, bitmap_rect); in drawBitmap()
156 SkRect bitmap_rect = SkRect::MakeWH(bitmap.width(), bitmap.height()); in drawBitmapRect() local
158 matrix.setRectToRect(bitmap_rect, dst, SkMatrix::kFill_ScaleToFit); in drawBitmapRect()
170 SkRect bitmap_rect = SkRect::MakeWH(bitmap.width(), bitmap.height()); in drawSprite() local
172 matrix.mapRect(&mapped_rect, bitmap_rect); in drawSprite()
/external/chromium_org/cc/layers/
Dnine_patch_layer_impl_unittest.cc94 gfx::Rect bitmap_rect(bitmap_size); in NinePatchLayerLayoutTest() local
95 Region tex_remaining(bitmap_rect); in NinePatchLayerLayoutTest()
/external/chromium_org/content/test/
Dtest_backing_store.cc20 const gfx::Rect& bitmap_rect, in PaintToBackingStore() argument
Dtest_backing_store.h23 const gfx::Rect& bitmap_rect,
/external/chromium/chrome/browser/renderer_host/
Drender_widget_host_view_win.cc872 gfx::Rect bitmap_rect(gfx::Point(), backing_store->size()); in OnPaint() local
886 gfx::Rect paint_rect = bitmap_rect.Intersect(gfx::Rect(region_rects[i])); in OnPaint()
911 if (damaged_rect.right() > bitmap_rect.right()) { in OnPaint()
913 r.left = std::max(bitmap_rect.right(), damaged_rect.x()); in OnPaint()
916 r.bottom = std::min(bitmap_rect.bottom(), damaged_rect.bottom()); in OnPaint()
919 if (damaged_rect.bottom() > bitmap_rect.bottom()) { in OnPaint()
923 r.top = std::max(bitmap_rect.bottom(), damaged_rect.y()); in OnPaint()
/external/chromium/chrome/browser/tab_contents/
Dthumbnail_generator_unittest.cc64 params.bitmap_rect = gfx::Rect(0, 0, kBitmapWidth, kBitmapHeight);
65 params.view_size = params.bitmap_rect.size();
/external/chromium_org/content/common/browser_plugin/
Dbrowser_plugin_messages.h101 IPC_STRUCT_MEMBER(gfx::Rect, bitmap_rect)
/external/chromium_org/content/browser/browser_plugin/
Dbrowser_plugin_guest.cc1807 params.bitmap_rect.width() * in OnUpdateRect()
1808 params.bitmap_rect.height() * 4; in OnUpdateRect()
1821 relay_params.bitmap_rect = params.bitmap_rect; in OnUpdateRect()

12