Home
last modified time | relevance | path

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

/external/chromium_org/skia/ext/
Dimage_operations_unittest.cc263 int dest_w, int dest_h, SkColor average_color, in CheckResizeMethodShouldAverageGrid() argument
270 { 0, dest_h - 1, 2.3f, "Bottom left corner" }, in CheckResizeMethodShouldAverageGrid()
272 { dest_w - 1, dest_h - 1, 2.3f, "Bottom right corner" }, in CheckResizeMethodShouldAverageGrid()
275 { dest_w / 2, dest_h - 1, 1.0f, "Bottom middle" }, in CheckResizeMethodShouldAverageGrid()
276 { 0, dest_h / 2, 1.0f, "Left middle" }, in CheckResizeMethodShouldAverageGrid()
277 { dest_w - 1, dest_h / 2, 1.0f, "Right middle" }, in CheckResizeMethodShouldAverageGrid()
279 { dest_w / 2, dest_h / 2, 1.0f, "Center" } in CheckResizeMethodShouldAverageGrid()
285 SkBitmap dest = skia::ImageOperations::Resize(src, method, dest_w, dest_h); in CheckResizeMethodShouldAverageGrid()
287 ASSERT_EQ(dest_h, dest.height()); in CheckResizeMethodShouldAverageGrid()
496 const int dest_h = src_h / (2 * checker_rect_h); in TEST() local
[all …]
/external/chromium_org/ui/gfx/
Dgdi_util.cc122 void StretchDIBits(HDC hdc, int dest_x, int dest_y, int dest_w, int dest_h, in StretchDIBits() argument
133 dest_x, dest_h + dest_y - 1, dest_w, -dest_h, in StretchDIBits()
138 dest_x, dest_y, dest_w, dest_h, in StretchDIBits()
Dcanvas.cc390 int dest_h, in DrawImageInt() argument
394 dest_w, dest_h, filter, p); in DrawImageInt()
405 int dest_h, in DrawImageInt() argument
415 if (!IntersectsClipRectInt(dest_x, dest_y, dest_w, dest_h)) in DrawImageInt()
419 float user_scale_y = static_cast<float>(dest_h) / src_h; in DrawImageInt()
429 SkIntToScalar(dest_y + dest_h) }; in DrawImageInt()
431 if (src_w == dest_w && src_h == dest_h && in DrawImageInt()
Dgdi_util.h49 int dest_x, int dest_y, int dest_w, int dest_h,
Dcanvas.h328 int dest_h,
338 int dest_h,
/external/chromium/chrome/browser/ui/views/
Dtab_icon_view.cc127 int dest_h = static_cast<int>(float_src_h * scale); in PaintIcon() local
131 (width() - dest_w) / 2, (height() - dest_h) / 2, dest_w, in PaintIcon()
132 dest_h, filter); in PaintIcon()
/external/chromium_org/chrome/browser/ui/views/
Dtab_icon_view.cc130 int dest_h = static_cast<int>(float_src_h * scale); in PaintIcon() local
134 (width() - dest_w) / 2, (height() - dest_h) / 2, dest_w, in PaintIcon()
135 dest_h, filter); in PaintIcon()
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/extensions/
DXvlib.h391 unsigned int dest_h
409 unsigned int dest_h,
/external/chromium_org/ui/native_theme/
Dnative_theme_base.h134 int dest_x, int dest_y, int dest_w, int dest_h) const;
Dnative_theme_base.cc933 int dest_x, int dest_y, int dest_w, int dest_h) const { in DrawImageInt()
941 dest_x, dest_y, dest_w, dest_h, true); in DrawImageInt()
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/Xv/
DXv.c1014 unsigned int dest_h in SDL_NAME()
1039 req->drw_h = dest_h; in SDL_NAME()
1071 unsigned int dest_h, in SDL_NAME()
1098 req->drw_h = dest_h; in SDL_NAME()
/external/chromium_org/chrome/browser/ui/gtk/
Dgtk_util.cc220 const int dest_h = ::ceil(eh * emblem_scale); in AddEmblem() local
222 const int y = ih - dest_h; // Used for offset_y and dest_y. in AddEmblem()
226 dest_w, dest_h, in AddEmblem()
/external/chromium_org/chrome/browser/ui/gtk/tabs/
Dtab_renderer_gtk.cc107 int dest_h) { in GetResizedGdkPixbufFromSkBitmap() argument
109 float float_dest_h = static_cast<float>(dest_h); in GetResizedGdkPixbufFromSkBitmap()