canvas 547 android_webview/browser/browser_view_renderer.cc SkCanvas canvas(bitmap); canvas 548 android_webview/browser/browser_view_renderer.cc CompositeSW(&canvas); canvas 551 android_webview/browser/browser_view_renderer.cc bool BrowserViewRenderer::CompositeSW(SkCanvas* canvas) { canvas 554 android_webview/browser/browser_view_renderer.cc DemandDrawSw(canvas); canvas 136 android_webview/browser/browser_view_renderer.h bool CompositeSW(SkCanvas* canvas); canvas 20 android_webview/browser/browser_view_renderer_client.h virtual bool RequestDrawGL(jobject canvas) = 0; canvas 142 android_webview/java/src/org/chromium/android_webview/AwContents.java boolean requestDrawGL(Canvas canvas); canvas 771 android_webview/java/src/org/chromium/android_webview/AwContents.java public void onDraw(Canvas canvas) { canvas 773 android_webview/java/src/org/chromium/android_webview/AwContents.java canvas.drawColor(getEffectiveBackgroundColor()); canvas 778 android_webview/java/src/org/chromium/android_webview/AwContents.java canvas.getClipBounds(mClipBoundsTemporary); canvas 781 android_webview/java/src/org/chromium/android_webview/AwContents.java if (!nativeOnDraw(mNativeAwContents, canvas, canvas.isHardwareAccelerated(), canvas 789 android_webview/java/src/org/chromium/android_webview/AwContents.java canvas.drawColor(getEffectiveBackgroundColor()); canvas 792 android_webview/java/src/org/chromium/android_webview/AwContents.java if (mOverScrollGlow != null && mOverScrollGlow.drawEdgeGlows(canvas, canvas 1911 android_webview/java/src/org/chromium/android_webview/AwContents.java private boolean requestDrawGL(Canvas canvas) { canvas 1912 android_webview/java/src/org/chromium/android_webview/AwContents.java return mInternalAccessAdapter.requestDrawGL(canvas); canvas 2090 android_webview/java/src/org/chromium/android_webview/AwContents.java private native boolean nativeOnDraw(long nativeAwContents, Canvas canvas, canvas 72 android_webview/java/src/org/chromium/android_webview/AwPicture.java public void draw(Canvas canvas) { canvas 73 android_webview/java/src/org/chromium/android_webview/AwPicture.java canvas.getClipBounds(mClipBoundsTemporary); canvas 74 android_webview/java/src/org/chromium/android_webview/AwPicture.java nativeDraw(mNativeAwPicture, canvas, canvas 92 android_webview/java/src/org/chromium/android_webview/AwPicture.java private native void nativeDraw(long nativeAwPicture, Canvas canvas, canvas 53 android_webview/java/src/org/chromium/android_webview/ExternalVideoSurfaceContainer.java protected void dispatchDraw(Canvas canvas) {} canvas 26 android_webview/java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java private static Bitmap createBitmap(int width, int height, Canvas canvas) { canvas 27 android_webview/java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java if (canvas != null) { canvas 30 android_webview/java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java width = Math.min(width, canvas.getMaximumBitmapWidth()); canvas 31 android_webview/java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java height = Math.min(height, canvas.getMaximumBitmapHeight()); canvas 47 android_webview/java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java private static void drawBitmapIntoCanvas(Bitmap bitmap, Canvas canvas, int x, int y) { canvas 48 android_webview/java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java canvas.drawBitmap(bitmap, x, y, null); canvas 146 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java public boolean drawEdgeGlows(Canvas canvas, int maxScrollX, int maxScrollY) { canvas 154 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java final int restoreCount = canvas.save(); canvas 156 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java canvas.translate(scrollX, Math.min(0, scrollY)); canvas 158 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java invalidateForGlow |= mEdgeGlowTop.draw(canvas); canvas 159 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java canvas.restoreToCount(restoreCount); canvas 162 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java final int restoreCount = canvas.save(); canvas 164 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java canvas.translate(-width + scrollX, Math.max(maxScrollY, scrollY) + height); canvas 165 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java canvas.rotate(180, width, 0); canvas 167 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java invalidateForGlow |= mEdgeGlowBottom.draw(canvas); canvas 168 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java canvas.restoreToCount(restoreCount); canvas 171 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java final int restoreCount = canvas.save(); canvas 173 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java canvas.rotate(270); canvas 174 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java canvas.translate(-height - scrollY, Math.min(0, scrollX)); canvas 176 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java invalidateForGlow |= mEdgeGlowLeft.draw(canvas); canvas 177 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java canvas.restoreToCount(restoreCount); canvas 180 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java final int restoreCount = canvas.save(); canvas 182 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java canvas.rotate(90); canvas 183 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java canvas.translate(scrollY, -(Math.max(scrollX, maxScrollX) + width)); canvas 185 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java invalidateForGlow |= mEdgeGlowRight.draw(canvas); canvas 186 android_webview/java/src/org/chromium/android_webview/OverScrollGlow.java canvas.restoreToCount(restoreCount); canvas 666 android_webview/native/aw_contents.cc bool AwContents::RequestDrawGL(jobject canvas) { canvas 672 android_webview/native/aw_contents.cc return Java_AwContents_requestDrawGL(env, obj.obj(), canvas); canvas 833 android_webview/native/aw_contents.cc jobject canvas, canvas 847 android_webview/native/aw_contents.cc canvas, canvas 111 android_webview/native/aw_contents.h jobject canvas, canvas 164 android_webview/native/aw_contents.h virtual bool RequestDrawGL(jobject canvas) OVERRIDE; canvas 34 android_webview/native/aw_picture.cc bool RenderPictureToCanvas(SkPicture* picture, SkCanvas* canvas) { canvas 35 android_webview/native/aw_picture.cc picture->draw(canvas); canvas 40 android_webview/native/aw_picture.cc void AwPicture::Draw(JNIEnv* env, jobject obj, jobject canvas, canvas 44 android_webview/native/aw_picture.cc canvas, canvas 29 android_webview/native/aw_picture.h void Draw(JNIEnv* env, jobject obj, jobject canvas, canvas 81 android_webview/native/java_browser_view_renderer_helper.cc skia::RefPtr<SkCanvas> canvas = skia::AdoptRef( canvas 86 android_webview/native/java_browser_view_renderer_helper.cc if (canvas && (!canvas->getTotalClip().isRect() || canvas 87 android_webview/native/java_browser_view_renderer_helper.cc (canvas->getTotalMatrix().getType() & canvas 89 android_webview/native/java_browser_view_renderer_helper.cc canvas.clear(); canvas 91 android_webview/native/java_browser_view_renderer_helper.cc if (canvas) { canvas 92 android_webview/native/java_browser_view_renderer_helper.cc canvas->translate(scroll_correction.x(), scroll_correction.y()); canvas 93 android_webview/native/java_browser_view_renderer_helper.cc return render_source.Run(canvas.get()); canvas 163 android_webview/native/java_browser_view_renderer_helper.cc SkCanvas canvas(bitmap); canvas 164 android_webview/native/java_browser_view_renderer_helper.cc canvas.translate(-scroll_x, -scroll_y); canvas 165 android_webview/native/java_browser_view_renderer_helper.cc succeeded = renderer.Run(&canvas); canvas 31 android_webview/public/browser/draw_sw.h typedef AwPixelInfo* (AwAccessPixelsFunction)(JNIEnv* env, jobject canvas); canvas 420 android_webview/renderer/print_web_view_helper.cc blink::WebCanvas* canvas, canvas 430 android_webview/renderer/print_web_view_helper.cc static_cast<skia::VectorPlatformDeviceSkia*>(canvas->getTopDevice()); canvas 433 android_webview/renderer/print_web_view_helper.cc SkAutoCanvasRestore auto_restore(canvas, true); canvas 434 android_webview/renderer/print_web_view_helper.cc canvas->scale(1 / webkit_scale_factor, 1 / webkit_scale_factor); canvas 466 android_webview/renderer/print_web_view_helper.cc frame->printPage(0, canvas); canvas 482 android_webview/renderer/print_web_view_helper.cc blink::WebCanvas* canvas) { canvas 483 android_webview/renderer/print_web_view_helper.cc SkAutoCanvasRestore auto_restore(canvas, true); canvas 485 android_webview/renderer/print_web_view_helper.cc canvas->translate((content_area.x() - canvas_area.x()) / scale_factor, canvas 495 android_webview/renderer/print_web_view_helper.cc canvas->setClipRegion(clip_region); canvas 497 android_webview/renderer/print_web_view_helper.cc return frame->printPage(page_number, canvas); canvas 268 android_webview/renderer/print_web_view_helper.h blink::WebCanvas* canvas); canvas 287 android_webview/renderer/print_web_view_helper.h blink::WebCanvas* canvas, canvas 178 android_webview/renderer/print_web_view_helper_linux.cc skia::RefPtr<skia::VectorCanvas> canvas = canvas 180 android_webview/renderer/print_web_view_helper_linux.cc MetafileSkiaWrapper::SetMetafileOnCanvas(*canvas, metafile); canvas 181 android_webview/renderer/print_web_view_helper_linux.cc skia::SetIsDraftMode(*canvas, is_print_ready_metafile_sent_); canvas 186 android_webview/renderer/print_web_view_helper_linux.cc PrintHeaderAndFooter(canvas.get(), params.page_number + 1, canvas 193 android_webview/renderer/print_web_view_helper_linux.cc scale_factor, canvas.get()); canvas 147 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java public void onDraw(Canvas canvas) { canvas 148 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java mAwContents.onDraw(canvas); canvas 149 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java super.onDraw(canvas); canvas 183 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java public boolean drawChild(Canvas canvas, View child, long drawingTime) { canvas 184 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java return AwTestContainerView.super.drawChild(canvas, child, drawingTime); canvas 255 android_webview/test/shell/src/org/chromium/android_webview/test/AwTestContainerView.java public boolean requestDrawGL(Canvas canvas) { canvas 295 apps/ui/views/app_window_frame_view.cc void AppWindowFrameView::OnPaint(gfx::Canvas* canvas) { canvas 321 apps/ui/views/app_window_frame_view.cc canvas->DrawPath(path, paint); canvas 76 apps/ui/views/app_window_frame_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 24 ash/accelerators/debug_commands.cc gfx::Canvas canvas(image_size, 1.0f, true); canvas 25 ash/accelerators/debug_commands.cc canvas.DrawColor(fill); canvas 31 ash/accelerators/debug_commands.cc canvas.DrawRoundRect(gfx::Rect(image_size), 100, paint); canvas 32 ash/accelerators/debug_commands.cc return gfx::ImageSkia(canvas.ExtractImageRep()); canvas 48 ash/accelerators/exit_warning_handler.cc virtual void PaintText(gfx::Canvas* canvas, canvas 53 ash/accelerators/exit_warning_handler.cc views::Label::PaintText(canvas, canvas 89 ash/accelerators/exit_warning_handler.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 93 ash/accelerators/exit_warning_handler.cc canvas->DrawRoundRect(GetLocalBounds(), kWindowCornerRadius, paint); canvas 94 ash/accelerators/exit_warning_handler.cc views::WidgetDelegateView::OnPaint(canvas); canvas 88 ash/desktop_background/desktop_background_view.cc void DesktopBackgroundView::OnPaint(gfx::Canvas* canvas) { canvas 99 ash/desktop_background/desktop_background_view.cc canvas->FillRect(GetLocalBounds(), SK_ColorBLACK); canvas 139 ash/desktop_background/desktop_background_view.cc canvas->DrawImageInt(wallpaper, canvas 145 ash/desktop_background/desktop_background_view.cc canvas->TileImageInt(wallpaper, 0, 0, width(), height()); canvas 148 ash/desktop_background/desktop_background_view.cc canvas->DrawImageInt(wallpaper, 0, 0, wallpaper.width(), canvas 152 ash/desktop_background/desktop_background_view.cc canvas->FillRect(GetLocalBounds(), SK_ColorBLACK); canvas 154 ash/desktop_background/desktop_background_view.cc canvas->DrawImageInt( canvas 22 ash/desktop_background/desktop_background_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 50 ash/display/cursor_window_controller.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 51 ash/display/cursor_window_controller.cc canvas->DrawImageInt(cursor_image_, 0, 0); canvas 38 ash/display/shared_display_edge_indicator.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 39 ash/display/shared_display_edge_indicator.cc canvas->FillRect(gfx::Rect(bounds().size()), color_); canvas 113 ash/drag_drop/drag_drop_controller.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 105 ash/drag_drop/drag_image_view.cc void DragImageView::OnPaint(gfx::Canvas* canvas) { canvas 111 ash/drag_drop/drag_image_view.cc canvas->DrawImageInt(GetImage(), 0, 0); canvas 129 ash/drag_drop/drag_image_view.cc canvas->DrawImageInt(image_skia, 0, 0); canvas 167 ash/drag_drop/drag_image_view.cc canvas->DrawImageInt(*(drag_hint->ToImageSkia()), canvas 62 ash/drag_drop/drag_image_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 106 ash/frame/caption_buttons/frame_caption_button.cc void FrameCaptionButton::OnPaint(gfx::Canvas* canvas) { canvas 112 ash/frame/caption_buttons/frame_caption_button.cc canvas->DrawImageInt(hovered_background_image_, 0, 0, paint); canvas 114 ash/frame/caption_buttons/frame_caption_button.cc canvas->DrawImageInt(pressed_background_image_, 0, 0); canvas 124 ash/frame/caption_buttons/frame_caption_button.cc gfx::Canvas icon_canvas(icon_image.size(), canvas->image_scale(), false); canvas 133 ash/frame/caption_buttons/frame_caption_button.cc PaintCentered(canvas, gfx::ImageSkia(icon_canvas.ExtractImageRep()), 255); canvas 135 ash/frame/caption_buttons/frame_caption_button.cc PaintCentered(canvas, icon_image, icon_alpha); canvas 166 ash/frame/caption_buttons/frame_caption_button.cc void FrameCaptionButton::PaintCentered(gfx::Canvas* canvas, canvas 171 ash/frame/caption_buttons/frame_caption_button.cc canvas->DrawImageInt(to_center, canvas 52 ash/frame/caption_buttons/frame_caption_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 71 ash/frame/caption_buttons/frame_caption_button.h void PaintCentered(gfx::Canvas* canvas, canvas 149 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc virtual void Paint(const views::View& view, gfx::Canvas* canvas) OVERRIDE; canvas 210 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc void MaximizeBubbleBorder::Paint(const views::View& view, gfx::Canvas* canvas) { canvas 216 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc canvas->FillRect(gfx::Rect(inset.left(), canvas 222 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc canvas->FillRect(gfx::Rect(inset.left(), canvas 228 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc canvas->FillRect(gfx::Rect(inset.left() - kLineWidth, canvas 234 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc canvas->FillRect(gfx::Rect(inset.left() + content_view_->width(), canvas 256 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc canvas->DrawPath(path, paint); canvas 160 ash/frame/custom_frame_view_ash.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 305 ash/frame/custom_frame_view_ash.cc void CustomFrameViewAsh::HeaderView::OnPaint(gfx::Canvas* canvas) { canvas 312 ash/frame/custom_frame_view_ash.cc header_painter_->PaintHeader(canvas, header_mode); canvas 42 ash/frame/default_header_painter.cc void TileRoundRect(gfx::Canvas* canvas, canvas 56 ash/frame/default_header_painter.cc canvas->DrawImageInPath(image, 0, 0, path, paint); canvas 146 ash/frame/default_header_painter.cc void DefaultHeaderPainter::PaintHeader(gfx::Canvas* canvas, Mode mode) { canvas 179 ash/frame/default_header_painter.cc TileRoundRect(canvas, inactive_frame, paint, GetLocalBounds(), canvas 186 ash/frame/default_header_painter.cc TileRoundRect(canvas, active_frame, paint, GetLocalBounds(), canvas 193 ash/frame/default_header_painter.cc PaintHighlightForInactiveRestoredWindow(canvas); canvas 197 ash/frame/default_header_painter.cc PaintTitleBar(canvas); canvas 199 ash/frame/default_header_painter.cc PaintHeaderContentSeparator(canvas); canvas 257 ash/frame/default_header_painter.cc gfx::Canvas* canvas) { canvas 270 ash/frame/default_header_painter.cc canvas->DrawImageInt(left_edge, 0, 0); canvas 271 ash/frame/default_header_painter.cc canvas->DrawImageInt(right_edge, view_->width() - right_edge_width, 0); canvas 272 ash/frame/default_header_painter.cc canvas->TileImageInt( canvas 282 ash/frame/default_header_painter.cc canvas->TileImageInt( canvas 290 ash/frame/default_header_painter.cc void DefaultHeaderPainter::PaintTitleBar(gfx::Canvas* canvas) { canvas 294 ash/frame/default_header_painter.cc canvas->DrawStringRectWithFlags(frame_->widget_delegate()->GetWindowTitle(), canvas 301 ash/frame/default_header_painter.cc void DefaultHeaderPainter::PaintHeaderContentSeparator(gfx::Canvas* canvas) { canvas 311 ash/frame/default_header_painter.cc float thickness = 1 / canvas->image_scale(); canvas 313 ash/frame/default_header_painter.cc canvas->sk_canvas()->drawLine(0, y, SkIntToScalar(view_->width()), y, paint); canvas 44 ash/frame/default_header_painter.h virtual void PaintHeader(gfx::Canvas* canvas, Mode mode) OVERRIDE; canvas 61 ash/frame/default_header_painter.h void PaintHighlightForInactiveRestoredWindow(gfx::Canvas* canvas); canvas 64 ash/frame/default_header_painter.h void PaintTitleBar(gfx::Canvas* canvas); canvas 67 ash/frame/default_header_painter.h void PaintHeaderContentSeparator(gfx::Canvas* canvas); canvas 31 ash/frame/header_painter.h virtual void PaintHeader(gfx::Canvas* canvas, Mode mode) = 0; canvas 239 ash/root_window_controller.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 108 ash/shelf/alternate_app_list_button.cc void AlternateAppListButton::OnPaint(gfx::Canvas* canvas) { canvas 110 ash/shelf/alternate_app_list_button.cc View::OnPaint(canvas); canvas 155 ash/shelf/alternate_app_list_button.cc canvas->DrawImageInt(*background_image, canvas 158 ash/shelf/alternate_app_list_button.cc canvas->DrawImageInt(*forground_image, canvas 162 ash/shelf/alternate_app_list_button.cc views::Painter::PaintFocusPainter(this, canvas, focus_painter()); canvas 37 ash/shelf/alternate_app_list_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 54 ash/shelf/overflow_button.cc void OverflowButton::PaintBackground(gfx::Canvas* canvas, int alpha) { canvas 82 ash/shelf/overflow_button.cc canvas->DrawPath(path, paint); canvas 85 ash/shelf/overflow_button.cc void OverflowButton::OnPaint(gfx::Canvas* canvas) { canvas 120 ash/shelf/overflow_button.cc canvas->DrawImageInt(*background, bounds.x(), bounds.y()); canvas 135 ash/shelf/overflow_button.cc canvas, canvas 138 ash/shelf/overflow_button.cc PaintBackground(canvas, kButtonHoverAlpha); canvas 167 ash/shelf/overflow_button.cc canvas->DrawImageInt(*image, canvas 25 ash/shelf/overflow_button.h void PaintBackground(gfx::Canvas* canvas, int alpha); canvas 28 ash/shelf/overflow_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 142 ash/shelf/shelf_button.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 145 ash/shelf/shelf_button.cc canvas->SaveLayerAlpha(alpha); canvas 146 ash/shelf/shelf_button.cc views::ImageView::OnPaint(canvas); canvas 147 ash/shelf/shelf_button.cc canvas->Restore(); canvas 149 ash/shelf/shelf_button.cc views::ImageView::OnPaint(canvas); canvas 473 ash/shelf/shelf_button.cc void ShelfButton::OnPaint(gfx::Canvas* canvas) { canvas 474 ash/shelf/shelf_button.cc CustomButton::OnPaint(canvas); canvas 478 ash/shelf/shelf_button.cc canvas->DrawSolidFocusRect(paint_bounds, kFocusBorderColor); canvas 108 ash/shelf/shelf_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 84 ash/shelf/shelf_widget.cc virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE; canvas 176 ash/shelf/shelf_widget.cc void DimmerView::OnPaintBackground(gfx::Canvas* canvas) { canvas 192 ash/shelf/shelf_widget.cc canvas->DrawImageInt(shelf_background, canvas 336 ash/shelf/shelf_widget.cc virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE; canvas 456 ash/shelf/shelf_widget.cc void ShelfWidget::DelegateView::OnPaintBackground(gfx::Canvas* canvas) { canvas 471 ash/shelf/shelf_widget.cc canvas->DrawImageInt(shelf_background, canvas 498 ash/shelf/shelf_widget.cc canvas->DrawImageInt( canvas 513 ash/shelf/shelf_widget.cc canvas->DrawImageInt(shelf_background, canvas 531 ash/shelf/shelf_widget.cc canvas->FillRect(black_rect, SK_ColorBLACK); canvas 222 ash/shell/app_list.cc gfx::Canvas canvas(icon_size, 1.0f, false /* is_opaque */); canvas 223 ash/shell/app_list.cc canvas.DrawStringRectWithFlags( canvas 230 ash/shell/app_list.cc return gfx::ImageSkia(canvas.ExtractImageRep()); canvas 44 ash/shell/lock_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 45 ash/shell/lock_view.cc canvas->FillRect(GetLocalBounds(), SK_ColorYELLOW); canvas 48 ash/shell/lock_view.cc canvas->DrawStringRect(text, font_list_, SK_ColorRED, canvas 64 ash/shell/panel_window.cc void PanelWindow::OnPaint(gfx::Canvas* canvas) { canvas 65 ash/shell/panel_window.cc canvas->FillRect(GetLocalBounds(), SK_ColorGREEN); canvas 37 ash/shell/panel_window.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 61 ash/shell/toplevel_window.cc void ToplevelWindow::OnPaint(gfx::Canvas* canvas) { canvas 62 ash/shell/toplevel_window.cc canvas->FillRect(GetLocalBounds(), SK_ColorDKGRAY); canvas 33 ash/shell/toplevel_window.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 33 ash/shell/widgets.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 100 ash/shell/widgets.cc void WidgetsWindow::OnPaint(gfx::Canvas* canvas) { canvas 101 ash/shell/widgets.cc canvas->FillRect(GetLocalBounds(), SK_ColorWHITE); canvas 76 ash/shell/window_type_launcher.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 77 ash/shell/window_type_launcher.cc canvas->FillRect(GetLocalBounds(), color_); canvas 148 ash/shell/window_type_launcher.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 149 ash/shell/window_type_launcher.cc canvas->FillRect(GetLocalBounds(), color_); canvas 277 ash/shell/window_type_launcher.cc void WindowTypeLauncher::OnPaint(gfx::Canvas* canvas) { canvas 278 ash/shell/window_type_launcher.cc canvas->FillRect(GetLocalBounds(), SK_ColorWHITE); canvas 40 ash/shell/window_type_launcher.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 58 ash/sticky_keys/sticky_keys_overlay.cc virtual void PaintText(gfx::Canvas* canvas, canvas 107 ash/sticky_keys/sticky_keys_overlay.cc void StickyKeyOverlayLabel::PaintText(gfx::Canvas* canvas, canvas 111 ash/sticky_keys/sticky_keys_overlay.cc views::Label::PaintText(canvas, canvas 127 ash/sticky_keys/sticky_keys_overlay.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 172 ash/sticky_keys/sticky_keys_overlay.cc void StickyKeysOverlayView::OnPaint(gfx::Canvas* canvas) { canvas 176 ash/sticky_keys/sticky_keys_overlay.cc canvas->DrawRoundRect(GetLocalBounds(), 2, paint); canvas 177 ash/sticky_keys/sticky_keys_overlay.cc views::WidgetDelegateView::OnPaint(canvas); canvas 127 ash/system/audio/volume_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 128 ash/system/audio/volume_view.cc canvas->FillRect(gfx::Rect(width() / 2, 0, 1, height()), canvas 233 ash/system/chromeos/network/network_icon.cc gfx::Canvas canvas(icon_rep, false); canvas 235 ash/system/chromeos/network/network_icon.cc canvas.DrawImageInt(*badges_.top_left, 0, 0); canvas 237 ash/system/chromeos/network/network_icon.cc canvas.DrawImageInt(*badges_.top_right, canvas 240 ash/system/chromeos/network/network_icon.cc canvas.DrawImageInt(*badges_.bottom_left, canvas 244 ash/system/chromeos/network/network_icon.cc canvas.DrawImageInt(*badges_.bottom_right, canvas 248 ash/system/chromeos/network/network_icon.cc return canvas.ExtractImageRep(); canvas 24 ash/system/tray/actionable_view.cc void ActionableView::OnPaintFocus(gfx::Canvas* canvas) { canvas 27 ash/system/tray/actionable_view.cc canvas->DrawSolidFocusRect(rect, kFocusBorderColor); canvas 70 ash/system/tray/actionable_view.cc void ActionableView::OnPaint(gfx::Canvas* canvas) { canvas 71 ash/system/tray/actionable_view.cc View::OnPaint(canvas); canvas 73 ash/system/tray/actionable_view.cc OnPaintFocus(canvas); canvas 33 ash/system/tray/actionable_view.h void OnPaintFocus(gfx::Canvas* canvas); canvas 50 ash/system/tray/actionable_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 179 ash/system/tray/hover_highlight_view.cc void HoverHighlightView::OnPaintBackground(gfx::Canvas* canvas) { canvas 180 ash/system/tray/hover_highlight_view.cc canvas->DrawColor(hover_ ? highlight_color_ : default_color_); canvas 71 ash/system/tray/hover_highlight_view.h virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE; canvas 90 ash/system/tray/system_tray_bubble.cc virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE { canvas 96 ash/system/tray/system_tray_bubble.cc canvas->FillRect(gfx::Rect(size()), (hover_ && change_background_) ? canvas 156 ash/system/tray/tray_background_view.cc void PaintForAlternateShelf(gfx::Canvas* canvas, views::View* view) const { canvas 197 ash/system/tray/tray_background_view.cc canvas->DrawImageInt(*leading, canvas 201 ash/system/tray/tray_background_view.cc canvas->DrawImageInt(*trailing, canvas 205 ash/system/tray/tray_background_view.cc canvas->TileImageInt(*middle, canvas 213 ash/system/tray/tray_background_view.cc virtual void Paint(gfx::Canvas* canvas, views::View* view) const OVERRIDE { canvas 215 ash/system/tray/tray_background_view.cc PaintForAlternateShelf(canvas, view); canvas 225 ash/system/tray/tray_background_view.cc canvas->DrawPath(path, paint); canvas 43 ash/system/tray/tray_bar_button_with_title.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 44 ash/system/tray/tray_bar_button_with_title.cc painter_->Paint(canvas, size()); canvas 27 ash/system/tray/tray_details_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 28 ash/system/tray/tray_details_view.cc canvas->FillRect(gfx::Rect(0, height() / 2, width(), 1), kBorderLightColor); canvas 46 ash/system/tray/tray_details_view.cc virtual void Paint(const views::View& view, gfx::Canvas* canvas) OVERRIDE { canvas 49 ash/system/tray/tray_details_view.cc canvas->FillRect(gfx::Rect(0, view.height() - 1, view.width(), 1), canvas 151 ash/system/tray/tray_details_view.cc void TrayDetailsView::OnPaintBorder(gfx::Canvas* canvas) { canvas 160 ash/system/tray/tray_details_view.cc views::View::OnPaintBorder(canvas); canvas 54 ash/system/tray/tray_details_view.h virtual void OnPaintBorder(gfx::Canvas* canvas) OVERRIDE; canvas 20 ash/system/tray/tray_empty.cc virtual void Paint(gfx::Canvas* canvas, views::View* view) const OVERRIDE { canvas 56 ash/system/tray/tray_popup_header_button.cc void TrayPopupHeaderButton::OnPaintBorder(gfx::Canvas* canvas) { canvas 60 ash/system/tray/tray_popup_header_button.cc canvas->FillRect(gfx::Rect(0, padding, 1, height() - padding * 2), canvas 33 ash/system/tray/tray_popup_header_button.h virtual void OnPaintBorder(gfx::Canvas* canvas) OVERRIDE; canvas 66 ash/system/tray/tray_popup_label_button_border.cc gfx::Canvas* canvas) { canvas 89 ash/system/tray/tray_popup_label_button_border.cc canvas->Save(); canvas 90 ash/system/tray/tray_popup_label_button_border.cc canvas->Translate(gfx::Vector2d(view.width(), 0)); canvas 91 ash/system/tray/tray_popup_label_button_border.cc canvas->Scale(-1, 1); canvas 92 ash/system/tray/tray_popup_label_button_border.cc LabelButtonBorder::Paint(view, canvas); canvas 93 ash/system/tray/tray_popup_label_button_border.cc canvas->Restore(); canvas 95 ash/system/tray/tray_popup_label_button_border.cc LabelButtonBorder::Paint(view, canvas); canvas 22 ash/system/tray/tray_popup_label_button_border.h virtual void Paint(const views::View& view, gfx::Canvas* canvas) OVERRIDE; canvas 161 ash/system/user/tray_user.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 188 ash/system/user/tray_user.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 402 ash/system/user/tray_user.cc void RoundedImageView::OnPaint(gfx::Canvas* canvas) { canvas 403 ash/system/user/tray_user.cc View::OnPaint(canvas); canvas 423 ash/system/user/tray_user.cc canvas->DrawImageInPath(resized_, image_bounds.x(), image_bounds.y(), canvas 536 ash/system/user/tray_user.cc void PublicAccountUserDetails::OnPaint(gfx::Canvas* canvas) { canvas 539 ash/system/user/tray_user.cc (*it)->Draw(canvas); canvas 541 ash/system/user/tray_user.cc views::View::OnPaint(canvas); canvas 311 ash/touch/touch_hud_debug.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 316 ash/touch/touch_hud_debug.cc canvas->DrawPath(paths_[i], paint_); canvas 81 ash/touch/touch_hud_projection.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 97 ash/touch/touch_hud_projection.cc canvas->DrawCircle(circle_center_, SkIntToScalar(kPointRadius), canvas 99 ash/touch/touch_hud_projection.cc canvas->DrawCircle(circle_center_, SkIntToScalar(kPointRadius), canvas 29 ash/wm/boot_splash_screen_chromeos.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE { canvas 38 ash/wm/boot_splash_screen_chromeos.cc host_->GetBounds(), gfx::Point(), canvas); canvas 96 ash/wm/dock/docked_window_layout_manager.cc virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) OVERRIDE { canvas 103 ash/wm/dock/docked_window_layout_manager.cc canvas->DrawImageInt(shelf_background, canvas 116 ash/wm/dock/docked_window_layout_manager.cc canvas->DrawImageInt( canvas 77 ash/wm/gestures/long_press_affordance_handler.cc void PaintAffordanceArc(gfx::Canvas* canvas, canvas 94 ash/wm/gestures/long_press_affordance_handler.cc canvas->DrawPath(arc_path, paint); canvas 97 ash/wm/gestures/long_press_affordance_handler.cc void PaintAffordanceGlow(gfx::Canvas* canvas, canvas 130 ash/wm/gestures/long_press_affordance_handler.cc canvas->DrawPath(arc_path, paint); canvas 195 ash/wm/gestures/long_press_affordance_handler.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 198 ash/wm/gestures/long_press_affordance_handler.cc canvas->Save(); canvas 203 ash/wm/gestures/long_press_affordance_handler.cc canvas->Translate(center.OffsetFromOrigin()); canvas 204 ash/wm/gestures/long_press_affordance_handler.cc canvas->Transform(scale); canvas 205 ash/wm/gestures/long_press_affordance_handler.cc canvas->Translate(-center.OffsetFromOrigin()); canvas 214 ash/wm/gestures/long_press_affordance_handler.cc PaintAffordanceGlow(canvas, center, start_radius, end_radius, colors, pos, canvas 218 ash/wm/gestures/long_press_affordance_handler.cc PaintAffordanceArc(canvas, center, kAffordanceInnerRadius, canvas 221 ash/wm/gestures/long_press_affordance_handler.cc PaintAffordanceArc(canvas, center, kAffordanceOuterRadius, canvas 224 ash/wm/gestures/long_press_affordance_handler.cc canvas->Restore(); canvas 108 ash/wm/panels/panel_frame_view.cc void PanelFrameView::OnPaint(gfx::Canvas* canvas) { canvas 116 ash/wm/panels/panel_frame_view.cc header_painter_->PaintHeader(canvas, header_mode); canvas 57 ash/wm/panels/panel_frame_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 64 ash/wm/panels/panel_layout_manager.cc virtual void Paint(gfx::Canvas* canvas, views::View* view) const OVERRIDE { canvas 94 ash/wm/panels/panel_layout_manager.cc canvas->DrawPath(path, paint); canvas 179 ash/wm/partial_screenshot_view.cc void PartialScreenshotView::OnPaint(gfx::Canvas* canvas) { canvas 186 ash/wm/partial_screenshot_view.cc canvas->DrawRect(screenshot_rect, SK_ColorWHITE); canvas 188 ash/wm/partial_screenshot_view.cc canvas->DrawRect(screenshot_rect, SK_ColorBLACK); canvas 52 ash/wm/partial_screenshot_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 77 ash/wm/workspace/multi_window_resize_controller.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 78 ash/wm/workspace/multi_window_resize_controller.cc canvas->DrawImageInt(*image_, 0, 0); canvas 92 ash/wm/workspace/phantom_window_controller.cc virtual void Paint(gfx::Canvas* canvas, const gfx::Size& size) OVERRIDE; canvas 108 ash/wm/workspace/phantom_window_controller.cc void EdgePainter::Paint(gfx::Canvas* canvas, const gfx::Size& size) { canvas 126 ash/wm/workspace/phantom_window_controller.cc canvas->sk_canvas()->drawRoundRect( canvas 135 ash/wm/workspace/phantom_window_controller.cc canvas->sk_canvas()->drawRoundRect( canvas 53 cc/debug/rasterize_and_record_benchmark_impl.cc SkCanvas canvas(bitmap); canvas 60 cc/debug/rasterize_and_record_benchmark_impl.cc &canvas, content_rect_, contents_scale_, NULL); canvas 34 cc/input/scrollbar.h virtual void PaintPart(SkCanvas* canvas, canvas 26 cc/layers/content_layer.cc void ContentLayerPainter::Paint(SkCanvas* canvas, canvas 30 cc/layers/content_layer.cc client_->PaintContents(canvas, content_rect, opaque); canvas 164 cc/layers/content_layer.cc SkCanvas* canvas = picture->beginRecording(width, height); canvas 165 cc/layers/content_layer.cc client_->PaintContents(canvas, gfx::Rect(width, height), &opaque); canvas 24 cc/layers/content_layer.h virtual void Paint(SkCanvas* canvas, canvas 21 cc/layers/content_layer_client.h virtual void PaintContents(SkCanvas* canvas, canvas 23 cc/layers/content_layer_unittest.cc virtual void PaintContents(SkCanvas* canvas, canvas 229 cc/layers/heads_up_display_layer_impl.cc void HeadsUpDisplayLayerImpl::DrawHudContents(SkCanvas* canvas) { canvas 233 cc/layers/heads_up_display_layer_impl.cc DrawDebugRects(canvas, layer_tree_impl()->debug_rect_history()); canvas 242 cc/layers/heads_up_display_layer_impl.cc canvas, layer_tree_impl()->paint_time_counter(), 0, 0); canvas 247 cc/layers/heads_up_display_layer_impl.cc DrawFPSDisplay(canvas, layer_tree_impl()->frame_rate_counter(), 0, 0); canvas 251 cc/layers/heads_up_display_layer_impl.cc DrawMemoryDisplay(canvas, 0, area.bottom(), SkMaxScalar(area.width(), 150)); canvas 254 cc/layers/heads_up_display_layer_impl.cc void HeadsUpDisplayLayerImpl::DrawText(SkCanvas* canvas, canvas 267 cc/layers/heads_up_display_layer_impl.cc canvas->drawText(text.c_str(), text.length(), x, y, *paint); canvas 272 cc/layers/heads_up_display_layer_impl.cc void HeadsUpDisplayLayerImpl::DrawText(SkCanvas* canvas, canvas 278 cc/layers/heads_up_display_layer_impl.cc DrawText(canvas, paint, text, align, size, pos.x(), pos.y()); canvas 281 cc/layers/heads_up_display_layer_impl.cc void HeadsUpDisplayLayerImpl::DrawGraphBackground(SkCanvas* canvas, canvas 285 cc/layers/heads_up_display_layer_impl.cc canvas->drawRect(bounds, *paint); canvas 288 cc/layers/heads_up_display_layer_impl.cc void HeadsUpDisplayLayerImpl::DrawGraphLines(SkCanvas* canvas, canvas 294 cc/layers/heads_up_display_layer_impl.cc canvas->drawLine(bounds.left(), canvas 299 cc/layers/heads_up_display_layer_impl.cc canvas->drawLine( canvas 309 cc/layers/heads_up_display_layer_impl.cc canvas->drawLine(bounds.left(), canvas 318 cc/layers/heads_up_display_layer_impl.cc SkCanvas* canvas, canvas 338 cc/layers/heads_up_display_layer_impl.cc DrawGraphBackground(canvas, &paint, area); canvas 360 cc/layers/heads_up_display_layer_impl.cc DrawText(canvas, canvas 367 cc/layers/heads_up_display_layer_impl.cc DrawText(canvas, canvas 375 cc/layers/heads_up_display_layer_impl.cc DrawGraphLines(canvas, &paint, graph_bounds, fps_graph_); canvas 419 cc/layers/heads_up_display_layer_impl.cc canvas->drawLine(histogram_bounds.left() - 1, canvas 424 cc/layers/heads_up_display_layer_impl.cc canvas->drawLine(histogram_bounds.right() + 1, canvas 437 cc/layers/heads_up_display_layer_impl.cc canvas->drawRect( canvas 450 cc/layers/heads_up_display_layer_impl.cc canvas->drawPath(path, paint); canvas 455 cc/layers/heads_up_display_layer_impl.cc SkRect HeadsUpDisplayLayerImpl::DrawMemoryDisplay(SkCanvas* canvas, canvas 472 cc/layers/heads_up_display_layer_impl.cc DrawGraphBackground(canvas, &paint, area); canvas 481 cc/layers/heads_up_display_layer_impl.cc DrawText(canvas, canvas 492 cc/layers/heads_up_display_layer_impl.cc DrawText(canvas, &paint, text, SkPaint::kRight_Align, kFontHeight, stat1_pos); canvas 502 cc/layers/heads_up_display_layer_impl.cc DrawText(canvas, &paint, text, SkPaint::kRight_Align, kFontHeight, stat2_pos); canvas 508 cc/layers/heads_up_display_layer_impl.cc SkCanvas* canvas, canvas 526 cc/layers/heads_up_display_layer_impl.cc DrawGraphBackground(canvas, &paint, area); canvas 545 cc/layers/heads_up_display_layer_impl.cc DrawText(canvas, canvas 552 cc/layers/heads_up_display_layer_impl.cc DrawText(canvas, canvas 559 cc/layers/heads_up_display_layer_impl.cc DrawText(canvas, canvas 581 cc/layers/heads_up_display_layer_impl.cc canvas->drawRect( canvas 589 cc/layers/heads_up_display_layer_impl.cc DrawGraphLines(canvas, &paint, graph_bounds, paint_time_graph_); canvas 595 cc/layers/heads_up_display_layer_impl.cc SkCanvas* canvas, canvas 607 cc/layers/heads_up_display_layer_impl.cc canvas->drawRect(sk_rect, paint); canvas 612 cc/layers/heads_up_display_layer_impl.cc canvas->drawRect(sk_rect, paint); canvas 618 cc/layers/heads_up_display_layer_impl.cc canvas->save(); canvas 619 cc/layers/heads_up_display_layer_impl.cc canvas->clipRect(sk_rect); canvas 620 cc/layers/heads_up_display_layer_impl.cc canvas->translate(sk_rect.x(), sk_rect.y()); canvas 629 cc/layers/heads_up_display_layer_impl.cc canvas->drawRect(SkRect::MakeWH(label_text_width + 2 * kPadding, canvas 635 cc/layers/heads_up_display_layer_impl.cc canvas->drawText(label_text.c_str(), canvas 641 cc/layers/heads_up_display_layer_impl.cc canvas->restore(); canvas 646 cc/layers/heads_up_display_layer_impl.cc SkCanvas* canvas, canvas 725 cc/layers/heads_up_display_layer_impl.cc DrawDebugRect(canvas, canvas 741 cc/layers/heads_up_display_layer_impl.cc DrawDebugRect(canvas, canvas 77 cc/layers/heads_up_display_layer_impl.h void DrawHudContents(SkCanvas* canvas); canvas 79 cc/layers/heads_up_display_layer_impl.h void DrawText(SkCanvas* canvas, canvas 86 cc/layers/heads_up_display_layer_impl.h void DrawText(SkCanvas* canvas, canvas 92 cc/layers/heads_up_display_layer_impl.h void DrawGraphBackground(SkCanvas* canvas, canvas 95 cc/layers/heads_up_display_layer_impl.h void DrawGraphLines(SkCanvas* canvas, canvas 100 cc/layers/heads_up_display_layer_impl.h SkRect DrawFPSDisplay(SkCanvas* canvas, canvas 104 cc/layers/heads_up_display_layer_impl.h SkRect DrawMemoryDisplay(SkCanvas* canvas, canvas 108 cc/layers/heads_up_display_layer_impl.h SkRect DrawPaintTimeDisplay(SkCanvas* canvas, canvas 112 cc/layers/heads_up_display_layer_impl.h void DrawDebugRect(SkCanvas* canvas, canvas 119 cc/layers/heads_up_display_layer_impl.h void DrawDebugRects(SkCanvas* canvas, DebugRectHistory* debug_rect_history); canvas 26 cc/layers/layer_perftest.cc virtual void Paint(SkCanvas* canvas, canvas 54 cc/layers/layer_unittest.cc virtual void Paint(SkCanvas* canvas, canvas 43 cc/layers/picture_image_layer.cc void PictureImageLayer::PaintContents(SkCanvas* canvas, canvas 46 cc/layers/picture_image_layer.cc if (!canvas || !bitmap_.width() || !bitmap_.height()) canvas 53 cc/layers/picture_image_layer.cc canvas->scale(content_to_layer_scale_x, content_to_layer_scale_y); canvas 60 cc/layers/picture_image_layer.cc canvas->drawBitmap(bitmap_, 0, 0, &paint); canvas 29 cc/layers/picture_image_layer.h SkCanvas* canvas, canvas 164 cc/layers/picture_layer.cc SkCanvas* canvas = picture->beginRecording(width, height); canvas 165 cc/layers/picture_layer.cc client_->PaintContents(canvas, gfx::Rect(width, height), &opaque); canvas 23 cc/layers/picture_layer_unittest.cc virtual void PaintContents(SkCanvas* canvas, canvas 22 cc/layers/scrollbar_theme_painter.h virtual void PaintScrollbarBackground(SkCanvas* canvas, canvas 24 cc/layers/scrollbar_theme_painter.h virtual void PaintTrackBackground(SkCanvas* canvas, canvas 26 cc/layers/scrollbar_theme_painter.h virtual void PaintBackTrackPart(SkCanvas* canvas, canvas 28 cc/layers/scrollbar_theme_painter.h virtual void PaintForwardTrackPart(SkCanvas* canvas, canvas 30 cc/layers/scrollbar_theme_painter.h virtual void PaintBackButtonStart(SkCanvas* canvas, canvas 32 cc/layers/scrollbar_theme_painter.h virtual void PaintBackButtonEnd(SkCanvas* canvas, canvas 34 cc/layers/scrollbar_theme_painter.h virtual void PaintForwardButtonStart(SkCanvas* canvas, canvas 36 cc/layers/scrollbar_theme_painter.h virtual void PaintForwardButtonEnd(SkCanvas* canvas, canvas 38 cc/layers/scrollbar_theme_painter.h virtual void PaintTickmarks(SkCanvas* canvas, const gfx::Rect& rect) = 0; canvas 39 cc/layers/scrollbar_theme_painter.h virtual void PaintThumb(SkCanvas* canvas, const gfx::Rect& rect) = 0; canvas 1714 cc/layers/tiled_layer_unittest.cc virtual void Paint(SkCanvas* canvas, canvas 45 cc/output/direct_renderer.cc gfx::Transform canvas; canvas 48 cc/output/direct_renderer.cc canvas.Translate3d(x, y, 0); canvas 49 cc/output/direct_renderer.cc canvas.Scale3d(width, height, 0); canvas 52 cc/output/direct_renderer.cc canvas.Translate3d(0.5, 0.5, 0.5); canvas 53 cc/output/direct_renderer.cc canvas.Scale3d(0.5, 0.5, 0.5); canvas 55 cc/output/direct_renderer.cc return canvas; canvas 99 cc/output/gl_renderer.cc SkCanvas canvas(*bitmap_); canvas 105 cc/output/gl_renderer.cc picture_pile->RasterToBitmap(&canvas, content_rect_, contents_scale_, NULL); canvas 550 cc/output/gl_renderer.cc SkCanvas canvas(&device); canvas 555 cc/output/gl_renderer.cc canvas.clear(SK_ColorTRANSPARENT); canvas 560 cc/output/gl_renderer.cc canvas.translate(SkIntToScalar(-origin.x()), SkIntToScalar(-origin.y())); canvas 561 cc/output/gl_renderer.cc canvas.drawSprite(source, 0, 0, &paint); canvas 676 cc/output/gl_renderer.cc SkCanvas canvas(&device); canvas 679 cc/output/gl_renderer.cc canvas.clear(SK_ColorTRANSPARENT); canvas 680 cc/output/gl_renderer.cc canvas.drawSprite(background, 0, 0); canvas 683 cc/output/gl_renderer.cc canvas.drawSprite(source, 0, 0, &paint); canvas 1126 cc/output/renderer_pixeltest.cc SkCanvas canvas(bitmap); canvas 1131 cc/output/renderer_pixeltest.cc canvas.clear(SK_ColorTRANSPARENT); canvas 1135 cc/output/renderer_pixeltest.cc canvas.drawRect( canvas 1873 cc/output/renderer_pixeltest.cc SkCanvas canvas(bitmap); canvas 1874 cc/output/renderer_pixeltest.cc canvas.drawPoint(0, 0, SK_ColorGREEN); canvas 1875 cc/output/renderer_pixeltest.cc canvas.drawPoint(0, 1, SK_ColorBLUE); canvas 1876 cc/output/renderer_pixeltest.cc canvas.drawPoint(1, 0, SK_ColorBLUE); canvas 1877 cc/output/renderer_pixeltest.cc canvas.drawPoint(1, 1, SK_ColorGREEN); canvas 43 cc/output/software_renderer.cc SkCanvas* canvas, canvas 47 cc/output/software_renderer.cc canvas_(canvas), canvas 538 cc/output/software_renderer.cc SkCanvas canvas(filter_bitmap); canvas 541 cc/output/software_renderer.cc canvas.clear(SK_ColorTRANSPARENT); canvas 542 cc/output/software_renderer.cc canvas.translate(SkIntToScalar(-quad->rect.origin().x()), canvas 544 cc/output/software_renderer.cc canvas.drawSprite(*content, 0, 0, &paint); canvas 30 cc/resources/bitmap_skpicture_content_layer_updater.cc SkCanvas canvas(bitmap_); canvas 31 cc/resources/bitmap_skpicture_content_layer_updater.cc updater_->PaintContentsRect(&canvas, source_rect); canvas 70 cc/resources/bitmap_skpicture_content_layer_updater.cc SkCanvas* canvas, canvas 72 cc/resources/bitmap_skpicture_content_layer_updater.cc if (!canvas) canvas 75 cc/resources/bitmap_skpicture_content_layer_updater.cc canvas->translate(content_rect().x() - source_rect.x(), canvas 79 cc/resources/bitmap_skpicture_content_layer_updater.cc DrawPicture(canvas); canvas 42 cc/resources/bitmap_skpicture_content_layer_updater.h void PaintContentsRect(SkCanvas* canvas, canvas 37 cc/resources/content_layer_updater.cc void ContentLayerUpdater::PaintContents(SkCanvas* canvas, canvas 43 cc/resources/content_layer_updater.cc if (!canvas) canvas 45 cc/resources/content_layer_updater.cc canvas->save(); canvas 46 cc/resources/content_layer_updater.cc canvas->translate(SkFloatToScalar(-content_rect.x()), canvas 50 cc/resources/content_layer_updater.cc SkISize size = canvas->getBaseLayerSize(); canvas 56 cc/resources/content_layer_updater.cc canvas->scale(SkFloatToScalar(contents_width_scale), canvas 66 cc/resources/content_layer_updater.cc canvas->clipRect(layer_sk_rect); canvas 72 cc/resources/content_layer_updater.cc canvas->drawColor(SK_ColorTRANSPARENT, SkXfermode::kSrc_Mode); canvas 76 cc/resources/content_layer_updater.cc painter_->Paint(canvas, layer_rect, &opaque_layer_rect); canvas 77 cc/resources/content_layer_updater.cc canvas->restore(); canvas 34 cc/resources/content_layer_updater.h void PaintContents(SkCanvas* canvas, canvas 22 cc/resources/layer_painter.h virtual void Paint(SkCanvas* canvas, canvas 242 cc/resources/picture.cc skia::RefPtr<SkCanvas> canvas; canvas 245 cc/resources/picture.cc canvas = skia::SharePtr(picture_->beginRecording( canvas 252 cc/resources/picture.cc canvas = skia::AdoptRef(SkCreateNullCanvas()); canvas 262 cc/resources/picture.cc if (canvas) { canvas 263 cc/resources/picture.cc canvas->save(); canvas 264 cc/resources/picture.cc canvas->translate(SkFloatToScalar(-layer_rect_.x()), canvas 271 cc/resources/picture.cc canvas->clipRect(layer_skrect); canvas 275 cc/resources/picture.cc painter->PaintContents(canvas.get(), layer_rect_, &opaque_layer_rect); canvas 277 cc/resources/picture.cc if (canvas) canvas 278 cc/resources/picture.cc canvas->restore(); canvas 344 cc/resources/picture.cc SkCanvas* canvas, canvas 357 cc/resources/picture.cc canvas->save(); canvas 360 cc/resources/picture.cc canvas->clipRect(gfx::RectToSkRect(it.rect()), SkRegion::kDifference_Op); canvas 362 cc/resources/picture.cc canvas->scale(contents_scale, contents_scale); canvas 363 cc/resources/picture.cc canvas->translate(layer_rect_.x(), layer_rect_.y()); canvas 364 cc/resources/picture.cc picture_->draw(canvas, callback); canvas 366 cc/resources/picture.cc canvas->getClipDeviceBounds(&bounds); canvas 367 cc/resources/picture.cc canvas->restore(); canvas 374 cc/resources/picture.cc void Picture::Replay(SkCanvas* canvas) { canvas 379 cc/resources/picture.cc picture_->draw(canvas); canvas 381 cc/resources/picture.cc canvas->getClipDeviceBounds(&bounds); canvas 75 cc/resources/picture.h int Raster(SkCanvas* canvas, canvas 82 cc/resources/picture.h void Replay(SkCanvas* canvas); canvas 74 cc/resources/picture_pile_impl.cc SkCanvas* canvas, canvas 78 cc/resources/picture_pile_impl.cc RasterCommon(canvas, canvas 87 cc/resources/picture_pile_impl.cc skia::AnalysisCanvas* canvas, canvas 92 cc/resources/picture_pile_impl.cc canvas, canvas, canvas_rect, contents_scale, stats_instrumentation, true); canvas 96 cc/resources/picture_pile_impl.cc SkCanvas* canvas, canvas 102 cc/resources/picture_pile_impl.cc canvas->clear(DebugColors::NonPaintedFillColor()); canvas 125 cc/resources/picture_pile_impl.cc canvas->save(); canvas 126 cc/resources/picture_pile_impl.cc canvas->translate(-canvas_rect.x(), -canvas_rect.y()); canvas 129 cc/resources/picture_pile_impl.cc canvas->clipRect(gfx::RectToSkRect(inflated_content_rect), canvas 131 cc/resources/picture_pile_impl.cc canvas->clipRect(gfx::RectToSkRect(deflated_content_rect), canvas 133 cc/resources/picture_pile_impl.cc canvas->drawColor(background_color_, SkXfermode::kSrc_Mode); canvas 134 cc/resources/picture_pile_impl.cc canvas->restore(); canvas 140 cc/resources/picture_pile_impl.cc canvas->clear(SK_ColorTRANSPARENT); canvas 143 cc/resources/picture_pile_impl.cc RasterCommon(canvas, canvas 247 cc/resources/picture_pile_impl.cc SkCanvas* canvas, canvas 255 cc/resources/picture_pile_impl.cc canvas->translate(-canvas_rect.x(), -canvas_rect.y()); canvas 262 cc/resources/picture_pile_impl.cc canvas->clipRect(gfx::RectToSkRect(content_rect), canvas 299 cc/resources/picture_pile_impl.cc canvas, callback, negated_clip_region, contents_scale); canvas 325 cc/resources/picture_pile_impl.cc canvas->clipRect(gfx::RectToSkRect(it.rect()), SkRegion::kDifference_Op); canvas 328 cc/resources/picture_pile_impl.cc canvas->drawPaint(paint); canvas 340 cc/resources/picture_pile_impl.cc SkCanvas* canvas = picture->beginRecording( canvas 345 cc/resources/picture_pile_impl.cc RasterToBitmap(canvas, layer_rect, 1.0, NULL); canvas 371 cc/resources/picture_pile_impl.cc skia::AnalysisCanvas canvas(layer_rect.width(), layer_rect.height()); canvas 373 cc/resources/picture_pile_impl.cc RasterForAnalysis(&canvas, layer_rect, 1.0f, stats_instrumentation); canvas 375 cc/resources/picture_pile_impl.cc analysis->is_solid_color = canvas.GetColorIfSolid(&analysis->solid_color); canvas 376 cc/resources/picture_pile_impl.cc analysis->has_text = canvas.HasText(); canvas 41 cc/resources/picture_pile_impl.h SkCanvas* canvas, canvas 50 cc/resources/picture_pile_impl.h SkCanvas* canvas, canvas 58 cc/resources/picture_pile_impl.h skia::AnalysisCanvas* canvas, canvas 138 cc/resources/picture_pile_impl.h SkCanvas* canvas, canvas 56 cc/resources/picture_pile_impl_perftest.cc SkCanvas canvas(bitmap); canvas 61 cc/resources/picture_pile_impl_perftest.cc pile->RasterToBitmap(&canvas, canvas 685 cc/resources/picture_pile_impl_unittest.cc SkCanvas canvas(bitmap); canvas 686 cc/resources/picture_pile_impl_unittest.cc canvas.clear(SK_ColorTRANSPARENT); canvas 690 cc/resources/picture_pile_impl_unittest.cc pile->RasterToBitmap(&canvas, canvas 738 cc/resources/picture_pile_impl_unittest.cc SkCanvas canvas(bitmap); canvas 742 cc/resources/picture_pile_impl_unittest.cc &canvas, canvas_rect, contents_scale, &rendering_stats_instrumentation); canvas 787 cc/resources/picture_pile_impl_unittest.cc SkCanvas canvas(bitmap); canvas 790 cc/resources/picture_pile_impl_unittest.cc pile->RasterToBitmap(&canvas, canvas 2839 cc/resources/resource_provider_unittest.cc SkCanvas* canvas = resource_provider->MapPixelRasterBuffer(id); canvas 2840 cc/resources/resource_provider_unittest.cc canvas->writePixels(bitmap, 0, 0); canvas 3058 cc/resources/resource_provider_unittest.cc SkCanvas* canvas = resource_provider->MapImageRasterBuffer(id); canvas 3059 cc/resources/resource_provider_unittest.cc ASSERT_TRUE(!!canvas); canvas 3060 cc/resources/resource_provider_unittest.cc canvas->writePixels(bitmap, 0, 0); canvas 30 cc/resources/skpicture_content_layer_updater.cc SkCanvas* canvas = canvas 32 cc/resources/skpicture_content_layer_updater.cc SkISize size = canvas->getBaseLayerSize(); canvas 37 cc/resources/skpicture_content_layer_updater.cc PaintContents(canvas, canvas 49 cc/resources/skpicture_content_layer_updater.cc void SkPictureContentLayerUpdater::DrawPicture(SkCanvas* canvas) { canvas 51 cc/resources/skpicture_content_layer_updater.cc canvas->drawPicture(picture_); canvas 32 cc/resources/skpicture_content_layer_updater.h void DrawPicture(SkCanvas* canvas); canvas 18 cc/test/fake_content_layer_client.cc void FakeContentLayerClient::PaintContents(SkCanvas* canvas, canvas 20 cc/test/fake_content_layer_client.cc last_canvas_ = canvas; canvas 21 cc/test/fake_content_layer_client.cc if (!canvas) canvas 27 cc/test/fake_content_layer_client.cc canvas->clipRect(gfx::RectToSkRect(paint_rect)); canvas 32 cc/test/fake_content_layer_client.cc canvas->drawRectCoords(draw_rect.x(), canvas 41 cc/test/fake_content_layer_client.cc canvas->drawBitmap(it->bitmap, it->point.x(), it->point.y(), &it->paint); canvas 30 cc/test/fake_content_layer_client.h virtual void PaintContents(SkCanvas* canvas, canvas 58 cc/test/fake_scrollbar.cc void FakeScrollbar::PaintPart(SkCanvas* canvas, canvas 75 cc/test/fake_scrollbar.cc canvas->drawRect(rect, paint); canvas 29 cc/test/fake_scrollbar.h virtual void PaintPart(SkCanvas* canvas, canvas 22 cc/test/skia_common.cc SkCanvas canvas(bitmap); canvas 23 cc/test/skia_common.cc canvas.clipRect(gfx::RectToSkRect(layer_rect)); canvas 24 cc/test/skia_common.cc picture->Raster(&canvas, NULL, layer_rect, 1.0f); canvas 15 cc/test/solid_color_content_layer_client.cc SkCanvas* canvas, const gfx::Rect& rect, gfx::RectF* opaque_rect) { canvas 16 cc/test/solid_color_content_layer_client.cc if (!canvas) canvas 22 cc/test/solid_color_content_layer_client.cc canvas->clear(SK_ColorTRANSPARENT); canvas 23 cc/test/solid_color_content_layer_client.cc canvas->drawRect( canvas 20 cc/test/solid_color_content_layer_client.h virtual void PaintContents(SkCanvas* canvas, canvas 198 cc/trees/layer_tree_host_common_unittest.cc virtual void PaintContents(SkCanvas* canvas, canvas 29 cc/trees/layer_tree_host_pixeltest_masks.cc virtual void PaintContents(SkCanvas* canvas, canvas 37 cc/trees/layer_tree_host_pixeltest_masks.cc canvas->clear(SK_ColorTRANSPARENT); canvas 41 cc/trees/layer_tree_host_pixeltest_masks.cc canvas->drawRect( canvas 82 cc/trees/layer_tree_host_pixeltest_masks.cc SkCanvas canvas(bitmap); canvas 83 cc/trees/layer_tree_host_pixeltest_masks.cc canvas.scale(SkIntToScalar(4), SkIntToScalar(4)); canvas 85 cc/trees/layer_tree_host_pixeltest_masks.cc client.PaintContents(&canvas, canvas 68 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc virtual void PaintContents(SkCanvas* canvas, canvas 75 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc canvas->drawRect(SkRect::MakeWH(layer_rect_.width(), canvas 80 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc canvas->drawRect( canvas 2589 cc/trees/layer_tree_host_unittest.cc virtual void PaintContents(SkCanvas* canvas, canvas 2830 cc/trees/layer_tree_host_unittest.cc virtual void PaintContents(SkCanvas* canvas, canvas 113 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java Canvas canvas = new Canvas(bitmap); canvas 120 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java drawTouchIconToCanvas(context, favicon, canvas); canvas 122 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java drawWidgetBackgroundToCanvas(context, canvas, iconDensity, canvas 124 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java drawFaviconToCanvas(context, favicon, canvas); canvas 126 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java canvas.setBitmap(null); canvas 156 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java Context context, Bitmap touchIcon, Canvas canvas) { canvas 157 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java Rect iconBounds = new Rect(0, 0, canvas.getWidth(), canvas.getHeight()); canvas 161 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java canvas.drawBitmap(touchIcon, src, iconBounds, paint); canvas 171 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java canvas.drawPath(path, paint); canvas 180 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java private static void drawFaviconToCanvas(Context context, Bitmap favicon, Canvas canvas) { canvas 181 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java Rect iconBounds = new Rect(0, 0, canvas.getWidth(), canvas.getHeight()); canvas 184 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java canvas.drawBitmap(scaledFavicon, canvas 197 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java Context context, Canvas canvas, int iconDensity, int color) { canvas 198 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java Rect iconBounds = new Rect(0, 0, canvas.getWidth(), canvas.getHeight()); canvas 209 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java canvas.drawBitmap(bookmarkWidgetBg, null, iconBounds, paint); canvas 214 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java canvas.drawBitmap(bookmarkWidgetBgHighlights, null, iconBounds, paint); canvas 71 chrome/android/java/src/org/chromium/chrome/browser/banners/RatingView.java public void onDraw(Canvas canvas) { canvas 72 chrome/android/java/src/org/chromium/chrome/browser/banners/RatingView.java int starSize = canvas.getHeight(); canvas 77 chrome/android/java/src/org/chromium/chrome/browser/banners/RatingView.java mDrawingRect.left = mIsLayoutLTR ? 0 : (canvas.getWidth() - starSize); canvas 87 chrome/android/java/src/org/chromium/chrome/browser/banners/RatingView.java canvas.drawBitmap(toShow, null, mDrawingRect, null); canvas 183 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java protected boolean drawChild(Canvas canvas, View child, long drawingTime) { canvas 185 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java return super.drawChild(canvas, child, drawingTime); canvas 193 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java canvas.save(); canvas 194 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java canvas.clipRect(mAnimation.getTarget().getClippingRect()); canvas 195 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java retVal = super.drawChild(canvas, child, drawingTime); canvas 196 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java canvas.restore(); canvas 33 chrome/browser/chromeos/display/overscan_calibrator.cc gfx::Canvas* canvas) { canvas 56 chrome/browser/chromeos/display/overscan_calibrator.cc canvas->DrawPath(path, content_paint); canvas 57 chrome/browser/chromeos/display/overscan_calibrator.cc canvas->DrawPath(path, border_paint); canvas 118 chrome/browser/chromeos/display/overscan_calibrator.cc void OverscanCalibrator::OnPaintLayer(gfx::Canvas* canvas) { canvas 123 chrome/browser/chromeos/display/overscan_calibrator.cc canvas->FillRect(full_bounds, SK_ColorBLACK); canvas 124 chrome/browser/chromeos/display/overscan_calibrator.cc canvas->FillRect(inner_bounds, kTransparent, SkXfermode::kClear_Mode); canvas 130 chrome/browser/chromeos/display/overscan_calibrator.cc DrawTriangle(center.x(), center.y() + vertical_offset, 0, canvas); canvas 131 chrome/browser/chromeos/display/overscan_calibrator.cc DrawTriangle(center.x(), center.y() - vertical_offset, 180, canvas); canvas 132 chrome/browser/chromeos/display/overscan_calibrator.cc DrawTriangle(center.x() - horizontal_offset, center.y(), 90, canvas); canvas 133 chrome/browser/chromeos/display/overscan_calibrator.cc DrawTriangle(center.x() + horizontal_offset, center.y(), -90, canvas); canvas 44 chrome/browser/chromeos/display/overscan_calibrator.h virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE; canvas 100 chrome/browser/chromeos/ui/focus_ring_layer.cc void FocusRingLayer::OnPaintLayer(gfx::Canvas* canvas) { canvas 123 chrome/browser/chromeos/ui/focus_ring_layer.cc canvas->DrawRect(outsetRect, paint); canvas 41 chrome/browser/chromeos/ui/focus_ring_layer.h virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE; canvas 172 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 176 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc canvas->DrawRoundRect(GetLocalBounds(), kWindowCornerRadius, paint); canvas 177 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc views::WidgetDelegateView::OnPaint(canvas); canvas 103 chrome/browser/download/download_shelf.cc gfx::Canvas* canvas, canvas 111 chrome/browser/download/download_shelf.cc canvas->DrawImageInt(background_image, canvas 133 chrome/browser/download/download_shelf.cc canvas->Save(); canvas 148 chrome/browser/download/download_shelf.cc canvas->sk_canvas()->clipPath(path, SkRegion::kIntersect_Op, true); canvas 151 chrome/browser/download/download_shelf.cc canvas->DrawImageInt(foreground_image, canvas 154 chrome/browser/download/download_shelf.cc canvas->Restore(); canvas 158 chrome/browser/download/download_shelf.cc void DownloadShelf::PaintDownloadProgress(gfx::Canvas* canvas, canvas 200 chrome/browser/download/download_shelf.cc canvas->DrawImageInt(*background, canvas 204 chrome/browser/download/download_shelf.cc PaintCustomDownloadProgress(canvas, canvas 214 chrome/browser/download/download_shelf.cc void DownloadShelf::PaintDownloadComplete(gfx::Canvas* canvas, canvas 240 chrome/browser/download/download_shelf.cc canvas->DrawImageInt(*complete, complete_bounds.x(), complete_bounds.y(), canvas 245 chrome/browser/download/download_shelf.cc void DownloadShelf::PaintDownloadInterrupted(gfx::Canvas* canvas, canvas 271 chrome/browser/download/download_shelf.cc canvas->DrawImageInt(*complete, complete_bounds.x(), complete_bounds.y(), canvas 102 chrome/browser/download/download_shelf.h gfx::Canvas* canvas, canvas 110 chrome/browser/download/download_shelf.h static void PaintDownloadProgress(gfx::Canvas* canvas, canvas 120 chrome/browser/download/download_shelf.h static void PaintDownloadComplete(gfx::Canvas* canvas, canvas 129 chrome/browser/download/download_shelf.h static void PaintDownloadInterrupted(gfx::Canvas* canvas, canvas 111 chrome/browser/extensions/bookmark_app_helper.cc scoped_ptr<SkCanvas> canvas( canvas 113 chrome/browser/extensions/bookmark_app_helper.cc DCHECK(canvas); canvas 119 chrome/browser/extensions/bookmark_app_helper.cc canvas->drawRoundRect(SkRect::MakeWH(output_size, output_size), canvas 125 chrome/browser/extensions/bookmark_app_helper.cc canvas->drawBitmap( canvas 133 chrome/browser/extensions/bookmark_app_helper.cc canvas->drawRoundRect(SkRect::MakeWH(output_size, output_size), canvas 139 chrome/browser/extensions/bookmark_app_helper.cc canvas->drawBitmap(base_icon, canvas 143 chrome/browser/extensions/bookmark_app_helper.cc const SkBitmap& generated_icon = canvas->getDevice()->accessBitmap(false); canvas 179 chrome/browser/extensions/extension_action.cc void ExtensionAction::PaintBadge(gfx::Canvas* canvas, canvas 183 chrome/browser/extensions/extension_action.cc canvas, canvas 175 chrome/browser/extensions/extension_action.h void PaintBadge(gfx::Canvas* canvas, const gfx::Rect& bounds, int tab_id); canvas 66 chrome/browser/extensions/extension_icon_image.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE { canvas 67 chrome/browser/extensions/extension_icon_image.cc canvas->DrawColor(SkColorSetARGB(0, 0, 0, 0)); canvas 126 chrome/browser/favicon/favicon_util.cc SkCanvas canvas(bitmap); canvas 128 chrome/browser/favicon/favicon_util.cc canvas.drawBitmapRect(best_bitmap, NULL, dest); canvas 39 chrome/browser/history/select_favicon_frames.cc SkCanvas canvas(bitmap); canvas 41 chrome/browser/history/select_favicon_frames.cc canvas.drawBitmapRect(contents, NULL, dest); canvas 53 chrome/browser/profiles/profile_info_util.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE; canvas 86 chrome/browser/profiles/profile_info_util.cc void AvatarImageSource::Draw(gfx::Canvas* canvas) { canvas 99 chrome/browser/profiles/profile_info_util.cc canvas->DrawImageInt(avatar_, x, y); canvas 125 chrome/browser/profiles/profile_info_util.cc canvas->DrawPath(path, paint); canvas 150 chrome/browser/profiles/profile_info_util.cc canvas->DrawPath(path, paint); canvas 165 chrome/browser/profiles/profile_info_util.cc canvas->DrawPath(path, paint); canvas 22 chrome/browser/profiles/profile_info_util_unittest.cc gfx::Canvas canvas(canvas_size, 1.0f, false); canvas 29 chrome/browser/profiles/profile_info_util_unittest.cc canvas.DrawImageInt(image_skia, 15, 10); canvas 229 chrome/browser/speech/speech_recognition_bubble.cc void SpeechRecognitionBubbleBase::DrawVolumeOverlay(SkCanvas* canvas, canvas 252 chrome/browser/speech/speech_recognition_bubble.cc canvas->drawBitmap(*buffer_image_.get(), 0, 0); canvas 258 chrome/browser/speech/speech_recognition_bubble.cc SkCanvas canvas(*mic_image_); canvas 262 chrome/browser/speech/speech_recognition_bubble.cc canvas.drawBitmap( canvas 265 chrome/browser/speech/speech_recognition_bubble.cc DrawVolumeOverlay(&canvas, *g_images.Get().mic_full(), volume); canvas 266 chrome/browser/speech/speech_recognition_bubble.cc DrawVolumeOverlay(&canvas, *g_images.Get().mic_noise(), noise_volume); canvas 171 chrome/browser/speech/speech_recognition_bubble.h void DrawVolumeOverlay(SkCanvas* canvas, canvas 462 chrome/browser/themes/browser_theme_pack.cc SkCanvas canvas(scaled_bitmap); canvas 466 chrome/browser/themes/browser_theme_pack.cc canvas.drawBitmapRect(source_bitmap, NULL, scaled_bounds); canvas 598 chrome/browser/themes/browser_theme_pack.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE { canvas 602 chrome/browser/themes/browser_theme_pack.cc canvas->TileImageInt(bg_tint, 0, vertical_offset_, 0, 0, canvas 607 chrome/browser/themes/browser_theme_pack.cc canvas->TileImageInt(overlay_, 0, 0, size().width(), canvas 81 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Canvas canvas(gfx::Size(800, 600), 1.0f, true); canvas 84 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(0, 0, 800, 600), SkColorSetRGB(10, 10, 10)); canvas 85 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(400, 300, 1, 1), SkColorSetRGB(255, 255, 255)); canvas 88 chrome/browser/thumbnails/content_analysis_unittest.cc skia::GetTopDevice(*canvas.sk_canvas())->accessBitmap(false); canvas 125 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Canvas canvas(gfx::Size(800, 600), 1.0f, true); canvas 129 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(0, 0, 800, 600), SkColorSetRGB(0, 0, 0)); canvas 130 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.DrawRect(draw_rect, SkColorSetRGB(255, 255, 255)); canvas 133 chrome/browser/thumbnails/content_analysis_unittest.cc skia::GetTopDevice(*canvas.sk_canvas())->accessBitmap(false); canvas 164 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Canvas canvas(gfx::Size(800, 600), 1.0f, true); canvas 169 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(image_rect, SkColorSetRGB(0, 0, 0)); canvas 170 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.DrawRect(draw_rect, SkColorSetRGB(255, 255, 255)); canvas 173 chrome/browser/thumbnails/content_analysis_unittest.cc skia::GetTopDevice(*canvas.sk_canvas())->accessBitmap(false); canvas 228 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Canvas canvas(gfx::Size(800, 600), 1.0f, true); canvas 233 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(image_rect, SkColorSetRGB(0, 0, 0)); canvas 234 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.DrawRect(gfx::Rect(300, 250, 99, 100), SkColorSetRGB(255, 255, 255)); canvas 235 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.DrawRect(gfx::Rect(401, 250, 99, 100), SkColorSetRGB(255, 255, 255)); canvas 238 chrome/browser/thumbnails/content_analysis_unittest.cc skia::GetTopDevice(*canvas.sk_canvas())->accessBitmap(false); canvas 563 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Canvas canvas(image_size, 1.0f, true); canvas 566 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(100, 200, 100, 100), SkColorSetRGB(125, 0, 0)); canvas 567 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(300, 200, 100, 100), SkColorSetRGB(0, 200, 0)); canvas 568 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(500, 200, 100, 100), SkColorSetRGB(0, 0, 225)); canvas 569 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(100, 400, 600, 100), SkColorSetRGB(125, 200, 225)); canvas 581 chrome/browser/thumbnails/content_analysis_unittest.cc skia::GetTopDevice(*canvas.sk_canvas())->accessBitmap(false); canvas 612 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Canvas canvas(image_size, 1.0f, true); canvas 621 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(image_size), SkColorSetRGB(200, 210, 210)); canvas 635 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(header_rect, SkColorSetRGB(200, 40, 10)); canvas 636 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(footer_rect, SkColorSetRGB(10, 40, 180)); canvas 637 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(body_rect, SkColorSetRGB(150, 180, 40)); canvas 648 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.DrawRect(gfx::Rect(x, y, fine_print, fine_print), print_color); canvas 662 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(x, y, half_block, block_size), block_color); canvas 663 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(second_col, y, half_block, half_block), canvas 665 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(second_col, second_row, half_block, half_block), canvas 676 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.DrawRect(gfx::Rect(x, y, fine_print, fine_print), print_color); canvas 689 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(pict_rect, SkColorSetRGB(255, 255, 255)); canvas 690 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.DrawRect(pict_rect, SkColorSetRGB(0, 0, 0)); canvas 694 chrome/browser/thumbnails/content_analysis_unittest.cc skia::GetTopDevice(*canvas.sk_canvas())->accessBitmap(false); canvas 137 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc gfx::Canvas canvas(image_size, 1.0f, true); canvas 140 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc canvas.FillRect(gfx::Rect(200, 200, 800, 400), SkColorSetRGB(255, 255, 255)); canvas 142 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc skia::GetTopDevice(*canvas.sk_canvas())->accessBitmap(false); canvas 33 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Canvas canvas(kSize, 1.0f, true); canvas 35 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc canvas.FillRect(gfx::Rect(kSize), SK_ColorBLACK); canvas 38 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc skia::GetTopDevice(*canvas.sk_canvas())->accessBitmap(false); canvas 46 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Canvas canvas(kSize, 1.0f, true); canvas 48 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc canvas.FillRect(gfx::Rect(kSize), SK_ColorBLACK); canvas 50 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc canvas.FillRect(gfx::Rect(0, 0, kSize.width() / 2, kSize.height()), canvas 54 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc skia::GetTopDevice(*canvas.sk_canvas())->accessBitmap(false); canvas 63 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Canvas canvas(gfx::Size(40, 90), 1.0f, true); canvas 65 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc skia::GetTopDevice(*canvas.sk_canvas())->accessBitmap(false); canvas 80 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Canvas canvas(gfx::Size(70, 40), 1.0f, true); canvas 82 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc skia::GetTopDevice(*canvas.sk_canvas())->accessBitmap(false); canvas 97 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Canvas canvas(gfx::Size(90, 40), 1.0f, true); canvas 99 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc skia::GetTopDevice(*canvas.sk_canvas())->accessBitmap(false); canvas 114 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Canvas canvas(gfx::Size(40, 40), 1.0f, true); canvas 116 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc skia::GetTopDevice(*canvas.sk_canvas())->accessBitmap(false); canvas 131 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Canvas canvas(gfx::Size(40, 40), 1.0f, true); canvas 133 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc skia::GetTopDevice(*canvas.sk_canvas())->accessBitmap(false); canvas 53 chrome/browser/ui/app_list/extension_app_item.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE { canvas 54 chrome/browser/ui/app_list/extension_app_item.cc canvas->DrawImageInt(icon_, 0, 0); canvas 59 chrome/browser/ui/app_list/extension_app_item.cc canvas->DrawImageInt(overlay, 0, icon_.height() - overlay.height()); canvas 78 chrome/browser/ui/app_list/extension_app_item.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE { canvas 82 chrome/browser/ui/app_list/extension_app_item.cc canvas->DrawImageInt(icon_, 0, 0); canvas 97 chrome/browser/ui/app_list/extension_app_item.cc canvas->DrawImageInt( canvas 49 chrome/browser/ui/app_list/search/webstore/webstore_result.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE { canvas 50 chrome/browser/ui/app_list/search/webstore/webstore_result.cc canvas->DrawImageInt(icon_, 0, 0); canvas 53 chrome/browser/ui/app_list/search/webstore/webstore_result.cc canvas->DrawImageInt( canvas 1328 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::Canvas canvas(size, ui::GetImageScale(scale_factor), false); canvas 1336 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc canvas.DrawRoundRect(display_rect, 8, paint); canvas 1343 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc canvas.DrawStringRectWithShadows( canvas 1351 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc canvas.DrawStringRectWithShadows( canvas 1357 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::ImageSkia skia(canvas.ExtractImageRep()); canvas 205 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc gfx::Canvas canvas(avatar_image_rep, /* is_opaque */ true); canvas 213 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc canvas.DrawImageInt(*check_image, x, y); canvas 215 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc SkBitmap final_image = canvas.ExtractImageRep().sk_bitmap(); canvas 1458 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gfx::CanvasSkiaPaint canvas(event, true); canvas 1466 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc NtpBackgroundUtil::PaintBackgroundDetachedMode(theme_provider, &canvas, canvas 365 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc gfx::CanvasSkiaPaint canvas(event); canvas 368 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc canvas.DrawLine(gfx::Point(0, 0), canvas 377 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc canvas.DrawPoint(gfx::Point(0, allocation.height - 1), points_paint); canvas 378 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc canvas.DrawPoint(gfx::Point(allocation.width - 1, allocation.height - 1), canvas 152 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc gfx::CanvasSkiaPaint canvas(event, false); canvas 156 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc canvas.DrawStringRectWithFlags(data->text, gfx::FontList(), data->text_color, canvas 347 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gfx::CanvasSkiaPaint canvas(event, false); canvas 350 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc action->PaintBadge(&canvas, gfx::Rect(allocation), tab_id); canvas 709 chrome/browser/ui/gtk/browser_toolbar_gtk.cc gfx::CanvasSkiaPaint canvas(expose, false); canvas 712 chrome/browser/ui/gtk/browser_toolbar_gtk.cc canvas.DrawImageInt(*badge, canvas 863 chrome/browser/ui/gtk/download/download_item_gtk.cc gfx::CanvasSkiaPaint canvas(event, false); canvas 868 chrome/browser/ui/gtk/download/download_item_gtk.cc &canvas, canvas 875 chrome/browser/ui/gtk/download/download_item_gtk.cc &canvas, canvas 882 chrome/browser/ui/gtk/download/download_item_gtk.cc DownloadShelf::PaintDownloadProgress(&canvas, canvas 895 chrome/browser/ui/gtk/download/download_item_gtk.cc canvas.DrawImageInt(icon_small_->AsImageSkia(), canvas 1042 chrome/browser/ui/gtk/gtk_theme_service.cc gfx::Canvas canvas(gfx::Size(kToolbarImageWidth, kToolbarImageHeight), canvas 1064 chrome/browser/ui/gtk/gtk_theme_service.cc canvas.DrawRect(gfx::Rect(0, 0, kToolbarImageWidth, gradient_size), paint); canvas 1067 chrome/browser/ui/gtk/gtk_theme_service.cc canvas.FillRect(gfx::Rect(0, gradient_size, kToolbarImageWidth, canvas 1069 chrome/browser/ui/gtk/gtk_theme_service.cc return canvas.ExtractImageRep().sk_bitmap(); canvas 166 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc scoped_ptr<gfx::Canvas> canvas(new gfx::Canvas( canvas 169 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc canvas->DrawImageInt(*icon, 0, 0, icon->width(), icon->height(), 0, 0, canvas 171 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc canvas->DrawImageInt(*drop_image, image_size + kDropArrowLeftMargin, canvas 173 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc bitmap = canvas->ExtractImageRep().sk_bitmap(); canvas 183 chrome/browser/ui/gtk/infobars/infobar_container_gtk.cc SkCanvas& canvas = *canvas_paint.sk_canvas(); canvas 185 chrome/browser/ui/gtk/infobars/infobar_container_gtk.cc canvas.drawPath(path, paint); canvas 191 chrome/browser/ui/gtk/infobars/infobar_container_gtk.cc canvas.drawPath(path, paint); canvas 998 chrome/browser/ui/gtk/location_bar_view_gtk.cc gfx::CanvasSkiaPaint canvas(event, /*opaque=*/false); canvas 1010 chrome/browser/ui/gtk/location_bar_view_gtk.cc canvas.FillRect(bounds, color); canvas 1016 chrome/browser/ui/gtk/location_bar_view_gtk.cc canvas.DrawRoundRect(bounds, kBorderCornerRadius, paint); canvas 1954 chrome/browser/ui/gtk/location_bar_view_gtk.cc gfx::CanvasSkiaPaint canvas(event, false); canvas 1957 chrome/browser/ui/gtk/location_bar_view_gtk.cc page_action_->PaintBadge(&canvas, gfx::Rect(allocation), tab_id); canvas 147 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Canvas canvas(gfx::Size(1, 1), 1.0f, true); canvas 148 chrome/browser/ui/gtk/panels/panel_gtk.cc canvas.DrawColor(color); canvas 149 chrome/browser/ui/gtk/panels/panel_gtk.cc return gfx::Image(gfx::ImageSkia(canvas.ExtractImageRep())); canvas 892 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::CanvasSkiaPaintCairo canvas(cr, bounds.size(), true); canvas 900 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc canvas.DrawFadeTruncatingStringRectWithFlags( canvas 86 chrome/browser/ui/libgtk2ui/gtk2_border.cc void Gtk2Border::Paint(const views::View& view, gfx::Canvas* canvas) { canvas 89 chrome/browser/ui/libgtk2ui/gtk2_border.cc border_->Paint(view, canvas); canvas 103 chrome/browser/ui/libgtk2ui/gtk2_border.cc canvas->sk_canvas()->saveLayer(&sk_rect, NULL); canvas 105 chrome/browser/ui/libgtk2ui/gtk2_border.cc PaintState(state, extra, rect, canvas); canvas 111 chrome/browser/ui/libgtk2ui/gtk2_border.cc canvas->sk_canvas()->saveLayer(&sk_rect, &paint); canvas 113 chrome/browser/ui/libgtk2ui/gtk2_border.cc PaintState(state, extra, rect, canvas); canvas 114 chrome/browser/ui/libgtk2ui/gtk2_border.cc canvas->sk_canvas()->restore(); canvas 116 chrome/browser/ui/libgtk2ui/gtk2_border.cc canvas->sk_canvas()->restore(); canvas 118 chrome/browser/ui/libgtk2ui/gtk2_border.cc PaintState(state, extra, rect, canvas); canvas 162 chrome/browser/ui/libgtk2ui/gtk2_border.cc gfx::Canvas* canvas) { canvas 175 chrome/browser/ui/libgtk2ui/gtk2_border.cc canvas->DrawImageInt(*image, rect.x(), rect.y()); canvas 36 chrome/browser/ui/libgtk2ui/gtk2_border.h virtual void Paint(const views::View& view, gfx::Canvas* canvas) OVERRIDE; canvas 47 chrome/browser/ui/libgtk2ui/gtk2_border.h gfx::Canvas* canvas); canvas 1126 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gfx::Canvas canvas(gfx::Size(kToolbarImageWidth, kToolbarImageHeight), canvas 1148 chrome/browser/ui/libgtk2ui/gtk2_ui.cc canvas.DrawRect(gfx::Rect(0, 0, kToolbarImageWidth, gradient_size), paint); canvas 1151 chrome/browser/ui/libgtk2ui/gtk2_ui.cc canvas.FillRect(gfx::Rect(0, gradient_size, kToolbarImageWidth, canvas 1153 chrome/browser/ui/libgtk2ui/gtk2_ui.cc return canvas.ExtractImageRep().sk_bitmap(); canvas 1220 chrome/browser/ui/libgtk2ui/gtk2_ui.cc SkCanvas canvas(retval); canvas 1227 chrome/browser/ui/libgtk2ui/gtk2_ui.cc canvas.drawBitmap(border, 0, 0); canvas 1230 chrome/browser/ui/libgtk2ui/gtk2_ui.cc canvas.drawBitmap(icon, canvas 1249 chrome/browser/ui/libgtk2ui/gtk2_ui.cc SkCanvas canvas(retval); canvas 1255 chrome/browser/ui/libgtk2ui/gtk2_ui.cc canvas.drawBitmap(border, 0, 0); canvas 125 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc SkCanvas* canvas, canvas 142 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc canvas->drawPath(path, paint); canvas 144 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc canvas->drawColor(GetSystemColor(kColorId_MenuBackgroundColor), canvas 150 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc SkCanvas* canvas, canvas 171 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc canvas->drawRect(gfx::RectToSkRect(rect), paint); canvas 27 chrome/browser/ui/libgtk2ui/native_theme_gtk2.h SkCanvas* canvas, canvas 31 chrome/browser/ui/libgtk2ui/native_theme_gtk2.h SkCanvas* canvas, canvas 88 chrome/browser/ui/metro_pin_tab_helper_win.cc gfx::Canvas canvas(gfx::Size(kLogoWidth, kLogoHeight), 1.0f, canvas 90 chrome/browser/ui/metro_pin_tab_helper_win.cc canvas.DrawRect(gfx::Rect(0, 0, kLogoWidth, kLogoHeight), paint); canvas 97 chrome/browser/ui/metro_pin_tab_helper_win.cc canvas.DrawRect(gfx::Rect(box_left, box_top, kBoxWidth, kBoxHeight), paint); canvas 103 chrome/browser/ui/metro_pin_tab_helper_win.cc canvas.DrawImageInt(gfx::ImageSkia::CreateFrom1xBitmap(bitmap), left, top); canvas 105 chrome/browser/ui/metro_pin_tab_helper_win.cc SkBitmap logo_bitmap = canvas.ExtractImageRep().sk_bitmap(); canvas 21 chrome/browser/ui/ntp_background_util.cc gfx::Canvas* canvas, gfx::ImageSkia* ntp_background, int tiling, canvas 63 chrome/browser/ui/ntp_background_util.cc canvas->TileImageInt(*ntp_background, x_pos, y_pos, width, height); canvas 70 chrome/browser/ui/ntp_background_util.cc gfx::Canvas* canvas, canvas 74 chrome/browser/ui/ntp_background_util.cc canvas->FillRect(area, tp->GetColor(ThemeProperties::COLOR_NTP_BACKGROUND)); canvas 84 chrome/browser/ui/ntp_background_util.cc canvas, ntp_background, tiling, alignment, area, tab_contents_height); canvas 24 chrome/browser/ui/ntp_background_util.h ui::ThemeProvider* tp, gfx::Canvas* canvas, canvas 106 chrome/browser/ui/toolbar/wrench_icon_painter.cc void WrenchIconPainter::Paint(gfx::Canvas* canvas, canvas 117 chrome/browser/ui/toolbar/wrench_icon_painter.cc canvas->DrawImageInt(*image, canvas 128 chrome/browser/ui/toolbar/wrench_icon_painter.cc canvas->DrawImageInt(*image, x, y); canvas 160 chrome/browser/ui/toolbar/wrench_icon_painter.cc canvas->DrawImageInt(*image, 0, 0, width, image->height(), canvas 167 chrome/browser/ui/toolbar/wrench_icon_painter.cc canvas->DrawImageInt(badge_, 0, 0); canvas 70 chrome/browser/ui/toolbar/wrench_icon_painter.h void Paint(gfx::Canvas* canvas, canvas 40 chrome/browser/ui/toolbar/wrench_icon_painter_unittest.cc gfx::Canvas canvas(rect.size(), 1.0f, true); canvas 42 chrome/browser/ui/toolbar/wrench_icon_painter_unittest.cc painter_.Paint(&canvas, theme_provider_, rect, WrenchIconPainter::BEZEL_NONE); canvas 44 chrome/browser/ui/toolbar/wrench_icon_painter_unittest.cc &canvas, theme_provider_, rect, WrenchIconPainter::BEZEL_HOVER); canvas 46 chrome/browser/ui/toolbar/wrench_icon_painter_unittest.cc &canvas, theme_provider_, rect, WrenchIconPainter::BEZEL_PRESSED); canvas 50 chrome/browser/ui/toolbar/wrench_icon_painter_unittest.cc &canvas, theme_provider_, rect, WrenchIconPainter::BEZEL_PRESSED); canvas 53 chrome/browser/ui/toolbar/wrench_icon_painter_unittest.cc &canvas, theme_provider_, rect, WrenchIconPainter::BEZEL_PRESSED); canvas 56 chrome/browser/ui/toolbar/wrench_icon_painter_unittest.cc &canvas, theme_provider_, rect, WrenchIconPainter::BEZEL_PRESSED); canvas 60 chrome/browser/ui/toolbar/wrench_icon_painter_unittest.cc &canvas, theme_provider_, rect, WrenchIconPainter::BEZEL_PRESSED); canvas 127 chrome/browser/ui/views/autofill/autofill_dialog_views.cc void DrawArrow(gfx::Canvas* canvas, canvas 140 chrome/browser/ui/views/autofill/autofill_dialog_views.cc canvas->DrawPath(arrow, fill_paint); canvas 146 chrome/browser/ui/views/autofill/autofill_dialog_views.cc canvas->DrawPath(arrow, stroke_paint); canvas 628 chrome/browser/ui/views/autofill/autofill_dialog_views.cc void AutofillDialogViews::OverlayView::OnPaint(gfx::Canvas* canvas) { canvas 637 chrome/browser/ui/views/autofill/autofill_dialog_views.cc canvas->ClipPath(window_mask); canvas 639 chrome/browser/ui/views/autofill/autofill_dialog_views.cc OnPaintBackground(canvas); canvas 673 chrome/browser/ui/views/autofill/autofill_dialog_views.cc canvas->DrawPath(arrow, paint); canvas 677 chrome/browser/ui/views/autofill/autofill_dialog_views.cc canvas->DrawPath(arrow, paint); canvas 680 chrome/browser/ui/views/autofill/autofill_dialog_views.cc PaintChildren(canvas); canvas 755 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Canvas* canvas) {} canvas 757 chrome/browser/ui/views/autofill/autofill_dialog_views.cc void AutofillDialogViews::NotificationArea::OnPaint(gfx::Canvas* canvas) { canvas 758 chrome/browser/ui/views/autofill/autofill_dialog_views.cc views::View::OnPaint(canvas); canvas 759 chrome/browser/ui/views/autofill/autofill_dialog_views.cc views::View::PaintChildren(canvas); canvas 763 chrome/browser/ui/views/autofill/autofill_dialog_views.cc canvas, canvas 983 chrome/browser/ui/views/autofill/autofill_dialog_views.cc void AutofillDialogViews::SuggestedButton::PaintChildren(gfx::Canvas* canvas) {} canvas 985 chrome/browser/ui/views/autofill/autofill_dialog_views.cc void AutofillDialogViews::SuggestedButton::OnPaint(gfx::Canvas* canvas) { canvas 988 chrome/browser/ui/views/autofill/autofill_dialog_views.cc canvas->DrawImageInt(*rb.GetImageSkiaNamed(ResourceIDForState()), canvas 990 chrome/browser/ui/views/autofill/autofill_dialog_views.cc views::Painter::PaintFocusPainter(this, canvas, focus_painter()); canvas 231 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 264 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; canvas 265 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 344 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; canvas 345 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 45 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc void AutofillPopupViewViews::OnPaint(gfx::Canvas* canvas) { canvas 49 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc canvas->DrawColor(kPopupBackground); canvas 50 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc OnPaintBorder(canvas); canvas 56 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc canvas->DrawRect(line_rect, kItemTextColor); canvas 58 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc DrawAutofillEntry(canvas, i, line_rect); canvas 67 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc void AutofillPopupViewViews::DrawAutofillEntry(gfx::Canvas* canvas, canvas 71 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc canvas->FillRect(entry_rect, kHoveredBackgroundColor); canvas 80 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc canvas->DrawStringRectWithFlags( canvas 104 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc canvas->DrawImageInt(*image, x_align_left, icon_y); canvas 116 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc canvas->DrawStringRectWithFlags( canvas 35 chrome/browser/ui/views/autofill/autofill_popup_view_views.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 38 chrome/browser/ui/views/autofill/autofill_popup_view_views.h void DrawAutofillEntry(gfx::Canvas* canvas, canvas 156 chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc void PasswordGenerationPopupViewViews::OnPaint(gfx::Canvas* canvas) { canvas 161 chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc views::View::OnPaint(canvas); canvas 166 chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc canvas->FillRect(controller_->divider_bounds(), kDividerColor); canvas 43 chrome/browser/ui/views/autofill/password_generation_popup_view_views.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 26 chrome/browser/ui/views/avatar_label.cc virtual void Paint(const views::View& view, gfx::Canvas* canvas) OVERRIDE; canvas 55 chrome/browser/ui/views/avatar_label.cc void AvatarLabelBorder::Paint(const views::View& view, gfx::Canvas* canvas) { canvas 58 chrome/browser/ui/views/avatar_label.cc painter_->Paint(canvas, view.size()); canvas 73 chrome/browser/ui/views/avatar_label.cc canvas->DrawRoundRect(rect, kRadius, paint); canvas 78 chrome/browser/ui/views/avatar_label.cc canvas->DrawRoundRect(rect, kRadius, paint); canvas 91 chrome/browser/ui/views/avatar_menu_bubble_view.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE; canvas 117 chrome/browser/ui/views/avatar_menu_bubble_view.cc void BadgeImageSource::Draw(gfx::Canvas* canvas) { canvas 118 chrome/browser/ui/views/avatar_menu_bubble_view.cc canvas->DrawImageInt(icon_, 0, 0, icon_.width(), icon_.height(), 0, 0, canvas 120 chrome/browser/ui/views/avatar_menu_bubble_view.cc canvas->DrawImageInt(badge_, size().width() - badge_.width(), canvas 48 chrome/browser/ui/views/avatar_menu_button.cc void AvatarMenuButton::OnPaint(gfx::Canvas* canvas) { canvas 75 chrome/browser/ui/views/avatar_menu_button.cc canvas->DrawImageInt(button_icon_, 0, 0, button_icon_.width(), canvas 40 chrome/browser/ui/views/avatar_menu_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 284 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 285 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc views::MenuButton::PaintButton(canvas, views::MenuButton::PB_NORMAL); canvas 390 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 392 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc canvas, kSeparatorStartX, height(), 1, canvas 741 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc void BookmarkBarView::PaintChildren(gfx::Canvas* canvas) { canvas 742 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc View::PaintChildren(canvas); canvas 777 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc canvas->FillRect(indicator_bounds, kDropIndicatorColor); canvas 1087 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc scoped_ptr<gfx::Canvas> canvas( canvas 1089 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc button->PaintButton(canvas.get(), views::TextButton::PB_FOR_DRAG); canvas 1090 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc drag_utils::SetDragImageOnDataObject(*canvas, button->size(), canvas 171 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; canvas 75 chrome/browser/ui/views/create_application_shortcut_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 197 chrome/browser/ui/views/create_application_shortcut_view.cc void AppInfoView::OnPaint(gfx::Canvas* canvas) { canvas 211 chrome/browser/ui/views/create_application_shortcut_view.cc canvas->sk_canvas()->drawRoundRect(border_rect, SkIntToScalar(2), canvas 224 chrome/browser/ui/views/create_application_shortcut_view.cc canvas->sk_canvas()->drawRoundRect(inner_rect, SkDoubleToScalar(1.5), canvas 91 chrome/browser/ui/views/desktop_media_picker_views.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 299 chrome/browser/ui/views/desktop_media_picker_views.cc void DesktopMediaSourceView::OnPaint(gfx::Canvas* canvas) { canvas 300 chrome/browser/ui/views/desktop_media_picker_views.cc View::OnPaint(canvas); canvas 304 chrome/browser/ui/views/desktop_media_picker_views.cc canvas->DrawFocusRect(bounds); canvas 27 chrome/browser/ui/views/detachable_toolbar_view.cc gfx::Canvas* canvas, canvas 32 chrome/browser/ui/views/detachable_toolbar_view.cc canvas->FillRect(bounds, canvas 34 chrome/browser/ui/views/detachable_toolbar_view.cc canvas->TileImageInt(*theme_provider->GetImageSkiaNamed(IDR_THEME_TOOLBAR), canvas 42 chrome/browser/ui/views/detachable_toolbar_view.cc canvas->TileImageInt(*toolbar_left, canvas 47 chrome/browser/ui/views/detachable_toolbar_view.cc canvas->TileImageInt(*toolbar_right, canvas 70 chrome/browser/ui/views/detachable_toolbar_view.cc gfx::Canvas* canvas, canvas 76 chrome/browser/ui/views/detachable_toolbar_view.cc canvas->FillRect(gfx::Rect(0, y, view->width(), thickness), color); canvas 81 chrome/browser/ui/views/detachable_toolbar_view.cc gfx::Canvas* canvas, canvas 89 chrome/browser/ui/views/detachable_toolbar_view.cc canvas->sk_canvas()->drawRoundRect( canvas 95 chrome/browser/ui/views/detachable_toolbar_view.cc gfx::Canvas* canvas, ui::ThemeProvider* theme_provider, canvas 104 chrome/browser/ui/views/detachable_toolbar_view.cc canvas->sk_canvas()->drawRoundRect( canvas 110 chrome/browser/ui/views/detachable_toolbar_view.cc void DetachableToolbarView::PaintVerticalDivider(gfx::Canvas* canvas, canvas 126 chrome/browser/ui/views/detachable_toolbar_view.cc canvas->sk_canvas()->drawRect(rc, paint); canvas 137 chrome/browser/ui/views/detachable_toolbar_view.cc canvas->sk_canvas()->drawRect(rc_down, paint_down); canvas 38 chrome/browser/ui/views/detachable_toolbar_view.h gfx::Canvas* canvas, canvas 59 chrome/browser/ui/views/detachable_toolbar_view.h static void PaintHorizontalBorder(gfx::Canvas* canvas, canvas 67 chrome/browser/ui/views/detachable_toolbar_view.h static void PaintContentAreaBackground(gfx::Canvas* canvas, canvas 72 chrome/browser/ui/views/detachable_toolbar_view.h static void PaintContentAreaBorder(gfx::Canvas* canvas, canvas 84 chrome/browser/ui/views/detachable_toolbar_view.h static void PaintVerticalDivider(gfx::Canvas* canvas, canvas 583 chrome/browser/ui/views/download/download_item_view.cc void DownloadItemView::OnPaint(gfx::Canvas* canvas) { canvas 584 chrome/browser/ui/views/download/download_item_view.cc OnPaintBackground(canvas); canvas 586 chrome/browser/ui/views/download/download_item_view.cc canvas->DrawFocusRect(GetLocalBounds()); canvas 626 chrome/browser/ui/views/download/download_item_view.cc void DownloadItemView::OnPaintBackground(gfx::Canvas* canvas) { canvas 694 chrome/browser/ui/views/download/download_item_view.cc canvas->DrawStringRect(status_text_, font_list_, file_name_color, canvas 702 chrome/browser/ui/views/download/download_item_view.cc canvas->Save(); canvas 709 chrome/browser/ui/views/download/download_item_view.cc canvas->Translate(gfx::Vector2d(width(), 0)); canvas 710 chrome/browser/ui/views/download/download_item_view.cc canvas->Scale(-1, 1); canvas 712 chrome/browser/ui/views/download/download_item_view.cc PaintImages(canvas, canvas 717 chrome/browser/ui/views/download/download_item_view.cc PaintImages(canvas, canvas 722 chrome/browser/ui/views/download/download_item_view.cc PaintImages(canvas, canvas 730 chrome/browser/ui/views/download/download_item_view.cc canvas->SaveLayerAlpha( canvas 734 chrome/browser/ui/views/download/download_item_view.cc PaintImages(canvas, canvas 739 chrome/browser/ui/views/download/download_item_view.cc PaintImages(canvas, canvas 744 chrome/browser/ui/views/download/download_item_view.cc PaintImages(canvas, canvas 749 chrome/browser/ui/views/download/download_item_view.cc canvas->Restore(); canvas 756 chrome/browser/ui/views/download/download_item_view.cc PaintImages(canvas, canvas 763 chrome/browser/ui/views/download/download_item_view.cc canvas->SaveLayerAlpha( canvas 766 chrome/browser/ui/views/download/download_item_view.cc PaintImages(canvas, canvas 771 chrome/browser/ui/views/download/download_item_view.cc canvas->Restore(); canvas 778 chrome/browser/ui/views/download/download_item_view.cc canvas->Restore(); canvas 812 chrome/browser/ui/views/download/download_item_view.cc canvas->DrawStringRect( canvas 837 chrome/browser/ui/views/download/download_item_view.cc DownloadShelf::PaintDownloadProgress(canvas, canvas 848 chrome/browser/ui/views/download/download_item_view.cc canvas, canvas 857 chrome/browser/ui/views/download/download_item_view.cc canvas, canvas 879 chrome/browser/ui/views/download/download_item_view.cc canvas->DrawImageInt(*icon, icon_x, icon_y); canvas 884 chrome/browser/ui/views/download/download_item_view.cc canvas->DrawImageInt(*icon, icon_x, icon_y, paint); canvas 1063 chrome/browser/ui/views/download/download_item_view.cc void DownloadItemView::PaintImages(gfx::Canvas* canvas, canvas 1070 chrome/browser/ui/views/download/download_item_view.cc canvas->DrawImageInt(*top_image, canvas 1075 chrome/browser/ui/views/download/download_item_view.cc canvas->DrawImageInt(*center_image, canvas 1080 chrome/browser/ui/views/download/download_item_view.cc canvas->DrawImageInt(*bottom_image, canvas 109 chrome/browser/ui/views/download/download_item_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 110 chrome/browser/ui/views/download/download_item_view.h virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE; canvas 175 chrome/browser/ui/views/download/download_item_view.h void PaintImages(gfx::Canvas* canvas, canvas 155 chrome/browser/ui/views/download/download_shelf_view.cc void DownloadShelfView::OnPaintBorder(gfx::Canvas* canvas) { canvas 156 chrome/browser/ui/views/download/download_shelf_view.cc canvas->FillRect(gfx::Rect(0, 0, width(), 1), kBorderColor); canvas 110 chrome/browser/ui/views/download/download_shelf_view.h virtual void OnPaintBorder(gfx::Canvas* canvas) OVERRIDE; canvas 38 chrome/browser/ui/views/dropdown_bar_view.cc virtual void Paint(gfx::Canvas* canvas, views::View* view) const OVERRIDE; canvas 56 chrome/browser/ui/views/dropdown_bar_view.cc void DropdownBackground::Paint(gfx::Canvas* canvas, views::View* view) const { canvas 74 chrome/browser/ui/views/dropdown_bar_view.cc canvas->TileImageInt(background, origin.x(), origin.y(), canvas 80 chrome/browser/ui/views/dropdown_bar_view.cc canvas->DrawImageInt(*left_alpha_mask_, 0, 0, left_edge_width, mask_height, canvas 85 chrome/browser/ui/views/dropdown_bar_view.cc canvas->DrawImageInt(*right_alpha_mask_, 0, 0, right_edge_width, canvas 108 chrome/browser/ui/views/dropdown_bar_view.cc void DropdownBarView::OnPaint(gfx::Canvas* canvas) { canvas 109 chrome/browser/ui/views/dropdown_bar_view.cc OnPaintBackground(canvas); canvas 110 chrome/browser/ui/views/dropdown_bar_view.cc OnPaintBorder(canvas); canvas 115 chrome/browser/ui/views/dropdown_bar_view.cc canvas->image_scale(), canvas 117 chrome/browser/ui/views/dropdown_bar_view.cc canvas->Translate(bounds().OffsetFromOrigin()); canvas 120 chrome/browser/ui/views/dropdown_bar_view.cc canvas->DrawImageInt(gfx::ImageSkia(animating_edges.ExtractImageRep()), canvas 38 chrome/browser/ui/views/dropdown_bar_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 470 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 474 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc (*it)->Draw(canvas); canvas 476 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc views::View::OnPaint(canvas); canvas 241 chrome/browser/ui/views/find_bar_view.cc void FindBarView::OnPaint(gfx::Canvas* canvas) { canvas 243 chrome/browser/ui/views/find_bar_view.cc DropdownBarView::OnPaint(canvas); canvas 256 chrome/browser/ui/views/find_bar_view.cc canvas->DrawRoundRect(background_bounds, kBorderCornerRadius, paint); canvas 257 chrome/browser/ui/views/find_bar_view.cc canvas->Save(); canvas 258 chrome/browser/ui/views/find_bar_view.cc canvas->ClipRect(gfx::Rect(0, 0, find_previous_button_->x(), height())); canvas 259 chrome/browser/ui/views/find_bar_view.cc views::Painter::PaintPainterAt(canvas, find_text_border_.get(), text_bounds); canvas 260 chrome/browser/ui/views/find_bar_view.cc canvas->Restore(); canvas 273 chrome/browser/ui/views/find_bar_view.cc canvas->FillRect(match_count_background_bounds, canvas 71 chrome/browser/ui/views/find_bar_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 215 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc void AppPanelBrowserFrameView::OnPaint(gfx::Canvas* canvas) { canvas 217 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc PaintMaximizedFrameBorder(canvas); canvas 219 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc PaintRestoredFrameBorder(canvas); canvas 220 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc PaintTitleBar(canvas); canvas 222 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc PaintRestoredClientEdge(canvas); canvas 312 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc void AppPanelBrowserFrameView::PaintRestoredFrameBorder(gfx::Canvas* canvas) { canvas 341 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->FillRect(gfx::Rect(0, 0, width(), theme_frame->height()), canvas 347 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->FillRect(gfx::Rect(0, theme_frame->height(), left_edge->width(), canvas 349 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->FillRect(gfx::Rect(width() - right_edge->width(), canvas 355 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->FillRect(gfx::Rect(left_edge->width(), canvas 362 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->TileImageInt(*theme_frame, 0, 0, width(), theme_frame->height()); canvas 365 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->DrawImageInt(*top_left_corner, 0, 0); canvas 366 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->TileImageInt(*top_edge, top_left_corner->width(), 0, canvas 368 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->DrawImageInt(*top_right_corner, canvas 372 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->TileImageInt(*right_edge, width() - right_edge->width(), canvas 377 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->DrawImageInt(*bottom_right_corner, canvas 380 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->TileImageInt(*bottom_edge, bottom_left_corner->width(), canvas 384 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->DrawImageInt(*bottom_left_corner, 0, canvas 388 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->TileImageInt(*left_edge, 0, top_left_corner->height(), canvas 393 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc void AppPanelBrowserFrameView::PaintMaximizedFrameBorder(gfx::Canvas* canvas) { canvas 397 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->TileImageInt(*frame_image, 0, FrameBorderThickness(), width(), canvas 404 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->TileImageInt(*titlebar_bottom, 0, canvas 409 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc void AppPanelBrowserFrameView::PaintTitleBar(gfx::Canvas* canvas) { canvas 414 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->DrawStringRect(d->GetWindowTitle(), BrowserFrame::GetTitleFontList(), canvas 418 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc void AppPanelBrowserFrameView::PaintRestoredClientEdge(gfx::Canvas* canvas) { canvas 436 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->DrawImageInt(*top_left, client_area_bounds.x() - top_left->width(), canvas 438 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->TileImageInt(*top, client_area_bounds.x(), top_edge_y, canvas 440 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->DrawImageInt(*top_right, client_area_bounds.right(), top_edge_y); canvas 446 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->TileImageInt(*right, client_area_bounds.right(), client_area_top, canvas 450 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->DrawImageInt(*bottom_right, client_area_bounds.right(), canvas 452 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->TileImageInt(*bottom, client_area_bounds.x(), client_area_bottom, canvas 454 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->DrawImageInt(*bottom_left, canvas 458 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->TileImageInt(*left, client_area_bounds.x() - left->width(), canvas 462 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->DrawRect(gfx::Rect( canvas 50 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 87 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h void PaintRestoredFrameBorder(gfx::Canvas* canvas); canvas 88 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h void PaintMaximizedFrameBorder(gfx::Canvas* canvas); canvas 89 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h void PaintTitleBar(gfx::Canvas* canvas); canvas 90 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h void PaintRestoredClientEdge(gfx::Canvas* canvas); canvas 42 chrome/browser/ui/views/frame/browser_header_painter_ash.cc void TileRoundRect(gfx::Canvas* canvas, canvas 59 chrome/browser/ui/views/frame/browser_header_painter_ash.cc canvas->DrawImageInPath(image, -image_inset_x, 0, path, paint); canvas 64 chrome/browser/ui/views/frame/browser_header_painter_ash.cc void PaintFrameImagesInRoundRect(gfx::Canvas* canvas, canvas 82 chrome/browser/ui/views/frame/browser_header_painter_ash.cc TileRoundRect(canvas, frame_image, paint, bounds, corner_radius, canvas 94 chrome/browser/ui/views/frame/browser_header_painter_ash.cc TileRoundRect(canvas, frame_overlay_image, paint, overlay_bounds, canvas 98 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::Canvas temporary_canvas(bounds.size(), canvas->image_scale(), false); canvas 104 chrome/browser/ui/views/frame/browser_header_painter_ash.cc TileRoundRect(canvas, gfx::ImageSkia(temporary_canvas.ExtractImageRep()), canvas 158 chrome/browser/ui/views/frame/browser_header_painter_ash.cc void BrowserHeaderPainterAsh::PaintHeader(gfx::Canvas* canvas, Mode mode) { canvas 197 chrome/browser/ui/views/frame/browser_header_painter_ash.cc canvas, canvas 214 chrome/browser/ui/views/frame/browser_header_painter_ash.cc canvas, canvas 224 chrome/browser/ui/views/frame/browser_header_painter_ash.cc PaintHighlightForRestoredWindow(canvas); canvas 227 chrome/browser/ui/views/frame/browser_header_painter_ash.cc PaintTitleBar(canvas); canvas 282 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::Canvas* canvas) { canvas 297 chrome/browser/ui/views/frame/browser_header_painter_ash.cc canvas->DrawImageInt(top_left_corner, 0, 0); canvas 301 chrome/browser/ui/views/frame/browser_header_painter_ash.cc canvas->DrawImageInt(top_right_corner, canvas 305 chrome/browser/ui/views/frame/browser_header_painter_ash.cc canvas->TileImageInt( canvas 312 chrome/browser/ui/views/frame/browser_header_painter_ash.cc canvas->TileImageInt(left_edge, canvas 318 chrome/browser/ui/views/frame/browser_header_painter_ash.cc canvas->TileImageInt(right_edge, canvas 325 chrome/browser/ui/views/frame/browser_header_painter_ash.cc void BrowserHeaderPainterAsh::PaintTitleBar(gfx::Canvas* canvas) { canvas 331 chrome/browser/ui/views/frame/browser_header_painter_ash.cc canvas->DrawStringRectWithFlags(frame_->widget_delegate()->GetWindowTitle(), canvas 47 chrome/browser/ui/views/frame/browser_header_painter_ash.h virtual void PaintHeader(gfx::Canvas* canvas, Mode mode) OVERRIDE; canvas 58 chrome/browser/ui/views/frame/browser_header_painter_ash.h void PaintHighlightForRestoredWindow(gfx::Canvas* canvas); canvas 61 chrome/browser/ui/views/frame/browser_header_painter_ash.h void PaintTitleBar(gfx::Canvas* canvas); canvas 251 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc void BrowserNonClientFrameViewAsh::OnPaint(gfx::Canvas* canvas) { canvas 256 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc PaintImmersiveLightbarStyleHeader(canvas); canvas 264 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc header_painter_->PaintHeader(canvas, header_mode); canvas 266 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc PaintToolbarBackground(canvas); canvas 268 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc PaintContentEdge(canvas); canvas 455 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::Canvas* canvas) { canvas 459 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc canvas->TileImageInt(*frame_image, 0, 0, width(), frame_image->height()); canvas 462 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc void BrowserNonClientFrameViewAsh::PaintToolbarBackground(gfx::Canvas* canvas) { canvas 486 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc canvas->FillRect(gfx::Rect(x, bottom_y, w, bottom_edge_height), canvas 495 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc canvas->TileImageInt( canvas 506 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc canvas->TileImageInt(*toolbar_top, canvas 513 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc canvas->TileImageInt(*toolbar_left, canvas 520 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc canvas->TileImageInt(*toolbar_right, canvas 527 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc canvas->FillRect( canvas 536 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc void BrowserNonClientFrameViewAsh::PaintContentEdge(gfx::Canvas* canvas) { canvas 538 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc canvas->FillRect(gfx::Rect(0, caption_button_container_->bounds().bottom(), canvas 56 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 106 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h void PaintImmersiveLightbarStyleHeader(gfx::Canvas* canvas); canvas 108 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h void PaintToolbarBackground(gfx::Canvas* canvas); canvas 112 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h void PaintContentEdge(gfx::Canvas* canvas); canvas 191 chrome/browser/ui/views/frame/browser_view.cc void PaintDetachedBookmarkBar(gfx::Canvas* canvas, canvas 195 chrome/browser/ui/views/frame/browser_view.cc canvas->DrawColor( canvas 201 chrome/browser/ui/views/frame/browser_view.cc DetachableToolbarView::PaintHorizontalBorder(canvas, view, true, canvas 216 chrome/browser/ui/views/frame/browser_view.cc canvas->image_scale(); canvas 218 chrome/browser/ui/views/frame/browser_view.cc canvas->sk_canvas()->drawLine(SkIntToScalar(0), y, canvas 222 chrome/browser/ui/views/frame/browser_view.cc void PaintAttachedBookmarkBar(gfx::Canvas* canvas, canvas 231 chrome/browser/ui/views/frame/browser_view.cc DetachableToolbarView::PaintBackgroundAttachedMode(canvas, canvas 236 chrome/browser/ui/views/frame/browser_view.cc DetachableToolbarView::PaintHorizontalBorder(canvas, view, false, canvas 340 chrome/browser/ui/views/frame/browser_view.cc virtual void Paint(gfx::Canvas* canvas, views::View* view) const OVERRIDE; canvas 362 chrome/browser/ui/views/frame/browser_view.cc void BookmarkExtensionBackground::Paint(gfx::Canvas* canvas, canvas 366 chrome/browser/ui/views/frame/browser_view.cc PaintAttachedBookmarkBar(canvas, host_view_, browser_view_, canvas 378 chrome/browser/ui/views/frame/browser_view.cc PaintDetachedBookmarkBar(canvas, host_view_, ts); canvas 389 chrome/browser/ui/views/frame/browser_view.cc canvas->SaveLayerAlpha(attached_alpha); canvas 390 chrome/browser/ui/views/frame/browser_view.cc PaintAttachedBookmarkBar(canvas, host_view_, browser_view_, canvas 393 chrome/browser/ui/views/frame/browser_view.cc canvas->Restore(); canvas 394 chrome/browser/ui/views/frame/browser_view.cc canvas->SaveLayerAlpha(detached_alpha); canvas 395 chrome/browser/ui/views/frame/browser_view.cc PaintDetachedBookmarkBar(canvas, host_view_, ts); canvas 400 chrome/browser/ui/views/frame/browser_view.cc canvas->SaveLayerAlpha(detached_alpha); canvas 401 chrome/browser/ui/views/frame/browser_view.cc PaintDetachedBookmarkBar(canvas, host_view_, ts); canvas 402 chrome/browser/ui/views/frame/browser_view.cc canvas->Restore(); canvas 403 chrome/browser/ui/views/frame/browser_view.cc canvas->SaveLayerAlpha(attached_alpha); canvas 404 chrome/browser/ui/views/frame/browser_view.cc PaintAttachedBookmarkBar(canvas, host_view_, browser_view_, canvas 408 chrome/browser/ui/views/frame/browser_view.cc canvas->Restore(); canvas 1848 chrome/browser/ui/views/frame/browser_view.cc void BrowserView::PaintChildren(gfx::Canvas* canvas) { canvas 1854 chrome/browser/ui/views/frame/browser_view.cc child->Paint(canvas); canvas 1857 chrome/browser/ui/views/frame/browser_view.cc infobar_container_->Paint(canvas); canvas 459 chrome/browser/ui/views/frame/browser_view.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; canvas 257 chrome/browser/ui/views/frame/glass_browser_frame_view.cc void GlassBrowserFrameView::OnPaint(gfx::Canvas* canvas) { canvas 260 chrome/browser/ui/views/frame/glass_browser_frame_view.cc PaintToolbarBackground(canvas); canvas 262 chrome/browser/ui/views/frame/glass_browser_frame_view.cc PaintRestoredClientEdge(canvas); canvas 321 chrome/browser/ui/views/frame/glass_browser_frame_view.cc void GlassBrowserFrameView::PaintToolbarBackground(gfx::Canvas* canvas) { canvas 344 chrome/browser/ui/views/frame/glass_browser_frame_view.cc canvas->TileImageInt(*theme_toolbar, canvas 363 chrome/browser/ui/views/frame/glass_browser_frame_view.cc canvas->DrawImageInt(*toolbar_left_mask, left_x, y, paint); canvas 368 chrome/browser/ui/views/frame/glass_browser_frame_view.cc canvas->DrawImageInt(*toolbar_right_mask, right_x, y, paint); canvas 371 chrome/browser/ui/views/frame/glass_browser_frame_view.cc canvas->DrawImageInt(*toolbar_left, left_x, y); canvas 374 chrome/browser/ui/views/frame/glass_browser_frame_view.cc canvas->TileImageInt(*toolbar_center, left_x + toolbar_left->width(), y, canvas 378 chrome/browser/ui/views/frame/glass_browser_frame_view.cc canvas->DrawImageInt(*tp->GetImageSkiaNamed(IDR_CONTENT_TOP_RIGHT_CORNER), canvas 383 chrome/browser/ui/views/frame/glass_browser_frame_view.cc canvas->FillRect( canvas 392 chrome/browser/ui/views/frame/glass_browser_frame_view.cc void GlassBrowserFrameView::PaintRestoredClientEdge(gfx::Canvas* canvas) { canvas 407 chrome/browser/ui/views/frame/glass_browser_frame_view.cc canvas->TileImageInt(*right, client_area_bounds.right(), client_area_top, canvas 409 chrome/browser/ui/views/frame/glass_browser_frame_view.cc canvas->DrawImageInt( canvas 413 chrome/browser/ui/views/frame/glass_browser_frame_view.cc canvas->TileImageInt(*bottom, client_area_bounds.x(), canvas 418 chrome/browser/ui/views/frame/glass_browser_frame_view.cc canvas->DrawImageInt(*bottom_left, canvas 421 chrome/browser/ui/views/frame/glass_browser_frame_view.cc canvas->TileImageInt(*left, client_area_bounds.x() - left->width(), canvas 429 chrome/browser/ui/views/frame/glass_browser_frame_view.cc canvas->FillRect(gfx::Rect(client_area_bounds.x() - kClientEdgeThickness, canvas 433 chrome/browser/ui/views/frame/glass_browser_frame_view.cc canvas->FillRect(gfx::Rect(client_area_bounds.x(), client_area_bottom, canvas 436 chrome/browser/ui/views/frame/glass_browser_frame_view.cc canvas->FillRect(gfx::Rect(client_area_bounds.right(), client_area_top, canvas 45 chrome/browser/ui/views/frame/glass_browser_frame_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 67 chrome/browser/ui/views/frame/glass_browser_frame_view.h void PaintToolbarBackground(gfx::Canvas* canvas); canvas 68 chrome/browser/ui/views/frame/glass_browser_frame_view.h void PaintRestoredClientEdge(gfx::Canvas* canvas); canvas 529 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc void OpaqueBrowserFrameView::OnPaint(gfx::Canvas* canvas) { canvas 534 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc PaintMaximizedFrameBorder(canvas); canvas 536 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc PaintRestoredFrameBorder(canvas); canvas 547 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc PaintToolbarBackground(canvas); canvas 549 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc PaintRestoredClientEdge(canvas); canvas 614 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc void OpaqueBrowserFrameView::PaintRestoredFrameBorder(gfx::Canvas* canvas) { canvas 631 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc frame_background_->PaintRestored(canvas, this); canvas 639 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc void OpaqueBrowserFrameView::PaintMaximizedFrameBorder(gfx::Canvas* canvas) { canvas 654 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc frame_background_->PaintMaximized(canvas, this); canvas 663 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->TileImageInt(*top_center, 0, canvas 668 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc void OpaqueBrowserFrameView::PaintToolbarBackground(gfx::Canvas* canvas) { canvas 694 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->SaveLayerAlpha( canvas 699 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->FillRect(gfx::Rect(x, bottom_y, w, bottom_edge_height), canvas 705 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->TileImageInt(*theme_toolbar, canvas 724 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->DrawImageInt(*toolbar_left_mask, 0, 0, toolbar_left_mask->width(), canvas 727 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->DrawImageInt(*toolbar_left_mask, 0, canvas 735 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->DrawImageInt(*toolbar_right_mask, 0, 0, toolbar_right_mask->width(), canvas 738 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->DrawImageInt(*toolbar_right_mask, 0, canvas 742 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->Restore(); canvas 744 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->DrawImageInt(*toolbar_left, 0, 0, toolbar_left->width(), split_point, canvas 746 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->DrawImageInt(*toolbar_left, 0, canvas 753 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->TileImageInt(*toolbar_center, 0, 0, left_x + toolbar_left->width(), canvas 759 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->DrawImageInt(*toolbar_right, 0, 0, toolbar_right->width(), canvas 761 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->DrawImageInt(*toolbar_right, 0, canvas 767 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->FillRect( canvas 776 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc void OpaqueBrowserFrameView::PaintRestoredClientEdge(gfx::Canvas* canvas) { canvas 803 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->DrawImageInt(*top_left, 0, 0, top_left->width(), height, canvas 806 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->TileImageInt(*top_center, 0, 0, client_area_bounds.x(), top_edge_y, canvas 808 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->DrawImageInt(*top_right, 0, 0, top_right->width(), height, canvas 813 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->FillRect(gfx::Rect(client_area_bounds.x() - kClientEdgeThickness, canvas 825 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->TileImageInt(*right, client_area_bounds.right(), image_top, canvas 827 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->DrawImageInt( canvas 831 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->TileImageInt(*bottom, client_area_bounds.x(), canvas 836 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->DrawImageInt(*bottom_left, canvas 839 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->TileImageInt(*left, client_area_bounds.x() - left->width(), canvas 846 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->FillRect(gfx::Rect(client_area_bounds.x() - kClientEdgeThickness, canvas 850 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->FillRect(gfx::Rect(client_area_bounds.x(), client_area_bottom, canvas 853 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->FillRect(gfx::Rect(client_area_bounds.right(), client_area_top, canvas 108 chrome/browser/ui/views/frame/opaque_browser_frame_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 143 chrome/browser/ui/views/frame/opaque_browser_frame_view.h void PaintRestoredFrameBorder(gfx::Canvas* canvas); canvas 144 chrome/browser/ui/views/frame/opaque_browser_frame_view.h void PaintMaximizedFrameBorder(gfx::Canvas* canvas); canvas 145 chrome/browser/ui/views/frame/opaque_browser_frame_view.h void PaintToolbarBackground(gfx::Canvas* canvas); canvas 146 chrome/browser/ui/views/frame/opaque_browser_frame_view.h void PaintRestoredClientEdge(gfx::Canvas* canvas); canvas 22 chrome/browser/ui/views/frame/top_container_view.cc void TopContainerView::OnPaintBackground(gfx::Canvas* canvas) { canvas 28 chrome/browser/ui/views/frame/top_container_view.cc frame->Paint(canvas); canvas 24 chrome/browser/ui/views/frame/top_container_view.h virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE; canvas 58 chrome/browser/ui/views/infobars/extension_infobar.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE { canvas 60 chrome/browser/ui/views/infobars/extension_infobar.cc canvas->DrawImageInt(icon_, 0, 0, icon_.width(), icon_.height(), 0, 0, canvas 62 chrome/browser/ui/views/infobars/extension_infobar.cc canvas->DrawImageInt(drop_image_, image_size + kDropArrowLeftMargin, canvas 25 chrome/browser/ui/views/infobars/infobar_background.cc void InfoBarBackground::Paint(gfx::Canvas* canvas, views::View* view) const { canvas 40 chrome/browser/ui/views/infobars/infobar_background.cc SkCanvas* canvas_skia = canvas->sk_canvas(); canvas 55 chrome/browser/ui/views/infobars/infobar_background.cc canvas->FillRect(gfx::Rect(0, view->height() - InfoBar::kSeparatorLineHeight, canvas 21 chrome/browser/ui/views/infobars/infobar_background.h virtual void Paint(gfx::Canvas* canvas, views::View* view) const OVERRIDE; canvas 313 chrome/browser/ui/views/infobars/infobar_view.cc void InfoBarView::PaintChildren(gfx::Canvas* canvas) { canvas 314 chrome/browser/ui/views/infobars/infobar_view.cc canvas->Save(); canvas 323 chrome/browser/ui/views/infobars/infobar_view.cc canvas->ClipRect(gfx::Rect(0, arrow_height(), width(), bar_height())); canvas 324 chrome/browser/ui/views/infobars/infobar_view.cc views::View::PaintChildren(canvas); canvas 325 chrome/browser/ui/views/infobars/infobar_view.cc canvas->Restore(); canvas 129 chrome/browser/ui/views/infobars/infobar_view.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; canvas 87 chrome/browser/ui/views/infobars/translate_infobar_base.cc void TranslateInfoBarBase::OnPaintBackground(gfx::Canvas* canvas) { canvas 96 chrome/browser/ui/views/infobars/translate_infobar_base.cc GetBackground().Paint(canvas, this); canvas 100 chrome/browser/ui/views/infobars/translate_infobar_base.cc FadeBackground(canvas, 1.0 - background_color_animation_->GetCurrentValue(), canvas 102 chrome/browser/ui/views/infobars/translate_infobar_base.cc FadeBackground(canvas, background_color_animation_->GetCurrentValue(), canvas 118 chrome/browser/ui/views/infobars/translate_infobar_base.cc void TranslateInfoBarBase::FadeBackground(gfx::Canvas* canvas, canvas 123 chrome/browser/ui/views/infobars/translate_infobar_base.cc canvas->SaveLayerAlpha(static_cast<int>(animation_value * 255)); canvas 124 chrome/browser/ui/views/infobars/translate_infobar_base.cc background.Paint(canvas, this); canvas 125 chrome/browser/ui/views/infobars/translate_infobar_base.cc canvas->Restore(); canvas 41 chrome/browser/ui/views/infobars/translate_infobar_base.h virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE; canvas 49 chrome/browser/ui/views/infobars/translate_infobar_base.h void FadeBackground(gfx::Canvas* canvas, canvas 211 chrome/browser/ui/views/location_bar/content_setting_image_view.cc void ContentSettingImageView::OnPaintBackground(gfx::Canvas* canvas) { canvas 213 chrome/browser/ui/views/location_bar/content_setting_image_view.cc background_painter_->Paint(canvas, size()); canvas 76 chrome/browser/ui/views/location_bar/content_setting_image_view.h virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE; canvas 121 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc void IconLabelBubbleView::OnPaint(gfx::Canvas* canvas) { canvas 124 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc painter->Paint(canvas, size()); canvas 66 chrome/browser/ui/views/location_bar/icon_label_bubble_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 1007 chrome/browser/ui/views/location_bar/location_bar_view.cc void LocationBarView::PaintChildren(gfx::Canvas* canvas) { canvas 1014 chrome/browser/ui/views/location_bar/location_bar_view.cc child_at(i)->Paint(canvas); canvas 1021 chrome/browser/ui/views/location_bar/location_bar_view.cc canvas->DrawFocusRect(omnibox_view_->bounds()); canvas 1028 chrome/browser/ui/views/location_bar/location_bar_view.cc views::Painter::PaintPainterAt(canvas, border_painter_.get(), border_rect); canvas 1032 chrome/browser/ui/views/location_bar/location_bar_view.cc origin_chip_view_->Paint(canvas); canvas 1033 chrome/browser/ui/views/location_bar/location_bar_view.cc search_button_->Paint(canvas); canvas 1036 chrome/browser/ui/views/location_bar/location_bar_view.cc void LocationBarView::OnPaint(gfx::Canvas* canvas) { canvas 1037 chrome/browser/ui/views/location_bar/location_bar_view.cc View::OnPaint(canvas); canvas 1046 chrome/browser/ui/views/location_bar/location_bar_view.cc canvas->FillRect(bounds, color); canvas 1052 chrome/browser/ui/views/location_bar/location_bar_view.cc canvas->DrawRoundRect(bounds, kBorderCornerRadius, paint); canvas 235 chrome/browser/ui/views/location_bar/location_bar_view.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; canvas 236 chrome/browser/ui/views/location_bar/location_bar_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 335 chrome/browser/ui/views/location_bar/origin_chip_view.cc void OriginChipView::OnPaintBorder(gfx::Canvas* canvas) { canvas 337 chrome/browser/ui/views/location_bar/origin_chip_view.cc canvas->SaveLayerAlpha(static_cast<uint8>( canvas 339 chrome/browser/ui/views/location_bar/origin_chip_view.cc views::LabelButton::OnPaintBorder(canvas); canvas 340 chrome/browser/ui/views/location_bar/origin_chip_view.cc canvas->Restore(); canvas 342 chrome/browser/ui/views/location_bar/origin_chip_view.cc views::LabelButton::OnPaintBorder(canvas); canvas 78 chrome/browser/ui/views/location_bar/origin_chip_view.h virtual void OnPaintBorder(gfx::Canvas* canvas) OVERRIDE; canvas 226 chrome/browser/ui/views/location_bar/page_action_image_view.cc void PageActionImageView::PaintChildren(gfx::Canvas* canvas) { canvas 227 chrome/browser/ui/views/location_bar/page_action_image_view.cc View::PaintChildren(canvas); canvas 229 chrome/browser/ui/views/location_bar/page_action_image_view.cc page_action_->PaintBadge(canvas, GetLocalBounds(), current_tab_id_); canvas 85 chrome/browser/ui/views/location_bar/page_action_image_view.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; canvas 110 chrome/browser/ui/views/new_avatar_button.cc void NewAvatarButton::OnPaint(gfx::Canvas* canvas) { canvas 112 chrome/browser/ui/views/new_avatar_button.cc OnPaintBackground(canvas); canvas 113 chrome/browser/ui/views/new_avatar_button.cc OnPaintBorder(canvas); canvas 114 chrome/browser/ui/views/new_avatar_button.cc views::Painter::PaintFocusPainter(this, canvas, focus_painter()); canvas 123 chrome/browser/ui/views/new_avatar_button.cc canvas->DrawStringRectWithHalo( canvas 132 chrome/browser/ui/views/new_avatar_button.cc PaintMenuMarker(canvas); canvas 30 chrome/browser/ui/views/new_avatar_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 492 chrome/browser/ui/views/notifications/balloon_view_views.cc void BalloonViewImpl::OnPaint(gfx::Canvas* canvas) { canvas 493 chrome/browser/ui/views/notifications/balloon_view_views.cc DCHECK(canvas); canvas 503 chrome/browser/ui/views/notifications/balloon_view_views.cc canvas->DrawPath(path, paint); canvas 507 chrome/browser/ui/views/notifications/balloon_view_views.cc canvas->FillRect(gfx::Rect(kLeftMargin, rect.bottom(), line_width, 1), canvas 509 chrome/browser/ui/views/notifications/balloon_view_views.cc View::OnPaint(canvas); canvas 510 chrome/browser/ui/views/notifications/balloon_view_views.cc OnPaintBorder(canvas); canvas 59 chrome/browser/ui/views/notifications/balloon_view_views.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 382 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc void OmniboxPopupContentsView::PaintResultViews(gfx::Canvas* canvas) { canvas 383 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc canvas->DrawColor(result_view_at(0)->GetColor( canvas 385 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc View::PaintChildren(canvas); canvas 423 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc void OmniboxPopupContentsView::OnPaint(gfx::Canvas* canvas) { canvas 430 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc canvas->Save(); canvas 431 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc canvas->sk_canvas()->clipPath(path, canvas 434 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc PaintResultViews(canvas); canvas 435 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc canvas->Restore(); canvas 438 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc canvas->FillRect( canvas 444 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc canvas->TileImageInt(*bottom_shadow_, 0, height() - bottom_shadow_->height(), canvas 448 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc void OmniboxPopupContentsView::PaintChildren(gfx::Canvas* canvas) { canvas 86 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h virtual void PaintResultViews(gfx::Canvas* canvas); canvas 94 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 99 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; canvas 236 chrome/browser/ui/views/omnibox/omnibox_result_view.cc gfx::Canvas* canvas, canvas 258 chrome/browser/ui/views/omnibox/omnibox_result_view.cc x = DrawRenderText(match, contents, true, canvas, x, y, contents_max_width); canvas 261 chrome/browser/ui/views/omnibox/omnibox_result_view.cc x = DrawRenderText(match, separator_rendertext_.get(), false, canvas, x, y, canvas 263 chrome/browser/ui/views/omnibox/omnibox_result_view.cc DrawRenderText(match, description, false, canvas, x, y, canvas 272 chrome/browser/ui/views/omnibox/omnibox_result_view.cc gfx::Canvas* canvas, canvas 335 chrome/browser/ui/views/omnibox/omnibox_result_view.cc prefix_render_text->Draw(canvas); canvas 342 chrome/browser/ui/views/omnibox/omnibox_result_view.cc render_text->Draw(canvas); canvas 525 chrome/browser/ui/views/omnibox/omnibox_result_view.cc void OmniboxResultView::OnPaint(gfx::Canvas* canvas) { canvas 528 chrome/browser/ui/views/omnibox/omnibox_result_view.cc canvas->DrawColor(GetColor(state, BACKGROUND)); canvas 533 chrome/browser/ui/views/omnibox/omnibox_result_view.cc canvas->DrawImageInt(GetIcon(), GetMirroredXForRect(icon_bounds_), canvas 544 chrome/browser/ui/views/omnibox/omnibox_result_view.cc description_rendertext_.get(), canvas, x); canvas 565 chrome/browser/ui/views/omnibox/omnibox_result_view.cc keyword_description_rendertext_.get(), canvas, x); canvas 84 chrome/browser/ui/views/omnibox/omnibox_result_view.h gfx::Canvas* canvas, canvas 96 chrome/browser/ui/views/omnibox/omnibox_result_view.h gfx::Canvas* canvas, canvas 139 chrome/browser/ui/views/omnibox/omnibox_result_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 201 chrome/browser/ui/views/omnibox/omnibox_view_views.cc void OmniboxViewViews::OnPaint(gfx::Canvas* canvas) { canvas 203 chrome/browser/ui/views/omnibox/omnibox_view_views.cc canvas->SaveLayerAlpha(static_cast<uint8>( canvas 205 chrome/browser/ui/views/omnibox/omnibox_view_views.cc views::Textfield::OnPaint(canvas); canvas 206 chrome/browser/ui/views/omnibox/omnibox_view_views.cc canvas->Restore(); canvas 208 chrome/browser/ui/views/omnibox/omnibox_view_views.cc views::Textfield::OnPaint(canvas); canvas 66 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 38 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc gfx::Canvas* canvas, canvas 45 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc DrawRenderText(match, description, false, canvas, x, y, -1); canvas 52 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc DrawRenderText(match, contents, true, canvas, x, y, -1); canvas 78 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc void TouchOmniboxPopupContentsView::PaintResultViews(gfx::Canvas* canvas) { canvas 79 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc OmniboxPopupContentsView::PaintResultViews(canvas); canvas 100 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc canvas->DrawLine(gfx::Point(bounds.x(), line_y), canvas 37 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h gfx::Canvas* canvas, canvas 58 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h virtual void PaintResultViews(gfx::Canvas* canvas) OVERRIDE; canvas 64 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::Canvas canvas(gfx::Size(1, 1), 1.0f, true); canvas 65 chrome/browser/ui/views/panels/panel_frame_view.cc canvas.DrawColor(color); canvas 66 chrome/browser/ui/views/panels/panel_frame_view.cc return new gfx::ImageSkia(canvas.ExtractImageRep()); canvas 559 chrome/browser/ui/views/panels/panel_frame_view.cc void PanelFrameView::OnPaint(gfx::Canvas* canvas) { canvas 561 chrome/browser/ui/views/panels/panel_frame_view.cc PaintFrameBackground(canvas); canvas 562 chrome/browser/ui/views/panels/panel_frame_view.cc PaintFrameEdge(canvas); canvas 693 chrome/browser/ui/views/panels/panel_frame_view.cc void PanelFrameView::PaintFrameBackground(gfx::Canvas* canvas) { canvas 699 chrome/browser/ui/views/panels/panel_frame_view.cc canvas->TileImageInt(*image, 0, 0, width(), titlebar_height); canvas 705 chrome/browser/ui/views/panels/panel_frame_view.cc canvas->TileImageInt(*image, 0, titlebar_height, kNonAeroBorderThickness, canvas 709 chrome/browser/ui/views/panels/panel_frame_view.cc canvas->TileImageInt(*image, width() - kNonAeroBorderThickness, canvas 713 chrome/browser/ui/views/panels/panel_frame_view.cc canvas->TileImageInt(*image, 0, height() - kNonAeroBorderThickness, width(), canvas 717 chrome/browser/ui/views/panels/panel_frame_view.cc void PanelFrameView::PaintFrameEdge(gfx::Canvas* canvas) { canvas 735 chrome/browser/ui/views/panels/panel_frame_view.cc canvas->DrawImageInt(top_left_image, 0, 0); canvas 736 chrome/browser/ui/views/panels/panel_frame_view.cc canvas->TileImageInt(top_image, canvas 741 chrome/browser/ui/views/panels/panel_frame_view.cc canvas->DrawImageInt(top_right_image, width() - top_right_image.width(), 0); canvas 744 chrome/browser/ui/views/panels/panel_frame_view.cc canvas->TileImageInt(right_image, canvas 752 chrome/browser/ui/views/panels/panel_frame_view.cc canvas->DrawImageInt(bottom_right_image, canvas 755 chrome/browser/ui/views/panels/panel_frame_view.cc canvas->TileImageInt(bottom_image, canvas 761 chrome/browser/ui/views/panels/panel_frame_view.cc canvas->DrawImageInt(bottom_left_image, canvas 766 chrome/browser/ui/views/panels/panel_frame_view.cc canvas->TileImageInt(left_image, canvas 75 chrome/browser/ui/views/panels/panel_frame_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 97 chrome/browser/ui/views/panels/panel_frame_view.h void PaintFrameBackground(gfx::Canvas* canvas); canvas 98 chrome/browser/ui/views/panels/panel_frame_view.h void PaintFrameEdge(gfx::Canvas* canvas); canvas 191 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc gfx::Canvas canvas(gfx::Size(width, height), 1.0f, false); canvas 193 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc skia::ScopedPlatformPaint scoped_platform_paint(canvas.sk_canvas()); canvas 214 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc return new SkBitmap(canvas.ExtractImageRep().sk_bitmap()); canvas 112 chrome/browser/ui/views/profile_chooser_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 133 chrome/browser/ui/views/profile_chooser_view.cc void BackgroundColorHoverButton::OnPaint(gfx::Canvas* canvas) { canvas 135 chrome/browser/ui/views/profile_chooser_view.cc canvas->DrawColor(GetNativeTheme()->GetSystemColor( canvas 138 chrome/browser/ui/views/profile_chooser_view.cc LabelButton::OnPaint(canvas); canvas 204 chrome/browser/ui/views/sad_tab_view.cc void SadTabView::OnPaint(gfx::Canvas* canvas) { canvas 232 chrome/browser/ui/views/sad_tab_view.cc View::OnPaint(canvas); canvas 52 chrome/browser/ui/views/sad_tab_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 177 chrome/browser/ui/views/status_bubble_views.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 364 chrome/browser/ui/views/status_bubble_views.cc void StatusBubbleViews::StatusView::OnPaint(gfx::Canvas* canvas) { canvas 440 chrome/browser/ui/views/status_bubble_views.cc canvas->DrawPath(shadow_path, shadow_paint); canvas 449 chrome/browser/ui/views/status_bubble_views.cc canvas->DrawPath(path, paint); canvas 466 chrome/browser/ui/views/status_bubble_views.cc canvas->DrawStringRect(text_, font_list, text_color, body_bounds); canvas 95 chrome/browser/ui/views/tab_icon_view.cc void TabIconView::PaintThrobber(gfx::Canvas* canvas) { canvas 99 chrome/browser/ui/views/tab_icon_view.cc PaintIcon(canvas, throbber, throbber_frame_ * image_size, 0, image_size, canvas 103 chrome/browser/ui/views/tab_icon_view.cc void TabIconView::PaintFavicon(gfx::Canvas* canvas, canvas 105 chrome/browser/ui/views/tab_icon_view.cc PaintIcon(canvas, image, 0, 0, image.width(), image.height(), true); canvas 108 chrome/browser/ui/views/tab_icon_view.cc void TabIconView::PaintIcon(gfx::Canvas* canvas, canvas 135 chrome/browser/ui/views/tab_icon_view.cc canvas->DrawImageInt(image, src_x, src_y, src_w, src_h, canvas 140 chrome/browser/ui/views/tab_icon_view.cc void TabIconView::OnPaint(gfx::Canvas* canvas) { canvas 145 chrome/browser/ui/views/tab_icon_view.cc PaintThrobber(canvas); canvas 150 chrome/browser/ui/views/tab_icon_view.cc PaintFavicon(canvas, favicon); canvas 155 chrome/browser/ui/views/tab_icon_view.cc PaintFavicon(canvas, *g_default_favicon); canvas 37 chrome/browser/ui/views/tab_icon_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 41 chrome/browser/ui/views/tab_icon_view.h void PaintThrobber(gfx::Canvas* canvas); canvas 42 chrome/browser/ui/views/tab_icon_view.h void PaintFavicon(gfx::Canvas* canvas, const gfx::ImageSkia& image); canvas 43 chrome/browser/ui/views/tab_icon_view.h void PaintIcon(gfx::Canvas* canvas, canvas 251 chrome/browser/ui/views/tabs/tab.cc void DrawIconAtLocation(gfx::Canvas* canvas, canvas 261 chrome/browser/ui/views/tabs/tab.cc canvas->Save(); canvas 262 chrome/browser/ui/views/tabs/tab.cc canvas->ClipRect(gfx::Rect(dst_x, dst_y, icon_width, icon_height)); canvas 263 chrome/browser/ui/views/tabs/tab.cc canvas->DrawImageInt(image, canvas 267 chrome/browser/ui/views/tabs/tab.cc canvas->Restore(); canvas 271 chrome/browser/ui/views/tabs/tab.cc void DrawIconCenter(gfx::Canvas* canvas, canvas 282 chrome/browser/ui/views/tabs/tab.cc DrawIconAtLocation(canvas, image, image_offset, dst_x, dst_y, icon_width, canvas 759 chrome/browser/ui/views/tabs/tab.cc void Tab::OnPaint(gfx::Canvas* canvas) { canvas 769 chrome/browser/ui/views/tabs/tab.cc canvas->Save(); canvas 770 chrome/browser/ui/views/tabs/tab.cc canvas->ClipRect(clip); canvas 774 chrome/browser/ui/views/tabs/tab.cc PaintImmersiveTab(canvas); canvas 776 chrome/browser/ui/views/tabs/tab.cc PaintTab(canvas); canvas 779 chrome/browser/ui/views/tabs/tab.cc canvas->Restore(); canvas 1120 chrome/browser/ui/views/tabs/tab.cc void Tab::PaintTab(gfx::Canvas* canvas) { canvas 1131 chrome/browser/ui/views/tabs/tab.cc PaintTabBackground(canvas); canvas 1139 chrome/browser/ui/views/tabs/tab.cc PaintTitle(canvas, title_color); canvas 1142 chrome/browser/ui/views/tabs/tab.cc PaintIcon(canvas); canvas 1145 chrome/browser/ui/views/tabs/tab.cc PaintMediaIndicator(canvas); canvas 1157 chrome/browser/ui/views/tabs/tab.cc void Tab::PaintImmersiveTab(gfx::Canvas* canvas) { canvas 1172 chrome/browser/ui/views/tabs/tab.cc canvas->FillRect(bar_rect, SkColorSetA(color, alpha)); canvas 1186 chrome/browser/ui/views/tabs/tab.cc canvas->FillRect(eye_rect, kEyeColor); canvas 1193 chrome/browser/ui/views/tabs/tab.cc canvas->FillRect(right_eye_rect, kEyeColor); canvas 1198 chrome/browser/ui/views/tabs/tab.cc canvas->FillRect(left_eye_rect, kEyeColor); canvas 1203 chrome/browser/ui/views/tabs/tab.cc void Tab::PaintTabBackground(gfx::Canvas* canvas) { canvas 1205 chrome/browser/ui/views/tabs/tab.cc PaintActiveTabBackground(canvas); canvas 1212 chrome/browser/ui/views/tabs/tab.cc PaintInactiveTabBackgroundWithTitleChange(canvas, animation); canvas 1214 chrome/browser/ui/views/tabs/tab.cc PaintInactiveTabBackground(canvas); canvas 1219 chrome/browser/ui/views/tabs/tab.cc canvas->SaveLayerAlpha(static_cast<int>(throb_value * 0xff), canvas 1221 chrome/browser/ui/views/tabs/tab.cc PaintActiveTabBackground(canvas); canvas 1222 chrome/browser/ui/views/tabs/tab.cc canvas->Restore(); canvas 1228 chrome/browser/ui/views/tabs/tab.cc gfx::Canvas* canvas, canvas 1231 chrome/browser/ui/views/tabs/tab.cc gfx::Canvas background_canvas(size(), canvas->image_scale(), false); canvas 1237 chrome/browser/ui/views/tabs/tab.cc gfx::Canvas hover_canvas(size(), canvas->image_scale(), false); canvas 1268 chrome/browser/ui/views/tabs/tab.cc canvas->DrawImageInt(background_image, 0, 0); canvas 1273 chrome/browser/ui/views/tabs/tab.cc canvas->DrawImageInt(hover_image, 0, 0, alpha); canvas 1275 chrome/browser/ui/views/tabs/tab.cc canvas->DrawImageInt(hover_image, 0, 0); canvas 1279 chrome/browser/ui/views/tabs/tab.cc void Tab::PaintInactiveTabBackground(gfx::Canvas* canvas) { canvas 1301 chrome/browser/ui/views/tabs/tab.cc ui::GetSupportedScaleFactor(canvas->image_scale()); canvas 1304 chrome/browser/ui/views/tabs/tab.cc gfx::Canvas tmp_canvas(size(), canvas->image_scale(), false); canvas 1309 chrome/browser/ui/views/tabs/tab.cc canvas->DrawImageInt(cached_image, 0, 0); canvas 1311 chrome/browser/ui/views/tabs/tab.cc PaintInactiveTabBackgroundUsingResourceId(canvas, tab_id); canvas 1315 chrome/browser/ui/views/tabs/tab.cc void Tab::PaintInactiveTabBackgroundUsingResourceId(gfx::Canvas* canvas, canvas 1340 chrome/browser/ui/views/tabs/tab.cc gfx::Canvas background_canvas(size(), canvas->image_scale(), false); canvas 1375 chrome/browser/ui/views/tabs/tab.cc canvas->DrawImageInt( canvas 1380 chrome/browser/ui/views/tabs/tab.cc hover_controller_.Draw(canvas, gfx::ImageSkia( canvas 1385 chrome/browser/ui/views/tabs/tab.cc canvas->DrawImageInt(*tab_inactive_image->image_l, 0, 0); canvas 1386 chrome/browser/ui/views/tabs/tab.cc canvas->TileImageInt(*tab_inactive_image->image_c, canvas 1391 chrome/browser/ui/views/tabs/tab.cc canvas->DrawImageInt(*tab_inactive_image->image_r, canvas 1395 chrome/browser/ui/views/tabs/tab.cc void Tab::PaintActiveTabBackground(gfx::Canvas* canvas) { canvas 1408 chrome/browser/ui/views/tabs/tab.cc canvas->DrawImageInt(theme_l, 0, 0); canvas 1416 chrome/browser/ui/views/tabs/tab.cc canvas->DrawImageInt(theme_r, width() - tab_image->r_width, 0); canvas 1420 chrome/browser/ui/views/tabs/tab.cc canvas->TileImageInt(*tab_background, canvas 1429 chrome/browser/ui/views/tabs/tab.cc canvas->DrawImageInt(*tab_image->image_l, 0, 0); canvas 1430 chrome/browser/ui/views/tabs/tab.cc canvas->TileImageInt(*tab_image->image_c, tab_image->l_width, 0, canvas 1432 chrome/browser/ui/views/tabs/tab.cc canvas->DrawImageInt(*tab_image->image_r, width() - tab_image->r_width, 0); canvas 1435 chrome/browser/ui/views/tabs/tab.cc void Tab::PaintIcon(gfx::Canvas* canvas) { canvas 1451 chrome/browser/ui/views/tabs/tab.cc DrawIconCenter(canvas, frames, image_offset, canvas 1459 chrome/browser/ui/views/tabs/tab.cc DrawIconCenter(canvas, crashed_favicon, 0, canvas 1465 chrome/browser/ui/views/tabs/tab.cc DrawIconCenter(canvas, data().favicon, 0, canvas 1472 chrome/browser/ui/views/tabs/tab.cc void Tab::PaintMediaIndicator(gfx::Canvas* canvas) { canvas 1489 chrome/browser/ui/views/tabs/tab.cc DrawIconAtLocation(canvas, media_indicator_image, 0, canvas 1494 chrome/browser/ui/views/tabs/tab.cc void Tab::PaintTitle(gfx::Canvas* canvas, SkColor title_color) { canvas 1505 chrome/browser/ui/views/tabs/tab.cc canvas->DrawFadeTruncatingStringRect(title, gfx::Canvas::TruncateFadeTail, canvas 165 chrome/browser/ui/views/tabs/tab.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 200 chrome/browser/ui/views/tabs/tab.h void PaintTab(gfx::Canvas* canvas); canvas 203 chrome/browser/ui/views/tabs/tab.h void PaintImmersiveTab(gfx::Canvas* canvas); canvas 206 chrome/browser/ui/views/tabs/tab.h void PaintTabBackground(gfx::Canvas* canvas); canvas 208 chrome/browser/ui/views/tabs/tab.h gfx::Canvas* canvas, canvas 210 chrome/browser/ui/views/tabs/tab.h void PaintInactiveTabBackground(gfx::Canvas* canvas); canvas 211 chrome/browser/ui/views/tabs/tab.h void PaintInactiveTabBackgroundUsingResourceId(gfx::Canvas* canvas, canvas 213 chrome/browser/ui/views/tabs/tab.h void PaintActiveTabBackground(gfx::Canvas* canvas); canvas 216 chrome/browser/ui/views/tabs/tab.h void PaintIcon(gfx::Canvas* canvas); canvas 217 chrome/browser/ui/views/tabs/tab.h void PaintMediaIndicator(gfx::Canvas* canvas); canvas 218 chrome/browser/ui/views/tabs/tab.h void PaintTitle(gfx::Canvas* canvas, SkColor title_color); canvas 330 chrome/browser/ui/views/tabs/tab_strip.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 417 chrome/browser/ui/views/tabs/tab_strip.cc void NewTabButton::OnPaint(gfx::Canvas* canvas) { canvas 419 chrome/browser/ui/views/tabs/tab_strip.cc GetImageForScale(ui::GetSupportedScaleFactor(canvas->image_scale())); canvas 420 chrome/browser/ui/views/tabs/tab_strip.cc canvas->DrawImageInt(image, 0, height() - image.height()); canvas 475 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Canvas canvas(gfx::Size(width, height), scale, false); canvas 494 chrome/browser/ui/views/tabs/tab_strip.cc canvas.TileImageInt(*background, x, newtab_button_v_offset() + offset_y, canvas 502 chrome/browser/ui/views/tabs/tab_strip.cc canvas.DrawRect(gfx::Rect(0, 0, width, height), paint); canvas 507 chrome/browser/ui/views/tabs/tab_strip.cc canvas.FillRect(GetLocalBounds(), SkColorSetARGB(64, 255, 255, 255)); canvas 510 chrome/browser/ui/views/tabs/tab_strip.cc gfx::ImageSkia(canvas.ExtractImageRep()), *mask); canvas 520 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Canvas canvas( canvas 524 chrome/browser/ui/views/tabs/tab_strip.cc canvas.DrawImageInt(GetBackgroundImage(state, scale_factor), 0, 0); canvas 531 chrome/browser/ui/views/tabs/tab_strip.cc canvas.DrawImageInt(*overlay, 0, 0, alpha); canvas 533 chrome/browser/ui/views/tabs/tab_strip.cc return gfx::ImageSkia(canvas.ExtractImageRep()); canvas 1259 chrome/browser/ui/views/tabs/tab_strip.cc void TabStrip::PaintChildren(gfx::Canvas* canvas) { canvas 1283 chrome/browser/ui/views/tabs/tab_strip.cc canvas->SaveLayerAlpha(inactive_tab_alpha); canvas 1285 chrome/browser/ui/views/tabs/tab_strip.cc PaintClosingTabs(canvas, tab_count()); canvas 1302 chrome/browser/ui/views/tabs/tab_strip.cc tab->Paint(canvas); canvas 1310 chrome/browser/ui/views/tabs/tab_strip.cc PaintClosingTabs(canvas, i); canvas 1317 chrome/browser/ui/views/tabs/tab_strip.cc tab->Paint(canvas); canvas 1322 chrome/browser/ui/views/tabs/tab_strip.cc tab->Paint(canvas); canvas 1326 chrome/browser/ui/views/tabs/tab_strip.cc canvas->Restore(); canvas 1340 chrome/browser/ui/views/tabs/tab_strip.cc canvas->DrawRect(gfx::Rect(0, 0, width(), height() - 2), paint); canvas 1346 chrome/browser/ui/views/tabs/tab_strip.cc selected_tabs[i]->Paint(canvas); canvas 1350 chrome/browser/ui/views/tabs/tab_strip.cc active_tab->Paint(canvas); canvas 1354 chrome/browser/ui/views/tabs/tab_strip.cc canvas->SaveLayerAlpha(inactive_tab_alpha); canvas 1355 chrome/browser/ui/views/tabs/tab_strip.cc newtab_button_->Paint(canvas); canvas 1357 chrome/browser/ui/views/tabs/tab_strip.cc canvas->Restore(); canvas 1361 chrome/browser/ui/views/tabs/tab_strip.cc tabs_dragging[i]->Paint(canvas); canvas 1365 chrome/browser/ui/views/tabs/tab_strip.cc active_tab->Paint(canvas); canvas 2095 chrome/browser/ui/views/tabs/tab_strip.cc void TabStrip::PaintClosingTabs(gfx::Canvas* canvas, int index) { canvas 2102 chrome/browser/ui/views/tabs/tab_strip.cc (*i)->Paint(canvas); canvas 217 chrome/browser/ui/views/tabs/tab_strip.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; canvas 412 chrome/browser/ui/views/tabs/tab_strip.h void PaintClosingTabs(gfx::Canvas* canvas, int index); canvas 83 chrome/browser/ui/views/toolbar/browser_action_view.cc void BrowserActionView::PaintChildren(gfx::Canvas* canvas) { canvas 84 chrome/browser/ui/views/toolbar/browser_action_view.cc View::PaintChildren(canvas); canvas 88 chrome/browser/ui/views/toolbar/browser_action_view.cc action->PaintBadge(canvas, GetLocalBounds(), tab_id); canvas 81 chrome/browser/ui/views/toolbar/browser_action_view.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; canvas 592 chrome/browser/ui/views/toolbar/browser_actions_container.cc void BrowserActionsContainer::OnPaint(gfx::Canvas* canvas) { canvas 597 chrome/browser/ui/views/toolbar/browser_actions_container.cc canvas, highlight_painter_.get(), GetLocalBounds()); canvas 613 chrome/browser/ui/views/toolbar/browser_actions_container.cc canvas->FillRect(indicator_bounds, kDropIndicatorColor); canvas 258 chrome/browser/ui/views/toolbar/browser_actions_container.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 297 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc void ToolbarOriginChipView::OnPaint(gfx::Canvas* canvas) { canvas 300 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc views::Painter::PaintPainterAt(canvas, painter_, rect); canvas 302 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc ToolbarButton::OnPaint(canvas); canvas 69 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 707 chrome/browser/ui/views/toolbar/toolbar_view.cc void ToolbarView::OnPaint(gfx::Canvas* canvas) { canvas 708 chrome/browser/ui/views/toolbar/toolbar_view.cc View::OnPaint(canvas); canvas 718 chrome/browser/ui/views/toolbar/toolbar_view.cc canvas->FillRect(gfx::Rect(0, height() - 1, width(), 1), SK_ColorBLACK); canvas 157 chrome/browser/ui/views/toolbar/toolbar_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 126 chrome/browser/ui/views/toolbar/wrench_menu.cc virtual void Paint(const View& view, gfx::Canvas* canvas) OVERRIDE { canvas 180 chrome/browser/ui/views/toolbar/wrench_menu.cc virtual void Paint(gfx::Canvas* canvas, View* view) const OVERRIDE { canvas 191 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(0, 0, 1, h), canvas 196 chrome/browser/ui/views/toolbar/wrench_menu.cc DrawBackground(canvas, view, bounds, state); canvas 204 chrome/browser/ui/views/toolbar/wrench_menu.cc DrawBackground(canvas, view, gfx::Rect(1, 1, w, h - 2), state); canvas 205 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(2, 0, w, 1), border_color); canvas 206 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(1, 1, 1, 1), border_color); canvas 207 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(0, 2, 1, h - 4), border_color); canvas 208 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(1, h - 2, 1, 1), border_color); canvas 209 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(2, h - 1, w, 1), border_color); canvas 213 chrome/browser/ui/views/toolbar/wrench_menu.cc DrawBackground(canvas, view, gfx::Rect(1, 1, w - 2, h - 2), state); canvas 216 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(0, 0, 1, h), left_color); canvas 217 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(1, 0, w - 2, 1), border_color); canvas 218 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(1, h - 1, w - 2, 1), canvas 222 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(w - 1, 0, 1, h), right_color); canvas 227 chrome/browser/ui/views/toolbar/wrench_menu.cc DrawBackground(canvas, view, gfx::Rect(0, 1, w - 1, h - 2), state); canvas 228 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(0, 0, w - 2, 1), border_color); canvas 229 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(w - 2, 1, 1, 1), border_color); canvas 230 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(w - 1, 2, 1, h - 4), border_color); canvas 231 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(w - 2, h - 2, 1, 1), border_color); canvas 232 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(0, h - 1, w - 2, 1), border_color); canvas 236 chrome/browser/ui/views/toolbar/wrench_menu.cc DrawBackground(canvas, view, gfx::Rect(1, 1, w - 2, h - 2), state); canvas 237 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(2, 0, w - 4, 1), border_color); canvas 238 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(1, 1, 1, 1), border_color); canvas 239 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(0, 2, 1, h - 4), border_color); canvas 240 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(1, h - 2, 1, 1), border_color); canvas 241 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(2, h - 1, w - 4, 1), border_color); canvas 242 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(w - 2, 1, 1, 1), border_color); canvas 243 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(w - 1, 2, 1, h - 4), border_color); canvas 244 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(w - 2, h - 2, 1, 1), border_color); canvas 287 chrome/browser/ui/views/toolbar/wrench_menu.cc void DrawBackground(gfx::Canvas* canvas, canvas 293 chrome/browser/ui/views/toolbar/wrench_menu.cc view->GetNativeTheme()->Paint(canvas->sk_canvas(), canvas 302 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(bounds, BackgroundColor(view, state)); canvas 28 chrome/browser/ui/views/toolbar/wrench_toolbar_button.cc void WrenchToolbarButton::OnPaint(gfx::Canvas* canvas) { canvas 36 chrome/browser/ui/views/toolbar/wrench_toolbar_button.cc canvas, GetThemeProvider(), gfx::Rect(size()), GetCurrentBezelType()); canvas 37 chrome/browser/ui/views/toolbar/wrench_toolbar_button.cc views::Painter::PaintFocusPainter(this, canvas, focus_painter()); canvas 22 chrome/browser/ui/views/toolbar/wrench_toolbar_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 61 chrome/browser/ui/webui/ntp/ntp_login_handler.cc gfx::Canvas canvas(gfx::Size(kLength, kLength), 1.0f, false); canvas 62 chrome/browser/ui/webui/ntp/ntp_login_handler.cc canvas.DrawImageInt(gfx::ImageSkia::CreateFrom1xBitmap(bmp), 0, 0); canvas 66 chrome/browser/ui/webui/ntp/ntp_login_handler.cc canvas.DrawRect(gfx::Rect(0, 0, kLength - 1, kLength - 1), color); canvas 68 chrome/browser/ui/webui/ntp/ntp_login_handler.cc return canvas.ExtractImageRep().sk_bitmap(); canvas 126 chrome/common/badge_util.cc scoped_ptr<gfx::Canvas> canvas(new gfx::Canvas( canvas 128 chrome/common/badge_util.cc canvas->DrawImageInt(gfx::ImageSkia::CreateFrom1xBitmap(icon), 0, 0); canvas 135 chrome/common/badge_util.cc canvas->sk_canvas()->drawText( canvas 139 chrome/common/badge_util.cc return canvas->ExtractImageRep().sk_bitmap(); canvas 142 chrome/common/badge_util.cc void PaintBadge(gfx::Canvas* canvas, canvas 160 chrome/common/badge_util.cc canvas->Save(); canvas 196 chrome/common/badge_util.cc canvas->DrawRoundRect(rect, 2, rect_paint); canvas 207 chrome/common/badge_util.cc canvas->DrawImageInt(*gradient_left, rect.x(), rect.y()); canvas 208 chrome/common/badge_util.cc canvas->TileImageInt(*gradient_center, canvas 213 chrome/common/badge_util.cc canvas->DrawImageInt(*gradient_right, canvas 219 chrome/common/badge_util.cc canvas->ClipRect(rect); canvas 220 chrome/common/badge_util.cc canvas->sk_canvas()->drawText( canvas 226 chrome/common/badge_util.cc canvas->Restore(); canvas 38 chrome/common/badge_util.h void PaintBadge(gfx::Canvas* canvas, canvas 31 chrome/common/icon_with_badge_image_source.cc void IconWithBadgeImageSource::Draw(gfx::Canvas* canvas) { canvas 32 chrome/common/icon_with_badge_image_source.cc canvas->DrawImageInt(icon_, 0, 0, SkPaint()); canvas 37 chrome/common/icon_with_badge_image_source.cc badge_util::PaintBadge(canvas, bounds, text_, text_color_, canvas 33 chrome/common/icon_with_badge_image_source.h virtual void Draw(gfx::Canvas* canvas) OVERRIDE; canvas 226 chrome/renderer/pepper/pepper_flash_renderer_host.cc SkCanvas* canvas = image->GetPlatformCanvas(); canvas 228 chrome/renderer/pepper/pepper_flash_renderer_host.cc if (!canvas) { canvas 231 chrome/renderer/pepper/pepper_flash_renderer_host.cc canvas = image->GetPlatformCanvas(); canvas 232 chrome/renderer/pepper/pepper_flash_renderer_host.cc if (!canvas) canvas 236 chrome/renderer/pepper/pepper_flash_renderer_host.cc SkAutoCanvasRestore acr(canvas, true); canvas 245 chrome/renderer/pepper/pepper_flash_renderer_host.cc canvas->clipRect(clip_rect); canvas 258 chrome/renderer/pepper/pepper_flash_renderer_host.cc canvas->concat(matrix); canvas 287 chrome/renderer/pepper/pepper_flash_renderer_host.cc canvas->drawPosText(¶ms.glyph_indices[0], glyph_count * 2, sk_positions, canvas 379 chrome/renderer/pepper/pepper_pdf_host.cc SkCanvas* canvas = image_data->GetCanvas(); canvas 381 chrome/renderer/pepper/pepper_pdf_host.cc if (!canvas) { canvas 384 chrome/renderer/pepper/pepper_pdf_host.cc canvas = image_data->GetCanvas(); canvas 385 chrome/renderer/pepper/pepper_pdf_host.cc if (!canvas) canvas 389 chrome/renderer/pepper/pepper_pdf_host.cc const SkBitmap* bitmap = &skia::GetTopDevice(*canvas)->accessBitmap(false); canvas 453 chrome/renderer/printing/print_web_view_helper.cc blink::WebCanvas* canvas, canvas 461 chrome/renderer/printing/print_web_view_helper.cc static_cast<skia::VectorPlatformDeviceSkia*>(canvas->getTopDevice()); canvas 464 chrome/renderer/printing/print_web_view_helper.cc SkAutoCanvasRestore auto_restore(canvas, true); canvas 465 chrome/renderer/printing/print_web_view_helper.cc canvas->scale(1 / webkit_scale_factor, 1 / webkit_scale_factor); canvas 498 chrome/renderer/printing/print_web_view_helper.cc frame->printPage(0, canvas); canvas 513 chrome/renderer/printing/print_web_view_helper.cc blink::WebCanvas* canvas) { canvas 514 chrome/renderer/printing/print_web_view_helper.cc SkAutoCanvasRestore auto_restore(canvas, true); canvas 516 chrome/renderer/printing/print_web_view_helper.cc canvas->translate((content_area.x() - canvas_area.x()) / scale_factor, canvas 526 chrome/renderer/printing/print_web_view_helper.cc canvas->setClipRegion(clip_region); canvas 528 chrome/renderer/printing/print_web_view_helper.cc return frame->printPage(page_number, canvas); canvas 247 chrome/renderer/printing/print_web_view_helper.h blink::WebCanvas* canvas); canvas 266 chrome/renderer/printing/print_web_view_helper.h blink::WebCanvas* canvas, canvas 176 chrome/renderer/printing/print_web_view_helper_linux.cc skia::RefPtr<skia::VectorCanvas> canvas = canvas 178 chrome/renderer/printing/print_web_view_helper_linux.cc MetafileSkiaWrapper::SetMetafileOnCanvas(*canvas, metafile); canvas 179 chrome/renderer/printing/print_web_view_helper_linux.cc skia::SetIsDraftMode(*canvas, is_print_ready_metafile_sent_); canvas 184 chrome/renderer/printing/print_web_view_helper_linux.cc PrintHeaderAndFooter(canvas.get(), params.page_number + 1, canvas 191 chrome/renderer/printing/print_web_view_helper_linux.cc scale_factor, canvas.get()); canvas 179 chrome/renderer/printing/print_web_view_helper_win.cc skia::RefPtr<skia::VectorCanvas> canvas = canvas 183 chrome/renderer/printing/print_web_view_helper_win.cc MetafileSkiaWrapper::SetMetafileOnCanvas(*canvas, metafile); canvas 184 chrome/renderer/printing/print_web_view_helper_win.cc skia::SetIsDraftMode(*canvas, is_print_ready_metafile_sent_); canvas 185 chrome/renderer/printing/print_web_view_helper_win.cc skia::SetIsPreviewMetafile(*canvas, is_preview); canvas 190 chrome/renderer/printing/print_web_view_helper_win.cc PrintHeaderAndFooter(canvas.get(), page_number + 1, canvas 197 chrome/renderer/printing/print_web_view_helper_win.cc canvas.get()); canvas 209 chrome/renderer/printing/print_web_view_helper_win.cc *canvas, actual_shrink)) { canvas 28 chrome/renderer/webview_color_overlay.cc void WebViewColorOverlay::paintPageOverlay(blink::WebCanvas* canvas) { canvas 33 chrome/renderer/webview_color_overlay.cc canvas->drawRect(rect, paint); canvas 26 chrome/renderer/webview_color_overlay.h virtual void paintPageOverlay(blink::WebCanvas* canvas); canvas 129 components/plugins/renderer/webview_plugin.cc void WebViewPlugin::paint(WebCanvas* canvas, const WebRect& rect) { canvas 136 components/plugins/renderer/webview_plugin.cc canvas->translate(SkIntToScalar(rect_.x()), SkIntToScalar(rect_.y())); canvas 137 components/plugins/renderer/webview_plugin.cc canvas->save(); canvas 140 components/plugins/renderer/webview_plugin.cc web_view_->paint(canvas, paint_rect); canvas 142 components/plugins/renderer/webview_plugin.cc canvas->restore(); canvas 79 components/plugins/renderer/webview_plugin.h virtual void paint(blink::WebCanvas* canvas, const blink::WebRect& rect); canvas 131 content/browser/android/in_process/synchronous_compositor_impl.cc bool SynchronousCompositorImpl::DemandDrawSw(SkCanvas* canvas) { canvas 135 content/browser/android/in_process/synchronous_compositor_impl.cc return output_surface_->DemandDrawSw(canvas); canvas 60 content/browser/android/in_process/synchronous_compositor_impl.h virtual bool DemandDrawSw(SkCanvas* canvas) OVERRIDE; canvas 206 content/browser/android/in_process/synchronous_compositor_output_surface.cc bool SynchronousCompositorOutputSurface::DemandDrawSw(SkCanvas* canvas) { canvas 208 content/browser/android/in_process/synchronous_compositor_output_surface.cc DCHECK(canvas); canvas 210 content/browser/android/in_process/synchronous_compositor_output_surface.cc base::AutoReset<SkCanvas*> canvas_resetter(¤t_sw_canvas_, canvas); canvas 213 content/browser/android/in_process/synchronous_compositor_output_surface.cc canvas->getClipDeviceBounds(&canvas_clip); canvas 217 content/browser/android/in_process/synchronous_compositor_output_surface.cc transform.matrix() = canvas->getTotalMatrix(); // Converts 3x3 matrix to 4x4. canvas 219 content/browser/android/in_process/synchronous_compositor_output_surface.cc surface_size_ = gfx::Size(canvas->getDeviceSize().width(), canvas 220 content/browser/android/in_process/synchronous_compositor_output_surface.cc canvas->getDeviceSize().height()); canvas 75 content/browser/android/in_process/synchronous_compositor_output_surface.h bool DemandDrawSw(SkCanvas* canvas); canvas 137 content/browser/compositor/software_output_device_ozone_unittest.cc SkCanvas* canvas = output_device_->BeginPaint(damage); canvas 140 content/browser/compositor/software_output_device_ozone_unittest.cc canvas->getClipDeviceBounds(&sk_bounds); canvas 147 content/browser/compositor/software_output_device_ozone_unittest.cc SkCanvas* canvas = output_device_->BeginPaint(damage); canvas 153 content/browser/compositor/software_output_device_ozone_unittest.cc canvas = output_device_->BeginPaint(damage); canvas 155 content/browser/compositor/software_output_device_ozone_unittest.cc canvas->getClipDeviceBounds(&sk_bounds); canvas 166 content/browser/compositor/software_output_device_ozone_unittest.cc SkCanvas* canvas = output_device_->BeginPaint(damage); canvas 167 content/browser/compositor/software_output_device_ozone_unittest.cc gfx::Size canvas_size(canvas->getDeviceSize().width(), canvas 168 content/browser/compositor/software_output_device_ozone_unittest.cc canvas->getDeviceSize().height()); canvas 175 content/browser/compositor/software_output_device_ozone_unittest.cc canvas = output_device_->BeginPaint(damage); canvas 176 content/browser/compositor/software_output_device_ozone_unittest.cc canvas_size.SetSize(canvas->getDeviceSize().width(), canvas 177 content/browser/compositor/software_output_device_ozone_unittest.cc canvas->getDeviceSize().height()); canvas 187 content/browser/compositor/software_output_device_ozone_unittest.cc SkCanvas* canvas = output_device_->BeginPaint(area); canvas 190 content/browser/compositor/software_output_device_ozone_unittest.cc canvas->drawColor(SK_ColorBLACK); canvas 197 content/browser/compositor/software_output_device_ozone_unittest.cc canvas = output_device_->BeginPaint(damage); canvas 199 content/browser/compositor/software_output_device_ozone_unittest.cc canvas->drawColor(SK_ColorWHITE); canvas 68 content/browser/compositor/software_output_device_win.cc SkCanvas* canvas = contents_->sk_canvas(); canvas 69 content/browser/compositor/software_output_device_win.cc DCHECK(canvas); canvas 83 content/browser/compositor/software_output_device_win.cc HDC dib_dc = skia::BeginPlatformPaint(canvas); canvas 86 content/browser/compositor/software_output_device_win.cc skia::EndPlatformPaint(canvas); canvas 90 content/browser/compositor/software_output_device_win.cc skia::DrawToNativeContext(canvas, hdc, rect.x(), rect.y(), &src_rect); canvas 62 content/browser/frame_host/navigation_entry_screenshot_manager.cc SkCanvas canvas(a8Bitmap); canvas 67 content/browser/frame_host/navigation_entry_screenshot_manager.cc canvas.drawBitmap(bitmap, SK_Scalar1, SK_Scalar1, &paint); canvas 53 content/browser/renderer_host/backing_store_aura.cc gfx::Canvas* canvas) { canvas 56 content/browser/renderer_host/backing_store_aura.cc canvas->DrawImageInt(image, point.x(), point.y()); canvas 34 content/browser/renderer_host/backing_store_aura.h gfx::Canvas* canvas); canvas 193 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc SkCanvas canvas(result); canvas 194 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc canvas.scale(static_cast<double>(result.width()) / cropped_src.width(), canvas 198 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc canvas.drawBitmap(cropped_src, 0, 0, &paint); canvas 115 content/browser/renderer_host/compositor_impl_android.cc SkCanvas canvas(tiny_bitmap); canvas 119 content/browser/renderer_host/compositor_impl_android.cc canvas.drawColor(SK_ColorWHITE); canvas 955 content/browser/renderer_host/render_widget_host_unittest.cc gfx::Canvas canvas(gfx::Size(4, 4), 1.0f, true); canvas 956 content/browser/renderer_host/render_widget_host_unittest.cc canvas.FillRect(gfx::Rect(0, 0, 2, 2), SK_ColorBLACK); canvas 957 content/browser/renderer_host/render_widget_host_unittest.cc canvas.FillRect(gfx::Rect(2, 0, 2, 2), SK_ColorWHITE); canvas 958 content/browser/renderer_host/render_widget_host_unittest.cc canvas.FillRect(gfx::Rect(0, 2, 2, 2), SK_ColorWHITE); canvas 959 content/browser/renderer_host/render_widget_host_unittest.cc canvas.FillRect(gfx::Rect(2, 2, 2, 2), SK_ColorBLACK); canvas 961 content/browser/renderer_host/render_widget_host_unittest.cc canvas.sk_canvas()->getDevice()->accessBitmap(false); canvas 896 content/browser/renderer_host/render_widget_host_view_android.cc SkCanvas canvas(bitmap); canvas 897 content/browser/renderer_host/render_widget_host_view_android.cc canvas.scale( canvas 900 content/browser/renderer_host/render_widget_host_view_android.cc compositor->DemandDrawSw(&canvas); canvas 2543 content/browser/renderer_host/render_widget_host_view_aura.cc void RenderWidgetHostViewAura::OnPaint(gfx::Canvas* canvas) { canvas 2546 content/browser/renderer_host/render_widget_host_view_aura.cc paint_canvas_ = canvas; canvas 2550 content/browser/renderer_host/render_widget_host_view_aura.cc backing_store->SkiaShowRect(gfx::Point(), canvas); canvas 2563 content/browser/renderer_host/render_widget_host_view_aura.cc canvas->DrawColor(SK_ColorWHITE); canvas 298 content/browser/renderer_host/render_widget_host_view_aura.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 591 content/browser/renderer_host/render_widget_host_view_browsertest.cc SkCanvas canvas(bitmap); canvas 594 content/browser/renderer_host/render_widget_host_view_browsertest.cc &canvas, canvas 86 content/browser/web_contents/aura/gesture_nav_simple.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE { canvas 92 content/browser/web_contents/aura/gesture_nav_simple.cc canvas->DrawCircle( canvas 96 content/browser/web_contents/aura/gesture_nav_simple.cc canvas->DrawImageInt(*image_.ToImageSkia(), canvas 67 content/browser/web_contents/aura/image_window_delegate.cc void ImageWindowDelegate::OnPaint(gfx::Canvas* canvas) { canvas 69 content/browser/web_contents/aura/image_window_delegate.cc canvas->DrawColor(SK_ColorGRAY); canvas 72 content/browser/web_contents/aura/image_window_delegate.cc canvas->DrawColor(SK_ColorWHITE); canvas 73 content/browser/web_contents/aura/image_window_delegate.cc canvas->DrawImageInt(image_.AsImageSkia(), 0, 0); canvas 39 content/browser/web_contents/aura/image_window_delegate.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 38 content/browser/web_contents/aura/overscroll_navigation_overlay.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE { canvas 40 content/browser/web_contents/aura/overscroll_navigation_overlay.cc canvas->DrawColor(SK_ColorGRAY); canvas 42 content/browser/web_contents/aura/overscroll_navigation_overlay.cc SkISize size = canvas->sk_canvas()->getDeviceSize(); canvas 45 content/browser/web_contents/aura/overscroll_navigation_overlay.cc canvas->DrawColor(SK_ColorWHITE); canvas 47 content/browser/web_contents/aura/overscroll_navigation_overlay.cc canvas->DrawImageInt(image_.AsImageSkia(), 0, 0); canvas 36 content/browser/web_contents/aura/shadow_layer_delegate.cc void ShadowLayerDelegate::OnPaintLayer(gfx::Canvas* canvas) { canvas 51 content/browser/web_contents/aura/shadow_layer_delegate.cc canvas->sk_canvas()->drawRect(gfx::RectToSkRect(paint_rect), paint); canvas 35 content/browser/web_contents/aura/shadow_layer_delegate.h virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE; canvas 1356 content/browser/web_contents/web_contents_view_aura.cc void WebContentsViewAura::OnPaint(gfx::Canvas* canvas) { canvas 164 content/browser/web_contents/web_contents_view_aura.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 313 content/child/browser_font_resource_trusted.cc SkCanvas* canvas = image->GetPlatformCanvas(); canvas 315 content/child/browser_font_resource_trusted.cc if (!canvas) { canvas 318 content/child/browser_font_resource_trusted.cc canvas = image->GetPlatformCanvas(); canvas 319 content/child/browser_font_resource_trusted.cc if (!canvas) canvas 323 content/child/browser_font_resource_trusted.cc DrawTextToCanvas(canvas, *text, position, color, clip, image_data_is_opaque); canvas 67 content/child/npapi/webplugin_delegate.h virtual void Paint(SkCanvas* canvas, const gfx::Rect& rect) = 0; canvas 94 content/child/npapi/webplugin_delegate_impl.h virtual void Paint(SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; canvas 42 content/child/npapi/webplugin_delegate_impl_android.cc void WebPluginDelegateImpl::Paint(SkCanvas* canvas, const gfx::Rect& rect) { canvas 29 content/child/npapi/webplugin_delegate_impl_aura.cc void WebPluginDelegateImpl::Paint(SkCanvas* canvas, const gfx::Rect& rect) { canvas 99 content/child/npapi/webplugin_delegate_impl_gtk.cc void WebPluginDelegateImpl::Paint(SkCanvas* canvas, const gfx::Rect& rect) { canvas 100 content/child/npapi/webplugin_delegate_impl_gtk.cc if (!windowless_ || !skia::SupportsPlatformPaint(canvas)) canvas 102 content/child/npapi/webplugin_delegate_impl_gtk.cc skia::ScopedPlatformPaint scoped_platform_paint(canvas); canvas 457 content/child/npapi/webplugin_delegate_impl_win.cc void WebPluginDelegateImpl::Paint(SkCanvas* canvas, const gfx::Rect& rect) { canvas 458 content/child/npapi/webplugin_delegate_impl_win.cc if (windowless_ && skia::SupportsPlatformPaint(canvas)) { canvas 459 content/child/npapi/webplugin_delegate_impl_win.cc skia::ScopedPlatformPaint scoped_platform_paint(canvas); canvas 178 content/child/webfallbackthemeengine_impl.cc blink::WebCanvas* canvas, canvas 186 content/child/webfallbackthemeengine_impl.cc theme_->Paint(canvas, canvas 25 content/child/webfallbackthemeengine_impl.h blink::WebCanvas* canvas, canvas 163 content/child/webthemeengine_impl_android.cc blink::WebCanvas* canvas, canvas 172 content/child/webthemeengine_impl_android.cc canvas, canvas 17 content/child/webthemeengine_impl_android.h blink::WebCanvas* canvas, canvas 171 content/child/webthemeengine_impl_default.cc blink::WebCanvas* canvas, canvas 180 content/child/webthemeengine_impl_default.cc canvas, canvas 17 content/child/webthemeengine_impl_default.h blink::WebCanvas* canvas, canvas 31 content/child/webthemeengine_impl_mac.cc WebCanvas* canvas, canvas 56 content/child/webthemeengine_impl_mac.cc gfx::SkiaBitLocker bitLocker(canvas); canvas 16 content/child/webthemeengine_impl_mac.h blink::WebCanvas* canvas, canvas 464 content/plugin/webplugin_proxy.cc skia::RefPtr<skia::PlatformCanvas>* canvas) { canvas 465 content/plugin/webplugin_proxy.cc *canvas = skia::AdoptRef( canvas 542 content/plugin/webplugin_proxy.cc skia::RefPtr<skia::PlatformCanvas>* canvas) { canvas 547 content/plugin/webplugin_proxy.cc *canvas = skia::AdoptRef( canvas 550 content/plugin/webplugin_proxy.cc canvas->clear(); canvas 166 content/plugin/webplugin_proxy.h skia::RefPtr<SkCanvas>* canvas); canvas 178 content/plugin/webplugin_proxy.h skia::RefPtr<SkCanvas>* canvas); canvas 260 content/public/android/java/src/org/chromium/content/browser/ContentView.java public boolean drawChild(Canvas canvas, View child, long drawingTime) { canvas 261 content/public/android/java/src/org/chromium/content/browser/ContentView.java return super.drawChild(canvas, child, drawingTime); canvas 141 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java boolean drawChild(Canvas canvas, View child, long drawingTime); canvas 240 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java public void onDraw(Canvas canvas) { canvas 242 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java if (canvas.isHardwareAccelerated()) return; canvas 246 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java canvas.drawBitmap(bitmap, 0, 0, null); canvas 252 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java Canvas canvas = new Canvas(mZoomedBitmap); canvas 254 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java RectF canvasRect = new RectF(0, 0, canvas.getWidth(), canvas.getHeight()); canvas 257 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java canvas.clipPath(path, Op.XOR); canvas 261 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java canvas.drawPaint(clearPaint); canvas 414 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java protected void onDraw(Canvas canvas) { canvas 423 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java canvas.save(); canvas 450 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java canvas.drawARGB((int) (80 * fractionAnimation), 0, 0, 0); canvas 451 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java canvas.save(); canvas 471 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java canvas.clipRect(rect); canvas 476 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java canvas.scale(scale, scale, rect.left, rect.top); canvas 477 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java canvas.translate(mPopupScrollX, mPopupScrollY); canvas 478 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java canvas.drawBitmap(mZoomedBitmap, rect.left, rect.top, null); canvas 479 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java canvas.restore(); canvas 489 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java overlayNineTile.draw(canvas); canvas 490 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java canvas.restore(); canvas 47 content/public/android/javatests/src/org/chromium/content/browser/ContentViewScrollingTest.java public boolean drawChild(Canvas canvas, View child, long drawingTime) { canvas 83 content/public/browser/android/synchronous_compositor.h virtual bool DemandDrawSw(SkCanvas* canvas) = 0; canvas 992 content/renderer/browser_plugin/browser_plugin.cc void BrowserPlugin::paint(WebCanvas* canvas, const WebRect& rect) { canvas 1000 content/renderer/browser_plugin/browser_plugin.cc PaintSadPlugin(canvas, plugin_rect_, *sad_guest_); canvas 1004 content/renderer/browser_plugin/browser_plugin.cc SkAutoCanvasRestore auto_restore(canvas, true); canvas 1005 content/renderer/browser_plugin/browser_plugin.cc canvas->translate(plugin_rect_.x(), plugin_rect_.y()); canvas 1011 content/renderer/browser_plugin/browser_plugin.cc canvas->clipRect(image_data_rect); canvas 1017 content/renderer/browser_plugin/browser_plugin.cc canvas->drawRect(image_data_rect, paint); canvas 1023 content/renderer/browser_plugin/browser_plugin.cc canvas->scale(inverse_scale_factor, inverse_scale_factor); canvas 1024 content/renderer/browser_plugin/browser_plugin.cc canvas->drawBitmap(backing_store_->GetBitmap(), 0, 0); canvas 154 content/renderer/browser_plugin/browser_plugin.h blink::WebCanvas* canvas, canvas 437 content/renderer/media/android/webmediaplayer_android.cc void WebMediaPlayerAndroid::paint(blink::WebCanvas* canvas, canvas 907 content/renderer/media/android/webmediaplayer_android.cc SkCanvas canvas(bitmap); canvas 908 content/renderer/media/android/webmediaplayer_android.cc canvas.drawColor(SK_ColorBLACK); canvas 959 content/renderer/media/android/webmediaplayer_android.cc canvas.drawText(display_text.c_str(), canvas 108 content/renderer/media/android/webmediaplayer_android.h virtual void paint(blink::WebCanvas* canvas, canvas 526 content/renderer/media/webmediaplayer_impl.cc void WebMediaPlayerImpl::paint(WebCanvas* canvas, canvas 550 content/renderer/media/webmediaplayer_impl.cc skcanvas_video_renderer_.Paint(video_frame.get(), canvas, gfx_rect, alpha); canvas 94 content/renderer/media/webmediaplayer_impl.h virtual void paint(blink::WebCanvas* canvas, canvas 320 content/renderer/media/webmediaplayer_ms.cc void WebMediaPlayerMS::paint(WebCanvas* canvas, canvas 327 content/renderer/media/webmediaplayer_ms.cc video_renderer_.Paint(current_frame_.get(), canvas, dest_rect, alpha); canvas 82 content/renderer/media/webmediaplayer_ms.h virtual void paint(blink::WebCanvas* canvas, canvas 603 content/renderer/npapi/webplugin_delegate_proxy.cc &transport_stores_[0].canvas) || canvas 605 content/renderer/npapi/webplugin_delegate_proxy.cc &transport_stores_[1].canvas)) { canvas 621 content/renderer/npapi/webplugin_delegate_proxy.cc transport_stores_[0].canvas.reset(); canvas 622 content/renderer/npapi/webplugin_delegate_proxy.cc transport_stores_[1].canvas.reset(); canvas 636 content/renderer/npapi/webplugin_delegate_proxy.cc scoped_ptr<skia::PlatformCanvas>* canvas) { canvas 641 content/renderer/npapi/webplugin_delegate_proxy.cc canvas->reset(skia::CreatePlatformCanvas( canvas 650 content/renderer/npapi/webplugin_delegate_proxy.cc scoped_ptr<skia::PlatformCanvas>* canvas) { canvas 669 content/renderer/npapi/webplugin_delegate_proxy.cc canvas->reset((*memory)->GetPlatformCanvas(plugin_rect_.width(), canvas 671 content/renderer/npapi/webplugin_delegate_proxy.cc return !!canvas->get(); canvas 674 content/renderer/npapi/webplugin_delegate_proxy.cc void WebPluginDelegateProxy::Paint(SkCanvas* canvas, canvas 687 content/renderer/npapi/webplugin_delegate_proxy.cc PaintSadPlugin(canvas, plugin_rect_, *sad_plugin_); canvas 721 content/renderer/npapi/webplugin_delegate_proxy.cc canvas->drawBitmapRect(bitmap, canvas 66 content/renderer/npapi/webplugin_delegate_proxy.h virtual void Paint(SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; canvas 156 content/renderer/npapi/webplugin_delegate_proxy.h scoped_ptr<SkCanvas> canvas; canvas 222 content/renderer/npapi/webplugin_delegate_proxy.h return transport_stores_[front_buffer_index()].canvas.get(); canvas 226 content/renderer/npapi/webplugin_delegate_proxy.h return transport_stores_[back_buffer_index()].canvas.get(); canvas 241 content/renderer/npapi/webplugin_delegate_proxy.h scoped_ptr<SkCanvas>* canvas); canvas 246 content/renderer/npapi/webplugin_delegate_proxy.h scoped_ptr<SkCanvas>* canvas); canvas 302 content/renderer/npapi/webplugin_impl.cc void WebPluginImpl::paint(WebCanvas* canvas, const WebRect& paint_rect) { canvas 313 content/renderer/npapi/webplugin_impl.cc delegate_->Paint(canvas, paint_rect); canvas 79 content/renderer/npapi/webplugin_impl.h blink::WebCanvas* canvas, const blink::WebRect& paint_rect); canvas 331 content/renderer/pepper/pepper_graphics_2d_host.cc void PepperGraphics2DHost::Paint(blink::WebCanvas* canvas, canvas 341 content/renderer/pepper/pepper_graphics_2d_host.cc SkAutoCanvasRestore auto_restore(canvas, true); canvas 342 content/renderer/pepper/pepper_graphics_2d_host.cc canvas->clipRect(sk_invalidate_rect); canvas 358 content/renderer/pepper/pepper_graphics_2d_host.cc SkAutoCanvasRestore auto_restore(canvas, true); canvas 361 content/renderer/pepper/pepper_graphics_2d_host.cc canvas->clipRect(image_data_rect, SkRegion::kDifference_Op); canvas 366 content/renderer/pepper/pepper_graphics_2d_host.cc canvas->drawRect(sk_invalidate_rect, paint); canvas 372 content/renderer/pepper/pepper_graphics_2d_host.cc if (!skia::SupportsPlatformPaint(canvas)) canvas 390 content/renderer/pepper/pepper_graphics_2d_host.cc canvas->scale(scale_, scale_); canvas 394 content/renderer/pepper/pepper_graphics_2d_host.cc canvas->drawBitmap(image, pixel_origin.x(), pixel_origin.y(), &paint); canvas 68 content/renderer/pepper/pepper_graphics_2d_host.h void Paint(blink::WebCanvas* canvas, canvas 70 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc scoped_ptr<WebCanvas> canvas(new WebCanvas(*bitmap)); canvas 72 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc host_->Paint(canvas.get(), plugin_rect, canvas 674 content/renderer/pepper/pepper_plugin_instance_impl.cc void PepperPluginInstanceImpl::Paint(WebCanvas* canvas, canvas 683 content/renderer/pepper/pepper_plugin_instance_impl.cc PaintSadPlugin(canvas, plugin_rect, *sad_plugin_); canvas 688 content/renderer/pepper/pepper_plugin_instance_impl.cc bound_graphics_2d_platform_->Paint(canvas, plugin_rect, paint_rect); canvas 1684 content/renderer/pepper/pepper_plugin_instance_impl.cc blink::WebCanvas* canvas) { canvas 1691 content/renderer/pepper/pepper_plugin_instance_impl.cc (printing::MetafileSkiaWrapper::GetMetafileFromCanvas(*canvas) != NULL); canvas 1693 content/renderer/pepper/pepper_plugin_instance_impl.cc save_for_later = save_for_later && skia::IsPreviewMetafile(*canvas); canvas 1697 content/renderer/pepper/pepper_plugin_instance_impl.cc canvas_ = skia::SharePtr(canvas); canvas 1700 content/renderer/pepper/pepper_plugin_instance_impl.cc return PrintPageHelper(&page_range, 1, canvas); canvas 1710 content/renderer/pepper/pepper_plugin_instance_impl.cc blink::WebCanvas* canvas) { canvas 1724 content/renderer/pepper/pepper_plugin_instance_impl.cc ret = PrintPDFOutput(print_output, canvas); canvas 1868 content/renderer/pepper/pepper_plugin_instance_impl.cc blink::WebCanvas* canvas) { canvas 1897 content/renderer/pepper/pepper_plugin_instance_impl.cc printing::MetafileSkiaWrapper::GetMetafileFromCanvas(*canvas); canvas 1903 content/renderer/pepper/pepper_plugin_instance_impl.cc printing::MetafileSkiaWrapper::GetMetafileFromCanvas(*canvas); canvas 1911 content/renderer/pepper/pepper_plugin_instance_impl.cc HDC dc = skia::BeginPlatformPaint(canvas); canvas 1939 content/renderer/pepper/pepper_plugin_instance_impl.cc printing::MetafileSkiaWrapper::SetCustomScaleOnCanvas(*canvas, canvas 1949 content/renderer/pepper/pepper_plugin_instance_impl.cc skia::EndPlatformPaint(canvas); canvas 2914 content/renderer/pepper/pepper_plugin_instance_impl.cc skia::PlatformCanvas* canvas = image_data->GetPlatformCanvas(); canvas 2917 content/renderer/pepper/pepper_plugin_instance_impl.cc canvas->writePixels(image_skia_rep.sk_bitmap(), 0, 0); canvas 157 content/renderer/pepper/pepper_plugin_instance_impl.h void Paint(blink::WebCanvas* canvas, canvas 251 content/renderer/pepper/pepper_plugin_instance_impl.h bool PrintPage(int page_number, blink::WebCanvas* canvas); canvas 614 content/renderer/pepper/pepper_plugin_instance_impl.h bool PrintPDFOutput(PP_Resource print_output, blink::WebCanvas* canvas); canvas 628 content/renderer/pepper/pepper_plugin_instance_impl.h blink::WebCanvas* canvas); canvas 162 content/renderer/pepper/pepper_webplugin_impl.cc void PepperWebPluginImpl::paint(WebCanvas* canvas, const WebRect& rect) { canvas 164 content/renderer/pepper/pepper_webplugin_impl.cc instance_->Paint(canvas, plugin_rect_, rect); canvas 282 content/renderer/pepper/pepper_webplugin_impl.cc blink::WebCanvas* canvas) { canvas 283 content/renderer/pepper/pepper_webplugin_impl.cc return instance_->PrintPage(page_number, canvas); canvas 47 content/renderer/pepper/pepper_webplugin_impl.h virtual void paint(blink::WebCanvas* canvas, const blink::WebRect& rect); canvas 81 content/renderer/pepper/pepper_webplugin_impl.h virtual bool printPage(int page_number, blink::WebCanvas* canvas) OVERRIDE; canvas 137 content/renderer/pepper/ppb_scrollbar_impl.cc skia::PlatformCanvas* canvas = image->GetPlatformCanvas(); canvas 138 content/renderer/pepper/ppb_scrollbar_impl.cc if (!canvas || !scrollbar_) canvas 140 content/renderer/pepper/ppb_scrollbar_impl.cc canvas->save(); canvas 141 content/renderer/pepper/ppb_scrollbar_impl.cc canvas->scale(scale(), scale()); canvas 142 content/renderer/pepper/ppb_scrollbar_impl.cc scrollbar_->paint(canvas, rect); canvas 143 content/renderer/pepper/ppb_scrollbar_impl.cc canvas->restore(); canvas 147 content/renderer/pepper/ppb_scrollbar_impl.cc skia::MakeOpaque(canvas, rect.x(), rect.y(), rect.width(), rect.height()); canvas 4628 content/renderer/render_view_impl.cc scoped_ptr<skia::PlatformCanvas> canvas( canvas 4631 content/renderer/render_view_impl.cc if (!canvas) { canvas 4640 content/renderer/render_view_impl.cc canvas->scale(new_total_scale / device_scale_factor_, canvas 4642 content/renderer/render_view_impl.cc canvas->translate(-zoom_rect.x() * device_scale_factor_, canvas 4646 content/renderer/render_view_impl.cc canvas.get(), canvas 1273 content/renderer/render_widget.cc skia::PlatformCanvas* canvas) { canvas 1277 content/renderer/render_widget.cc canvas->save(); canvas 1280 content/renderer/render_widget.cc canvas->translate(static_cast<SkScalar>(-canvas_origin.x()), canvas 1297 content/renderer/render_widget.cc canvas->save(); canvas 1298 content/renderer/render_widget.cc canvas->scale(device_scale_factor_, device_scale_factor_); canvas 1299 content/renderer/render_widget.cc canvas->clipRect(gfx::RectToSkRect(rect)); canvas 1300 content/renderer/render_widget.cc canvas->drawPaint(paint); canvas 1301 content/renderer/render_widget.cc canvas->restore(); canvas 1335 content/renderer/render_widget.cc SkAutoCanvasRestore auto_restore(canvas, true); canvas 1336 content/renderer/render_widget.cc canvas->scale(device_scale_factor_, device_scale_factor_); canvas 1337 content/renderer/render_widget.cc optimized_instance->Paint(canvas, optimized_copy_location, rect); canvas 1338 content/renderer/render_widget.cc canvas->restore(); canvas 1346 content/renderer/render_widget.cc webwidget_->paint(canvas, rect); canvas 1356 content/renderer/render_widget.cc skia::GetTopDevice(*canvas)->accessBitmap(false); canvas 1359 content/renderer/render_widget.cc PaintDebugBorder(rect, canvas); canvas 1360 content/renderer/render_widget.cc canvas->restore(); canvas 1364 content/renderer/render_widget.cc skia::PlatformCanvas* canvas) { canvas 1385 content/renderer/render_widget.cc canvas->drawIRect(irect, paint); canvas 1645 content/renderer/render_widget.cc scoped_ptr<skia::PlatformCanvas> canvas( canvas 1648 content/renderer/render_widget.cc if (!canvas) { canvas 1655 content/renderer/render_widget.cc DCHECK_EQ(pixel_bounds.width(), canvas->getDevice()->width()); canvas 1656 content/renderer/render_widget.cc DCHECK_EQ(pixel_bounds.height(), canvas->getDevice()->height()); canvas 1657 content/renderer/render_widget.cc pixel_bounds.set_width(canvas->getDevice()->width()); canvas 1658 content/renderer/render_widget.cc pixel_bounds.set_height(canvas->getDevice()->height()); canvas 1679 content/renderer/render_widget.cc PaintRect(rect, pixel_bounds.origin(), canvas.get()); canvas 2252 content/renderer/render_widget.cc skia::RefPtr<SkCanvas> canvas = skia::AdoptRef( canvas 2258 content/renderer/render_widget.cc if (!canvas) canvas 2261 content/renderer/render_widget.cc canvas->save(); canvas 2264 content/renderer/render_widget.cc PaintRect(viewport_size, viewport_size.origin(), canvas.get()); canvas 2265 content/renderer/render_widget.cc canvas->restore(); canvas 2267 content/renderer/render_widget.cc const SkBitmap& bitmap = skia::GetTopDevice(*canvas)->accessBitmap(false); canvas 294 content/renderer/render_widget.h SkCanvas* canvas); canvas 297 content/renderer/render_widget.h void PaintDebugBorder(const gfx::Rect& rect, SkCanvas* canvas); canvas 174 content/renderer/render_widget_fullscreen_pepper.cc virtual void paint(WebCanvas* canvas, const WebRect& rect, PaintOptions) { canvas 178 content/renderer/render_widget_fullscreen_pepper.cc SkAutoCanvasRestore auto_restore(canvas, true); canvas 180 content/renderer/render_widget_fullscreen_pepper.cc canvas->scale(canvas_scale, canvas_scale); canvas 183 content/renderer/render_widget_fullscreen_pepper.cc widget_->plugin()->Paint(canvas, plugin_rect, rect); canvas 22 content/renderer/sad_plugin.cc SkCanvas* canvas = webcanvas; canvas 23 content/renderer/sad_plugin.cc SkAutoCanvasRestore auto_restore(canvas, true); canvas 26 content/renderer/sad_plugin.cc canvas->translate(plugin_rect.x(), plugin_rect.y()); canvas 31 content/renderer/sad_plugin.cc canvas->drawRectCoords(0, 0, SkIntToScalar(width), SkIntToScalar(height), canvas 33 content/renderer/sad_plugin.cc canvas->drawBitmap( canvas 20 content/renderer/sad_plugin.h void PaintSadPlugin(blink::WebCanvas* canvas, canvas 164 content/renderer/skia_benchmarking_extension.cc SkCanvas canvas(bitmap); canvas 165 content/renderer/skia_benchmarking_extension.cc canvas.translate(SkFloatToScalar(-clip.x()), SkFloatToScalar(-clip.y())); canvas 166 content/renderer/skia_benchmarking_extension.cc canvas.clipRect(gfx::RectToSkRect(snapped_clip)); canvas 167 content/renderer/skia_benchmarking_extension.cc canvas.scale(scale, scale); canvas 168 content/renderer/skia_benchmarking_extension.cc canvas.translate(picture->LayerRect().x(), picture->LayerRect().y()); canvas 180 content/renderer/skia_benchmarking_extension.cc &canvas, canvas 220 content/renderer/skia_benchmarking_extension.cc SkDebugCanvas canvas(bounds.width(), bounds.height()); canvas 221 content/renderer/skia_benchmarking_extension.cc picture->Replay(&canvas); canvas 223 content/renderer/skia_benchmarking_extension.cc v8::Handle<v8::Array> result = v8::Array::New(isolate, canvas.getSize()); canvas 224 content/renderer/skia_benchmarking_extension.cc for (int i = 0; i < canvas.getSize(); ++i) { canvas 225 content/renderer/skia_benchmarking_extension.cc DrawType cmd_type = canvas.getDrawCommandAt(i)->getType(); canvas 233 content/renderer/skia_benchmarking_extension.cc SkTDArray<SkString*>* info = canvas.getCommandInfo(i); canvas 15 content/renderer/skia_benchmarking_extension_unittest.cc testing::AssertionResult HasInfoField(SkDebugCanvas& canvas, int index, canvas 18 content/renderer/skia_benchmarking_extension_unittest.cc SkTDArray<SkString*>* info = canvas.getCommandInfo(index); canvas 45 content/renderer/skia_benchmarking_extension_unittest.cc SkDebugCanvas canvas(100, 100); canvas 53 content/renderer/skia_benchmarking_extension_unittest.cc canvas.save(); canvas 54 content/renderer/skia_benchmarking_extension_unittest.cc canvas.clipRect(fullRect, SkRegion::kIntersect_Op, false); canvas 55 content/renderer/skia_benchmarking_extension_unittest.cc canvas.translate(SkIntToScalar(10), SkIntToScalar(10)); canvas 56 content/renderer/skia_benchmarking_extension_unittest.cc canvas.scale(SkIntToScalar(2), SkIntToScalar(2)); canvas 57 content/renderer/skia_benchmarking_extension_unittest.cc canvas.drawRect(fillRect, red_paint); canvas 58 content/renderer/skia_benchmarking_extension_unittest.cc canvas.restore(); canvas 63 content/renderer/skia_benchmarking_extension_unittest.cc ASSERT_EQ(canvas.getSize(), 6); canvas 65 content/renderer/skia_benchmarking_extension_unittest.cc ASSERT_TRUE(canvas.getDrawCommandAt(idx) != NULL); canvas 66 content/renderer/skia_benchmarking_extension_unittest.cc cmd = canvas.getDrawCommandAt(idx)->getType(); canvas 69 content/renderer/skia_benchmarking_extension_unittest.cc EXPECT_TRUE(HasInfoField(canvas, idx, "SaveFlags")); canvas 71 content/renderer/skia_benchmarking_extension_unittest.cc ASSERT_TRUE(canvas.getDrawCommandAt(++idx) != NULL); canvas 72 content/renderer/skia_benchmarking_extension_unittest.cc cmd = canvas.getDrawCommandAt(idx)->getType(); canvas 75 content/renderer/skia_benchmarking_extension_unittest.cc EXPECT_TRUE(HasInfoField(canvas, idx, "SkRect")); canvas 76 content/renderer/skia_benchmarking_extension_unittest.cc EXPECT_TRUE(HasInfoField(canvas, idx, "Op")); canvas 77 content/renderer/skia_benchmarking_extension_unittest.cc EXPECT_TRUE(HasInfoField(canvas, idx, "doAA")); canvas 79 content/renderer/skia_benchmarking_extension_unittest.cc ASSERT_TRUE(canvas.getDrawCommandAt(++idx) != NULL); canvas 80 content/renderer/skia_benchmarking_extension_unittest.cc cmd = canvas.getDrawCommandAt(idx)->getType(); canvas 83 content/renderer/skia_benchmarking_extension_unittest.cc EXPECT_TRUE(HasInfoField(canvas, idx, "dx")); canvas 84 content/renderer/skia_benchmarking_extension_unittest.cc EXPECT_TRUE(HasInfoField(canvas, idx, "dy")); canvas 86 content/renderer/skia_benchmarking_extension_unittest.cc ASSERT_TRUE(canvas.getDrawCommandAt(++idx) != NULL); canvas 87 content/renderer/skia_benchmarking_extension_unittest.cc cmd = canvas.getDrawCommandAt(idx)->getType(); canvas 90 content/renderer/skia_benchmarking_extension_unittest.cc EXPECT_TRUE(HasInfoField(canvas, idx, "sx")); canvas 91 content/renderer/skia_benchmarking_extension_unittest.cc EXPECT_TRUE(HasInfoField(canvas, idx, "sy")); canvas 93 content/renderer/skia_benchmarking_extension_unittest.cc ASSERT_TRUE(canvas.getDrawCommandAt(++idx) != NULL); canvas 94 content/renderer/skia_benchmarking_extension_unittest.cc cmd = canvas.getDrawCommandAt(idx)->getType(); canvas 97 content/renderer/skia_benchmarking_extension_unittest.cc EXPECT_TRUE(HasInfoField(canvas, idx, "SkRect")); canvas 99 content/renderer/skia_benchmarking_extension_unittest.cc ASSERT_TRUE(canvas.getDrawCommandAt(++idx) != NULL); canvas 100 content/renderer/skia_benchmarking_extension_unittest.cc cmd = canvas.getDrawCommandAt(idx)->getType(); canvas 440 content/shell/renderer/test_runner/TestPlugin.cpp SkCanvas canvas(bitmap); canvas 441 content/shell/renderer/test_runner/TestPlugin.cpp canvas.clear(backgroundColor); canvas 457 content/shell/renderer/test_runner/TestPlugin.cpp canvas.drawPath(trianglePath, paint); canvas 551 content/shell/renderer/test_runner/WebTestProxy.cpp canvas()->drawIRect(rect, paint); canvas 555 content/shell/renderer/test_runner/WebTestProxy.cpp return canvas(); canvas 566 content/shell/renderer/test_runner/WebTestProxy.cpp DCHECK(canvas()); canvas 574 content/shell/renderer/test_runner/WebTestProxy.cpp webWidget()->paint(canvas(), deviceRect); canvas 612 content/shell/renderer/test_runner/WebTestProxy.cpp DCHECK(canvas()); canvas 630 content/shell/renderer/test_runner/WebTestProxy.cpp webFrame->printPagesWithBoundaries(canvas(), pageSizeInPixels); canvas 203 content/shell/renderer/test_runner/WebTestProxy.h SkCanvas* canvas(); canvas 114 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp void box(SkCanvas *canvas, const SkIRect& rect, SkColor fillColor) canvas 120 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp canvas->drawIRect(rect, paint); canvas 124 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp canvas->drawIRect(rect, paint); canvas 127 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp void line(SkCanvas *canvas, int x0, int y0, int x1, int y1, SkColor color) canvas 131 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp canvas->drawLine(SkIntToScalar(x0), SkIntToScalar(y0), canvas 135 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp void triangle(SkCanvas *canvas, canvas 151 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp canvas->drawPath(path, paint); canvas 155 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp canvas->drawPath(path, paint); canvas 158 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp void roundRect(SkCanvas *canvas, SkIRect irect, SkColor color) canvas 167 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp canvas->drawRoundRect(rect, radius, radius, paint); canvas 171 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp canvas->drawRoundRect(rect, radius, radius, paint); canvas 174 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp void oval(SkCanvas* canvas, SkIRect irect, SkColor color) canvas 182 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp canvas->drawOval(rect, paint); canvas 186 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp canvas->drawOval(rect, paint); canvas 189 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp void circle(SkCanvas *canvas, SkIRect irect, SkScalar radius, SkColor color) canvas 202 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp canvas->drawCircle(cx, cy, radius, paint); canvas 206 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp canvas->drawCircle(cx, cy, radius, paint); canvas 209 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp void nestedBoxes(SkCanvas *canvas, canvas 219 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp box(canvas, irect, outerColor); canvas 224 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp box(canvas, lirect, innerColor); canvas 227 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp void markState(SkCanvas *canvas, SkIRect irect, WebThemeEngine::State state) canvas 249 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp line(canvas, left + 1, i, right - 1, i, readOnlyColor); canvas 254 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp triangle(canvas, canvas 263 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp triangle(canvas, canvas 272 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp triangle(canvas, canvas 287 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp blink::WebCanvas* canvas, canvas 326 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp box(canvas, irect, bgColors(state)); canvas 327 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp triangle(canvas, canvas 332 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp markState(canvas, irect, state); canvas 336 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp box(canvas, irect, bgColors(state)); canvas 337 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp triangle(canvas, canvas 345 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp box(canvas, irect, bgColors(state)); canvas 346 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp triangle(canvas, canvas 354 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp box(canvas, irect, bgColors(state)); canvas 355 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp triangle(canvas, canvas 360 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp markState(canvas, irect, state); canvas 365 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp nestedBoxes(canvas, irect, thumbLongIndent, thumbShortIndent, canvas 370 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp line(canvas, canvas 374 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp line(canvas, canvas 378 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp line(canvas, canvas 382 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp markState(canvas, irect, state); canvas 388 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp nestedBoxes(canvas, irect, thumbShortIndent, thumbLongIndent, canvas 393 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp line(canvas, canvas 397 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp line(canvas, canvas 401 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp line(canvas, canvas 405 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp markState(canvas, irect, state); canvas 414 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp nestedBoxes(canvas, irect, noOffset, longOffset, shortOffset, canvas 418 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp nestedBoxes(canvas, irect, shortOffset, longOffset, noOffset, canvas 422 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp markState(canvas, irect, state); canvas 431 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp nestedBoxes(canvas, irect, longOffset, noOffset, longOffset, canvas 435 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp nestedBoxes(canvas, irect, longOffset, shortOffset, longOffset, canvas 439 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp markState(canvas, irect, state); canvas 449 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp canvas->drawIRect(cornerRect, paint); canvas 455 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp nestedBoxes(canvas, irect, canvas 461 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp nestedBoxes(canvas, irect, canvas 467 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp box(canvas, irect, bgColors(state)); canvas 475 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp circle(canvas, irect, SkIntToScalar(halfHeight), bgColors(state)); canvas 476 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp circle(canvas, irect, SkIntToScalar(halfHeight - checkIndent), edgeColor); canvas 478 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp circle(canvas, irect, SkIntToScalar(halfHeight), bgColors(state)); canvas 483 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp roundRect(canvas, irect, bgColors(state)); canvas 484 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp markState(canvas, irect, state); canvas 490 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp canvas->drawIRect(irect, paint); canvas 494 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp canvas->drawIRect(irect, paint); canvas 496 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp markState(canvas, irect, state); canvas 501 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp box(canvas, irect, extraParams->menuList.backgroundColor); canvas 506 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp canvas->drawIRect(irect, paint); canvas 522 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp box(canvas, irect, bgColors(state)); canvas 523 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp triangle(canvas, canvas 539 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp box(canvas, lirect, bgColors(state)); canvas 540 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp line(canvas, left, top, right, top, edgeColor); canvas 541 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp line(canvas, left, bottom, right, bottom, edgeColor); canvas 544 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp box(canvas, lirect, bgColors(state)); canvas 545 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp line(canvas, left, top, left, bottom, edgeColor); canvas 546 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp line(canvas, right, top, right, bottom, edgeColor); canvas 554 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp oval(canvas, irect, bgColors(state)); canvas 565 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp box(canvas, lirect, bgColors(state)); canvas 568 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp triangle(canvas, canvas 579 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp box(canvas, lirect, bgColors(state)); canvas 580 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp triangle(canvas, canvas 585 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp markState(canvas, irect, state); canvas 591 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp canvas->drawIRect(irect, paint); canvas 607 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp canvas->drawIRect(tofill, paint); canvas 609 content/shell/renderer/test_runner/WebTestThemeEngineMock.cpp markState(canvas, irect, state); canvas 1307 content/shell/renderer/test_runner/test_runner.cc virtual void paintPageOverlay(WebCanvas* canvas) OVERRIDE { canvas 1313 content/shell/renderer/test_runner/test_runner.cc canvas->drawRect(rect, paint); canvas 117 content/shell/renderer/webkit_test_runner.cc void CopyCanvasToBitmap(SkCanvas* canvas, SkBitmap* snapshot) { canvas 118 content/shell/renderer/webkit_test_runner.cc SkBaseDevice* device = skia::GetTopDevice(*canvas); canvas 44 media/filters/skcanvas_video_renderer.cc static bool CanFastPaint(SkCanvas* canvas, uint8 alpha, canvas 49 media/filters/skcanvas_video_renderer.cc const SkMatrix& total_matrix = canvas->getTotalMatrix(); canvas 58 media/filters/skcanvas_video_renderer.cc SkBaseDevice* device = canvas->getDevice(); canvas 74 media/filters/skcanvas_video_renderer.cc SkCanvas* canvas, canvas 80 media/filters/skcanvas_video_renderer.cc const SkBitmap& bitmap = canvas->getDevice()->accessBitmap(true); canvas 96 media/filters/skcanvas_video_renderer.cc const SkMatrix& local_matrix = canvas->getTotalMatrix(); canvas 109 media/filters/skcanvas_video_renderer.cc if (!local_dest_irect.intersect(canvas->getTotalClip().getBounds())) canvas 293 media/filters/skcanvas_video_renderer.cc SkCanvas* canvas, canvas 309 media/filters/skcanvas_video_renderer.cc canvas->drawRect(dest, paint); canvas 314 media/filters/skcanvas_video_renderer.cc if (CanFastPaint(canvas, alpha, video_frame->format())) { canvas 315 media/filters/skcanvas_video_renderer.cc FastPaint(video_frame, canvas, dest); canvas 328 media/filters/skcanvas_video_renderer.cc canvas->drawBitmapRect(last_frame_, NULL, dest, &paint); canvas 31 media/filters/skcanvas_video_renderer.h SkCanvas* canvas, canvas 20 media/filters/skcanvas_video_renderer_unittest.cc void FillCanvas(SkCanvas* canvas, SkColor color) { canvas 21 media/filters/skcanvas_video_renderer_unittest.cc canvas->clear(color); canvas 25 media/filters/skcanvas_video_renderer_unittest.cc SkColor GetColorAt(SkCanvas* canvas, int x, int y) { canvas 29 media/filters/skcanvas_video_renderer_unittest.cc if (!canvas->readPixels(&bitmap, x, y)) canvas 34 media/filters/skcanvas_video_renderer_unittest.cc SkColor GetColor(SkCanvas* canvas) { canvas 35 media/filters/skcanvas_video_renderer_unittest.cc return GetColorAt(canvas, 0, 0); canvas 51 media/filters/skcanvas_video_renderer_unittest.cc void PaintWithoutFrame(SkCanvas* canvas); canvas 55 media/filters/skcanvas_video_renderer_unittest.cc void Paint(VideoFrame* video_frame, SkCanvas* canvas, Color color); canvas 193 media/filters/skcanvas_video_renderer_unittest.cc void SkCanvasVideoRendererTest::PaintWithoutFrame(SkCanvas* canvas) { canvas 194 media/filters/skcanvas_video_renderer_unittest.cc renderer_.Paint(NULL, canvas, kNaturalRect, 0xFF); canvas 198 media/filters/skcanvas_video_renderer_unittest.cc SkCanvas* canvas, canvas 213 media/filters/skcanvas_video_renderer_unittest.cc renderer_.Paint(video_frame, canvas, kNaturalRect, 0xFF); canvas 176 media/video/capture/fake_video_capture_device.cc SkCanvas canvas(bitmap); canvas 198 media/video/capture/fake_video_capture_device.cc canvas.drawArc(rect, 0, end_angle, true, paint); canvas 210 media/video/capture/fake_video_capture_device.cc canvas.scale(3, 3); canvas 211 media/video/capture/fake_video_capture_device.cc canvas.drawText(time_string.data(), time_string.length(), 30, 20, canvas 69 mojo/examples/aura_demo/aura_demo.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 70 mojo/examples/aura_demo/aura_demo.cc canvas->DrawColor(color_, SkXfermode::kSrc_Mode); canvas 22 printing/metafile_skia_wrapper.cc void MetafileSkiaWrapper::SetMetafileOnCanvas(const SkCanvas& canvas, canvas 28 printing/metafile_skia_wrapper.cc SkMetaData& meta = skia::getMetaData(canvas); canvas 33 printing/metafile_skia_wrapper.cc Metafile* MetafileSkiaWrapper::GetMetafileFromCanvas(const SkCanvas& canvas) { canvas 34 printing/metafile_skia_wrapper.cc SkMetaData& meta = skia::getMetaData(canvas); canvas 43 printing/metafile_skia_wrapper.cc void MetafileSkiaWrapper::SetCustomScaleOnCanvas(const SkCanvas& canvas, canvas 45 printing/metafile_skia_wrapper.cc SkMetaData& meta = skia::getMetaData(canvas); canvas 50 printing/metafile_skia_wrapper.cc bool MetafileSkiaWrapper::GetCustomScaleOnCanvas(const SkCanvas& canvas, canvas 52 printing/metafile_skia_wrapper.cc SkMetaData& meta = skia::getMetaData(canvas); canvas 23 printing/metafile_skia_wrapper.h static void SetMetafileOnCanvas(const SkCanvas& canvas, Metafile* metafile); canvas 25 printing/metafile_skia_wrapper.h static Metafile* GetMetafileFromCanvas(const SkCanvas& canvas); canvas 28 printing/metafile_skia_wrapper.h static void SetCustomScaleOnCanvas(const SkCanvas& canvas, double scale); canvas 29 printing/metafile_skia_wrapper.h static bool GetCustomScaleOnCanvas(const SkCanvas& canvas, double* scale); canvas 86 remoting/android/java/src/org/chromium/chromoting/DesktopView.java public void render(Canvas canvas, float x, float y, float size) { canvas 109 remoting/android/java/src/org/chromium/chromoting/DesktopView.java canvas.drawCircle(x, y, radius, mPaint); canvas 192 remoting/android/java/src/org/chromium/chromoting/DesktopView.java Canvas canvas; canvas 203 remoting/android/java/src/org/chromium/chromoting/DesktopView.java canvas = getHolder().lockCanvas(); canvas 204 remoting/android/java/src/org/chromium/chromoting/DesktopView.java if (canvas == null) { canvas 207 remoting/android/java/src/org/chromium/chromoting/DesktopView.java canvas.setMatrix(mRenderData.transform); canvas 212 remoting/android/java/src/org/chromium/chromoting/DesktopView.java canvas.drawColor(Color.BLACK); canvas 213 remoting/android/java/src/org/chromium/chromoting/DesktopView.java canvas.drawBitmap(image, 0, 0, new Paint()); canvas 221 remoting/android/java/src/org/chromium/chromoting/DesktopView.java mFeedbackAnimator.render(canvas, x, y, 40 / scaleFactor); canvas 227 remoting/android/java/src/org/chromium/chromoting/DesktopView.java canvas.drawBitmap(cursorBitmap, x - hotspot.x, y - hotspot.y, new Paint()); canvas 230 remoting/android/java/src/org/chromium/chromoting/DesktopView.java getHolder().unlockCanvasAndPost(canvas); canvas 42 skia/ext/analysis_canvas.cc bool IsFullQuad(SkCanvas* canvas, const SkRect& drawn_rect) { canvas 43 skia/ext/analysis_canvas.cc if (!canvas->isClipRect()) canvas 47 skia/ext/analysis_canvas.cc canvas->getClipDeviceBounds(&clip_irect); canvas 49 skia/ext/analysis_canvas.cc if (!clip_irect.contains(SkIRect::MakeSize(canvas->getDeviceSize()))) canvas 52 skia/ext/analysis_canvas.cc const SkMatrix& matrix = canvas->getTotalMatrix(); canvas 14 skia/ext/analysis_canvas_unittest.cc void SolidColorFill(skia::AnalysisCanvas& canvas) { canvas 15 skia/ext/analysis_canvas_unittest.cc canvas.clear(SkColorSetARGB(255, 255, 255, 255)); canvas 18 skia/ext/analysis_canvas_unittest.cc void TransparentFill(skia::AnalysisCanvas& canvas) { canvas 19 skia/ext/analysis_canvas_unittest.cc canvas.clear(SkColorSetARGB(0, 0, 0, 0)); canvas 26 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(255, 255); canvas 29 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.GetColorIfSolid(&color)); canvas 34 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(255, 255); canvas 38 skia/ext/analysis_canvas_unittest.cc canvas.clear(color); canvas 41 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.GetColorIfSolid(&outputColor)); canvas 46 skia/ext/analysis_canvas_unittest.cc canvas.clear(color); canvas 48 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.GetColorIfSolid(&outputColor)); canvas 54 skia/ext/analysis_canvas_unittest.cc canvas.clear(color); canvas 56 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor)); canvas 59 skia/ext/analysis_canvas_unittest.cc SolidColorFill(canvas); canvas 60 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.GetColorIfSolid(&outputColor)); canvas 63 skia/ext/analysis_canvas_unittest.cc TransparentFill(canvas); canvas 64 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.GetColorIfSolid(&outputColor)); canvas 69 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(255, 255); canvas 76 skia/ext/analysis_canvas_unittest.cc canvas.drawPaint(paint); canvas 80 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor)); canvas 90 skia/ext/analysis_canvas_unittest.cc SolidColorFill(canvas); canvas 91 skia/ext/analysis_canvas_unittest.cc canvas.drawPoints(SkCanvas::kLines_PointMode, 4, points, paint); canvas 93 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor)); canvas 96 skia/ext/analysis_canvas_unittest.cc SolidColorFill(canvas); canvas 97 skia/ext/analysis_canvas_unittest.cc canvas.drawOval(SkRect::MakeWH(255, 255), paint); canvas 99 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor)); canvas 102 skia/ext/analysis_canvas_unittest.cc SolidColorFill(canvas); canvas 106 skia/ext/analysis_canvas_unittest.cc canvas.drawBitmap(secondBitmap, 0, 0); canvas 108 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor)); canvas 112 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(255, 255); canvas 117 skia/ext/analysis_canvas_unittest.cc canvas.clipRect(SkRect::MakeWH(255, 255)); canvas 118 skia/ext/analysis_canvas_unittest.cc canvas.drawRect(SkRect::MakeWH(255, 255), paint); canvas 121 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.GetColorIfSolid(&outputColor)); canvas 127 skia/ext/analysis_canvas_unittest.cc canvas.translate(-128, -128); canvas 128 skia/ext/analysis_canvas_unittest.cc canvas.drawRect(SkRect::MakeWH(382, 382), paint); canvas 130 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor)); canvas 134 skia/ext/analysis_canvas_unittest.cc canvas.drawRect(SkRect::MakeWH(383, 383), paint); canvas 136 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.GetColorIfSolid(&outputColor)); canvas 142 skia/ext/analysis_canvas_unittest.cc canvas.drawRect(SkRect::MakeWH(383, 383), paint); canvas 146 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.GetColorIfSolid(&outputColor)); canvas 152 skia/ext/analysis_canvas_unittest.cc canvas.drawRect(SkRect::MakeWH(383, 383), paint); canvas 154 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor)); canvas 157 skia/ext/analysis_canvas_unittest.cc canvas.drawRect(SkRect::MakeWH(382, 382), paint); canvas 159 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor)); canvas 161 skia/ext/analysis_canvas_unittest.cc canvas.drawRect(SkRect::MakeWH(383, 383), paint); canvas 163 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.GetColorIfSolid(&outputColor)); canvas 166 skia/ext/analysis_canvas_unittest.cc canvas.translate(128, 128); canvas 170 skia/ext/analysis_canvas_unittest.cc canvas.drawRect(SkRect::MakeWH(255, 255), paint); canvas 172 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.GetColorIfSolid(&outputColor)); canvas 176 skia/ext/analysis_canvas_unittest.cc canvas.rotate(50); canvas 177 skia/ext/analysis_canvas_unittest.cc canvas.drawRect(SkRect::MakeWH(255, 255), paint); canvas 179 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor)); canvas 183 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(255, 255); canvas 188 skia/ext/analysis_canvas_unittest.cc canvas.drawRect(SkRect::MakeWH(255, 255), paint); canvas 191 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor)); canvas 195 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(255, 255); canvas 208 skia/ext/analysis_canvas_unittest.cc SolidColorFill(canvas); canvas 209 skia/ext/analysis_canvas_unittest.cc canvas.clipPath(path); canvas 210 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor)); canvas 212 skia/ext/analysis_canvas_unittest.cc canvas.save(); canvas 213 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor)); canvas 215 skia/ext/analysis_canvas_unittest.cc canvas.clipPath(path); canvas 216 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor)); canvas 218 skia/ext/analysis_canvas_unittest.cc canvas.restore(); canvas 219 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor)); canvas 221 skia/ext/analysis_canvas_unittest.cc SolidColorFill(canvas); canvas 222 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor)); canvas 226 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(255, 255); canvas 229 skia/ext/analysis_canvas_unittest.cc SolidColorFill(canvas); canvas 230 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.GetColorIfSolid(&outputColor)); canvas 238 skia/ext/analysis_canvas_unittest.cc canvas.saveLayer(&bounds, &paint); canvas 239 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.GetColorIfSolid(&outputColor)); canvas 242 skia/ext/analysis_canvas_unittest.cc TransparentFill(canvas); canvas 243 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor)); canvas 245 skia/ext/analysis_canvas_unittest.cc SolidColorFill(canvas); canvas 246 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.GetColorIfSolid(&outputColor)); canvas 252 skia/ext/analysis_canvas_unittest.cc canvas.saveLayer(&bounds, &paint); canvas 253 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor)); canvas 255 skia/ext/analysis_canvas_unittest.cc TransparentFill(canvas); canvas 256 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor)); canvas 258 skia/ext/analysis_canvas_unittest.cc SolidColorFill(canvas); canvas 259 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor)); canvas 261 skia/ext/analysis_canvas_unittest.cc canvas.restore(); canvas 262 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor)); canvas 264 skia/ext/analysis_canvas_unittest.cc TransparentFill(canvas); canvas 265 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.GetColorIfSolid(&outputColor)); canvas 267 skia/ext/analysis_canvas_unittest.cc SolidColorFill(canvas); canvas 268 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.GetColorIfSolid(&outputColor)); canvas 271 skia/ext/analysis_canvas_unittest.cc canvas.restore(); canvas 272 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.GetColorIfSolid(&outputColor)); canvas 275 skia/ext/analysis_canvas_unittest.cc TransparentFill(canvas); canvas 276 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.GetColorIfSolid(&outputColor)); canvas 279 skia/ext/analysis_canvas_unittest.cc SolidColorFill(canvas); canvas 280 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.GetColorIfSolid(&outputColor)); canvas 301 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); canvas 303 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.HasText()); canvas 305 skia/ext/analysis_canvas_unittest.cc canvas.drawRect(SkRect::MakeWH(width/2, height), paint); canvas 306 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.HasText()); canvas 310 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); canvas 311 skia/ext/analysis_canvas_unittest.cc canvas.drawText(text, byteLength, point.fX, point.fY, paint); canvas 312 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.HasText()); canvas 316 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); canvas 317 skia/ext/analysis_canvas_unittest.cc canvas.drawPosText(text, byteLength, &point, paint); canvas 318 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.HasText()); canvas 322 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); canvas 323 skia/ext/analysis_canvas_unittest.cc canvas.drawPosTextH(text, byteLength, &point.fX, point.fY, paint); canvas 324 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.HasText()); canvas 328 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); canvas 329 skia/ext/analysis_canvas_unittest.cc canvas.drawTextOnPathHV(text, byteLength, path, point.fX, point.fY, paint); canvas 330 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.HasText()); canvas 334 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); canvas 335 skia/ext/analysis_canvas_unittest.cc canvas.drawTextOnPath(text, byteLength, path, NULL, paint); canvas 336 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.HasText()); canvas 340 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); canvas 341 skia/ext/analysis_canvas_unittest.cc canvas.drawText(text, byteLength, point.fX, point.fY, paint); canvas 342 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.HasText()); canvas 343 skia/ext/analysis_canvas_unittest.cc canvas.drawRect(SkRect::MakeWH(width, height), paint); canvas 344 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.HasText()); canvas 348 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); canvas 349 skia/ext/analysis_canvas_unittest.cc canvas.drawText(text, byteLength, point.fX, point.fY, paint); canvas 350 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.HasText()); canvas 353 skia/ext/analysis_canvas_unittest.cc canvas.drawRect(SkRect::MakeWH(width, height), translucentPaint); canvas 354 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.HasText()); canvas 358 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); canvas 359 skia/ext/analysis_canvas_unittest.cc canvas.drawText(text, byteLength, point.fX, point.fY, paint); canvas 360 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.HasText()); canvas 363 skia/ext/analysis_canvas_unittest.cc canvas.drawRect(SkRect::MakeWH(width, height), clearModePaint); canvas 364 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.HasText()); canvas 368 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); canvas 369 skia/ext/analysis_canvas_unittest.cc canvas.drawText(text, byteLength, point.fX, point.fY, paint); canvas 370 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.HasText()); canvas 371 skia/ext/analysis_canvas_unittest.cc canvas.clear(SK_ColorGRAY); canvas 372 skia/ext/analysis_canvas_unittest.cc EXPECT_FALSE(canvas.HasText()); canvas 376 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); canvas 377 skia/ext/analysis_canvas_unittest.cc canvas.clipRect(SkRect::MakeWH(100, 100)); canvas 378 skia/ext/analysis_canvas_unittest.cc canvas.drawText(text, byteLength, point.fX, point.fY, paint); canvas 379 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.HasText()); canvas 383 skia/ext/analysis_canvas_unittest.cc skia::AnalysisCanvas canvas(width, height); canvas 384 skia/ext/analysis_canvas_unittest.cc canvas.clipRect(SkRect::MakeXYWH(100, 0, 100, 100)); canvas 385 skia/ext/analysis_canvas_unittest.cc canvas.drawText(text, byteLength, point.fX, point.fY, paint); canvas 390 skia/ext/analysis_canvas_unittest.cc EXPECT_TRUE(canvas.HasText()); canvas 377 skia/ext/pixel_ref_utils.cc SkNoSaveLayerCanvas canvas(&device); canvas 379 skia/ext/pixel_ref_utils.cc canvas.clipRect(SkRect::MakeWH(picture->width(), picture->height()), canvas 382 skia/ext/pixel_ref_utils.cc canvas.drawPicture(*picture); canvas 73 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = picture->beginRecording( canvas 79 skia/ext/pixel_ref_utils_unittest.cc canvas->save(); canvas 80 skia/ext/pixel_ref_utils_unittest.cc canvas->translate(-layer_rect.x(), -layer_rect.y()); canvas 81 skia/ext/pixel_ref_utils_unittest.cc canvas->clipRect(SkRect::MakeXYWH( canvas 84 skia/ext/pixel_ref_utils_unittest.cc return canvas; canvas 87 skia/ext/pixel_ref_utils_unittest.cc void StopRecording(SkPicture* picture, SkCanvas* canvas) { canvas 88 skia/ext/pixel_ref_utils_unittest.cc canvas->restore(); canvas 98 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect); canvas 112 skia/ext/pixel_ref_utils_unittest.cc canvas->drawPaint(first_paint); canvas 113 skia/ext/pixel_ref_utils_unittest.cc canvas->clipRect(SkRect::MakeXYWH(34, 45, 56, 67)); canvas 114 skia/ext/pixel_ref_utils_unittest.cc canvas->drawPaint(second_paint); canvas 116 skia/ext/pixel_ref_utils_unittest.cc canvas->clipRect(SkRect::MakeWH(100, 100)); canvas 117 skia/ext/pixel_ref_utils_unittest.cc canvas->drawPaint(third_paint); canvas 119 skia/ext/pixel_ref_utils_unittest.cc StopRecording(picture.get(), canvas); canvas 137 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect); canvas 156 skia/ext/pixel_ref_utils_unittest.cc canvas->drawPoints(SkCanvas::kPolygon_PointMode, 3, points, first_paint); canvas 158 skia/ext/pixel_ref_utils_unittest.cc canvas->save(); canvas 160 skia/ext/pixel_ref_utils_unittest.cc canvas->clipRect(SkRect::MakeWH(50, 50)); canvas 162 skia/ext/pixel_ref_utils_unittest.cc canvas->drawPoints(SkCanvas::kPolygon_PointMode, 3, points, second_paint); canvas 164 skia/ext/pixel_ref_utils_unittest.cc canvas->restore(); canvas 170 skia/ext/pixel_ref_utils_unittest.cc canvas->drawPoints(SkCanvas::kPolygon_PointMode, 3, points, third_paint); canvas 172 skia/ext/pixel_ref_utils_unittest.cc StopRecording(picture.get(), canvas); canvas 190 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect); canvas 205 skia/ext/pixel_ref_utils_unittest.cc canvas->drawRect(SkRect::MakeXYWH(10, 20, 30, 40), first_paint); canvas 207 skia/ext/pixel_ref_utils_unittest.cc canvas->save(); canvas 209 skia/ext/pixel_ref_utils_unittest.cc canvas->translate(5, 17); canvas 211 skia/ext/pixel_ref_utils_unittest.cc canvas->drawRect(SkRect::MakeXYWH(0, 33, 25, 35), second_paint); canvas 213 skia/ext/pixel_ref_utils_unittest.cc canvas->restore(); canvas 215 skia/ext/pixel_ref_utils_unittest.cc canvas->clipRect(SkRect::MakeXYWH(50, 50, 50, 50)); canvas 216 skia/ext/pixel_ref_utils_unittest.cc canvas->translate(20, 20); canvas 218 skia/ext/pixel_ref_utils_unittest.cc canvas->drawRect(SkRect::MakeXYWH(0, 0, 100, 100), third_paint); canvas 236 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect); canvas 254 skia/ext/pixel_ref_utils_unittest.cc canvas->drawRRect(rrect, first_paint); canvas 256 skia/ext/pixel_ref_utils_unittest.cc canvas->save(); canvas 258 skia/ext/pixel_ref_utils_unittest.cc canvas->translate(5, 17); canvas 261 skia/ext/pixel_ref_utils_unittest.cc canvas->drawRRect(rrect, second_paint); canvas 263 skia/ext/pixel_ref_utils_unittest.cc canvas->restore(); canvas 265 skia/ext/pixel_ref_utils_unittest.cc canvas->clipRect(SkRect::MakeXYWH(50, 50, 50, 50)); canvas 266 skia/ext/pixel_ref_utils_unittest.cc canvas->translate(20, 20); canvas 269 skia/ext/pixel_ref_utils_unittest.cc canvas->drawRRect(rrect, third_paint); canvas 287 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect); canvas 301 skia/ext/pixel_ref_utils_unittest.cc canvas->save(); canvas 303 skia/ext/pixel_ref_utils_unittest.cc canvas->scale(2, 0.5); canvas 305 skia/ext/pixel_ref_utils_unittest.cc canvas->drawOval(SkRect::MakeXYWH(10, 20, 30, 40), first_paint); canvas 307 skia/ext/pixel_ref_utils_unittest.cc canvas->restore(); canvas 308 skia/ext/pixel_ref_utils_unittest.cc canvas->save(); canvas 310 skia/ext/pixel_ref_utils_unittest.cc canvas->translate(1, 2); canvas 312 skia/ext/pixel_ref_utils_unittest.cc canvas->drawRect(SkRect::MakeXYWH(0, 33, 25, 35), second_paint); canvas 314 skia/ext/pixel_ref_utils_unittest.cc canvas->restore(); canvas 316 skia/ext/pixel_ref_utils_unittest.cc canvas->clipRect(SkRect::MakeXYWH(50, 50, 50, 50)); canvas 317 skia/ext/pixel_ref_utils_unittest.cc canvas->translate(20, 20); canvas 319 skia/ext/pixel_ref_utils_unittest.cc canvas->drawRect(SkRect::MakeXYWH(0, 0, 100, 100), third_paint); canvas 337 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect); canvas 353 skia/ext/pixel_ref_utils_unittest.cc canvas->drawPath(path, first_paint); canvas 355 skia/ext/pixel_ref_utils_unittest.cc canvas->save(); canvas 356 skia/ext/pixel_ref_utils_unittest.cc canvas->clipRect(SkRect::MakeWH(50, 50)); canvas 359 skia/ext/pixel_ref_utils_unittest.cc canvas->drawPath(path, second_paint); canvas 361 skia/ext/pixel_ref_utils_unittest.cc canvas->restore(); canvas 363 skia/ext/pixel_ref_utils_unittest.cc StopRecording(picture.get(), canvas); canvas 379 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect); canvas 392 skia/ext/pixel_ref_utils_unittest.cc canvas->save(); canvas 395 skia/ext/pixel_ref_utils_unittest.cc canvas->drawBitmap(first, 0, 0); canvas 396 skia/ext/pixel_ref_utils_unittest.cc canvas->translate(25, 0); canvas 398 skia/ext/pixel_ref_utils_unittest.cc canvas->drawBitmap(second, 0, 0); canvas 399 skia/ext/pixel_ref_utils_unittest.cc canvas->translate(0, 50); canvas 401 skia/ext/pixel_ref_utils_unittest.cc canvas->drawBitmap(third, 25, 0); canvas 403 skia/ext/pixel_ref_utils_unittest.cc canvas->restore(); canvas 404 skia/ext/pixel_ref_utils_unittest.cc canvas->save(); canvas 406 skia/ext/pixel_ref_utils_unittest.cc canvas->translate(1, 0); canvas 407 skia/ext/pixel_ref_utils_unittest.cc canvas->rotate(90); canvas 409 skia/ext/pixel_ref_utils_unittest.cc canvas->drawBitmap(fourth, 0, 0); canvas 411 skia/ext/pixel_ref_utils_unittest.cc canvas->restore(); canvas 413 skia/ext/pixel_ref_utils_unittest.cc canvas->scale(5, 6); canvas 415 skia/ext/pixel_ref_utils_unittest.cc canvas->drawBitmap(fifth, 0, 0); canvas 417 skia/ext/pixel_ref_utils_unittest.cc StopRecording(picture.get(), canvas); canvas 440 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect); canvas 455 skia/ext/pixel_ref_utils_unittest.cc canvas->save(); canvas 458 skia/ext/pixel_ref_utils_unittest.cc canvas->drawBitmapRect( canvas 460 skia/ext/pixel_ref_utils_unittest.cc canvas->translate(25, 0); canvas 462 skia/ext/pixel_ref_utils_unittest.cc canvas->drawBitmapRect( canvas 464 skia/ext/pixel_ref_utils_unittest.cc canvas->translate(5, 50); canvas 466 skia/ext/pixel_ref_utils_unittest.cc canvas->drawBitmapRect( canvas 469 skia/ext/pixel_ref_utils_unittest.cc canvas->restore(); canvas 471 skia/ext/pixel_ref_utils_unittest.cc StopRecording(picture.get(), canvas); canvas 491 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect); canvas 504 skia/ext/pixel_ref_utils_unittest.cc canvas->save(); canvas 509 skia/ext/pixel_ref_utils_unittest.cc canvas->drawSprite(first, 0, 0); canvas 510 skia/ext/pixel_ref_utils_unittest.cc canvas->translate(25, 0); canvas 512 skia/ext/pixel_ref_utils_unittest.cc canvas->drawSprite(second, 10, 0); canvas 513 skia/ext/pixel_ref_utils_unittest.cc canvas->translate(0, 50); canvas 515 skia/ext/pixel_ref_utils_unittest.cc canvas->drawSprite(third, 25, 0); canvas 517 skia/ext/pixel_ref_utils_unittest.cc canvas->restore(); canvas 518 skia/ext/pixel_ref_utils_unittest.cc canvas->save(); canvas 520 skia/ext/pixel_ref_utils_unittest.cc canvas->rotate(90); canvas 522 skia/ext/pixel_ref_utils_unittest.cc canvas->drawSprite(fourth, 0, 0); canvas 524 skia/ext/pixel_ref_utils_unittest.cc canvas->restore(); canvas 530 skia/ext/pixel_ref_utils_unittest.cc canvas->scale(5, 6); canvas 532 skia/ext/pixel_ref_utils_unittest.cc canvas->drawSprite(fifth, 100, 100, &first_paint); canvas 534 skia/ext/pixel_ref_utils_unittest.cc StopRecording(picture.get(), canvas); canvas 558 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect); canvas 577 skia/ext/pixel_ref_utils_unittest.cc canvas->drawText("text", 4, 50, 50, first_paint); canvas 578 skia/ext/pixel_ref_utils_unittest.cc canvas->drawPosText("text", 4, points, first_paint); canvas 579 skia/ext/pixel_ref_utils_unittest.cc canvas->drawTextOnPath("text", 4, path, NULL, first_paint); canvas 591 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* canvas = StartRecording(picture.get(), layer_rect); canvas 612 skia/ext/pixel_ref_utils_unittest.cc canvas->drawVertices(SkCanvas::kTriangles_VertexMode, canvas 622 skia/ext/pixel_ref_utils_unittest.cc canvas->save(); canvas 624 skia/ext/pixel_ref_utils_unittest.cc canvas->clipRect(SkRect::MakeWH(50, 50)); canvas 626 skia/ext/pixel_ref_utils_unittest.cc canvas->drawVertices(SkCanvas::kTriangles_VertexMode, canvas 636 skia/ext/pixel_ref_utils_unittest.cc canvas->restore(); canvas 642 skia/ext/pixel_ref_utils_unittest.cc canvas->drawVertices(SkCanvas::kTriangles_VertexMode, canvas 652 skia/ext/pixel_ref_utils_unittest.cc StopRecording(picture.get(), canvas); canvas 12 skia/ext/platform_canvas.cc SkBaseDevice* GetTopDevice(const SkCanvas& canvas) { canvas 13 skia/ext/platform_canvas.cc return canvas.getTopDevice(true); canvas 16 skia/ext/platform_canvas.cc bool SupportsPlatformPaint(const SkCanvas* canvas) { canvas 17 skia/ext/platform_canvas.cc PlatformDevice* platform_device = GetPlatformDevice(GetTopDevice(*canvas)); canvas 21 skia/ext/platform_canvas.cc PlatformSurface BeginPlatformPaint(SkCanvas* canvas) { canvas 22 skia/ext/platform_canvas.cc PlatformDevice* platform_device = GetPlatformDevice(GetTopDevice(*canvas)); canvas 29 skia/ext/platform_canvas.cc void EndPlatformPaint(SkCanvas* canvas) { canvas 30 skia/ext/platform_canvas.cc PlatformDevice* platform_device = GetPlatformDevice(GetTopDevice(*canvas)); canvas 35 skia/ext/platform_canvas.cc void DrawToNativeContext(SkCanvas* canvas, PlatformSurface context, int x, canvas 37 skia/ext/platform_canvas.cc PlatformDevice* platform_device = GetPlatformDevice(GetTopDevice(*canvas)); canvas 46 skia/ext/platform_canvas.cc void MakeOpaque(SkCanvas* canvas, int x, int y, int width, int height) { canvas 60 skia/ext/platform_canvas.cc canvas->drawRect(rect, paint); canvas 109 skia/ext/platform_canvas.h SK_API SkBaseDevice* GetTopDevice(const SkCanvas& canvas); canvas 114 skia/ext/platform_canvas.h SK_API bool SupportsPlatformPaint(const SkCanvas* canvas); canvas 119 skia/ext/platform_canvas.h SK_API void DrawToNativeContext(SkCanvas* canvas, canvas 126 skia/ext/platform_canvas.h SK_API void MakeOpaque(SkCanvas* canvas, int x, int y, int width, int height); canvas 134 skia/ext/platform_canvas.h SK_API PlatformSurface BeginPlatformPaint(SkCanvas* canvas); canvas 135 skia/ext/platform_canvas.h SK_API void EndPlatformPaint(SkCanvas* canvas); canvas 142 skia/ext/platform_canvas.h explicit ScopedPlatformPaint(SkCanvas* canvas) : canvas_(canvas) { canvas 143 skia/ext/platform_canvas.h platform_surface_ = BeginPlatformPaint(canvas); canvas 33 skia/ext/platform_canvas_unittest.cc bool VerifyRect(const PlatformCanvas& canvas, canvas 36 skia/ext/platform_canvas_unittest.cc SkBaseDevice* device = skia::GetTopDevice(canvas); canvas 72 skia/ext/platform_canvas_unittest.cc bool VerifyRoundedRect(const PlatformCanvas& canvas, canvas 75 skia/ext/platform_canvas_unittest.cc SkBaseDevice* device = skia::GetTopDevice(canvas); canvas 97 skia/ext/platform_canvas_unittest.cc bool VerifyBlackRect(const PlatformCanvas& canvas, int x, int y, int w, int h) { canvas 98 skia/ext/platform_canvas_unittest.cc return VerifyRect(canvas, SK_ColorWHITE, SK_ColorBLACK, x, y, w, h); canvas 102 skia/ext/platform_canvas_unittest.cc bool VerifyCanvasColor(const PlatformCanvas& canvas, uint32_t canvas_color) { canvas 103 skia/ext/platform_canvas_unittest.cc return VerifyRect(canvas, canvas_color, 0, 0, 0, 0, 0); canvas 107 skia/ext/platform_canvas_unittest.cc void DrawNativeRect(PlatformCanvas& canvas, int x, int y, int w, int h) { canvas 108 skia/ext/platform_canvas_unittest.cc skia::ScopedPlatformPaint scoped_platform_paint(&canvas); canvas 119 skia/ext/platform_canvas_unittest.cc void DrawNativeRect(PlatformCanvas& canvas, int x, int y, int w, int h) { canvas 120 skia/ext/platform_canvas_unittest.cc skia::ScopedPlatformPaint scoped_platform_paint(&canvas); canvas 131 skia/ext/platform_canvas_unittest.cc void DrawNativeRect(PlatformCanvas& canvas, int x, int y, int w, int h) { canvas 138 skia/ext/platform_canvas_unittest.cc void AddClip(PlatformCanvas& canvas, int x, int y, int w, int h) { canvas 142 skia/ext/platform_canvas_unittest.cc canvas.clipRect(rect); canvas 147 skia/ext/platform_canvas_unittest.cc LayerSaver(PlatformCanvas& canvas, int x, int y, int w, int h) canvas 148 skia/ext/platform_canvas_unittest.cc : canvas_(canvas), canvas 157 skia/ext/platform_canvas_unittest.cc canvas.clear(SkColorSetARGB(0, 0, 0, 0)); canvas 196 skia/ext/platform_canvas_unittest.cc RefPtr<SkCanvas> canvas = AdoptRef(CreatePlatformCanvas(16, 16, true)); canvas 197 skia/ext/platform_canvas_unittest.cc canvas->drawColor(SK_ColorWHITE); canvas 202 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, kLayerX, kLayerY, kLayerW, kLayerH); canvas 203 skia/ext/platform_canvas_unittest.cc canvas->drawColor(SK_ColorBLACK); canvas 205 skia/ext/platform_canvas_unittest.cc EXPECT_TRUE(VerifyBlackRect(*canvas, kLayerX, kLayerY, kLayerW, kLayerH)); canvas 213 skia/ext/platform_canvas_unittest.cc RefPtr<SkCanvas> canvas = AdoptRef(CreatePlatformCanvas(16, 16, true)); canvas 214 skia/ext/platform_canvas_unittest.cc canvas->drawColor(SK_ColorWHITE); canvas 215 skia/ext/platform_canvas_unittest.cc EXPECT_TRUE(VerifyCanvasColor(*canvas, SK_ColorWHITE)); canvas 220 skia/ext/platform_canvas_unittest.cc DrawNativeRect(*canvas, 0, 0, 16, 16); canvas 221 skia/ext/platform_canvas_unittest.cc EXPECT_TRUE(VerifyCanvasColor(*canvas, SK_ColorBLACK)); canvas 224 skia/ext/platform_canvas_unittest.cc canvas->drawColor(SK_ColorWHITE); canvas 225 skia/ext/platform_canvas_unittest.cc EXPECT_TRUE(VerifyCanvasColor(*canvas, SK_ColorWHITE)); canvas 227 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, 0, 0, 16, 16); canvas 228 skia/ext/platform_canvas_unittest.cc AddClip(*canvas, 2, 3, 4, 5); canvas 229 skia/ext/platform_canvas_unittest.cc AddClip(*canvas, 4, 9, 10, 10); canvas 230 skia/ext/platform_canvas_unittest.cc DrawNativeRect(*canvas, 0, 0, 16, 16); canvas 232 skia/ext/platform_canvas_unittest.cc EXPECT_TRUE(VerifyCanvasColor(*canvas, SK_ColorWHITE)); canvas 240 skia/ext/platform_canvas_unittest.cc RefPtr<SkCanvas> canvas = AdoptRef(CreatePlatformCanvas(16, 16, true)); canvas 244 skia/ext/platform_canvas_unittest.cc canvas->drawColor(SK_ColorWHITE); canvas 246 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, kLayerX, kLayerY, kLayerW, kLayerH); canvas 247 skia/ext/platform_canvas_unittest.cc DrawNativeRect(*canvas, 0, 0, 100, 100); canvas 249 skia/ext/platform_canvas_unittest.cc MakeOpaque(canvas.get(), 0, 0, 100, 100); canvas 252 skia/ext/platform_canvas_unittest.cc EXPECT_TRUE(VerifyBlackRect(*canvas, kLayerX, kLayerY, kLayerW, kLayerH)); canvas 255 skia/ext/platform_canvas_unittest.cc canvas->drawColor(SK_ColorWHITE); canvas 257 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, kLayerX, kLayerY, kLayerW, kLayerH); canvas 258 skia/ext/platform_canvas_unittest.cc DrawNativeRect(*canvas, kInnerX, kInnerY, kInnerW, kInnerH); canvas 260 skia/ext/platform_canvas_unittest.cc MakeOpaque(canvas.get(), kInnerX, kInnerY, kInnerW, kInnerH); canvas 263 skia/ext/platform_canvas_unittest.cc EXPECT_TRUE(VerifyBlackRect(*canvas, kInnerX, kInnerY, kInnerW, kInnerH)); canvas 266 skia/ext/platform_canvas_unittest.cc canvas->drawColor(SK_ColorWHITE); canvas 268 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, kLayerX, kLayerY, kLayerW, kLayerH); canvas 269 skia/ext/platform_canvas_unittest.cc canvas->save(); canvas 270 skia/ext/platform_canvas_unittest.cc AddClip(*canvas, kInnerX, kInnerY, kInnerW, kInnerH); canvas 271 skia/ext/platform_canvas_unittest.cc DrawNativeRect(*canvas, 0, 0, 100, 100); canvas 273 skia/ext/platform_canvas_unittest.cc MakeOpaque(canvas.get(), kInnerX, kInnerY, kInnerW, kInnerH); canvas 275 skia/ext/platform_canvas_unittest.cc canvas->restore(); canvas 277 skia/ext/platform_canvas_unittest.cc EXPECT_TRUE(VerifyBlackRect(*canvas, kInnerX, kInnerY, kInnerW, kInnerH)); canvas 280 skia/ext/platform_canvas_unittest.cc canvas->drawColor(SK_ColorWHITE); canvas 281 skia/ext/platform_canvas_unittest.cc canvas->save(); canvas 282 skia/ext/platform_canvas_unittest.cc AddClip(*canvas, kInnerX, kInnerY, kInnerW, kInnerH); canvas 284 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, kLayerX, kLayerY, kLayerW, kLayerH); canvas 285 skia/ext/platform_canvas_unittest.cc DrawNativeRect(*canvas, 0, 0, 100, 100); canvas 287 skia/ext/platform_canvas_unittest.cc MakeOpaque(canvas.get(), 0, 0, 100, 100); canvas 290 skia/ext/platform_canvas_unittest.cc canvas->restore(); canvas 291 skia/ext/platform_canvas_unittest.cc EXPECT_TRUE(VerifyBlackRect(*canvas, kInnerX, kInnerY, kInnerW, kInnerH)); canvas 299 skia/ext/platform_canvas_unittest.cc RefPtr<SkCanvas> canvas = AdoptRef(CreatePlatformCanvas(16, 16, true)); canvas 303 skia/ext/platform_canvas_unittest.cc canvas->drawColor(SK_ColorWHITE); canvas 304 skia/ext/platform_canvas_unittest.cc canvas->save(); canvas 305 skia/ext/platform_canvas_unittest.cc canvas->translate(1, 1); canvas 307 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, kLayerX, kLayerY, kLayerW, kLayerH); canvas 308 skia/ext/platform_canvas_unittest.cc DrawNativeRect(*canvas, 0, 0, 100, 100); canvas 310 skia/ext/platform_canvas_unittest.cc MakeOpaque(canvas.get(), 0, 0, 100, 100); canvas 313 skia/ext/platform_canvas_unittest.cc canvas->restore(); canvas 314 skia/ext/platform_canvas_unittest.cc EXPECT_TRUE(VerifyBlackRect(*canvas, kLayerX + 1, kLayerY + 1, canvas 318 skia/ext/platform_canvas_unittest.cc canvas->drawColor(SK_ColorWHITE); canvas 319 skia/ext/platform_canvas_unittest.cc canvas->save(); canvas 320 skia/ext/platform_canvas_unittest.cc canvas->translate(1, 1); canvas 322 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, kLayerX, kLayerY, kLayerW, kLayerH); canvas 323 skia/ext/platform_canvas_unittest.cc DrawNativeRect(*canvas, kInnerX, kInnerY, kInnerW, kInnerH); canvas 325 skia/ext/platform_canvas_unittest.cc MakeOpaque(canvas.get(), kInnerX, kInnerY, kInnerW, kInnerH); canvas 328 skia/ext/platform_canvas_unittest.cc canvas->restore(); canvas 329 skia/ext/platform_canvas_unittest.cc EXPECT_TRUE(VerifyBlackRect(*canvas, kInnerX + 1, kInnerY + 1, canvas 333 skia/ext/platform_canvas_unittest.cc canvas->drawColor(SK_ColorWHITE); canvas 334 skia/ext/platform_canvas_unittest.cc canvas->save(); canvas 336 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, kLayerX, kLayerY, kLayerW, kLayerH); canvas 337 skia/ext/platform_canvas_unittest.cc canvas->translate(1, 1); canvas 338 skia/ext/platform_canvas_unittest.cc DrawNativeRect(*canvas, kInnerX, kInnerY, kInnerW, kInnerH); canvas 340 skia/ext/platform_canvas_unittest.cc MakeOpaque(canvas.get(), kInnerX, kInnerY, kInnerW, kInnerH); canvas 343 skia/ext/platform_canvas_unittest.cc canvas->restore(); canvas 344 skia/ext/platform_canvas_unittest.cc EXPECT_TRUE(VerifyBlackRect(*canvas, kInnerX + 1, kInnerY + 1, canvas 348 skia/ext/platform_canvas_unittest.cc canvas->drawColor(SK_ColorWHITE); canvas 349 skia/ext/platform_canvas_unittest.cc canvas->save(); canvas 350 skia/ext/platform_canvas_unittest.cc canvas->translate(1, 1); canvas 352 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, kLayerX, kLayerY, kLayerW, kLayerH); canvas 353 skia/ext/platform_canvas_unittest.cc canvas->drawColor(SK_ColorWHITE); canvas 354 skia/ext/platform_canvas_unittest.cc canvas->translate(1, 1); canvas 355 skia/ext/platform_canvas_unittest.cc AddClip(*canvas, kInnerX + 1, kInnerY + 1, kInnerW - 1, kInnerH - 1); canvas 356 skia/ext/platform_canvas_unittest.cc DrawNativeRect(*canvas, 0, 0, 100, 100); canvas 358 skia/ext/platform_canvas_unittest.cc MakeOpaque(canvas.get(), kLayerX, kLayerY, kLayerW, kLayerH); canvas 361 skia/ext/platform_canvas_unittest.cc canvas->restore(); canvas 362 skia/ext/platform_canvas_unittest.cc EXPECT_TRUE(VerifyBlackRect(*canvas, kInnerX + 3, kInnerY + 3, canvas 369 skia/ext/platform_canvas_unittest.cc canvas->drawColor(SK_ColorWHITE); canvas 370 skia/ext/platform_canvas_unittest.cc canvas->save(); canvas 371 skia/ext/platform_canvas_unittest.cc canvas->translate(1, 1); canvas 373 skia/ext/platform_canvas_unittest.cc LayerSaver layer(*canvas, kLayerX, kLayerY, kLayerW, kLayerH); canvas 374 skia/ext/platform_canvas_unittest.cc canvas->drawColor(SK_ColorWHITE); canvas 375 skia/ext/platform_canvas_unittest.cc canvas->translate(1, 1); canvas 383 skia/ext/platform_canvas_unittest.cc canvas->clipPath(path); canvas 385 skia/ext/platform_canvas_unittest.cc DrawNativeRect(*canvas, 0, 0, 100, 100); canvas 387 skia/ext/platform_canvas_unittest.cc MakeOpaque(canvas.get(), kLayerX, kLayerY, kLayerW, kLayerH); canvas 390 skia/ext/platform_canvas_unittest.cc canvas->restore(); canvas 391 skia/ext/platform_canvas_unittest.cc EXPECT_TRUE(VerifyRoundedRect(*canvas, SK_ColorWHITE, SK_ColorBLACK, canvas 21 skia/ext/platform_device.cc void SetBoolMetaData(const SkCanvas& canvas, const char* key, bool value) { canvas 22 skia/ext/platform_device.cc SkMetaData& meta = skia::getMetaData(canvas); canvas 26 skia/ext/platform_device.cc bool GetBoolMetaData(const SkCanvas& canvas, const char* key) { canvas 28 skia/ext/platform_device.cc SkMetaData& meta = skia::getMetaData(canvas); canvas 52 skia/ext/platform_device.cc SkMetaData& getMetaData(const SkCanvas& canvas) { canvas 53 skia/ext/platform_device.cc SkBaseDevice* device = canvas.getDevice(); canvas 58 skia/ext/platform_device.cc void SetIsDraftMode(const SkCanvas& canvas, bool draft_mode) { canvas 59 skia/ext/platform_device.cc SetBoolMetaData(canvas, kDraftModeKey, draft_mode); canvas 62 skia/ext/platform_device.cc bool IsDraftMode(const SkCanvas& canvas) { canvas 63 skia/ext/platform_device.cc return GetBoolMetaData(canvas, kDraftModeKey); canvas 67 skia/ext/platform_device.cc void SetIsPreviewMetafile(const SkCanvas& canvas, bool is_preview) { canvas 68 skia/ext/platform_device.cc SetBoolMetaData(canvas, kIsPreviewMetafileKey, is_preview); canvas 71 skia/ext/platform_device.cc bool IsPreviewMetafile(const SkCanvas& canvas) { canvas 72 skia/ext/platform_device.cc return GetBoolMetaData(canvas, kIsPreviewMetafileKey); canvas 76 skia/ext/platform_device.h SK_API SkMetaData& getMetaData(const SkCanvas& canvas); canvas 77 skia/ext/platform_device.h SK_API void SetIsDraftMode(const SkCanvas& canvas, bool draft_mode); canvas 78 skia/ext/platform_device.h SK_API bool IsDraftMode(const SkCanvas& canvas); canvas 81 skia/ext/platform_device.h SK_API void SetIsPreviewMetafile(const SkCanvas& canvas, bool is_preview); canvas 82 skia/ext/platform_device.h SK_API bool IsPreviewMetafile(const SkCanvas& canvas); canvas 111 skia/ext/skia_utils_mac.h explicit SkiaBitLocker(SkCanvas* canvas); canvas 100 skia/ext/vector_canvas_unittest.cc Image(skia::PlatformCanvas& canvas) : ignore_alpha_(true) { canvas 103 skia/ext/vector_canvas_unittest.cc skia::ScopedPlatformPaint scoped_platform_paint(&canvas); canvas 271 skia/ext/vector_canvas_unittest.cc double ProcessCanvas(skia::PlatformCanvas& canvas, canvas 276 skia/ext/vector_canvas_unittest.cc SaveImage(canvas, filename); canvas 279 skia/ext/vector_canvas_unittest.cc return CompareImage(canvas, filename); canvas 290 skia/ext/vector_canvas_unittest.cc double CompareImage(skia::PlatformCanvas& canvas, canvas 292 skia/ext/vector_canvas_unittest.cc Image image1(canvas); canvas 299 skia/ext/vector_canvas_unittest.cc void SaveImage(skia::PlatformCanvas& canvas, canvas 301 skia/ext/vector_canvas_unittest.cc Image(canvas).SaveToFile(test_file(filename)); canvas 27 skia/tools/filter_fuzz_stub/filter_fuzz_stub.cc SkCanvas* canvas) { canvas 40 skia/tools/filter_fuzz_stub/filter_fuzz_stub.cc canvas->save(); canvas 41 skia/tools/filter_fuzz_stub/filter_fuzz_stub.cc canvas->clipRect(SkRect::MakeXYWH( canvas 46 skia/tools/filter_fuzz_stub/filter_fuzz_stub.cc canvas->drawBitmap(bitmap, 0, 0, &paint); canvas 49 skia/tools/filter_fuzz_stub/filter_fuzz_stub.cc canvas->restore(); canvas 56 skia/tools/filter_fuzz_stub/filter_fuzz_stub.cc SkCanvas* canvas) { canvas 65 skia/tools/filter_fuzz_stub/filter_fuzz_stub.cc RunTestCase(ipc_filter_message, bitmap, canvas); canvas 77 skia/tools/filter_fuzz_stub/filter_fuzz_stub.cc SkCanvas canvas(bitmap); canvas 78 skia/tools/filter_fuzz_stub/filter_fuzz_stub.cc canvas.clear(0x00000000); canvas 81 skia/tools/filter_fuzz_stub/filter_fuzz_stub.cc if (!ReadAndRunTestCase(argv[i], bitmap, &canvas)) canvas 51 ui/android/java/src/org/chromium/ui/ColorPickerMoreButton.java protected void onDraw(Canvas canvas) { canvas 52 ui/android/java/src/org/chromium/ui/ColorPickerMoreButton.java canvas.drawRect(0.5f, 0.5f, getWidth() - 1.5f, getHeight() - 1.5f, mBorderPaint); canvas 53 ui/android/java/src/org/chromium/ui/ColorPickerMoreButton.java super.onDraw(canvas); canvas 157 ui/android/java/src/org/chromium/ui/UiUtils.java Canvas canvas = new Canvas(bitmap); canvas 158 ui/android/java/src/org/chromium/ui/UiUtils.java canvas.scale((float) (newWidth / originalWidth), canvas 160 ui/android/java/src/org/chromium/ui/UiUtils.java currentView.draw(canvas); canvas 25 ui/android/java/src/org/chromium/ui/autofill/AutofillDividerDrawable.java public void draw(Canvas canvas) { canvas 26 ui/android/java/src/org/chromium/ui/autofill/AutofillDividerDrawable.java canvas.drawRect(mDividerRect, mPaint); canvas 35 ui/app_list/app_list_folder_item.cc void DrawIcon(gfx::Canvas* canvas, canvas 42 ui/app_list/app_list_folder_item.cc canvas->DrawImageInt(resized, 0, 0, resized.width(), resized.height(), canvas 47 ui/app_list/app_list_folder_item.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE { canvas 54 ui/app_list/app_list_folder_item.cc canvas->DrawCircle(center, size().width() / 2, paint); canvas 66 ui/app_list/app_list_folder_item.cc DrawIcon(canvas, icons_[i], item_icon_size, canvas 43 ui/app_list/views/app_list_background.cc void AppListBackground::Paint(gfx::Canvas* canvas, canvas 47 ui/app_list/views/app_list_background.cc canvas->Save(); canvas 52 ui/app_list/views/app_list_background.cc canvas->ClipPath(path); canvas 68 ui/app_list/views/app_list_background.cc canvas->DrawRect(search_box_rect, paint); canvas 73 ui/app_list/views/app_list_background.cc canvas->FillRect(separator_rect, kTopSeparatorColor); canvas 83 ui/app_list/views/app_list_background.cc canvas->DrawRect(contents_rect, paint); canvas 93 ui/app_list/views/app_list_background.cc canvas->FillRect(separator_rect, kBottomSeparatorColor); canvas 100 ui/app_list/views/app_list_background.cc canvas->DrawRect(contents_switcher_rect, paint); canvas 108 ui/app_list/views/app_list_background.cc canvas->DrawImageInt(experimental_icon, canvas 113 ui/app_list/views/app_list_background.cc canvas->Restore(); canvas 29 ui/app_list/views/app_list_background.h virtual void Paint(gfx::Canvas* canvas, views::View* view) const OVERRIDE; canvas 288 ui/app_list/views/app_list_item_view.cc void AppListItemView::OnPaint(gfx::Canvas* canvas) { canvas 294 ui/app_list/views/app_list_item_view.cc canvas->FillRect(rect, kHighlightedColor); canvas 297 ui/app_list/views/app_list_item_view.cc canvas->FillRect(rect, kSelectedColor); canvas 302 ui/app_list/views/app_list_item_view.cc canvas->FillRect(rect, kSelectedColor); canvas 304 ui/app_list/views/app_list_item_view.cc canvas->FillRect(rect, kHighlightedColor); canvas 314 ui/app_list/views/app_list_item_view.cc canvas->DrawCircle(center, kFolderPreviewRadius, paint); canvas 105 ui/app_list/views/app_list_item_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 203 ui/app_list/views/app_list_view.cc void AppListView::Paint(gfx::Canvas* canvas) { canvas 204 ui/app_list/views/app_list_view.cc views::BubbleDelegateView::Paint(canvas); canvas 81 ui/app_list/views/app_list_view.h virtual void Paint(gfx::Canvas* canvas) OVERRIDE; canvas 20 ui/app_list/views/cached_label.cc gfx::Canvas canvas(size(), 1.0f, false /* is_opaque */); canvas 21 ui/app_list/views/cached_label.cc canvas.FillRect(GetLocalBounds(), SkColorSetARGB(0, 0, 0, 0), canvas 23 ui/app_list/views/cached_label.cc Label::OnPaint(&canvas); canvas 24 ui/app_list/views/cached_label.cc image_ = gfx::ImageSkia(canvas.ExtractImageRep()); canvas 29 ui/app_list/views/cached_label.cc void CachedLabel::OnPaint(gfx::Canvas* canvas) { canvas 31 ui/app_list/views/cached_label.cc canvas->DrawImageInt(image_, 0, 0); canvas 31 ui/app_list/views/cached_label.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 38 ui/app_list/views/contents_switcher_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 40 ui/app_list/views/contents_switcher_view.cc canvas, canvas 46 ui/app_list/views/contents_switcher_view.cc void PaintButton(gfx::Canvas* canvas, SkColor base_color) { canvas 54 ui/app_list/views/contents_switcher_view.cc canvas->DrawRect(rect, paint); canvas 74 ui/app_list/views/folder_background_view.cc void FolderBackgroundView::OnPaint(gfx::Canvas* canvas) { canvas 83 ui/app_list/views/folder_background_view.cc canvas->DrawCircle(GetContentsBounds().CenterPoint(), canvas 41 ui/app_list/views/folder_background_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 167 ui/app_list/views/folder_header_view.cc void FolderHeaderView::OnPaint(gfx::Canvas* canvas) { canvas 168 ui/app_list/views/folder_header_view.cc views::View::OnPaint(canvas); canvas 179 ui/app_list/views/folder_header_view.cc canvas->FillRect(rect, kTopSeparatorColor); canvas 63 ui/app_list/views/folder_header_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 56 ui/app_list/views/page_switcher.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 58 ui/app_list/views/page_switcher.cc PaintButton(canvas, kPagerHoverColor); canvas 60 ui/app_list/views/page_switcher.cc PaintButton(canvas, kPagerNormalColor); canvas 65 ui/app_list/views/page_switcher.cc void PaintButton(gfx::Canvas* canvas, SkColor base_color) { canvas 78 ui/app_list/views/page_switcher.cc canvas->DrawPath(path, paint); canvas 99 ui/app_list/views/page_switcher.cc canvas->DrawPath(selected_path, paint); canvas 41 ui/app_list/views/progress_bar_view.cc void ProgressBarView::OnPaint(gfx::Canvas* canvas) { canvas 50 ui/app_list/views/progress_bar_view.cc background_painter_->Paint(canvas, paint_size); canvas 59 ui/app_list/views/progress_bar_view.cc bar_painter_->Paint(canvas, paint_size); canvas 26 ui/app_list/views/progress_bar_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 96 ui/app_list/views/pulsing_block_view.cc void PulsingBlockView::OnPaint(gfx::Canvas* canvas) { canvas 99 ui/app_list/views/pulsing_block_view.cc canvas->FillRect(rect, kBlockColor); canvas 31 ui/app_list/views/pulsing_block_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 89 ui/app_list/views/search_result_actions_view.cc void SearchResultActionsView::OnPaint(gfx::Canvas* canvas) { canvas 95 ui/app_list/views/search_result_actions_view.cc canvas->FillRect(active_action_bounds, kActiveActionBackground); canvas 37 ui/app_list/views/search_result_actions_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 204 ui/app_list/views/search_result_view.cc void SearchResultView::OnPaint(gfx::Canvas* canvas) { canvas 215 ui/app_list/views/search_result_view.cc canvas->FillRect(content_rect, kSelectedColor); canvas 217 ui/app_list/views/search_result_view.cc canvas->FillRect(content_rect, kHighlightedColor); canvas 219 ui/app_list/views/search_result_view.cc canvas->FillRect(content_rect, kContentsBackgroundColor); canvas 222 ui/app_list/views/search_result_view.cc canvas->FillRect(border_bottom, kResultBorderColor); canvas 249 ui/app_list/views/search_result_view.cc title_text_->Draw(canvas); canvas 254 ui/app_list/views/search_result_view.cc details_text_->Draw(canvas); canvas 261 ui/app_list/views/search_result_view.cc title_text_->Draw(canvas); canvas 69 ui/app_list/views/search_result_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 53 ui/app_list/views/speech_view.cc virtual void Paint(gfx::Canvas* canvas) OVERRIDE; canvas 62 ui/app_list/views/speech_view.cc void SoundLevelIndicator::Paint(gfx::Canvas* canvas) { canvas 67 ui/app_list/views/speech_view.cc canvas->DrawCircle(bounds().CenterPoint(), width() / 2, paint); canvas 66 ui/aura/bench/bench_main.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE { canvas 68 ui/aura/bench/bench_main.cc canvas->DrawColor(color_); canvas 65 ui/aura/demo/demo_main.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 66 ui/aura/demo/demo_main.cc canvas->DrawColor(color_, SkXfermode::kSrc_Mode); canvas 74 ui/aura/test/test_window_delegate.cc void TestWindowDelegate::OnPaint(gfx::Canvas* canvas) { canvas 119 ui/aura/test/test_window_delegate.cc void ColorTestWindowDelegate::OnPaint(gfx::Canvas* canvas) { canvas 120 ui/aura/test/test_window_delegate.cc canvas->DrawColor(color_, SkXfermode::kSrc_Mode); canvas 56 ui/aura/test/test_window_delegate.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 86 ui/aura/test/test_window_delegate.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 942 ui/aura/window.cc void Window::Paint(gfx::Canvas* canvas) { canvas 944 ui/aura/window.cc delegate_->OnPaint(canvas); canvas 945 ui/aura/window.cc PaintLayerlessChildren(canvas); canvas 948 ui/aura/window.cc void Window::PaintLayerlessChildren(gfx::Canvas* canvas) { canvas 952 ui/aura/window.cc gfx::ScopedCanvas scoped_canvas(canvas); canvas 953 ui/aura/window.cc canvas->ClipRect(child->bounds()); canvas 954 ui/aura/window.cc if (!canvas->IsClipEmpty()) { canvas 955 ui/aura/window.cc canvas->Translate(child->bounds().OffsetFromOrigin()); canvas 956 ui/aura/window.cc child->Paint(canvas); canvas 1349 ui/aura/window.cc void Window::OnPaintLayer(gfx::Canvas* canvas) { canvas 1350 ui/aura/window.cc Paint(canvas); canvas 369 ui/aura/window.h void Paint(gfx::Canvas* canvas); canvas 372 ui/aura/window.h void PaintLayerlessChildren(gfx::Canvas* canvas); canvas 460 ui/aura/window.h virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE; canvas 68 ui/aura/window_delegate.h virtual void OnPaint(gfx::Canvas* canvas) = 0; canvas 2843 ui/aura/window_unittest.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 2845 ui/aura/window_unittest.cc canvas->GetClipBounds(&most_recent_paint_clip_bounds_); canvas 2846 ui/aura/window_unittest.cc const SkMatrix& matrix = canvas->sk_canvas()->getTotalMatrix(); canvas 2904 ui/aura/window_unittest.cc gfx::Canvas canvas(gfx::Size(200, 200), 1.0f, true); canvas 2905 ui/aura/window_unittest.cc static_cast<ui::LayerDelegate&>(root).OnPaintLayer(&canvas); canvas 538 ui/base/clipboard/clipboard_gtk.cc gfx::Canvas canvas(gfx::Size(gdk_pixbuf_get_width(pixbuf.get()), canvas 542 ui/base/clipboard/clipboard_gtk.cc skia::ScopedPlatformPaint scoped_platform_paint(canvas.sk_canvas()); canvas 547 ui/base/clipboard/clipboard_gtk.cc return canvas.ExtractImageRep().sk_bitmap(); canvas 571 ui/base/clipboard/clipboard_win.cc gfx::Canvas canvas(gfx::Size(bitmap->bmiHeader.biWidth, canvas 576 ui/base/clipboard/clipboard_win.cc skia::ScopedPlatformPaint scoped_platform_paint(canvas.sk_canvas()); canvas 592 ui/base/clipboard/clipboard_win.cc canvas.sk_canvas()->getDevice()->accessBitmap(true); canvas 602 ui/base/clipboard/clipboard_win.cc return canvas.ExtractImageRep().sk_bitmap(); canvas 43 ui/base/dragdrop/drag_utils.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE { canvas 46 ui/base/dragdrop/drag_utils.cc canvas->DrawImageInt(icon_, (size().width() - icon_.width()) / 2, 0); canvas 56 ui/base/dragdrop/drag_utils.cc canvas->DrawStringRectWithHalo(name, font_list, kFileDragImageTextColor, canvas 62 ui/base/dragdrop/drag_utils.cc canvas->DrawStringRectWithFlags(name, font_list, kFileDragImageTextColor, canvas 98 ui/base/dragdrop/drag_utils.cc void SetDragImageOnDataObject(const gfx::Canvas& canvas, canvas 102 ui/base/dragdrop/drag_utils.cc gfx::ImageSkia image = gfx::ImageSkia(canvas.ExtractImageRep()); canvas 40 ui/base/dragdrop/drag_utils.h UI_BASE_EXPORT void SetDragImageOnDataObject(const gfx::Canvas& canvas, canvas 1220 ui/base/x/x11_util.cc gfx::Canvas* canvas) { canvas 1254 ui/base/x/x11_util.cc gfx::ImageSkiaRep image_rep(bitmap, canvas->image_scale()); canvas 1256 ui/base/x/x11_util.cc canvas->DrawImageInt(image_skia, dest_offset.x(), dest_offset.y()); canvas 289 ui/base/x/x11_util.h gfx::Canvas* canvas); canvas 655 ui/compositor/layer.cc scoped_ptr<gfx::Canvas> canvas(gfx::Canvas::CreateCanvasWithoutScaling( canvas 660 ui/compositor/layer.cc canvas->Save(); canvas 661 ui/compositor/layer.cc canvas->sk_canvas()->scale(SkFloatToScalar(device_scale_factor_), canvas 666 ui/compositor/layer.cc delegate_->OnPaintLayer(canvas.get()); canvas 668 ui/compositor/layer.cc canvas->Restore(); canvas 323 ui/compositor/layer.h SkCanvas* canvas, const gfx::Rect& clip, gfx::RectF* opaque) OVERRIDE; canvas 22 ui/compositor/layer_delegate.h virtual void OnPaintLayer(gfx::Canvas* canvas) = 0; canvas 64 ui/compositor/layer_unittest.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE { canvas 65 ui/compositor/layer_unittest.cc canvas->DrawColor(color_); canvas 234 ui/compositor/layer_unittest.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE { canvas 235 ui/compositor/layer_unittest.cc SkISize size = canvas->sk_canvas()->getBaseLayerSize(); canvas 237 ui/compositor/layer_unittest.cc canvas->FillRect(gfx::Rect(paint_size_), colors_[color_index_]); canvas 239 ui/compositor/layer_unittest.cc const SkMatrix& matrix = canvas->sk_canvas()->getTotalMatrix(); canvas 284 ui/compositor/layer_unittest.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE { canvas 306 ui/compositor/layer_unittest.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE { canvas 1104 ui/compositor/layer_unittest.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE { canvas 1111 ui/compositor/layer_unittest.cc if (canvas->sk_canvas()->getClipBounds(&sk_clip_rect)) canvas 32 ui/gfx/blit.cc bool HasClipOrTransform(const SkCanvas& canvas) { canvas 33 ui/gfx/blit.cc if (!canvas.getTotalMatrix().isIdentity()) canvas 36 ui/gfx/blit.cc const SkRegion& clip_region = canvas.getTotalClip(); canvas 42 ui/gfx/blit.cc const SkBitmap& bitmap = skia::GetTopDevice(canvas)->accessBitmap(false); canvas 132 ui/gfx/blit.cc void ScrollCanvas(SkCanvas* canvas, canvas 135 ui/gfx/blit.cc DCHECK(!HasClipOrTransform(*canvas)); // Don't support special stuff. canvas 139 ui/gfx/blit.cc if (skia::SupportsPlatformPaint(canvas)) { canvas 140 ui/gfx/blit.cc skia::ScopedPlatformPaint scoped_platform_paint(canvas); canvas 154 ui/gfx/blit.cc skia::GetTopDevice(*canvas)->accessBitmap(true)); canvas 46 ui/gfx/blit.h GFX_EXPORT void ScrollCanvas(SkCanvas* canvas, canvas 22 ui/gfx/blit_unittest.cc void SetToCanvas(skia::PlatformCanvas* canvas, uint8 values[h][w]) { canvas 24 ui/gfx/blit_unittest.cc skia::GetTopDevice(*canvas)->accessBitmap(true)); canvas 42 ui/gfx/blit_unittest.cc void VerifyCanvasValues(skia::PlatformCanvas* canvas, uint8 values[h][w]) { canvas 44 ui/gfx/blit_unittest.cc skia::GetTopDevice(*canvas)->accessBitmap(true)); canvas 64 ui/gfx/blit_unittest.cc skia::RefPtr<SkCanvas> canvas = skia::AdoptRef( canvas 72 ui/gfx/blit_unittest.cc SetToCanvas<5, 5>(canvas.get(), initial_values); canvas 75 ui/gfx/blit_unittest.cc VerifyCanvasValues<5, 5>(canvas.get(), initial_values); canvas 78 ui/gfx/blit_unittest.cc gfx::ScrollCanvas(canvas.get(), canvas 81 ui/gfx/blit_unittest.cc VerifyCanvasValues<5, 5>(canvas.get(), initial_values); canvas 85 ui/gfx/blit_unittest.cc gfx::ScrollCanvas(canvas.get(), center_three, gfx::Vector2d(0, -1)); canvas 92 ui/gfx/blit_unittest.cc VerifyCanvasValues<5, 5>(canvas.get(), scroll_up_expected); canvas 95 ui/gfx/blit_unittest.cc SetToCanvas<5, 5>(canvas.get(), initial_values); canvas 96 ui/gfx/blit_unittest.cc gfx::ScrollCanvas(canvas.get(), center_three, gfx::Vector2d(0, 1)); canvas 103 ui/gfx/blit_unittest.cc VerifyCanvasValues<5, 5>(canvas.get(), scroll_down_expected); canvas 106 ui/gfx/blit_unittest.cc SetToCanvas<5, 5>(canvas.get(), initial_values); canvas 107 ui/gfx/blit_unittest.cc gfx::ScrollCanvas(canvas.get(), center_three, gfx::Vector2d(1, 0)); canvas 114 ui/gfx/blit_unittest.cc VerifyCanvasValues<5, 5>(canvas.get(), scroll_right_expected); canvas 117 ui/gfx/blit_unittest.cc SetToCanvas<5, 5>(canvas.get(), initial_values); canvas 118 ui/gfx/blit_unittest.cc gfx::ScrollCanvas(canvas.get(), center_three, gfx::Vector2d(-1, 0)); canvas 125 ui/gfx/blit_unittest.cc VerifyCanvasValues<5, 5>(canvas.get(), scroll_left_expected); canvas 128 ui/gfx/blit_unittest.cc SetToCanvas<5, 5>(canvas.get(), initial_values); canvas 129 ui/gfx/blit_unittest.cc gfx::ScrollCanvas(canvas.get(), center_three, gfx::Vector2d(2, 2)); canvas 136 ui/gfx/blit_unittest.cc VerifyCanvasValues<5, 5>(canvas.get(), scroll_diagonal_expected); canvas 147 ui/gfx/blit_unittest.cc skia::RefPtr<SkCanvas> canvas = skia::AdoptRef( canvas 150 ui/gfx/blit_unittest.cc ASSERT_TRUE(canvas); canvas 159 ui/gfx/blit_unittest.cc SetToCanvas<5, 5>(canvas.get(), initial_values); canvas 162 ui/gfx/blit_unittest.cc VerifyCanvasValues<5, 5>(canvas.get(), initial_values); canvas 67 ui/gfx/canvas.cc Canvas* Canvas::CreateCanvasWithoutScaling(SkCanvas* canvas, canvas 69 ui/gfx/canvas.cc return new Canvas(canvas, image_scale); canvas 546 ui/gfx/canvas.cc Canvas::Canvas(SkCanvas* canvas, float image_scale) canvas 549 ui/gfx/canvas.cc canvas_(canvas) { canvas 550 ui/gfx/canvas.cc DCHECK(canvas); canvas 424 ui/gfx/canvas.h Canvas(SkCanvas* canvas, float image_scale); canvas 59 ui/gfx/canvas_paint_gtk.cc skia::PlatformCanvas* canvas = platform_canvas(); canvas 63 ui/gfx/canvas_paint_gtk.cc canvas->translate(-SkIntToScalar(bounds.x), -SkIntToScalar(bounds.y)); canvas 65 ui/gfx/canvas_paint_gtk.cc context_ = skia::BeginPlatformPaint(canvas); canvas 38 ui/gfx/canvas_paint_win.cc skia::PlatformCanvas* canvas = platform_canvas(); canvas 39 ui/gfx/canvas_paint_win.cc canvas->restoreToCount(1); canvas 41 ui/gfx/canvas_paint_win.cc skia::DrawToNativeContext(canvas, paint_dc_, ps_.rcPaint.left, canvas 61 ui/gfx/canvas_paint_win.cc skia::PlatformCanvas* canvas = platform_canvas(); canvas 63 ui/gfx/canvas_paint_win.cc canvas->clear(SkColorSetARGB(0, 0, 0, 0)); canvas 67 ui/gfx/canvas_paint_win.cc canvas->translate( canvas 289 ui/gfx/color_analysis_unittest.cc gfx::Canvas canvas(gfx::Size(250, 200), 1.0f, true); canvas 292 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(0, 0, 50, 200), SkColorSetRGB(100, 0, 0)); canvas 293 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(50, 0, 50, 200), SkColorSetRGB(100, 100, 0)); canvas 294 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(100, 0, 50, 200), SkColorSetRGB(100, 100, 100)); canvas 295 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(150, 0, 50, 200), SkColorSetRGB(0, 100, 100)); canvas 296 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(200, 0, 50, 200), SkColorSetRGB(0, 0, 100)); canvas 299 ui/gfx/color_analysis_unittest.cc skia::GetTopDevice(*canvas.sk_canvas())->accessBitmap(false); canvas 358 ui/gfx/color_analysis_unittest.cc gfx::Canvas canvas(gfx::Size(300, 200), 1.0f, true); canvas 361 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(0, 0, 150, 200), SkColorSetRGB(0, 0, 0)); canvas 362 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(150, 0, 150, 200), SkColorSetRGB(255, 255, 255)); canvas 364 ui/gfx/color_analysis_unittest.cc skia::GetTopDevice(*canvas.sk_canvas())->accessBitmap(false); canvas 398 ui/gfx/color_analysis_unittest.cc gfx::Canvas canvas(gfx::Size(300, 200), 1.0f, true); canvas 401 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(0, 0, 100, 200), SkColorSetRGB(100, 0, 0)); canvas 402 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(100, 0, 100, 200), SkColorSetRGB(0, 255, 0)); canvas 403 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(200, 0, 100, 200), SkColorSetRGB(0, 0, 128)); canvas 405 ui/gfx/color_analysis_unittest.cc skia::GetTopDevice(*canvas.sk_canvas())->accessBitmap(false); canvas 446 ui/gfx/color_analysis_unittest.cc gfx::Canvas canvas(gfx::Size(300, 200), 1.0f, true); canvas 449 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(0, 0, 100, 200), SkColorSetRGB(10, 10, 10)); canvas 450 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(100, 0, 100, 200), SkColorSetRGB(100, 100, 100)); canvas 451 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(200, 0, 100, 200), SkColorSetRGB(255, 255, 255)); canvas 453 ui/gfx/color_analysis_unittest.cc skia::GetTopDevice(*canvas.sk_canvas())->accessBitmap(false); canvas 21 ui/gfx/image/canvas_image_source.cc gfx::Canvas canvas(size_, scale, is_opaque_); canvas 22 ui/gfx/image/canvas_image_source.cc Draw(&canvas); canvas 23 ui/gfx/image/canvas_image_source.cc return canvas.ExtractImageRep(); canvas 27 ui/gfx/image/canvas_image_source.h virtual void Draw(gfx::Canvas* canvas) = 0; canvas 44 ui/gfx/image/image.cc gfx::Canvas canvas(gfx::Size(gdk_pixbuf_get_width(pixbuf), canvas 48 ui/gfx/image/image.cc skia::ScopedPlatformPaint scoped_platform_paint(canvas.sk_canvas()); canvas 52 ui/gfx/image/image.cc return ImageSkia(canvas.ExtractImageRep()); canvas 141 ui/gfx/image/image_skia_operations.cc virtual void Draw(Canvas* canvas) OVERRIDE { canvas 142 ui/gfx/image/image_skia_operations.cc canvas->DrawImageInt(first_, 0, 0); canvas 143 ui/gfx/image/image_skia_operations.cc canvas->DrawImageInt(second_, canvas 502 ui/gfx/image/image_unittest.cc SkCanvas canvas(bitmap); canvas 505 ui/gfx/image/image_unittest.cc canvas.drawRect(SkRect::MakeWH(width, height / 2), red); canvas 544 ui/gfx/image/image_unittest.cc SkCanvas canvas(bitmap); canvas 547 ui/gfx/image/image_unittest.cc canvas.drawRect(SkRect::MakeWH(width, height / 2), red); canvas 71 ui/gfx/nine_image_painter.cc void NineImagePainter::Paint(Canvas* canvas, const Rect& bounds) { canvas 73 ui/gfx/nine_image_painter.cc Paint(canvas, bounds, std::numeric_limits<uint8>::max()); canvas 76 ui/gfx/nine_image_painter.cc void NineImagePainter::Paint(Canvas* canvas, canvas 82 ui/gfx/nine_image_painter.cc ScopedCanvas scoped_canvas(canvas); canvas 83 ui/gfx/nine_image_painter.cc canvas->Translate(bounds.OffsetFromOrigin()); canvas 111 ui/gfx/nine_image_painter.cc Fill(canvas, images_[4], i4x, i4y, i4w, i4h, paint); canvas 112 ui/gfx/nine_image_painter.cc canvas->DrawImageInt(images_[0], 0, 0, paint); canvas 113 ui/gfx/nine_image_painter.cc Fill(canvas, images_[1], i0w, 0, w - i0w - i2w, i1h, paint); canvas 114 ui/gfx/nine_image_painter.cc canvas->DrawImageInt(images_[2], w - i2w, 0, paint); canvas 115 ui/gfx/nine_image_painter.cc Fill(canvas, images_[3], 0, i0h, i3w, h - i0h - i6h, paint); canvas 116 ui/gfx/nine_image_painter.cc Fill(canvas, images_[5], w - i5w, i2h, i5w, h - i2h - i8h, paint); canvas 117 ui/gfx/nine_image_painter.cc canvas->DrawImageInt(images_[6], 0, h - i6h, paint); canvas 118 ui/gfx/nine_image_painter.cc Fill(canvas, images_[7], i6w, h - i7h, w - i6w - i8w, i7h, paint); canvas 119 ui/gfx/nine_image_painter.cc canvas->DrawImageInt(images_[8], w - i8w, h - i8h, paint); canvas 26 ui/gfx/nine_image_painter.h void Paint(Canvas* canvas, const Rect& bounds); canvas 27 ui/gfx/nine_image_painter.h void Paint(Canvas* canvas, const Rect& bounds, uint8 alpha); canvas 108 ui/gfx/ozone/dri/dri_surface_factory.cc SkCanvas* canvas = cursor->GetDrawableForWidget(); canvas 109 ui/gfx/ozone/dri/dri_surface_factory.cc canvas->clear(SK_ColorTRANSPARENT); canvas 113 ui/gfx/ozone/dri/dri_surface_factory.cc 0, 0, canvas->getDeviceSize().width(), canvas->getDeviceSize().height()); canvas 114 ui/gfx/ozone/dri/dri_surface_factory.cc canvas->clipRect(clip, SkRegion::kReplace_Op); canvas 115 ui/gfx/ozone/dri/dri_surface_factory.cc canvas->drawBitmapRectToRect(image, &damage, damage); canvas 190 ui/gfx/ozone/dri/dri_surface_unittest.cc SkCanvas* canvas = surface_->GetDrawableForWidget(); canvas 194 ui/gfx/ozone/dri/dri_surface_unittest.cc canvas->getDeviceSize().width() / 2, canvas 195 ui/gfx/ozone/dri/dri_surface_unittest.cc canvas->getDeviceSize().height() / 2); canvas 196 ui/gfx/ozone/dri/dri_surface_unittest.cc canvas->clipRect(clip, SkRegion::kReplace_Op); canvas 198 ui/gfx/ozone/dri/dri_surface_unittest.cc canvas->drawColor(SK_ColorWHITE); canvas 204 ui/gfx/ozone/dri/dri_surface_unittest.cc for (int i = 0; i < canvas->getDeviceSize().height(); ++i) { canvas 205 ui/gfx/ozone/dri/dri_surface_unittest.cc for (int j = 0; j < canvas->getDeviceSize().width(); ++j) { canvas 208 ui/gfx/ozone/dri/dri_surface_unittest.cc canvas->getDevice()->accessBitmap(false).getColor(j, i)); canvas 211 ui/gfx/ozone/dri/dri_surface_unittest.cc canvas->getDevice()->accessBitmap(false).getColor(j, i)); canvas 162 ui/gfx/render_text.cc SkiaTextRenderer::SkiaTextRenderer(Canvas* canvas) canvas 163 ui/gfx/render_text.cc : canvas_(canvas), canvas 164 ui/gfx/render_text.cc canvas_skia_(canvas->sk_canvas()), canvas 318 ui/gfx/render_text.cc SkiaTextRenderer::DiagonalStrike::DiagonalStrike(Canvas* canvas, canvas 321 ui/gfx/render_text.cc : canvas_(canvas), canvas 740 ui/gfx/render_text.cc void RenderText::Draw(Canvas* canvas) { canvas 747 ui/gfx/render_text.cc canvas->Save(); canvas 748 ui/gfx/render_text.cc canvas->ClipRect(clip_rect); canvas 752 ui/gfx/render_text.cc DrawSelection(canvas); canvas 755 ui/gfx/render_text.cc DrawCursor(canvas, selection_model_); canvas 758 ui/gfx/render_text.cc DrawVisualText(canvas); canvas 761 ui/gfx/render_text.cc canvas->Restore(); canvas 764 ui/gfx/render_text.cc void RenderText::DrawCursor(Canvas* canvas, const SelectionModel& position) { canvas 767 ui/gfx/render_text.cc canvas->FillRect(GetCursorBounds(position, true), cursor_color_); canvas 1304 ui/gfx/render_text.cc void RenderText::DrawSelection(Canvas* canvas) { canvas 1307 ui/gfx/render_text.cc canvas->FillRect(*i, selection_background_focused_color_); canvas 51 ui/gfx/render_text.h explicit SkiaTextRenderer(Canvas* canvas); canvas 87 ui/gfx/render_text.h DiagonalStrike(Canvas* canvas, Point start, const SkPaint& paint); canvas 373 ui/gfx/render_text.h void Draw(Canvas* canvas); canvas 376 ui/gfx/render_text.h void DrawCursor(Canvas* canvas, const SelectionModel& position); canvas 514 ui/gfx/render_text.h virtual void DrawVisualText(Canvas* canvas) = 0; canvas 594 ui/gfx/render_text.h void DrawSelection(Canvas* canvas); canvas 158 ui/gfx/render_text_mac.cc void RenderTextMac::DrawVisualText(Canvas* canvas) { canvas 163 ui/gfx/render_text_mac.cc internal::SkiaTextRenderer renderer(canvas); canvas 50 ui/gfx/render_text_mac.h virtual void DrawVisualText(Canvas* canvas) OVERRIDE; canvas 377 ui/gfx/render_text_pango.cc void RenderTextPango::DrawVisualText(Canvas* canvas) { canvas 389 ui/gfx/render_text_pango.cc internal::SkiaTextRenderer renderer(canvas); canvas 42 ui/gfx/render_text_pango.h virtual void DrawVisualText(Canvas* canvas) OVERRIDE; canvas 1739 ui/gfx/render_text_unittest.cc Canvas canvas; canvas 1748 ui/gfx/render_text_unittest.cc render_text->Draw(&canvas); canvas 1763 ui/gfx/render_text_unittest.cc Canvas canvas; canvas 1768 ui/gfx/render_text_unittest.cc render_text->Draw(&canvas); canvas 1790 ui/gfx/render_text_unittest.cc Canvas canvas; canvas 1795 ui/gfx/render_text_unittest.cc render_text->Draw(&canvas); canvas 1816 ui/gfx/render_text_unittest.cc Canvas canvas; canvas 1821 ui/gfx/render_text_unittest.cc render_text->Draw(&canvas); canvas 1842 ui/gfx/render_text_unittest.cc Canvas canvas; canvas 1847 ui/gfx/render_text_unittest.cc render_text->Draw(&canvas); canvas 788 ui/gfx/render_text_win.cc void RenderTextWin::DrawVisualText(Canvas* canvas) { canvas 794 ui/gfx/render_text_win.cc internal::SkiaTextRenderer renderer(canvas); canvas 86 ui/gfx/render_text_win.h virtual void DrawVisualText(Canvas* canvas) OVERRIDE; canvas 15 ui/gfx/scoped_canvas.h explicit ScopedCanvas(gfx::Canvas* canvas) : canvas_(canvas) { canvas 23 ui/gfx/scoped_canvas.h void SetCanvas(gfx::Canvas* canvas) { canvas 26 ui/gfx/scoped_canvas.h canvas_ = canvas; canvas 61 ui/gfx/skbitmap_operations.cc SkCanvas canvas(superimposed); canvas 69 ui/gfx/skbitmap_operations.cc canvas.drawBitmapRect(first, NULL, rect); canvas 70 ui/gfx/skbitmap_operations.cc canvas.drawBitmapRect(second, NULL, rect); canvas 742 ui/gfx/skbitmap_operations.cc SkCanvas canvas(color_mask); canvas 748 ui/gfx/skbitmap_operations.cc canvas.drawBitmap(bitmap, SkIntToScalar(0), SkIntToScalar(0), &paint); canvas 768 ui/gfx/skbitmap_operations.cc SkCanvas canvas(image_with_shadow); canvas 769 ui/gfx/skbitmap_operations.cc canvas.translate(SkIntToScalar(shadow_margin.left()), canvas 783 ui/gfx/skbitmap_operations.cc canvas.saveLayer(0, &paint); canvas 784 ui/gfx/skbitmap_operations.cc canvas.drawBitmap(shadow_image, canvas 787 ui/gfx/skbitmap_operations.cc canvas.restore(); canvas 790 ui/gfx/skbitmap_operations.cc canvas.drawBitmap(bitmap, SkIntToScalar(0), SkIntToScalar(0)); canvas 818 ui/gfx/skbitmap_operations.cc SkCanvas canvas(result); canvas 819 ui/gfx/skbitmap_operations.cc canvas.clear(SkColorSetARGB(0, 0, 0, 0)); canvas 821 ui/gfx/skbitmap_operations.cc canvas.translate(SkFloatToScalar(result.width() * 0.5f), canvas 823 ui/gfx/skbitmap_operations.cc canvas.rotate(angle); canvas 824 ui/gfx/skbitmap_operations.cc canvas.translate(-SkFloatToScalar(source.width() * 0.5f), canvas 826 ui/gfx/skbitmap_operations.cc canvas.drawBitmap(source, 0, 0); canvas 827 ui/gfx/skbitmap_operations.cc canvas.flush(); canvas 535 ui/gfx/skbitmap_operations_unittest.cc SkCanvas canvas(src); canvas 540 ui/gfx/skbitmap_operations_unittest.cc canvas.setClipRegion(region); canvas 542 ui/gfx/skbitmap_operations_unittest.cc canvas.drawColor(0x1FFF0000, SkXfermode::kSrc_Mode); canvas 544 ui/gfx/skbitmap_operations_unittest.cc canvas.setClipRegion(region); canvas 545 ui/gfx/skbitmap_operations_unittest.cc canvas.drawColor(SK_ColorBLUE, SkXfermode::kSrc_Mode); canvas 547 ui/gfx/skbitmap_operations_unittest.cc canvas.setClipRegion(region); canvas 548 ui/gfx/skbitmap_operations_unittest.cc canvas.drawColor(SK_ColorGREEN, SkXfermode::kSrc_Mode); canvas 550 ui/gfx/skbitmap_operations_unittest.cc canvas.setClipRegion(region); canvas 551 ui/gfx/skbitmap_operations_unittest.cc canvas.drawColor(SK_ColorYELLOW, SkXfermode::kSrc_Mode); canvas 552 ui/gfx/skbitmap_operations_unittest.cc canvas.flush(); canvas 100 ui/keyboard/keyboard_controller.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE {} canvas 704 ui/message_center/message_center_impl_unittest.cc gfx::Canvas canvas(new_size, 1.0f, true); canvas 705 ui/message_center/message_center_impl_unittest.cc canvas.DrawColor(SK_ColorBLUE); canvas 706 ui/message_center/message_center_impl_unittest.cc gfx::Image testImage(gfx::Image(gfx::ImageSkia(canvas.ExtractImageRep()))); canvas 49 ui/message_center/views/bounded_label.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 175 ui/message_center/views/bounded_label.cc void InnerBoundedLabel::OnPaint(gfx::Canvas* canvas) { canvas 176 ui/message_center/views/bounded_label.cc views::Label::OnPaintBackground(canvas); canvas 177 ui/message_center/views/bounded_label.cc views::Label::OnPaintBorder(canvas); canvas 189 ui/message_center/views/bounded_label.cc PaintText(canvas, wrapped_text_, bounds, GetTextFlags()); canvas 326 ui/message_center/views/bounded_label.cc void BoundedLabel::Paint(gfx::Canvas* canvas) { canvas 328 ui/message_center/views/bounded_label.cc label_->Paint(canvas); canvas 55 ui/message_center/views/bounded_label.h virtual void Paint(gfx::Canvas* canvas) OVERRIDE; canvas 127 ui/message_center/views/message_center_view.cc virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; canvas 315 ui/message_center/views/message_center_view.cc void MessageListView::PaintChildren(gfx::Canvas* canvas) { canvas 320 ui/message_center/views/message_center_view.cc child_at(i)->Paint(canvas); canvas 151 ui/message_center/views/message_view.cc void MessageView::OnPaint(gfx::Canvas* canvas) { canvas 154 ui/message_center/views/message_view.cc SlideOutView::OnPaint(canvas); canvas 155 ui/message_center/views/message_view.cc views::Painter::PaintFocusPainter(this, canvas, focus_painter_.get()); canvas 74 ui/message_center/views/message_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 83 ui/message_center/views/notification_button.cc void NotificationButton::OnPaint(gfx::Canvas* canvas) { canvas 84 ui/message_center/views/notification_button.cc CustomButton::OnPaint(canvas); canvas 85 ui/message_center/views/notification_button.cc views::Painter::PaintFocusPainter(this, canvas, focus_painter_.get()); canvas 32 ui/message_center/views/notification_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 206 ui/message_center/views/notification_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 224 ui/message_center/views/notification_view.cc void NotificationProgressBar::OnPaint(gfx::Canvas* canvas) { canvas 236 ui/message_center/views/notification_view.cc canvas->DrawPath(background_path, background_paint); canvas 254 ui/message_center/views/notification_view.cc canvas->DrawPath(slice_path, slice_paint); canvas 149 ui/message_center/views/notifier_settings_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 201 ui/message_center/views/notifier_settings_view.cc void EntryView::OnPaint(gfx::Canvas* canvas) { canvas 202 ui/message_center/views/notifier_settings_view.cc View::OnPaint(canvas); canvas 203 ui/message_center/views/notifier_settings_view.cc views::Painter::PaintFocusPainter(this, canvas, focus_painter_.get()); canvas 58 ui/message_center/views/padded_button.cc void PaddedButton::OnPaint(gfx::Canvas* canvas) { canvas 62 ui/message_center/views/padded_button.cc View::OnPaint(canvas); canvas 67 ui/message_center/views/padded_button.cc canvas->DrawImageInt(background_image_, position.x(), position.y()); canvas 68 ui/message_center/views/padded_button.cc canvas->DrawImageInt(image, position.x(), position.y()); canvas 70 ui/message_center/views/padded_button.cc views::Painter::PaintFocusPainter(this, canvas, focus_painter()); canvas 28 ui/message_center/views/padded_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 24 ui/message_center/views/proportional_image_view.cc void ProportionalImageView::OnPaint(gfx::Canvas* canvas) { canvas 25 ui/message_center/views/proportional_image_view.cc views::View::OnPaint(canvas); canvas 38 ui/message_center/views/proportional_image_view.cc canvas->DrawImageInt(image_, draw_bounds.x(), draw_bounds.y()); canvas 44 ui/message_center/views/proportional_image_view.cc canvas->DrawImageInt( canvas 22 ui/message_center/views/proportional_image_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 118 ui/native_theme/common_theme.cc SkCanvas* canvas, canvas 126 ui/native_theme/common_theme.cc canvas->drawLine(rect.x(), position_y, rect.right(), position_y, paint); canvas 129 ui/native_theme/common_theme.cc void CommonThemePaintMenuGutter(SkCanvas* canvas, const gfx::Rect& rect) { canvas 135 ui/native_theme/common_theme.cc canvas->drawLine(position_x, rect.y(), position_x, rect.bottom(), paint); canvas 138 ui/native_theme/common_theme.cc void CommonThemePaintMenuBackground(SkCanvas* canvas, const gfx::Rect& rect) { canvas 143 ui/native_theme/common_theme.cc canvas->drawRect(gfx::RectToSkRect(rect), paint); canvas 146 ui/native_theme/common_theme.cc void CommonThemePaintMenuItemBackground(SkCanvas* canvas, canvas 167 ui/native_theme/common_theme.cc canvas->drawRect(gfx::RectToSkRect(rect), paint); canvas 27 ui/native_theme/common_theme.h SkCanvas* canvas, canvas 31 ui/native_theme/common_theme.h void NATIVE_THEME_EXPORT CommonThemePaintMenuGutter(SkCanvas* canvas, canvas 34 ui/native_theme/common_theme.h void NATIVE_THEME_EXPORT CommonThemePaintMenuBackground(SkCanvas* canvas, canvas 38 ui/native_theme/common_theme.h SkCanvas* canvas, canvas 217 ui/native_theme/native_theme.h virtual void Paint(SkCanvas* canvas, canvas 101 ui/native_theme/native_theme_aura.cc SkCanvas* canvas, canvas 119 ui/native_theme/native_theme_aura.cc canvas->drawPath(path, paint); canvas 121 ui/native_theme/native_theme_aura.cc canvas->drawColor(color, SkXfermode::kSrc_Mode); canvas 126 ui/native_theme/native_theme_aura.cc SkCanvas* canvas, canvas 130 ui/native_theme/native_theme_aura.cc CommonThemePaintMenuItemBackground(canvas, state, rect); canvas 211 ui/native_theme/native_theme_aura.cc void NativeThemeAura::PaintScrollbarCorner(SkCanvas* canvas, canvas 220 ui/native_theme/native_theme_aura.cc canvas->drawIRect(RectToSkIRect(rect), paint); canvas 242 ui/native_theme/native_theme_aura.cc scoped_ptr<gfx::Canvas> canvas(CreateCanvas(sk_canvas)); canvas 243 ui/native_theme/native_theme_aura.cc painter->Paint(canvas.get(), rect); canvas 265 ui/native_theme/native_theme_aura.cc scoped_ptr<gfx::Canvas> canvas(CreateCanvas(sk_canvas)); canvas 267 ui/native_theme/native_theme_aura.cc canvas.get(), rect, dual_painter->fill_alphas[state]); canvas 269 ui/native_theme/native_theme_aura.cc canvas.get(), rect, dual_painter->stroke_alphas[state]); canvas 29 ui/native_theme/native_theme_aura.h SkCanvas* canvas, canvas 33 ui/native_theme/native_theme_aura.h SkCanvas* canvas, canvas 51 ui/native_theme/native_theme_aura.h virtual void PaintScrollbarCorner(SkCanvas* canvas, canvas 57 ui/native_theme/native_theme_aurawin.cc void NativeThemeAuraWin::Paint(SkCanvas* canvas, canvas 64 ui/native_theme/native_theme_aurawin.cc NativeThemeWin::instance()->Paint(canvas, part, state, rect, extra); canvas 68 ui/native_theme/native_theme_aurawin.cc NativeThemeAura::Paint(canvas, part, state, rect, extra); canvas 27 ui/native_theme/native_theme_aurawin.h virtual void Paint(SkCanvas* canvas, canvas 159 ui/native_theme/native_theme_base.cc void NativeThemeBase::Paint(SkCanvas* canvas, canvas 170 ui/native_theme/native_theme_base.cc PaintCheckbox(canvas, state, rect, extra.button); canvas 173 ui/native_theme/native_theme_base.cc PaintInnerSpinButton(canvas, state, rect, extra.inner_spin); canvas 176 ui/native_theme/native_theme_base.cc PaintMenuList(canvas, state, rect, extra.menu_list); canvas 184 ui/native_theme/native_theme_base.cc PaintMenuPopupBackground(canvas, rect.size(), extra.menu_background); canvas 191 ui/native_theme/native_theme_base.cc PaintMenuItemBackground(canvas, state, rect, extra.menu_list); canvas 194 ui/native_theme/native_theme_base.cc PaintProgressBar(canvas, state, rect, extra.progress_bar); canvas 197 ui/native_theme/native_theme_base.cc PaintButton(canvas, state, rect, extra.button); canvas 200 ui/native_theme/native_theme_base.cc PaintRadio(canvas, state, rect, extra.button); canvas 206 ui/native_theme/native_theme_base.cc PaintArrowButton(canvas, rect, part, state); canvas 210 ui/native_theme/native_theme_base.cc PaintScrollbarThumb(canvas, part, state, rect); canvas 214 ui/native_theme/native_theme_base.cc PaintScrollbarTrack(canvas, part, state, extra.scrollbar_track, rect); canvas 222 ui/native_theme/native_theme_base.cc PaintScrollbarCorner(canvas, state, rect); canvas 225 ui/native_theme/native_theme_base.cc PaintSliderTrack(canvas, state, rect, extra.slider); canvas 228 ui/native_theme/native_theme_base.cc PaintSliderThumb(canvas, state, rect, extra.slider); canvas 234 ui/native_theme/native_theme_base.cc PaintTextField(canvas, state, rect, extra.text_field); canvas 266 ui/native_theme/native_theme_base.cc SkCanvas* canvas, canvas 290 ui/native_theme/native_theme_base.cc canvas->drawIRect(skrect, paint); canvas 334 ui/native_theme/native_theme_base.cc canvas->drawPath(outline, paint); canvas 341 ui/native_theme/native_theme_base.cc canvas->drawPath(outline, paint); canvas 343 ui/native_theme/native_theme_base.cc PaintArrow(canvas, rect, direction, GetArrowColor(state)); canvas 396 ui/native_theme/native_theme_base.cc void NativeThemeBase::PaintScrollbarTrack(SkCanvas* canvas, canvas 408 ui/native_theme/native_theme_base.cc canvas->drawIRect(skrect, paint); canvas 414 ui/native_theme/native_theme_base.cc DrawBox(canvas, rect, paint); canvas 417 ui/native_theme/native_theme_base.cc void NativeThemeBase::PaintScrollbarThumb(SkCanvas* canvas, canvas 438 ui/native_theme/native_theme_base.cc canvas->drawIRect(skrect, paint); canvas 450 ui/native_theme/native_theme_base.cc canvas->drawIRect(skrect, paint); canvas 455 ui/native_theme/native_theme_base.cc DrawBox(canvas, rect, paint); canvas 461 ui/native_theme/native_theme_base.cc DrawHorizLine(canvas, canvas 466 ui/native_theme/native_theme_base.cc DrawHorizLine(canvas, canvas 471 ui/native_theme/native_theme_base.cc DrawHorizLine(canvas, canvas 477 ui/native_theme/native_theme_base.cc DrawVertLine(canvas, canvas 482 ui/native_theme/native_theme_base.cc DrawVertLine(canvas, canvas 487 ui/native_theme/native_theme_base.cc DrawVertLine(canvas, canvas 496 ui/native_theme/native_theme_base.cc void NativeThemeBase::PaintScrollbarCorner(SkCanvas* canvas, canvas 503 ui/native_theme/native_theme_base.cc canvas->drawIRect(RectToSkIRect(rect), paint); canvas 506 ui/native_theme/native_theme_base.cc void NativeThemeBase::PaintCheckbox(SkCanvas* canvas, canvas 510 ui/native_theme/native_theme_base.cc SkRect skrect = PaintCheckboxRadioCommon(canvas, state, rect, canvas 527 ui/native_theme/native_theme_base.cc canvas->drawPath(dash, paint); canvas 536 ui/native_theme/native_theme_base.cc canvas->drawPath(check, paint); canvas 545 ui/native_theme/native_theme_base.cc SkCanvas* canvas, canvas 567 ui/native_theme/native_theme_base.cc canvas->drawRect(skrect, paint); canvas 588 ui/native_theme/native_theme_base.cc canvas->drawRoundRect(shadowRect, borderRadius, borderRadius, paint); canvas 613 ui/native_theme/native_theme_base.cc canvas->drawRoundRect(skrect, borderRadius, borderRadius, paint); canvas 626 ui/native_theme/native_theme_base.cc canvas->drawRoundRect(skrect, borderRadius, borderRadius, paint); canvas 633 ui/native_theme/native_theme_base.cc void NativeThemeBase::PaintRadio(SkCanvas* canvas, canvas 642 ui/native_theme/native_theme_base.cc SkRect skrect = PaintCheckboxRadioCommon(canvas, state, rect, radius); canvas 655 ui/native_theme/native_theme_base.cc canvas->drawRoundRect(skrect, radius, radius, paint); canvas 659 ui/native_theme/native_theme_base.cc void NativeThemeBase::PaintButton(SkCanvas* canvas, canvas 679 ui/native_theme/native_theme_base.cc canvas->drawRect(skrect, paint); canvas 700 ui/native_theme/native_theme_base.cc canvas->drawRoundRect(skrect, SkIntToScalar(1), SkIntToScalar(1), paint); canvas 713 ui/native_theme/native_theme_base.cc canvas->drawRoundRect(skrect, SkIntToScalar(1), SkIntToScalar(1), paint); canvas 717 ui/native_theme/native_theme_base.cc void NativeThemeBase::PaintTextField(SkCanvas* canvas, canvas 727 ui/native_theme/native_theme_base.cc canvas->drawRect(bounds, fill_paint); canvas 734 ui/native_theme/native_theme_base.cc canvas->drawRect(bounds, stroke_paint); canvas 738 ui/native_theme/native_theme_base.cc SkCanvas* canvas, canvas 748 ui/native_theme/native_theme_base.cc PaintButton(canvas, state, rect, button); canvas 761 ui/native_theme/native_theme_base.cc canvas->drawPath(path, paint); canvas 765 ui/native_theme/native_theme_base.cc SkCanvas* canvas, canvas 768 ui/native_theme/native_theme_base.cc canvas->drawColor(kMenuPopupBackgroundColor, SkXfermode::kSrc_Mode); canvas 772 ui/native_theme/native_theme_base.cc SkCanvas* canvas, canvas 779 ui/native_theme/native_theme_base.cc void NativeThemeBase::PaintSliderTrack(SkCanvas* canvas, canvas 801 ui/native_theme/native_theme_base.cc canvas->drawRect(skrect, paint); canvas 804 ui/native_theme/native_theme_base.cc void NativeThemeBase::PaintSliderThumb(SkCanvas* canvas, canvas 821 ui/native_theme/native_theme_base.cc canvas->drawIRect(skrect, paint); canvas 830 ui/native_theme/native_theme_base.cc canvas->drawIRect(skrect, paint); canvas 833 ui/native_theme/native_theme_base.cc DrawBox(canvas, rect, paint); canvas 836 ui/native_theme/native_theme_base.cc DrawHorizLine(canvas, kMidX - 2, kMidX + 2, kMidY, paint); canvas 837 ui/native_theme/native_theme_base.cc DrawHorizLine(canvas, kMidX - 2, kMidX + 2, kMidY - 3, paint); canvas 838 ui/native_theme/native_theme_base.cc DrawHorizLine(canvas, kMidX - 2, kMidX + 2, kMidY + 3, paint); canvas 842 ui/native_theme/native_theme_base.cc void NativeThemeBase::PaintInnerSpinButton(SkCanvas* canvas, canvas 858 ui/native_theme/native_theme_base.cc PaintArrowButton(canvas, half, kScrollbarUpArrow, north_state); canvas 861 ui/native_theme/native_theme_base.cc PaintArrowButton(canvas, half, kScrollbarDownArrow, south_state); canvas 864 ui/native_theme/native_theme_base.cc void NativeThemeBase::PaintProgressBar(SkCanvas* canvas, canvas 902 ui/native_theme/native_theme_base.cc DrawTiledImage(canvas, *bar_image, 0, 0, tile_scale_x, tile_scale_y, canvas 921 ui/native_theme/native_theme_base.cc DrawTiledImage(canvas, *bar_image, 0, 0, big_scale_x, tile_scale_y, canvas 923 ui/native_theme/native_theme_base.cc DrawTiledImage(canvas, *bar_image, 0, 0, small_scale_x, tile_scale_y, canvas 933 ui/native_theme/native_theme_base.cc DrawTiledImage(canvas, *value_image, 0, 0, tile_scale_x, tile_scale_y, canvas 940 ui/native_theme/native_theme_base.cc DrawImageInt(canvas, *left_border_image, 0, 0, left_border_image->width(), canvas 945 ui/native_theme/native_theme_base.cc DrawImageInt(canvas, *right_border_image, 0, 0, right_border_image->width(), canvas 950 ui/native_theme/native_theme_base.cc bool NativeThemeBase::IntersectsClipRectInt(SkCanvas* canvas, canvas 953 ui/native_theme/native_theme_base.cc return canvas->getClipBounds(&clip) && canvas 962 ui/native_theme/native_theme_base.cc scoped_ptr<gfx::Canvas> canvas(CreateCanvas(sk_canvas)); canvas 963 ui/native_theme/native_theme_base.cc canvas->DrawImageInt(image, src_x, src_y, src_w, src_h, canvas 971 ui/native_theme/native_theme_base.cc scoped_ptr<gfx::Canvas> canvas(CreateCanvas(sk_canvas)); canvas 972 ui/native_theme/native_theme_base.cc canvas->TileImageInt(image, src_x, src_y, tile_scale_x, canvas 997 ui/native_theme/native_theme_base.cc void NativeThemeBase::DrawVertLine(SkCanvas* canvas, canvas 1004 ui/native_theme/native_theme_base.cc canvas->drawIRect(skrect, paint); canvas 1007 ui/native_theme/native_theme_base.cc void NativeThemeBase::DrawHorizLine(SkCanvas* canvas, canvas 1014 ui/native_theme/native_theme_base.cc canvas->drawIRect(skrect, paint); canvas 1017 ui/native_theme/native_theme_base.cc void NativeThemeBase::DrawBox(SkCanvas* canvas, canvas 1022 ui/native_theme/native_theme_base.cc DrawHorizLine(canvas, rect.x(), right, rect.y(), paint); canvas 1023 ui/native_theme/native_theme_base.cc DrawVertLine(canvas, right, rect.y(), bottom, paint); canvas 1024 ui/native_theme/native_theme_base.cc DrawHorizLine(canvas, rect.x(), right, bottom, paint); canvas 1025 ui/native_theme/native_theme_base.cc DrawVertLine(canvas, rect.x(), rect.y(), bottom, paint); canvas 30 ui/native_theme/native_theme_base.h virtual void Paint(SkCanvas* canvas, canvas 52 ui/native_theme/native_theme_base.h SkCanvas* canvas, canvas 59 ui/native_theme/native_theme_base.h SkCanvas* canvas, canvas 64 ui/native_theme/native_theme_base.h virtual void PaintScrollbarCorner(SkCanvas* canvas, canvas 69 ui/native_theme/native_theme_base.h SkCanvas* canvas, canvas 75 ui/native_theme/native_theme_base.h SkCanvas* canvas, canvas 81 ui/native_theme/native_theme_base.h SkCanvas* canvas, canvas 87 ui/native_theme/native_theme_base.h SkCanvas* canvas, canvas 93 ui/native_theme/native_theme_base.h SkCanvas* canvas, canvas 99 ui/native_theme/native_theme_base.h SkCanvas* canvas, canvas 104 ui/native_theme/native_theme_base.h SkCanvas* canvas, canvas 110 ui/native_theme/native_theme_base.h SkCanvas* canvas, canvas 116 ui/native_theme/native_theme_base.h SkCanvas* canvas, canvas 122 ui/native_theme/native_theme_base.h SkCanvas* canvas, canvas 128 ui/native_theme/native_theme_base.h SkCanvas* canvas, canvas 138 ui/native_theme/native_theme_base.h bool IntersectsClipRectInt(SkCanvas* canvas, canvas 141 ui/native_theme/native_theme_base.h void DrawImageInt(SkCanvas* canvas, const gfx::ImageSkia& image, canvas 145 ui/native_theme/native_theme_base.h void DrawTiledImage(SkCanvas* canvas, canvas 156 ui/native_theme/native_theme_base.h void PaintArrow(SkCanvas* canvas, canvas 165 ui/native_theme/native_theme_base.h void DrawVertLine(SkCanvas* canvas, canvas 170 ui/native_theme/native_theme_base.h void DrawHorizLine(SkCanvas* canvas, canvas 175 ui/native_theme/native_theme_base.h void DrawBox(SkCanvas* canvas, canvas 186 ui/native_theme/native_theme_base.h SkCanvas* canvas, canvas 287 ui/native_theme/native_theme_win.cc void NativeThemeWin::Paint(SkCanvas* canvas, canvas 297 ui/native_theme/native_theme_win.cc CommonThemePaintMenuGutter(canvas, rect); canvas 300 ui/native_theme/native_theme_win.cc CommonThemePaintMenuSeparator(canvas, rect, extra.menu_separator); canvas 303 ui/native_theme/native_theme_win.cc CommonThemePaintMenuBackground(canvas, rect); canvas 306 ui/native_theme/native_theme_win.cc CommonThemePaintMenuItemBackground(canvas, state, rect); canvas 311 ui/native_theme/native_theme_win.cc if (!skia::SupportsPlatformPaint(canvas)) { canvas 342 ui/native_theme/native_theme_win.cc PaintIndirect(canvas, part, state, rect, extra); canvas 344 ui/native_theme/native_theme_win.cc PaintDirect(canvas, part, state, rect, extra); canvas 411 ui/native_theme/native_theme_win.cc void NativeThemeWin::PaintDirect(SkCanvas* canvas, canvas 416 ui/native_theme/native_theme_win.cc skia::ScopedPlatformPaint scoped_platform_paint(canvas); canvas 461 ui/native_theme/native_theme_win.cc PaintScrollbarTrack(canvas, hdc, part, state, rect, canvas 465 ui/native_theme/native_theme_win.cc canvas->drawColor(SK_ColorWHITE, SkXfermode::kSrc_Mode); canvas 478 ui/native_theme/native_theme_win.cc PaintTrackbar(canvas, hdc, part, state, rect, extra.trackbar); canvas 656 ui/native_theme/native_theme_win.cc void NativeThemeWin::PaintIndirect(SkCanvas* canvas, canvas 733 ui/native_theme/native_theme_win.cc canvas->drawBitmap(bitmap, rect.x(), rect.y()); canvas 1268 ui/native_theme/native_theme_win.cc SkCanvas* canvas, canvas 1321 ui/native_theme/native_theme_win.cc canvas->drawIRect(skia::RECTToSkIRect(rect_win), paint); canvas 1363 ui/native_theme/native_theme_win.cc SkCanvas* canvas, canvas 1442 ui/native_theme/native_theme_win.cc canvas->drawIRect(skia::RECTToSkIRect(top_section), paint); canvas 1452 ui/native_theme/native_theme_win.cc canvas->drawPath(left_triangle, paint); canvas 1463 ui/native_theme/native_theme_win.cc canvas->drawPath(right_triangle, paint); canvas 110 ui/native_theme/native_theme_win.h virtual void Paint(SkCanvas* canvas, canvas 128 ui/native_theme/native_theme_win.h void PaintDirect(SkCanvas* canvas, canvas 137 ui/native_theme/native_theme_win.h void PaintIndirect(SkCanvas* canvas, canvas 229 ui/native_theme/native_theme_win.h HRESULT PaintScrollbarTrack(SkCanvas* canvas, canvas 242 ui/native_theme/native_theme_win.h HRESULT PaintTrackbar(SkCanvas* canvas, canvas 82 ui/ozone/platform/caca/caca_surface_factory.cc caca_canvas_t* canvas = caca_get_canvas(connection_->display()); canvas 83 ui/ozone/platform/caca/caca_surface_factory.cc caca_dither_bitmap(canvas, 0, 0, canvas 84 ui/ozone/platform/caca/caca_surface_factory.cc caca_get_canvas_width(canvas), canvas 85 ui/ozone/platform/caca/caca_surface_factory.cc caca_get_canvas_height(canvas), canvas 44 ui/snapshot/snapshot_aura_unittest.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 47 ui/snapshot/snapshot_aura_unittest.cc canvas->FillRect(gfx::Rect(x, y, 1, 1), GetExpectedColorForPoint(x, y)); canvas 74 ui/surface/transport_dib_win.cc skia::PlatformCanvas* canvas = canvas 79 ui/surface/transport_dib_win.cc if (canvas) canvas 82 ui/surface/transport_dib_win.cc return canvas; canvas 20 ui/v2/public/painter.h virtual void Paint(gfx::Canvas* canvas) = 0; canvas 128 ui/v2/src/view.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE { canvas 25 ui/views/background.cc virtual void Paint(gfx::Canvas* canvas, View* view) const OVERRIDE { canvas 28 ui/views/background.cc canvas->DrawColor(get_color()); canvas 48 ui/views/background.cc virtual void Paint(gfx::Canvas* canvas, View* view) const OVERRIDE { canvas 49 ui/views/background.cc Painter::PaintPainterAt(canvas, painter_, view->GetLocalBounds()); canvas 80 ui/views/background.h virtual void Paint(gfx::Canvas* canvas, View* view) const = 0; canvas 23 ui/views/border.cc virtual void Paint(const View& view, gfx::Canvas* canvas) OVERRIDE; canvas 43 ui/views/border.cc void SidedSolidBorder::Paint(const View& view, gfx::Canvas* canvas) { canvas 45 ui/views/border.cc canvas->FillRect(gfx::Rect(0, 0, view.width(), insets_.top()), color_); canvas 47 ui/views/border.cc canvas->FillRect(gfx::Rect(0, 0, insets_.left(), view.height()), color_); canvas 49 ui/views/border.cc canvas->FillRect(gfx::Rect(0, view.height() - insets_.bottom(), view.width(), canvas 52 ui/views/border.cc canvas->FillRect(gfx::Rect(view.width() - insets_.right(), 0, insets_.right(), canvas 81 ui/views/border.cc virtual void Paint(const View& view, gfx::Canvas* canvas) OVERRIDE {} canvas 108 ui/views/border.cc virtual void Paint(const View& view, gfx::Canvas* canvas) OVERRIDE { canvas 109 ui/views/border.cc Painter::PaintPainterAt(canvas, painter_.get(), view.GetLocalBounds()); canvas 74 ui/views/border.h virtual void Paint(const View& view, gfx::Canvas* canvas) = 0; canvas 227 ui/views/bubble/bubble_border.cc void BubbleBorder::Paint(const views::View& view, gfx::Canvas* canvas) { canvas 232 ui/views/bubble/bubble_border.cc Painter::PaintPainterAt(canvas, images_->border_painter.get(), bounds); canvas 237 ui/views/bubble/bubble_border.cc canvas->Save(); canvas 239 ui/views/bubble/bubble_border.cc canvas->sk_canvas()->clipRect(arrow_rect, SkRegion::kDifference_Op); canvas 240 ui/views/bubble/bubble_border.cc Painter::PaintPainterAt(canvas, images_->border_painter.get(), bounds); canvas 241 ui/views/bubble/bubble_border.cc canvas->Restore(); canvas 243 ui/views/bubble/bubble_border.cc DrawArrow(canvas, arrow_bounds); canvas 329 ui/views/bubble/bubble_border.cc void BubbleBorder::DrawArrow(gfx::Canvas* canvas, canvas 331 ui/views/bubble/bubble_border.cc canvas->DrawImageInt(*GetArrowImage(), arrow_bounds.x(), arrow_bounds.y()); canvas 359 ui/views/bubble/bubble_border.cc canvas->DrawPath(path, paint); canvas 362 ui/views/bubble/bubble_border.cc void BubbleBackground::Paint(gfx::Canvas* canvas, views::View* view) const { canvas 364 ui/views/bubble/bubble_border.cc canvas->DrawColor(border_->background_color()); canvas 377 ui/views/bubble/bubble_border.cc canvas->DrawPath(path, paint); canvas 164 ui/views/bubble/bubble_border.h virtual void Paint(const View& view, gfx::Canvas* canvas) OVERRIDE; canvas 172 ui/views/bubble/bubble_border.h void DrawArrow(gfx::Canvas* canvas, const gfx::Rect& arrow_bounds) const; canvas 192 ui/views/bubble/bubble_border.h virtual void Paint(gfx::Canvas* canvas, View* view) const OVERRIDE; canvas 187 ui/views/bubble/tray_bubble_view.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE; canvas 208 ui/views/bubble/tray_bubble_view.cc void TrayBubbleContentMask::OnPaintLayer(gfx::Canvas* canvas) { canvas 215 ui/views/bubble/tray_bubble_view.cc canvas->DrawPath(path, paint); canvas 47 ui/views/button_drag_utils.cc scoped_ptr<gfx::Canvas> canvas( canvas 49 ui/views/button_drag_utils.cc button.PaintButton(canvas.get(), views::TextButton::PB_FOR_DRAG); canvas 50 ui/views/button_drag_utils.cc drag_utils::SetDragImageOnDataObject(*canvas, prefsize, canvas 93 ui/views/color_chooser/color_chooser_view.cc gfx::Canvas* canvas) { canvas 106 ui/views/color_chooser/color_chooser_view.cc canvas->DrawRect(rect, paint); canvas 130 ui/views/color_chooser/color_chooser_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 173 ui/views/color_chooser/color_chooser_view.cc void ColorChooserView::HueView::OnPaint(gfx::Canvas* canvas) { canvas 179 ui/views/color_chooser/color_chooser_view.cc canvas->FillRect(gfx::Rect(kHueIndicatorSize, 0, canvas 188 ui/views/color_chooser/color_chooser_view.cc canvas->FillRect(gfx::Rect(base_left, y + kBorderWidth, kHueBarWidth, 1), canvas 219 ui/views/color_chooser/color_chooser_view.cc canvas->DrawPath(left_indicator_path, indicator_paint); canvas 220 ui/views/color_chooser/color_chooser_view.cc canvas->DrawPath(right_indicator_path, indicator_paint); canvas 242 ui/views/color_chooser/color_chooser_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 300 ui/views/color_chooser/color_chooser_view.cc void ColorChooserView::SaturationValueView::OnPaint(gfx::Canvas* canvas) { canvas 308 ui/views/color_chooser/color_chooser_view.cc SkHSVToColor(255, hsv), true /* is_horizontal */, canvas); canvas 314 ui/views/color_chooser/color_chooser_view.cc canvas); canvas 321 ui/views/color_chooser/color_chooser_view.cc canvas->FillRect( canvas 326 ui/views/color_chooser/color_chooser_view.cc canvas->FillRect( canvas 332 ui/views/color_chooser/color_chooser_view.cc OnPaintBorder(canvas); canvas 93 ui/views/controls/button/image_button.cc void ImageButton::OnPaint(gfx::Canvas* canvas) { canvas 95 ui/views/controls/button/image_button.cc View::OnPaint(canvas); canvas 100 ui/views/controls/button/image_button.cc gfx::ScopedCanvas scoped(canvas); canvas 102 ui/views/controls/button/image_button.cc canvas->Translate(gfx::Vector2d(width(), 0)); canvas 103 ui/views/controls/button/image_button.cc canvas->Scale(-1, 1); canvas 108 ui/views/controls/button/image_button.cc canvas->DrawImageInt(background_image_, position.x(), position.y()); canvas 110 ui/views/controls/button/image_button.cc canvas->DrawImageInt(img, position.x(), position.y()); canvas 113 ui/views/controls/button/image_button.cc Painter::PaintFocusPainter(this, canvas, focus_painter()); canvas 74 ui/views/controls/button/image_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 273 ui/views/controls/button/label_button.cc void LabelButton::OnPaint(gfx::Canvas* canvas) { canvas 274 ui/views/controls/button/label_button.cc View::OnPaint(canvas); canvas 275 ui/views/controls/button/label_button.cc Painter::PaintFocusPainter(this, canvas, focus_painter_.get()); canvas 86 ui/views/controls/button/label_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 36 ui/views/controls/button/label_button_border.cc gfx::Canvas* canvas, canvas 47 ui/views/controls/button/label_button_border.cc Painter::PaintPainterAt(canvas, painter, rect); canvas 97 ui/views/controls/button/label_button_border.cc void LabelButtonBorder::Paint(const View& view, gfx::Canvas* canvas) { canvas 108 ui/views/controls/button/label_button_border.cc canvas->sk_canvas()->saveLayer(&sk_rect, NULL); canvas 110 ui/views/controls/button/label_button_border.cc PaintHelper(this, canvas, state, rect, extra); canvas 116 ui/views/controls/button/label_button_border.cc canvas->sk_canvas()->saveLayer(&sk_rect, &paint); canvas 118 ui/views/controls/button/label_button_border.cc PaintHelper(this, canvas, state, rect, extra); canvas 119 ui/views/controls/button/label_button_border.cc canvas->sk_canvas()->restore(); canvas 121 ui/views/controls/button/label_button_border.cc canvas->sk_canvas()->restore(); canvas 123 ui/views/controls/button/label_button_border.cc PaintHelper(this, canvas, state, rect, extra); canvas 27 ui/views/controls/button/label_button_border.h virtual void Paint(const View& view, gfx::Canvas* canvas) OVERRIDE; canvas 136 ui/views/controls/button/menu_button.cc void MenuButton::PaintButton(gfx::Canvas* canvas, PaintButtonMode mode) { canvas 137 ui/views/controls/button/menu_button.cc TextButton::PaintButton(canvas, mode); canvas 140 ui/views/controls/button/menu_button.cc PaintMenuMarker(canvas); canvas 250 ui/views/controls/button/menu_button.cc void MenuButton::PaintMenuMarker(gfx::Canvas* canvas) { canvas 263 ui/views/controls/button/menu_button.cc canvas->DrawImageInt(*menu_marker_, arrow_bounds.x(), arrow_bounds.y()); canvas 54 ui/views/controls/button/menu_button.h virtual void PaintButton(gfx::Canvas* canvas, PaintButtonMode mode) OVERRIDE; canvas 69 ui/views/controls/button/menu_button.h void PaintMenuMarker(gfx::Canvas* canvas); canvas 76 ui/views/controls/button/text_button.cc void TextButtonBorder::Paint(const View& view, gfx::Canvas* canvas) { canvas 105 ui/views/controls/button/text_button.cc void TextButtonDefaultBorder::Paint(const View& view, gfx::Canvas* canvas) { canvas 126 ui/views/controls/button/text_button.cc canvas->SaveLayerAlpha(static_cast<uint8>( canvas 128 ui/views/controls/button/text_button.cc painter->Paint(canvas, view.size()); canvas 129 ui/views/controls/button/text_button.cc canvas->Restore(); canvas 131 ui/views/controls/button/text_button.cc painter->Paint(canvas, view.size()); canvas 162 ui/views/controls/button/text_button.cc void TextButtonNativeThemeBorder::Paint(const View& view, gfx::Canvas* canvas) { canvas 175 ui/views/controls/button/text_button.cc theme->Paint(canvas->sk_canvas(), part, prev_state, rect, prev_extra); canvas 181 ui/views/controls/button/text_button.cc canvas->SaveLayerAlpha(static_cast<uint8>(alpha)); canvas 182 ui/views/controls/button/text_button.cc theme->Paint(canvas->sk_canvas(), part, state, rect, extra); canvas 183 ui/views/controls/button/text_button.cc canvas->Restore(); canvas 187 ui/views/controls/button/text_button.cc theme->Paint(canvas->sk_canvas(), part, state, rect, extra); canvas 315 ui/views/controls/button/text_button.cc void TextButtonBase::OnPaint(gfx::Canvas* canvas) { canvas 316 ui/views/controls/button/text_button.cc PaintButton(canvas, PB_NORMAL); canvas 443 ui/views/controls/button/text_button.cc void TextButtonBase::PaintButton(gfx::Canvas* canvas, PaintButtonMode mode) { canvas 445 ui/views/controls/button/text_button.cc OnPaintBackground(canvas); canvas 446 ui/views/controls/button/text_button.cc OnPaintBorder(canvas); canvas 447 ui/views/controls/button/text_button.cc Painter::PaintFocusPainter(this, canvas, focus_painter_.get()); canvas 472 ui/views/controls/button/text_button.cc canvas->DrawStringRectWithHalo(text_, font_list_, canvas 476 ui/views/controls/button/text_button.cc canvas->DrawStringRectWithFlags(text_, font_list_, text_color, canvas 630 ui/views/controls/button/text_button.cc void TextButton::PaintButton(gfx::Canvas* canvas, PaintButtonMode mode) { canvas 634 ui/views/controls/button/text_button.cc TextButtonBase::PaintButton(canvas, mode); canvas 667 ui/views/controls/button/text_button.cc canvas->DrawImageInt(icon, icon_bounds.x(), icon_bounds.y()); canvas 33 ui/views/controls/button/text_button.h virtual void Paint(const View& view, gfx::Canvas* canvas) OVERRIDE; canvas 62 ui/views/controls/button/text_button.h virtual void Paint(const View& view, gfx::Canvas* canvas) OVERRIDE; canvas 84 ui/views/controls/button/text_button.h virtual void Paint(const View& view, gfx::Canvas* canvas) OVERRIDE; canvas 161 ui/views/controls/button/text_button.h virtual void PaintButton(gfx::Canvas* canvas, PaintButtonMode mode); canvas 168 ui/views/controls/button/text_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 328 ui/views/controls/button/text_button.h virtual void PaintButton(gfx::Canvas* canvas, PaintButtonMode mode) OVERRIDE; canvas 188 ui/views/controls/combobox/combobox.cc void PaintImagesVertically(gfx::Canvas* canvas, canvas 193 ui/views/controls/combobox/combobox.cc canvas->DrawImageInt(top_image, canvas 198 ui/views/controls/combobox/combobox.cc canvas->DrawImageInt(center_image, canvas 202 ui/views/controls/combobox/combobox.cc canvas->DrawImageInt(bottom_image, canvas 209 ui/views/controls/combobox/combobox.cc gfx::Canvas* canvas, canvas 212 ui/views/controls/combobox/combobox.cc PaintImagesVertically(canvas, canvas 522 ui/views/controls/combobox/combobox.cc void Combobox::OnPaint(gfx::Canvas* canvas) { canvas 525 ui/views/controls/combobox/combobox.cc OnPaintBackground(canvas); canvas 526 ui/views/controls/combobox/combobox.cc PaintText(canvas); canvas 527 ui/views/controls/combobox/combobox.cc OnPaintBorder(canvas); canvas 531 ui/views/controls/combobox/combobox.cc PaintButtons(canvas); canvas 532 ui/views/controls/combobox/combobox.cc PaintText(canvas); canvas 642 ui/views/controls/combobox/combobox.cc void Combobox::PaintText(gfx::Canvas* canvas) { canvas 645 ui/views/controls/combobox/combobox.cc gfx::ScopedCanvas scoped_canvas(canvas); canvas 646 ui/views/controls/combobox/combobox.cc canvas->ClipRect(GetContentsBounds()); canvas 670 ui/views/controls/combobox/combobox.cc canvas->DrawStringRect(text, font_list, text_color, text_bounds); canvas 679 ui/views/controls/combobox/combobox.cc canvas->DrawImageInt(*disclosure_arrow_, arrow_bounds.x(), arrow_bounds.y()); canvas 682 ui/views/controls/combobox/combobox.cc void Combobox::PaintButtons(gfx::Canvas* canvas) { canvas 685 ui/views/controls/combobox/combobox.cc gfx::ScopedCanvas scoped_canvas(canvas); canvas 687 ui/views/controls/combobox/combobox.cc canvas->Translate(gfx::Vector2d(width(), 0)); canvas 688 ui/views/controls/combobox/combobox.cc canvas->Scale(-1, 1); canvas 702 ui/views/controls/combobox/combobox.cc canvas->SaveLayerAlpha(255 - text_button_hover_alpha); canvas 707 ui/views/controls/combobox/combobox.cc Painter::PaintPainterAt(canvas, text_button_painter, canvas 709 ui/views/controls/combobox/combobox.cc canvas->Restore(); canvas 712 ui/views/controls/combobox/combobox.cc canvas->SaveLayerAlpha(text_button_hover_alpha); canvas 715 ui/views/controls/combobox/combobox.cc Painter::PaintPainterAt(canvas, text_button_hovered_painter, canvas 717 ui/views/controls/combobox/combobox.cc canvas->Restore(); canvas 725 ui/views/controls/combobox/combobox.cc canvas->SaveLayerAlpha(255 - arrow_button_hover_alpha); canvas 726 ui/views/controls/combobox/combobox.cc PaintArrowButton(canvas, arrow_button_images, arrow_button_->x(), height()); canvas 727 ui/views/controls/combobox/combobox.cc canvas->Restore(); canvas 730 ui/views/controls/combobox/combobox.cc canvas->SaveLayerAlpha(arrow_button_hover_alpha); canvas 733 ui/views/controls/combobox/combobox.cc PaintArrowButton(canvas, arrow_button_hovered_images, canvas 735 ui/views/controls/combobox/combobox.cc canvas->Restore(); canvas 101 ui/views/controls/combobox/combobox.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 142 ui/views/controls/combobox/combobox.h void PaintText(gfx::Canvas* canvas); canvas 145 ui/views/controls/combobox/combobox.h void PaintButtons(gfx::Canvas* canvas); canvas 40 ui/views/controls/focusable_border.cc void FocusableBorder::Paint(const View& view, gfx::Canvas* canvas) { canvas 55 ui/views/controls/focusable_border.cc canvas->DrawPath(path, paint); canvas 34 ui/views/controls/focusable_border.h virtual void Paint(const View& view, gfx::Canvas* canvas) OVERRIDE; canvas 79 ui/views/controls/glow_hover_controller.cc void GlowHoverController::Draw(gfx::Canvas* canvas, canvas 86 ui/views/controls/glow_hover_controller.cc canvas->image_scale(), canvas 116 ui/views/controls/glow_hover_controller.cc canvas->DrawImageInt(result, (view_->width() - mask_image.width()) / 2, canvas 65 ui/views/controls/glow_hover_controller.h void Draw(gfx::Canvas* canvas, const gfx::ImageSkia& mask_image) const; canvas 158 ui/views/controls/image_view.cc void ImageView::OnPaint(gfx::Canvas* canvas) { canvas 159 ui/views/controls/image_view.cc View::OnPaint(canvas); canvas 160 ui/views/controls/image_view.cc OnPaintImage(canvas); canvas 161 ui/views/controls/image_view.cc Painter::PaintFocusPainter(this, canvas, focus_painter_.get()); canvas 213 ui/views/controls/image_view.cc void ImageView::OnPaintImage(gfx::Canvas* canvas) { canvas 214 ui/views/controls/image_view.cc last_paint_scale_ = canvas->image_scale(); canvas 228 ui/views/controls/image_view.cc canvas->DrawImageInt(image_, 0, 0, image_.width(), image_.height(), canvas 232 ui/views/controls/image_view.cc canvas->DrawImageInt(image_, image_bounds.x(), image_bounds.y()); canvas 86 ui/views/controls/image_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 93 ui/views/controls/image_view.h void OnPaintImage(gfx::Canvas* canvas); canvas 320 ui/views/controls/label.cc void Label::PaintText(gfx::Canvas* canvas, canvas 328 ui/views/controls/label.cc canvas->DrawStringRectWithShadows(text, font_list_, canvas 335 ui/views/controls/label.cc canvas->DrawFocusRect(focus_bounds); canvas 366 ui/views/controls/label.cc void Label::OnPaint(gfx::Canvas* canvas) { canvas 367 ui/views/controls/label.cc OnPaintBackground(canvas); canvas 371 ui/views/controls/label.cc OnPaintBorder(canvas); canvas 377 ui/views/controls/label.cc PaintText(canvas, paint_text, text_bounds, flags); canvas 197 ui/views/controls/label.h virtual void PaintText(gfx::Canvas* canvas, canvas 209 ui/views/controls/label.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 1037 ui/views/controls/menu/menu_controller.cc scoped_ptr<gfx::Canvas> canvas(GetCanvasForDragImage( canvas 1039 ui/views/controls/menu/menu_controller.cc item->PaintButton(canvas.get(), MenuItemView::PB_FOR_DRAG); canvas 1043 ui/views/controls/menu/menu_controller.cc drag_utils::SetDragImageOnDataObject(*canvas, item->size(), canvas 45 ui/views/controls/menu/menu_image_util.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE { canvas 46 ui/views/controls/menu/menu_image_util.cc canvas->Translate(gfx::Vector2d(1, 1)); canvas 63 ui/views/controls/menu/menu_image_util.cc canvas->sk_canvas()->drawCircle(radius, radius, radius, paint); canvas 68 ui/views/controls/menu/menu_image_util.cc canvas->sk_canvas()->drawCircle(radius, radius, radius, paint); canvas 83 ui/views/controls/menu/menu_image_util.cc canvas->sk_canvas()->drawCircle(radius, radius, canvas 90 ui/views/controls/menu/menu_image_util.cc canvas->sk_canvas()->drawCircle(radius, radius, canvas 109 ui/views/controls/menu/menu_image_util.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE { canvas 112 ui/views/controls/menu/menu_image_util.cc canvas->Scale(-1, 1); canvas 113 ui/views/controls/menu/menu_image_util.cc canvas->DrawImageInt(*r, - r->width(), 0); canvas 402 ui/views/controls/menu/menu_item_view.cc void MenuItemView::OnPaint(gfx::Canvas* canvas) { canvas 403 ui/views/controls/menu/menu_item_view.cc PaintButton(canvas, PB_NORMAL); canvas 738 ui/views/controls/menu/menu_item_view.cc void MenuItemView::PaintButton(gfx::Canvas* canvas, PaintButtonMode mode) { canvas 754 ui/views/controls/menu/menu_item_view.cc canvas->DrawColor(override_color); canvas 759 ui/views/controls/menu/menu_item_view.cc native_theme->Paint(canvas->sk_canvas(), canvas 781 ui/views/controls/menu/menu_item_view.cc canvas->DrawImageInt(check, check_bounds.x(), check_bounds.y()); canvas 790 ui/views/controls/menu/menu_item_view.cc canvas->DrawImageInt(image, radio_bounds.x(), radio_bounds.y()); canvas 829 ui/views/controls/menu/menu_item_view.cc canvas->DrawStringRectWithFlags(title(), font_list, fg_color, text_bounds, canvas 832 ui/views/controls/menu/menu_item_view.cc canvas->DrawStringRectWithFlags( canvas 841 ui/views/controls/menu/menu_item_view.cc PaintMinorText(canvas, render_selection); canvas 852 ui/views/controls/menu/menu_item_view.cc canvas->DrawImageInt(arrow, arrow_bounds.x(), arrow_bounds.y()); canvas 856 ui/views/controls/menu/menu_item_view.cc void MenuItemView::PaintMinorText(gfx::Canvas* canvas, canvas 877 ui/views/controls/menu/menu_item_view.cc canvas->DrawStringRectWithFlags( canvas 277 ui/views/controls/menu/menu_item_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 395 ui/views/controls/menu/menu_item_view.h void PaintButton(gfx::Canvas* canvas, PaintButtonMode mode); canvas 398 ui/views/controls/menu/menu_item_view.h void PaintMinorText(gfx::Canvas* canvas, bool render_selection); canvas 73 ui/views/controls/menu/menu_scroll_view_container.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 80 ui/views/controls/menu/menu_scroll_view_container.cc GetNativeTheme()->Paint(canvas->sk_canvas(), canvas 108 ui/views/controls/menu/menu_scroll_view_container.cc canvas->DrawPath(path, paint); canvas 205 ui/views/controls/menu/menu_scroll_view_container.cc void MenuScrollViewContainer::OnPaintBackground(gfx::Canvas* canvas) { canvas 207 ui/views/controls/menu/menu_scroll_view_container.cc View::OnPaintBackground(canvas); canvas 215 ui/views/controls/menu/menu_scroll_view_container.cc GetNativeTheme()->Paint(canvas->sk_canvas(), canvas 34 ui/views/controls/menu/menu_scroll_view_container.h virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE; canvas 23 ui/views/controls/menu/menu_separator.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 27 ui/views/controls/menu/menu_separator.h void OnPaintAura(gfx::Canvas* canvas); canvas 22 ui/views/controls/menu/menu_separator_views.cc void MenuSeparator::OnPaint(gfx::Canvas* canvas) { canvas 23 ui/views/controls/menu/menu_separator_views.cc OnPaintAura(canvas); canvas 31 ui/views/controls/menu/menu_separator_views.cc void MenuSeparator::OnPaintAura(gfx::Canvas* canvas) { canvas 45 ui/views/controls/menu/menu_separator_views.cc canvas->FillRect(gfx::Rect(0, pos, width(), kSeparatorHeight), canvas 20 ui/views/controls/menu/menu_separator_win.cc void MenuSeparator::OnPaint(gfx::Canvas* canvas) { canvas 24 ui/views/controls/menu/menu_separator_win.cc OnPaintAura(canvas); canvas 37 ui/views/controls/menu/menu_separator_win.cc canvas->sk_canvas(), ui::NativeTheme::kMenuPopupGutter, canvas 46 ui/views/controls/menu/menu_separator_win.cc canvas->sk_canvas(), ui::NativeTheme::kMenuPopupSeparator, canvas 264 ui/views/controls/menu/native_menu_win.cc gfx::Canvas canvas( canvas 268 ui/views/controls/menu/native_menu_win.cc canvas.sk_canvas(), dc, canvas 290 ui/views/controls/menu/native_menu_win.cc gfx::Canvas canvas(gfx::Size(config.check_width, config.check_height), canvas 299 ui/views/controls/menu/native_menu_win.cc canvas.sk_canvas(), NativeTheme::kMenuCheckBackground, canvas 302 ui/views/controls/menu/native_menu_win.cc canvas.sk_canvas(), NativeTheme::kMenuCheck, state, bounds, extra); canvas 305 ui/views/controls/menu/native_menu_win.cc skia::DrawToNativeContext(canvas.sk_canvas(), dc, canvas 179 ui/views/controls/menu/submenu_view.cc void SubmenuView::PaintChildren(gfx::Canvas* canvas) { canvas 180 ui/views/controls/menu/submenu_view.cc View::PaintChildren(canvas); canvas 183 ui/views/controls/menu/submenu_view.cc PaintDropIndicator(canvas, drop_item_, drop_position_); canvas 436 ui/views/controls/menu/submenu_view.cc void SubmenuView::PaintDropIndicator(gfx::Canvas* canvas, canvas 443 ui/views/controls/menu/submenu_view.cc canvas->FillRect(bounds, kDropIndicatorColor); canvas 65 ui/views/controls/menu/submenu_view.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; canvas 171 ui/views/controls/menu/submenu_view.h void PaintDropIndicator(gfx::Canvas* canvas, canvas 114 ui/views/controls/native/native_view_host.cc void NativeViewHost::OnPaint(gfx::Canvas* canvas) { canvas 123 ui/views/controls/native/native_view_host.cc OnPaintBackground(canvas); canvas 133 ui/views/controls/native/native_view_host.cc canvas->FillRect(GetLocalBounds(), SK_ColorWHITE); canvas 85 ui/views/controls/native/native_view_host.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 62 ui/views/controls/progress_bar.cc void FillRoundRect(gfx::Canvas* canvas, canvas 87 ui/views/controls/progress_bar.cc canvas->DrawPath(path, paint); canvas 90 ui/views/controls/progress_bar.cc void FillRoundRect(gfx::Canvas* canvas, canvas 99 ui/views/controls/progress_bar.cc FillRoundRect(canvas, x, y, w, h, corner_radius, canvas 108 ui/views/controls/progress_bar.cc canvas->DrawPath(path, paint); canvas 112 ui/views/controls/progress_bar.cc void StrokeRoundRect(gfx::Canvas* canvas, canvas 126 ui/views/controls/progress_bar.cc canvas->DrawPath(path, paint); canvas 197 ui/views/controls/progress_bar.cc void ProgressBar::OnPaint(gfx::Canvas* canvas) { canvas 208 ui/views/controls/progress_bar.cc FillRoundRect(canvas, canvas 213 ui/views/controls/progress_bar.cc StrokeRoundRect(canvas, canvas 223 ui/views/controls/progress_bar.cc canvas->Save(); canvas 231 ui/views/controls/progress_bar.cc canvas->ClipPath(inner_path); canvas 269 ui/views/controls/progress_bar.cc FillRoundRect(canvas, canvas 306 ui/views/controls/progress_bar.cc canvas->DrawRect(gfx::Rect(highlight_left, 0, canvas 311 ui/views/controls/progress_bar.cc canvas->Restore(); canvas 315 ui/views/controls/progress_bar.cc StrokeRoundRect(canvas, canvas 51 ui/views/controls/progress_bar.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 102 ui/views/controls/scrollbar/base_scroll_bar.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE = 0; canvas 51 ui/views/controls/scrollbar/base_scroll_bar_thumb.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE = 0; canvas 32 ui/views/controls/scrollbar/kennedy_scroll_bar.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 49 ui/views/controls/scrollbar/kennedy_scroll_bar.cc void KennedyScrollBarThumb::OnPaint(gfx::Canvas* canvas) { canvas 51 ui/views/controls/scrollbar/kennedy_scroll_bar.cc canvas->FillRect(local_bounds, canvas 55 ui/views/controls/scrollbar/kennedy_scroll_bar.cc canvas->DrawRect(local_bounds, kBorderColor); canvas 97 ui/views/controls/scrollbar/kennedy_scroll_bar.cc void KennedyScrollBar::OnPaint(gfx::Canvas* canvas) { canvas 102 ui/views/controls/scrollbar/kennedy_scroll_bar.cc canvas->FillRect(local_bounds, kTrackHoverColor); canvas 103 ui/views/controls/scrollbar/kennedy_scroll_bar.cc canvas->DrawRect(local_bounds, kBorderColor); canvas 30 ui/views/controls/scrollbar/kennedy_scroll_bar.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 41 ui/views/controls/scrollbar/native_scroll_bar_views.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 63 ui/views/controls/scrollbar/native_scroll_bar_views.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 92 ui/views/controls/scrollbar/native_scroll_bar_views.cc void ScrollBarButton::OnPaint(gfx::Canvas* canvas) { canvas 94 ui/views/controls/scrollbar/native_scroll_bar_views.cc GetNativeTheme()->Paint(canvas->sk_canvas(), GetNativeThemePart(), canvas 173 ui/views/controls/scrollbar/native_scroll_bar_views.cc void ScrollBarThumb::OnPaint(gfx::Canvas* canvas) { canvas 177 ui/views/controls/scrollbar/native_scroll_bar_views.cc GetNativeTheme()->Paint(canvas->sk_canvas(), canvas 185 ui/views/controls/scrollbar/native_scroll_bar_views.cc GetNativeTheme()->Paint(canvas->sk_canvas(), gripper_part, theme_state, canvas 280 ui/views/controls/scrollbar/native_scroll_bar_views.cc void NativeScrollBarViews::OnPaint(gfx::Canvas* canvas) { canvas 292 ui/views/controls/scrollbar/native_scroll_bar_views.cc GetNativeTheme()->Paint(canvas->sk_canvas(), part_, state_, bounds, params_); canvas 38 ui/views/controls/scrollbar/native_scroll_bar_views.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 34 ui/views/controls/scrollbar/overlay_scroll_bar.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 60 ui/views/controls/scrollbar/overlay_scroll_bar.cc void OverlayScrollBarThumb::OnPaint(gfx::Canvas* canvas) { canvas 74 ui/views/controls/scrollbar/overlay_scroll_bar.cc canvas->DrawRoundRect(local_bounds, kThumbCornerRadius, paint); canvas 158 ui/views/controls/scrollbar/overlay_scroll_bar.cc void OverlayScrollBar::OnPaint(gfx::Canvas* canvas) { canvas 33 ui/views/controls/scrollbar/overlay_scroll_bar.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 41 ui/views/controls/separator.cc void Separator::Paint(gfx::Canvas* canvas) { canvas 42 ui/views/controls/separator.cc canvas->FillRect(bounds(), kDefaultColor); canvas 33 ui/views/controls/separator.h virtual void Paint(gfx::Canvas* canvas) OVERRIDE; canvas 174 ui/views/controls/slider.cc void Slider::OnPaintFocus(gfx::Canvas* canvas) { canvas 179 ui/views/controls/slider.cc canvas->DrawFocusRect(GetLocalBounds()); canvas 181 ui/views/controls/slider.cc canvas->DrawSolidFocusRect( canvas 196 ui/views/controls/slider.cc void Slider::OnPaint(gfx::Canvas* canvas) { canvas 214 ui/views/controls/slider.cc canvas->Save(); canvas 215 ui/views/controls/slider.cc canvas->Translate(gfx::Vector2d(kBarInsetX, bar_cy)); canvas 216 ui/views/controls/slider.cc canvas->DrawImageInt(*images_[LEFT], 0, 0); canvas 217 ui/views/controls/slider.cc canvas->DrawImageInt(*images_[RIGHT], canvas 220 ui/views/controls/slider.cc canvas->TileImageInt(*images_[CENTER_LEFT], canvas 225 ui/views/controls/slider.cc canvas->TileImageInt(*images_[CENTER_RIGHT], canvas 230 ui/views/controls/slider.cc canvas->Restore(); canvas 235 ui/views/controls/slider.cc canvas->DrawImageInt(*thumb_, button_cx, thumb_y); canvas 249 ui/views/controls/slider.cc canvas->FillRect(gfx::Rect(x, content.y() + kButtonRadius, canvas 252 ui/views/controls/slider.cc canvas->FillRect(gfx::Rect(x, content.y() + empty + 2 * kButtonRadius, canvas 261 ui/views/controls/slider.cc canvas->DrawImageInt(*thumb_, thumb_x, button_cy); canvas 263 ui/views/controls/slider.cc View::OnPaint(canvas); canvas 264 ui/views/controls/slider.cc OnPaintFocus(canvas); canvas 82 ui/views/controls/slider.h void OnPaintFocus(gfx::Canvas* canvas); canvas 86 ui/views/controls/slider.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 81 ui/views/controls/tabbed_pane/tabbed_pane.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 205 ui/views/controls/tabbed_pane/tabbed_pane.cc void TabStrip::OnPaint(gfx::Canvas* canvas) { canvas 206 ui/views/controls/tabbed_pane/tabbed_pane.cc OnPaintBackground(canvas); canvas 234 ui/views/controls/tabbed_pane/tabbed_pane.cc canvas->DrawPath(path, paint); canvas 236 ui/views/controls/tabbed_pane/tabbed_pane.cc canvas->sk_canvas()->drawLine(0, line_y, line_end, line_y, paint); canvas 61 ui/views/controls/table/table_header.cc void TableHeader::OnPaint(gfx::Canvas* canvas) { canvas 64 ui/views/controls/table/table_header.cc OnPaintBackground(canvas); canvas 67 ui/views/controls/table/table_header.cc canvas->DrawLine(gfx::Point(0, height() - 1), canvas 77 ui/views/controls/table/table_header.cc canvas->DrawLine(gfx::Point(separator_x, kSeparatorPadding), canvas 98 ui/views/controls/table/table_header.cc canvas->DrawStringRectWithFlags( canvas 156 ui/views/controls/table/table_header.cc canvas->DrawPath(indicator_path, paint); canvas 32 ui/views/controls/table/table_header.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 473 ui/views/controls/table/table_view.cc void TableView::OnPaint(gfx::Canvas* canvas) { canvas 476 ui/views/controls/table/table_view.cc canvas->DrawColor(GetNativeTheme()->GetSystemColor( canvas 482 ui/views/controls/table/table_view.cc const PaintRegion region(GetPaintRegion(GetPaintBounds(canvas))); canvas 496 ui/views/controls/table/table_view.cc canvas->FillRect(GetRowBounds(i), selected_bg_color); canvas 500 ui/views/controls/table/table_view.cc canvas); canvas 503 ui/views/controls/table/table_view.cc canvas->DrawFocusRect(GetRowBounds(i)); canvas 517 ui/views/controls/table/table_view.cc canvas->DrawImageInt( canvas 526 ui/views/controls/table/table_view.cc canvas->DrawStringRectWithFlags( canvas 563 ui/views/controls/table/table_view.cc canvas->FillRect(gfx::Rect( canvas 569 ui/views/controls/table/table_view.cc canvas->DrawCircle(gfx::Point(group_indicator_x, canvas 573 ui/views/controls/table/table_view.cc canvas->DrawCircle(gfx::Point(group_indicator_x, canvas 734 ui/views/controls/table/table_view.cc gfx::Rect TableView::GetPaintBounds(gfx::Canvas* canvas) const { canvas 736 ui/views/controls/table/table_view.cc if (canvas->sk_canvas()->getClipBounds(&sk_clip_rect)) canvas 187 ui/views/controls/table/table_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 257 ui/views/controls/table/table_view.h gfx::Rect GetPaintBounds(gfx::Canvas* canvas) const; canvas 24 ui/views/controls/table/table_view_row_background_painter.h gfx::Canvas* canvas) = 0; canvas 856 ui/views/controls/textfield/textfield.cc void Textfield::OnPaint(gfx::Canvas* canvas) { canvas 857 ui/views/controls/textfield/textfield.cc OnPaintBackground(canvas); canvas 858 ui/views/controls/textfield/textfield.cc PaintTextAndCursor(canvas); canvas 859 ui/views/controls/textfield/textfield.cc OnPaintBorder(canvas); canvas 861 ui/views/controls/textfield/textfield.cc Painter::PaintFocusPainter(this, canvas, focus_painter_.get()); canvas 942 ui/views/controls/textfield/textfield.cc scoped_ptr<gfx::Canvas> canvas( canvas 947 ui/views/controls/textfield/textfield.cc canvas->DrawColor(background); canvas 949 ui/views/controls/textfield/textfield.cc label.Paint(canvas.get()); canvas 951 ui/views/controls/textfield/textfield.cc drag_utils::SetDragImageOnDataObject(*canvas, label.size(), kOffset, data); canvas 1514 ui/views/controls/textfield/textfield.cc void Textfield::PaintTextAndCursor(gfx::Canvas* canvas) { canvas 1516 ui/views/controls/textfield/textfield.cc canvas->Save(); canvas 1521 ui/views/controls/textfield/textfield.cc canvas->DrawStringRect(GetPlaceholderText(), GetFontList(), canvas 1528 ui/views/controls/textfield/textfield.cc render_text->Draw(canvas); canvas 1532 ui/views/controls/textfield/textfield.cc render_text->DrawCursor(canvas, drop_cursor_position_); canvas 1534 ui/views/controls/textfield/textfield.cc canvas->Restore(); canvas 207 ui/views/controls/textfield/textfield.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 315 ui/views/controls/textfield/textfield.h void PaintTextAndCursor(gfx::Canvas* canvas); canvas 75 ui/views/controls/throbber.cc void Throbber::OnPaint(gfx::Canvas* canvas) { canvas 85 ui/views/controls/throbber.cc canvas->DrawImageInt(*frames_, canvas 154 ui/views/controls/throbber.cc void CheckmarkThrobber::OnPaint(gfx::Canvas* canvas) { canvas 157 ui/views/controls/throbber.cc Throbber::OnPaint(canvas); canvas 164 ui/views/controls/throbber.cc canvas->DrawImageInt(*checkmark_, checkmark_x, checkmark_y); canvas 41 ui/views/controls/throbber.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 111 ui/views/controls/throbber.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 591 ui/views/controls/tree/tree_view.cc void TreeView::OnPaint(gfx::Canvas* canvas) { canvas 593 ui/views/controls/tree/tree_view.cc canvas->DrawColor(GetNativeTheme()->GetSystemColor( canvas 599 ui/views/controls/tree/tree_view.cc if (canvas->sk_canvas()->getClipBounds(&sk_clip_rect)) { canvas 617 ui/views/controls/tree/tree_view.cc PaintRows(canvas, min_row, max_row, &root_, root_depth(), ¤t_row); canvas 746 ui/views/controls/tree/tree_view.cc void TreeView::PaintRows(gfx::Canvas* canvas, canvas 756 ui/views/controls/tree/tree_view.cc PaintRow(canvas, node, *row, depth); canvas 762 ui/views/controls/tree/tree_view.cc PaintRows(canvas, min_row, max_row, node->GetChild(i), depth, row); canvas 765 ui/views/controls/tree/tree_view.cc void TreeView::PaintRow(gfx::Canvas* canvas, canvas 772 ui/views/controls/tree/tree_view.cc PaintExpandControl(canvas, bounds, node->is_expanded()); canvas 789 ui/views/controls/tree/tree_view.cc canvas->DrawImageInt( canvas 801 ui/views/controls/tree/tree_view.cc canvas->FillRect(text_bounds, bg_color); canvas 803 ui/views/controls/tree/tree_view.cc canvas->DrawFocusRect(text_bounds); canvas 812 ui/views/controls/tree/tree_view.cc canvas->DrawStringRect(node->model_node()->GetTitle(), font_list_, canvas 818 ui/views/controls/tree/tree_view.cc void TreeView::PaintExpandControl(gfx::Canvas* canvas, canvas 835 ui/views/controls/tree/tree_view.cc canvas->FillRect(gfx::Rect(center_x + delta * (2 - i), canvas 842 ui/views/controls/tree/tree_view.cc canvas->FillRect(gfx::Rect(center_x - (3 - i), center_y + i, canvas 168 ui/views/controls/tree/tree_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 276 ui/views/controls/tree/tree_view.h void PaintRows(gfx::Canvas* canvas, canvas 284 ui/views/controls/tree/tree_view.h void PaintRow(gfx::Canvas* canvas, canvas 290 ui/views/controls/tree/tree_view.h void PaintExpandControl(gfx::Canvas* canvas, canvas 33 ui/views/examples/multiline_example.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 34 ui/views/examples/multiline_example.cc View::OnPaint(canvas); canvas 35 ui/views/examples/multiline_example.cc render_text_->Draw(canvas); canvas 94 ui/views/examples/text_example.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 95 ui/views/examples/text_example.cc View::OnPaint(canvas); canvas 99 ui/views/examples/text_example.cc canvas->DrawFadeTruncatingStringRect(text_, fade_mode_, font_list_, canvas 102 ui/views/examples/text_example.cc canvas->DrawStringRectWithHalo(text_, font_list_, SK_ColorDKGRAY, canvas 105 ui/views/examples/text_example.cc canvas->DrawStringRectWithFlags(text_, font_list_, SK_ColorDKGRAY, bounds, canvas 34 ui/views/painter.cc virtual void Paint(gfx::Canvas* canvas, const gfx::Size& size) OVERRIDE; canvas 53 ui/views/painter.cc void DashedFocusPainter::Paint(gfx::Canvas* canvas, const gfx::Size& size) { canvas 56 ui/views/painter.cc canvas->DrawFocusRect(rect); canvas 68 ui/views/painter.cc virtual void Paint(gfx::Canvas* canvas, const gfx::Size& size) OVERRIDE; canvas 90 ui/views/painter.cc void SolidFocusPainter::Paint(gfx::Canvas* canvas, const gfx::Size& size) { canvas 93 ui/views/painter.cc canvas->DrawSolidFocusRect(rect, color_); canvas 108 ui/views/painter.cc virtual void Paint(gfx::Canvas* canvas, const gfx::Size& size) OVERRIDE; canvas 144 ui/views/painter.cc void GradientPainter::Paint(gfx::Canvas* canvas, const gfx::Size& size) { canvas 158 ui/views/painter.cc canvas->sk_canvas()->drawRectCoords(SkIntToScalar(0), SkIntToScalar(0), canvas 179 ui/views/painter.cc virtual void Paint(gfx::Canvas* canvas, const gfx::Size& size) OVERRIDE; canvas 203 ui/views/painter.cc void ImagePainter::Paint(gfx::Canvas* canvas, const gfx::Size& size) { canvas 204 ui/views/painter.cc nine_painter_->Paint(canvas, gfx::Rect(size)); canvas 219 ui/views/painter.cc void Painter::PaintPainterAt(gfx::Canvas* canvas, canvas 222 ui/views/painter.cc DCHECK(canvas && painter); canvas 223 ui/views/painter.cc canvas->Save(); canvas 224 ui/views/painter.cc canvas->Translate(rect.OffsetFromOrigin()); canvas 225 ui/views/painter.cc painter->Paint(canvas, rect.size()); canvas 226 ui/views/painter.cc canvas->Restore(); canvas 231 ui/views/painter.cc gfx::Canvas* canvas, canvas 234 ui/views/painter.cc PaintPainterAt(canvas, focus_painter, view->GetLocalBounds()); canvas 310 ui/views/painter.cc void HorizontalPainter::Paint(gfx::Canvas* canvas, const gfx::Size& size) { canvas 314 ui/views/painter.cc canvas->DrawImageInt(*images_[LEFT], 0, 0); canvas 315 ui/views/painter.cc canvas->DrawImageInt(*images_[RIGHT], size.width() - images_[RIGHT]->width(), canvas 317 ui/views/painter.cc canvas->TileImageInt( canvas 37 ui/views/painter.h static void PaintPainterAt(gfx::Canvas* canvas, canvas 44 ui/views/painter.h gfx::Canvas* canvas, canvas 85 ui/views/painter.h virtual void Paint(gfx::Canvas* canvas, const gfx::Size& size) = 0; canvas 104 ui/views/painter.h virtual void Paint(gfx::Canvas* canvas, const gfx::Size& size) OVERRIDE; canvas 25 ui/views/round_rect_painter.cc void RoundRectPainter::Paint(gfx::Canvas* canvas, const gfx::Size& size) { canvas 35 ui/views/round_rect_painter.cc canvas->sk_canvas()->drawRoundRect(skia_rect, SkIntToScalar(corner_radius_), canvas 28 ui/views/round_rect_painter.h virtual void Paint(gfx::Canvas* canvas, const gfx::Size& size) OVERRIDE; canvas 30 ui/views/shadow_border.cc void ShadowBorder::Paint(const views::View& view, gfx::Canvas* canvas) { canvas 42 ui/views/shadow_border.cc canvas->DrawRect(bounds, paint); canvas 25 ui/views/shadow_border.h virtual void Paint(const views::View& view, gfx::Canvas* canvas) OVERRIDE; canvas 63 ui/views/test/child_modal_window.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 86 ui/views/test/child_modal_window.cc void ChildModalWindow::OnPaint(gfx::Canvas* canvas) { canvas 87 ui/views/test/child_modal_window.cc canvas->FillRect(GetLocalBounds(), kChildColor); canvas 100 ui/views/touchui/touch_editing_menu.cc void TouchEditingMenuView::OnPaint(gfx::Canvas* canvas) { canvas 101 ui/views/touchui/touch_editing_menu.cc BubbleDelegateView::OnPaint(canvas); canvas 107 ui/views/touchui/touch_editing_menu.cc canvas->FillRect(gfx::Rect(x, 0, 1, child->height()), canvas 65 ui/views/touchui/touch_editing_menu.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 179 ui/views/touchui/touch_selection_controller_impl.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 187 ui/views/touchui/touch_selection_controller_impl.cc canvas->FillRect( canvas 193 ui/views/touchui/touch_selection_controller_impl.cc canvas->DrawImageInt(*GetHandleImage()->ToImageSkia(), canvas 763 ui/views/view.cc void View::Paint(gfx::Canvas* canvas) { canvas 766 ui/views/view.cc gfx::ScopedCanvas scoped_canvas(canvas); canvas 779 ui/views/view.cc canvas->ClipRect(clip_rect); canvas 780 ui/views/view.cc if (canvas->IsClipEmpty()) canvas 785 ui/views/view.cc canvas->Translate(GetMirroredPosition().OffsetFromOrigin()); canvas 786 ui/views/view.cc canvas->Transform(GetTransform()); canvas 788 ui/views/view.cc PaintCommon(canvas); canvas 1375 ui/views/view.cc void View::PaintChildren(gfx::Canvas* canvas) { canvas 1379 ui/views/view.cc child_at(i)->Paint(canvas); canvas 1382 ui/views/view.cc void View::OnPaint(gfx::Canvas* canvas) { canvas 1384 ui/views/view.cc OnPaintBackground(canvas); canvas 1385 ui/views/view.cc OnPaintBorder(canvas); canvas 1388 ui/views/view.cc void View::OnPaintBackground(gfx::Canvas* canvas) { canvas 1391 ui/views/view.cc "width", canvas->sk_canvas()->getDevice()->width(), canvas 1392 ui/views/view.cc "height", canvas->sk_canvas()->getDevice()->height()); canvas 1393 ui/views/view.cc background_->Paint(canvas, this); canvas 1397 ui/views/view.cc void View::OnPaintBorder(gfx::Canvas* canvas) { canvas 1400 ui/views/view.cc "width", canvas->sk_canvas()->getDevice()->width(), canvas 1401 ui/views/view.cc "height", canvas->sk_canvas()->getDevice()->height()); canvas 1402 ui/views/view.cc border_->Paint(*this, canvas); canvas 1485 ui/views/view.cc void View::OnPaintLayer(gfx::Canvas* canvas) { canvas 1487 ui/views/view.cc canvas->DrawColor(SK_ColorBLACK, SkXfermode::kClear_Mode); canvas 1488 ui/views/view.cc PaintCommon(canvas); canvas 1761 ui/views/view.cc void View::PaintCommon(gfx::Canvas* canvas) { canvas 1771 ui/views/view.cc gfx::ScopedCanvas scoped(canvas); canvas 1773 ui/views/view.cc canvas->Translate(gfx::Vector2d(width(), 0)); canvas 1774 ui/views/view.cc canvas->Scale(-1, 1); canvas 1777 ui/views/view.cc OnPaint(canvas); canvas 1780 ui/views/view.cc PaintChildren(canvas); canvas 504 ui/views/view.h virtual void Paint(gfx::Canvas* canvas); canvas 1067 ui/views/view.h virtual void PaintChildren(gfx::Canvas* canvas); canvas 1072 ui/views/view.h virtual void OnPaint(gfx::Canvas* canvas); canvas 1077 ui/views/view.h virtual void OnPaintBackground(gfx::Canvas* canvas); canvas 1080 ui/views/view.h virtual void OnPaintBorder(gfx::Canvas* canvas); canvas 1106 ui/views/view.h virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE; canvas 1242 ui/views/view.h void PaintCommon(gfx::Canvas* canvas); canvas 243 ui/views/view_unittest.cc virtual void Paint(gfx::Canvas* canvas) OVERRIDE; canvas 667 ui/views/view_unittest.cc void TestView::Paint(gfx::Canvas* canvas) { canvas 668 ui/views/view_unittest.cc canvas->sk_canvas()->getClipBounds(&last_clip_); canvas 3215 ui/views/view_unittest.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { canvas 958 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc void DesktopNativeWidgetAura::OnPaint(gfx::Canvas* canvas) { canvas 959 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc native_widget_delegate_->OnNativeWidgetPaint(canvas); canvas 196 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 705 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc void DesktopWindowTreeHostWin::PaintLayeredWindow(gfx::Canvas* canvas) { canvas 706 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc GetWidget()->GetRootView()->Paint(canvas); canvas 913 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc void DesktopWindowTreeHostWin::HandlePaint(gfx::Canvas* canvas) { canvas 162 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual void PaintLayeredWindow(gfx::Canvas* canvas) OVERRIDE; canvas 200 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual void HandlePaint(gfx::Canvas* canvas) OVERRIDE; canvas 779 ui/views/widget/native_widget_aura.cc void NativeWidgetAura::OnPaint(gfx::Canvas* canvas) { canvas 780 ui/views/widget/native_widget_aura.cc delegate_->OnNativeWidgetPaint(canvas); canvas 154 ui/views/widget/native_widget_aura.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 108 ui/views/widget/native_widget_delegate.h virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) = 0; canvas 679 ui/views/widget/root_view.cc void RootView::OnPaint(gfx::Canvas* canvas) { canvas 681 ui/views/widget/root_view.cc canvas->DrawColor(SK_ColorBLACK, SkXfermode::kClear_Mode); canvas 683 ui/views/widget/root_view.cc View::OnPaint(canvas); canvas 119 ui/views/widget/root_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 1112 ui/views/widget/widget.cc void Widget::OnNativeWidgetPaint(gfx::Canvas* canvas) { canvas 1116 ui/views/widget/widget.cc GetRootView()->Paint(canvas); canvas 731 ui/views/widget/widget.h virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) OVERRIDE; canvas 1040 ui/views/widget/widget_unittest.cc virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) OVERRIDE { canvas 1044 ui/views/widget/widget_unittest.cc views::Widget::OnNativeWidgetPaint(canvas); canvas 1857 ui/views/win/hwnd_message_handler.cc gfx::CanvasSkiaPaint canvas(dc, canvas 1863 ui/views/win/hwnd_message_handler.cc delegate_->HandlePaint(&canvas); canvas 83 ui/views/win/hwnd_message_handler_delegate.h virtual void PaintLayeredWindow(gfx::Canvas* canvas) = 0; canvas 207 ui/views/win/hwnd_message_handler_delegate.h virtual void HandlePaint(gfx::Canvas* canvas) = 0; canvas 201 ui/views/window/custom_frame_view.cc void CustomFrameView::OnPaint(gfx::Canvas* canvas) { canvas 206 ui/views/window/custom_frame_view.cc PaintMaximizedFrameBorder(canvas); canvas 208 ui/views/window/custom_frame_view.cc PaintRestoredFrameBorder(canvas); canvas 209 ui/views/window/custom_frame_view.cc PaintTitleBar(canvas); canvas 211 ui/views/window/custom_frame_view.cc PaintRestoredClientEdge(canvas); canvas 335 ui/views/window/custom_frame_view.cc void CustomFrameView::PaintRestoredFrameBorder(gfx::Canvas* canvas) { canvas 354 ui/views/window/custom_frame_view.cc frame_background_->PaintRestored(canvas, this); canvas 357 ui/views/window/custom_frame_view.cc void CustomFrameView::PaintMaximizedFrameBorder(gfx::Canvas* canvas) { canvas 361 ui/views/window/custom_frame_view.cc frame_background_->PaintMaximized(canvas, this); canvas 372 ui/views/window/custom_frame_view.cc canvas->TileImageInt(*titlebar_bottom, 0, canvas 376 ui/views/window/custom_frame_view.cc void CustomFrameView::PaintTitleBar(gfx::Canvas* canvas) { canvas 387 ui/views/window/custom_frame_view.cc canvas->DrawStringRect(delegate->GetWindowTitle(), GetTitleFontList(), canvas 391 ui/views/window/custom_frame_view.cc void CustomFrameView::PaintRestoredClientEdge(gfx::Canvas* canvas) { canvas 402 ui/views/window/custom_frame_view.cc canvas->DrawImageInt(*top_left, canvas 405 ui/views/window/custom_frame_view.cc canvas->TileImageInt(*top_center, canvas 410 ui/views/window/custom_frame_view.cc canvas->DrawImageInt(*top_right, client_area_bounds.right(), top_edge_y); canvas 417 ui/views/window/custom_frame_view.cc canvas->TileImageInt(*right, canvas 431 ui/views/window/custom_frame_view.cc canvas->DrawImageInt(*bottom_left, canvas 435 ui/views/window/custom_frame_view.cc canvas->TileImageInt(*bottom_center, canvas 441 ui/views/window/custom_frame_view.cc canvas->DrawImageInt(*bottom_right, canvas 446 ui/views/window/custom_frame_view.cc canvas->TileImageInt(*left, canvas 453 ui/views/window/custom_frame_view.cc canvas->FillRect(gfx::Rect(client_area_bounds.x() - 1, canvas 52 ui/views/window/custom_frame_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; canvas 98 ui/views/window/custom_frame_view.h void PaintRestoredFrameBorder(gfx::Canvas* canvas); canvas 99 ui/views/window/custom_frame_view.h void PaintMaximizedFrameBorder(gfx::Canvas* canvas); canvas 100 ui/views/window/custom_frame_view.h void PaintTitleBar(gfx::Canvas* canvas); canvas 101 ui/views/window/custom_frame_view.h void PaintRestoredClientEdge(gfx::Canvas* canvas); canvas 55 ui/views/window/frame_background.cc void FrameBackground::PaintRestored(gfx::Canvas* canvas, View* view) const { canvas 58 ui/views/window/frame_background.cc PaintFrameColor(canvas, view); canvas 61 ui/views/window/frame_background.cc canvas->TileImageInt(*theme_image_, canvas 66 ui/views/window/frame_background.cc canvas->DrawImageInt(*theme_overlay_image_, 0, 0); canvas 73 ui/views/window/frame_background.cc canvas->DrawImageInt(*top_left_corner_, canvas 77 ui/views/window/frame_background.cc canvas->TileImageInt(*top_edge_, canvas 85 ui/views/window/frame_background.cc canvas->DrawImageInt(*top_right_corner_, canvas 95 ui/views/window/frame_background.cc canvas->TileImageInt(*right_edge_, canvas 102 ui/views/window/frame_background.cc canvas->DrawImageInt(*bottom_right_corner_, canvas 105 ui/views/window/frame_background.cc canvas->TileImageInt( canvas 112 ui/views/window/frame_background.cc canvas->DrawImageInt(*bottom_left_corner_, 0, canvas 118 ui/views/window/frame_background.cc canvas->TileImageInt(*left_edge_, canvas 123 ui/views/window/frame_background.cc void FrameBackground::PaintMaximized(gfx::Canvas* canvas, View* view) const { canvas 130 ui/views/window/frame_background.cc canvas->FillRect(gfx::Rect(0, 0, view->width(), top_area_height_), canvas 135 ui/views/window/frame_background.cc canvas->TileImageInt(*theme_image_, canvas 142 ui/views/window/frame_background.cc canvas->DrawImageInt(*theme_overlay_image_, 0, -maximized_top_inset_); canvas 145 ui/views/window/frame_background.cc void FrameBackground::PaintFrameColor(gfx::Canvas* canvas, View* view) const { canvas 147 ui/views/window/frame_background.cc canvas->FillRect(gfx::Rect(0, 0, view->width(), top_area_height_), canvas 156 ui/views/window/frame_background.cc canvas->FillRect(gfx::Rect(0, top_area_height_, left_edge_->width(), canvas 158 ui/views/window/frame_background.cc canvas->FillRect(gfx::Rect(view->width() - right_edge_->width(), canvas 169 ui/views/window/frame_background.cc canvas->FillRect(gfx::Rect(left_edge_->width(), canvas 67 ui/views/window/frame_background.h void PaintRestored(gfx::Canvas* canvas, View* view) const; canvas 71 ui/views/window/frame_background.h void PaintMaximized(gfx::Canvas* canvas, View* view) const; canvas 75 ui/views/window/frame_background.h void PaintFrameColor(gfx::Canvas* canvas, View* view) const; canvas 233 ui/wm/core/image_grid.cc void ImageGrid::ImagePainter::OnPaintLayer(gfx::Canvas* canvas) { canvas 235 ui/wm/core/image_grid.cc canvas->ClipRect(clip_rect_); canvas 236 ui/wm/core/image_grid.cc canvas->DrawImageInt(*(image_->ToImageSkia()), 0, 0); canvas 139 ui/wm/core/image_grid.h virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE; canvas 66 webkit/renderer/compositor_bindings/scrollbar_impl.cc SkCanvas* canvas, cc::ScrollbarPart part, canvas 69 webkit/renderer/compositor_bindings/scrollbar_impl.cc painter_.paintThumb(canvas, content_rect); canvas 74 webkit/renderer/compositor_bindings/scrollbar_impl.cc painter_.paintScrollbarBackground(canvas, content_rect); canvas 79 webkit/renderer/compositor_bindings/scrollbar_impl.cc painter_.paintBackButtonStart(canvas, back_button_start_paint_rect); canvas 83 webkit/renderer/compositor_bindings/scrollbar_impl.cc painter_.paintBackButtonEnd(canvas, back_button_end_paint_rect); canvas 87 webkit/renderer/compositor_bindings/scrollbar_impl.cc painter_.paintForwardButtonStart(canvas, canvas 92 webkit/renderer/compositor_bindings/scrollbar_impl.cc painter_.paintForwardButtonEnd(canvas, forward_button_end_paint_rect); canvas 96 webkit/renderer/compositor_bindings/scrollbar_impl.cc painter_.paintTrackBackground(canvas, track_paint_rect); canvas 100 webkit/renderer/compositor_bindings/scrollbar_impl.cc painter_.paintForwardTrackPart(canvas, track_paint_rect); canvas 101 webkit/renderer/compositor_bindings/scrollbar_impl.cc painter_.paintBackTrackPart(canvas, track_paint_rect); canvas 104 webkit/renderer/compositor_bindings/scrollbar_impl.cc painter_.paintTickmarks(canvas, track_paint_rect); canvas 36 webkit/renderer/compositor_bindings/scrollbar_impl.h virtual void PaintPart(SkCanvas* canvas, canvas 56 webkit/renderer/compositor_bindings/web_content_layer_impl.cc void WebContentLayerImpl::PaintContents(SkCanvas* canvas, canvas 66 webkit/renderer/compositor_bindings/web_content_layer_impl.cc client_->paintContents(canvas, clip, use_lcd_text, web_opaque); canvas 39 webkit/renderer/compositor_bindings/web_content_layer_impl.h virtual void PaintContents(SkCanvas* canvas,