Home
last modified time | relevance | path

Searched refs:scale_canvas (Results 1 – 2 of 2) sorted by relevance

/external/chromium/chrome/browser/ui/views/tabs/
Ddragged_tab_view.cc136 gfx::CanvasSkia scale_canvas(ps.width(), ps.height(), false); in PaintDetachedView() local
138 scale_canvas.getTopPlatformDevice().accessBitmap(true)); in PaintDetachedView()
142 scale_canvas.FillRectInt(kDraggedTabBorderColor, 0, in PaintDetachedView()
149 scale_canvas.FillRectInt(SK_ColorBLACK, image_x, image_y, image_w, image_h); in PaintDetachedView()
151 &scale_canvas, in PaintDetachedView()
154 renderers_[i]->Paint(&scale_canvas); in PaintDetachedView()
158 SkBitmap mipmap = scale_canvas.ExtractBitmap(); in PaintDetachedView()
/external/chromium_org/chrome/browser/ui/views/tabs/
Ddragged_tab_view.cc140 gfx::Canvas scale_canvas(ps, 1.0f, false); in PaintDetachedView() local
142 skia::GetTopDevice(*scale_canvas.sk_canvas())->accessBitmap(true)); in PaintDetachedView()
146 scale_canvas.FillRect(gfx::Rect(0, tab_height - kDragFrameBorderSize, in PaintDetachedView()
153 scale_canvas.FillRect(image_rect, SK_ColorBLACK); in PaintDetachedView()
154 photobooth_->PaintScreenshotIntoCanvas(&scale_canvas, image_rect); in PaintDetachedView()
156 renderers_[i]->Paint(&scale_canvas); in PaintDetachedView()
158 SkBitmap mipmap = scale_canvas.ExtractImageRep().sk_bitmap(); in PaintDetachedView()