Searched defs:src_rect (Results 1 - 25 of 42) sorted by relevance

12

/external/chromium_org/ash/wm/overview/
H A Dwindow_selector_window.cc56 gfx::Rect src_rect = transform_window_.GetBoundsInScreen(); local
58 ShrinkRectToFitPreservingAspectRatio(src_rect, target_bounds));
60 ScopedTransformOverviewWindow::GetTransformForRect(src_rect, bounds()),
H A Dscoped_transform_overview_window.cc178 const gfx::Rect& src_rect,
180 DCHECK(!src_rect.IsEmpty());
183 transform.Translate(dst_rect.x() - src_rect.x(),
184 dst_rect.y() - src_rect.y());
185 transform.Scale(static_cast<float>(dst_rect.width()) / src_rect.width(),
186 static_cast<float>(dst_rect.height()) / src_rect.height());
177 GetTransformForRect( const gfx::Rect& src_rect, const gfx::Rect& dst_rect) argument
/external/chromium_org/content/browser/aura/
H A Dsoftware_output_device_win.cc89 RECT src_rect = rect.ToRECT(); local
90 skia::DrawToNativeContext(canvas, hdc, rect.x(), rect.y(), &src_rect);
/external/chromium_org/native_client_sdk/src/examples/demo/flock/
H A Dsprite.cc44 void Sprite::CompositeFromRectToPoint(const pp::Rect& src_rect, argument
51 pp::Rect src_rect_clipped(src_rect.Intersect(src_bounds));
/external/chromium_org/ppapi/cpp/
H A Dgraphics_2d.cc88 const Rect& src_rect) {
93 &src_rect.pp_rect());
98 &src_rect.pp_rect());
86 PaintImageData(const ImageData& image, const Point& top_left, const Rect& src_rect) argument
/external/chromium_org/ppapi/thunk/
H A Dppb_graphics_2d_thunk.cc56 const struct PP_Rect* src_rect) {
61 enter.object()->PaintImageData(image_data, top_left, src_rect);
53 PaintImageData(PP_Resource graphics_2d, PP_Resource image_data, const struct PP_Point* top_left, const struct PP_Rect* src_rect) argument
/external/chromium_org/skia/ext/
H A Dbitmap_platform_device_skia.cc70 PlatformSurface surface, int x, int y, const PlatformRect* src_rect) {
69 DrawToNativeContext( PlatformSurface surface, int x, int y, const PlatformRect* src_rect) argument
H A Dplatform_canvas.cc36 int y, const PlatformRect* src_rect) {
39 platform_device->DrawToNativeContext(context, x, y, src_rect);
35 DrawToNativeContext(SkCanvas* canvas, PlatformSurface context, int x, int y, const PlatformRect* src_rect) argument
H A Dplatform_device_win.cc64 const PlatformRect* src_rect) {
63 DrawToNativeContext(PlatformSurface surface, int x, int y, const PlatformRect* src_rect) argument
H A Dvector_platform_device_skia.cc67 const RECT* src_rect) {
72 int y, const CGRect* src_rect) {
82 PlatformSurface surface, int x, int y, const PlatformRect* src_rect) {
64 DrawToNativeContext(HDC dc, int x, int y, const RECT* src_rect) argument
71 DrawToNativeContext(CGContext* context, int x, int y, const CGRect* src_rect) argument
81 DrawToNativeContext( PlatformSurface surface, int x, int y, const PlatformRect* src_rect) argument
H A Dbitmap_platform_device_cairo.cc201 PlatformSurface surface, int x, int y, const PlatformRect* src_rect) {
200 DrawToNativeContext( PlatformSurface surface, int x, int y, const PlatformRect* src_rect) argument
H A Dbitmap_platform_device_mac.cc211 int y, const CGRect* src_rect) {
224 if (src_rect) {
225 bounds.size.width = src_rect->size.width;
226 bounds.size.height = src_rect->size.height;
227 CGImageRef sub_image = CGImageCreateWithImageInRect(image, *src_rect);
210 DrawToNativeContext(CGContextRef context, int x, int y, const CGRect* src_rect) argument
/external/chromium_org/content/renderer/gpu/
H A Dcompositor_software_output_device.cc175 const SkIRect& src_rect = it.rect(); local
176 SkRect dst_rect = SkRect::Make(src_rect);
177 canvas_->drawBitmapRect(back_bitmap, &src_rect, dst_rect, NULL);
/external/chromium_org/ppapi/proxy/
H A Dgraphics_2d_resource.cc59 const PP_Rect* src_rect) {
72 !!src_rect, src_rect ? *src_rect : dummy));
57 PaintImageData(PP_Resource image_data, const PP_Point* top_left, const PP_Rect* src_rect) argument
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/
H A Dpresentation.c211 struct u_rect src_rect, dst_clip, *dirty_area; local
260 src_rect.x0 = 0;
261 src_rect.y0 = 0;
262 src_rect.x1 = surf_draw->width;
263 src_rect.y1 = surf_draw->height;
266 vl_compositor_set_rgba_layer(cstate, compositor, 0, surf->sampler_view, &src_rect, NULL, NULL);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/
H A Dxvmc_private.h93 struct u_rect src_rect; member in struct:__anon13386
H A Dsurface.c357 struct u_rect src_rect = {srcx, srcx + srcw, srcy, srcy + srch}; local
413 &src_rect, NULL, VL_COMPOSITOR_WEAVE);
422 &subpicture_priv->src_rect, &subpicture_priv->dst_rect, true);
425 &subpicture_priv->src_rect, &subpicture_priv->dst_rect, NULL);
/external/mesa3d/src/gallium/state_trackers/vdpau/
H A Dpresentation.c211 struct u_rect src_rect, dst_clip, *dirty_area; local
260 src_rect.x0 = 0;
261 src_rect.y0 = 0;
262 src_rect.x1 = surf_draw->width;
263 src_rect.y1 = surf_draw->height;
266 vl_compositor_set_rgba_layer(cstate, compositor, 0, surf->sampler_view, &src_rect, NULL, NULL);
/external/mesa3d/src/gallium/state_trackers/xvmc/
H A Dxvmc_private.h93 struct u_rect src_rect; member in struct:__anon23871
H A Dsurface.c357 struct u_rect src_rect = {srcx, srcx + srcw, srcy, srcy + srch}; local
413 &src_rect, NULL, VL_COMPOSITOR_WEAVE);
422 &subpicture_priv->src_rect, &subpicture_priv->dst_rect, true);
425 &subpicture_priv->src_rect, &subpicture_priv->dst_rect, NULL);
/external/chromium/webkit/glue/media/
H A Dvideo_renderer_impl.cc305 const gfx::Rect& src_rect,
310 skia_dest_rect.iset(src_rect.x(), src_rect.y(),
311 src_rect.right(), src_rect.bottom());
304 TransformToSkIRect(const SkMatrix& matrix, const gfx::Rect& src_rect, SkIRect* dest_rect) argument
/external/chromium_org/chrome/browser/thumbnails/
H A Dsimple_thumbnail_crop.cc81 SkIRect src_rect = { clipping_rect.x(), clipping_rect.y(), local
84 bitmap.extractSubset(&clipped_bitmap, src_rect);
/external/chromium_org/content/browser/renderer_host/
H A Dbacking_store_aura.cc76 SkIRect src_rect = SkIRect::MakeWH(old_pixel_size.width(), local
79 new_canvas.get()->drawBitmapRect(bitmap_, &src_rect, dst_rect, &copy_paint);
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
H A DSDL_ph_image.c1010 PhArea_t src_rect; local
1032 src_rect.pos.x=rects[i].x;
1033 src_rect.pos.y=rects[i].y;
1037 src_rect.size.w=rects[i].w;
1038 src_rect.size.h=rects[i].h;
1042 PgContextBlitArea(OCImage.offscreen_context, &src_rect, NULL, &dest_rect);
/external/chromium/chrome/browser/tab_contents/
H A Dthumbnail_generator.cc400 SkIRect src_rect; local
406 src_rect.set(0, 0, static_cast<S16CPU>(dest_rect.width()),
418 src_rect.set(x_offset, 0, new_width + x_offset, bitmap.height());
422 src_rect.set(0, 0, bitmap.width(),
427 src_rect.set(0, 0, bitmap.width(), bitmap.height());
434 bitmap.extractSubset(&clipped_bitmap, src_rect);

Completed in 579 milliseconds

12