/external/chromium_org/ui/views/ |
D | drag_utils.cc | 34 const gfx::Size& canvas_size) { in GetCanvasForDragImage() argument 36 return new gfx::Canvas(canvas_size, device_scale, false); in GetCanvasForDragImage()
|
D | drag_utils.h | 35 const gfx::Size& canvas_size);
|
/external/chromium_org/content/browser/compositor/ |
D | software_output_device_ozone_unittest.cc | 140 gfx::Size canvas_size(canvas->getDeviceSize().width(), in TEST_F() local 142 EXPECT_EQ(size.ToString(), canvas_size.ToString()); in TEST_F() 149 canvas_size.SetSize(canvas->getDeviceSize().width(), in TEST_F() 151 EXPECT_EQ(size.ToString(), canvas_size.ToString()); in TEST_F()
|
/external/chromium_org/chrome/browser/profiles/ |
D | profile_avatar_icon_util_unittest.cc | 20 gfx::Size canvas_size(100, 100); in VerifyScaling() local 21 gfx::Canvas canvas(canvas_size, 1.0f, false); in VerifyScaling() 22 gfx::Canvas canvas2(canvas_size, 2.0f, false); in VerifyScaling()
|
D | profile_avatar_icon_util.cc | 56 const gfx::Size& canvas_size, 77 const gfx::Size& canvas_size, in AvatarImageSource() argument 81 : gfx::CanvasImageSource(canvas_size, false), in AvatarImageSource() 82 canvas_size_(canvas_size), in AvatarImageSource()
|
/external/chromium_org/android_webview/renderer/ |
D | print_web_view_helper_linux.cc | 63 const gfx::Size& canvas_size) { in PrintPagesNative() argument 91 PrintPageInternal(page_params, canvas_size, frame, &metafile); in PrintPagesNative() 154 const gfx::Size& canvas_size, in PrintPageInternal() argument
|
D | print_web_view_helper.h | 221 const gfx::Size& canvas_size); 227 const gfx::Size& canvas_size, 232 const gfx::Size& canvas_size,
|
D | print_web_view_helper.cc | 1349 const gfx::Size& canvas_size) { in PrintPagesNative() argument 1358 PrintPageInternal(page_params, canvas_size, frame); in PrintPagesNative() 1365 PrintPageInternal(page_params, canvas_size, frame); in PrintPagesNative()
|
/external/skia/gm/ |
D | blurrect.cpp | 268 SkISize canvas_size = canvas->getDeviceSize(); in onDraw() local 269 int center_x = (canvas_size.fWidth - (int)(r.width()))/2; in onDraw() 270 int center_y = (canvas_size.fHeight - (int)(r.height()))/2; in onDraw() 285 center_x = (canvas_size.fWidth - mask.fBounds.width())/2; in onDraw() 286 center_y = (canvas_size.fHeight - mask.fBounds.height())/2; in onDraw()
|
/external/chromium_org/third_party/skia/gm/ |
D | blurrect.cpp | 268 SkISize canvas_size = canvas->getDeviceSize(); in onDraw() local 269 int center_x = (canvas_size.fWidth - (int)(r.width()))/2; in onDraw() 270 int center_y = (canvas_size.fHeight - (int)(r.height()))/2; in onDraw() 285 center_x = (canvas_size.fWidth - mask.fBounds.width())/2; in onDraw() 286 center_y = (canvas_size.fHeight - mask.fBounds.height())/2; in onDraw()
|
/external/chromium_org/content/renderer/media/android/ |
D | webmediaplayer_android.cc | 1095 gfx::Size canvas_size( in DrawRemotePlaybackText() 1100 bitmap.allocN32Pixels(canvas_size.width(), canvas_size.height()); in DrawRemotePlaybackText() 1126 if (display_text_width + (kMinPadding * 2) > canvas_size.width()) { in DrawRemotePlaybackText() 1138 canvas_size.width() - (kMinPadding * 2) - sk_ellipse_width); in DrawRemotePlaybackText() 1154 (canvas_size.width() - display_text_width) / 2.0; in DrawRemotePlaybackText() 1196 canvas_size /* coded_size */, in DrawRemotePlaybackText() 1197 gfx::Rect(canvas_size) /* visible_rect */, in DrawRemotePlaybackText() 1198 canvas_size /* natural_size */, in DrawRemotePlaybackText()
|
/external/chromium_org/cc/layers/ |
D | heads_up_display_layer_impl.cc | 172 SkISize canvas_size; in UpdateHudTexture() local 174 canvas_size = hud_canvas_->getDeviceSize(); in UpdateHudTexture() 176 canvas_size.set(0, 0); in UpdateHudTexture() 178 if (canvas_size.width() != content_bounds().width() || in UpdateHudTexture() 179 canvas_size.height() != content_bounds().height() || !hud_canvas_) { in UpdateHudTexture()
|
/external/chromium_org/content/renderer/ |
D | render_view_impl.cc | 4067 gfx::Size canvas_size = in didTapMultipleTargets() local 4072 manager->AllocateSharedBitmap(canvas_size); in didTapMultipleTargets() 4075 SkImageInfo info = SkImageInfo::MakeN32Premul(canvas_size.width(), in didTapMultipleTargets() 4076 canvas_size.height()); in didTapMultipleTargets() 4104 canvas_size, in didTapMultipleTargets()
|