Home
last modified time | relevance | path

Searched refs:canvas_size (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/ui/views/
Ddrag_utils.cc34 const gfx::Size& canvas_size) { in GetCanvasForDragImage() argument
36 return new gfx::Canvas(canvas_size, device_scale, false); in GetCanvasForDragImage()
Ddrag_utils.h35 const gfx::Size& canvas_size);
/external/chromium_org/content/browser/compositor/
Dsoftware_output_device_ozone_unittest.cc140 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/
Dprofile_avatar_icon_util_unittest.cc20 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()
Dprofile_avatar_icon_util.cc56 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/
Dprint_web_view_helper_linux.cc63 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
Dprint_web_view_helper.h221 const gfx::Size& canvas_size);
227 const gfx::Size& canvas_size,
232 const gfx::Size& canvas_size,
Dprint_web_view_helper.cc1349 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/
Dblurrect.cpp268 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/
Dblurrect.cpp268 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/
Dwebmediaplayer_android.cc1095 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/
Dheads_up_display_layer_impl.cc172 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/
Drender_view_impl.cc4067 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()