/external/chromium_org/ui/gfx/ |
D | canvas.cc | 27 Canvas::Canvas(const Size& size, float image_scale, bool is_opaque) in Canvas() argument 28 : image_scale_(image_scale), in Canvas() 30 Size pixel_size = ToCeiledSize(ScaleSize(size, image_scale)); in Canvas() 42 SkScalar scale_scalar = SkFloatToScalar(image_scale); in Canvas() 69 float image_scale) { in CreateCanvasWithoutScaling() argument 70 return new Canvas(canvas, image_scale); in CreateCanvasWithoutScaling() 74 float image_scale, in RecreateBackingCanvas() argument 76 image_scale_ = image_scale; in RecreateBackingCanvas() 77 Size pixel_size = ToFlooredSize(ScaleSize(size, image_scale)); in RecreateBackingCanvas() 82 SkScalar scale_scalar = SkFloatToScalar(image_scale); in RecreateBackingCanvas() [all …]
|
D | canvas.h | 93 Canvas(const Size& size, float image_scale, bool is_opaque); 105 float image_scale); 114 float image_scale, 426 float image_scale() const { return image_scale_; } in image_scale() function 429 Canvas(SkCanvas* canvas, float image_scale); 449 float image_scale,
|
D | nine_image_painter.cc | 28 return i.GetRepresentation(c->image_scale()).pixel_width(); in ImageWidthInPixels() 32 return i.GetRepresentation(c->image_scale()).pixel_height(); in ImageHeightInPixels()
|
D | canvas_skia.cc | 324 Canvas text_canvas(size, image_scale(), false); in DrawStringRectWithHalo() 355 text_canvas.image_scale())); in DrawStringRectWithHalo()
|
/external/chromium_org/chrome/browser/extensions/api/notifications/ |
D | notifications_api.cc | 199 float image_scale = in CreateNotification() local 210 image_scale, in CreateNotification() 222 image_scale, in CreateNotification() 246 image_scale, in CreateNotification() 260 image_scale, in CreateNotification() 331 float image_scale = in UpdateNotification() local 346 image_scale, bitmap_sizes.icon_size, options->icon_bitmap.get(), &icon); in UpdateNotification() 352 image_scale, in UpdateNotification() 375 image_scale, in UpdateNotification() 391 image_scale, in UpdateNotification()
|
/external/chromium_org/ui/views/controls/ |
D | image_view.cc | 20 void* GetBitmapPixels(const gfx::ImageSkia& img, float image_scale) { in GetBitmapPixels() argument 21 DCHECK_NE(0.0f, image_scale); in GetBitmapPixels() 22 const SkBitmap& bitmap = img.GetRepresentation(image_scale).sk_bitmap(); in GetBitmapPixels() 213 last_paint_scale_ = canvas->image_scale(); in OnPaintImage()
|
D | glow_hover_controller.cc | 86 canvas->image_scale(), in Draw()
|
/external/chromium_org/ui/base/ |
D | layout.h | 49 UI_BASE_EXPORT ScaleFactor GetSupportedScaleFactor(float image_scale);
|
/external/chromium_org/chrome/browser/ui/views/ |
D | dropdown_bar_view.cc | 114 canvas->image_scale(), in OnPaint()
|
/external/chromium_org/ash/frame/caption_buttons/ |
D | frame_caption_button.cc | 132 gfx::Canvas icon_canvas(icon_image.size(), canvas->image_scale(), false); in OnPaint()
|
/external/chromium_org/chrome/common/ |
D | badge_util.cc | 119 float scale = canvas->image_scale(); in PaintBadge()
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
D | tab.cc | 1114 gfx::Canvas background_canvas(size(), canvas->image_scale(), false); in PaintInactiveTabBackgroundWithTitleChange() 1120 gfx::Canvas hover_canvas(size(), canvas->image_scale(), false); in PaintInactiveTabBackgroundWithTitleChange() 1184 ui::GetSupportedScaleFactor(canvas->image_scale()); in PaintInactiveTabBackground() 1187 gfx::Canvas tmp_canvas(size(), canvas->image_scale(), false); in PaintInactiveTabBackground() 1223 gfx::Canvas background_canvas(size(), canvas->image_scale(), false); in PaintInactiveTabBackgroundUsingResourceId()
|
D | tab_strip.cc | 315 gfx::ImageSkia image = GetImageForScale(canvas->image_scale()); in OnPaint()
|
/external/chromium_org/ash/frame/ |
D | default_header_painter.cc | 290 float thickness = 1 / canvas->image_scale(); in PaintHeaderContentSeparator()
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
D | browser_header_painter_ash.cc | 95 gfx::Canvas temporary_canvas(bounds.size(), canvas->image_scale(), false); in PaintFrameImagesInRoundRect()
|
D | browser_view.cc | 203 canvas->image_scale(); in PaintDetachedBookmarkBar()
|
/external/chromium_org/ui/base/x/ |
D | x11_util.cc | 1211 gfx::ImageSkiaRep image_rep(bitmap, canvas->image_scale()); in CopyAreaToCanvas()
|