Home
last modified time | relevance | path

Searched refs:ScaleRect (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/remoting/codec/
Dvideo_decoder_vpx.cc153 updated_region_.AddRect(ScaleRect(i.rect(), view_size, screen_size_)); in Invalidate()
189 ScaleRect(clip_area, view_size, screen_size_); in RenderFrame()
234 rect = ScaleRect(rect, screen_size_, view_size); in RenderFrame()
255 updated_region_.Subtract(ScaleRect(clip_area, view_size, screen_size_)); in RenderFrame()
264 rect = ScaleRect(rect, screen_size_, view_size); in RenderFrame()
275 ScaleRect(clip_area, view_size, screen_size_); in RenderFrame()
/external/chromium_org/content/renderer/browser_plugin/
Dbrowser_plugin_backing_store.cc42 gfx::ScaleRect(bitmap_rect, scale_factor_)); in PaintToBackingStore()
62 gfx::ScaleRect(copy_rects[i], scale_factor_)); in PaintToBackingStore()
83 gfx::ScaleRect(clip_rect, scale_factor_)); in ScrollBackingStore()
/external/chromium_org/ui/gfx/
Drect_f.h90 inline RectF ScaleRect(const RectF& r, float x_scale, float y_scale) { in ScaleRect() function
95 inline RectF ScaleRect(const RectF& r, float scale) { in ScaleRect() function
96 return ScaleRect(r, scale, scale); in ScaleRect()
Drect_unittest.cc435 TEST(RectTest, ScaleRect) { in TEST() argument
471 RectF scaled = ScaleRect(r1, tests[i].scale); in TEST()
/external/chromium_org/content/browser/renderer_host/
Ddip_util.cc56 gfx::ScaleRect(rect_in_pixel, 1.0f / scale_factor)); in ConvertRectToDIP()
63 gfx::ScaleRect(rect_in_dip, scale_factor)); in ConvertRectToPixel()
Dbacking_store_aura.cc104 gfx::ScaleRect(bitmap_rect, scale_factor)); in PaintToBackingStore()
125 gfx::ScaleRect(copy_rects[i], scale_factor)); in PaintToBackingStore()
133 gfx::ScaleRect(copy_rects[i], device_scale_factor_)); in PaintToBackingStore()
147 gfx::ScaleRect(clip_rect, device_scale_factor_)); in ScrollBackingStore()
Dbacking_store_win.cc128 gfx::ScaleRect(bitmap_rect, scale_factor)); in PaintToBackingStore()
141 gfx::ScaleRect(paint_rect, scale_factor)); in PaintToBackingStore()
179 gfx::ScaleRect(clip_rect, scale)); in ScrollBackingStore()
Dbacking_store_gtk.cc361 gfx::ScaleRect(bitmap_rect, scale_factor)); in PaintToBackingStore()
421 gfx::ScaleRect(copy_rect, scale_factor)); in PaintToBackingStore()
Dbacking_store_mac.mm95 gfx::ScaleRect(bitmap_rect, scale_factor));
121 gfx::ScaleRect(copy_rect, scale_factor));
Dcompositing_iosurface_mac.mm371 ToNearestRect(gfx::ScaleRect(window_rect, window_scale_factor));
/external/chromium_org/ui/compositor/
Ddip_util.cc45 return gfx::ToFlooredRectDeprecated(gfx::ScaleRect(rect_in_pixel, scale)); in ConvertRectToDIP()
63 return gfx::ToFlooredRectDeprecated(gfx::ScaleRect(rect_in_dip, scale)); in ConvertRectToPixel()
/external/chromium_org/ui/gfx/win/
Ddpi.cc144 ScaleRect(pixel_bounds, 1.0f / GetDeviceScaleFactor())); in ScreenToDIPRect()
150 ScaleRect(dip_bounds, GetDeviceScaleFactor())); in DIPToScreenRect()
/external/chromium_org/cc/debug/
Ddebug_rect_history.cc78 gfx::ScaleRect(layer->update_rect(), width_scale, height_scale); in SavePaintRects()
188 gfx::RectF touch_rect = gfx::ScaleRect(iter.rect(), in SaveTouchEventHandlerRectsCallback()
228 gfx::RectF scroll_rect = gfx::ScaleRect(iter.rect(), in SaveNonFastScrollableRectsCallback()
/external/chromium_org/remoting/base/
Dutil.h74 webrtc::DesktopRect ScaleRect(const webrtc::DesktopRect& rect,
Dutil.cc90 DCHECK(DoesRectContain(ScaleRect(source_buffer_rect, source_size, dest_size), in ConvertAndScaleYUVToRGB32Rect()
199 webrtc::DesktopRect ScaleRect(const webrtc::DesktopRect& rect, in ScaleRect() function
/external/chromium_org/cc/resources/
Dcontent_layer_updater.cc76 gfx::Rect opaque_content_rect = gfx::ToEnclosedRect(gfx::ScaleRect( in PaintContents()
Dpicture_layer_tiling.cc427 gfx::RectF current_screen_rect = gfx::ScaleRect( in UpdateTilePriorities()
431 gfx::RectF last_screen_rect = gfx::ScaleRect( in UpdateTilePriorities()
540 gfx::RectF current_layer_content_rect = gfx::ScaleRect( in UpdateTilePriorities()
546 gfx::RectF last_layer_content_rect = gfx::ScaleRect( in UpdateTilePriorities()
/external/chromium_org/cc/layers/
Dscrollbar_layer_impl_base.cc41 gfx::RectF content_rect = gfx::ScaleRect(layer_rect, in ScrollbarLayerRectToContentRect()
Dheads_up_display_layer_impl.cc663 gfx::RectF debug_layer_rect = gfx::ScaleRect(debug_rects[i].rect, in DrawDebugRects()
Dtiled_layer.cc487 update_rect_ = gfx::ScaleRect(update_rect, width_scale, height_scale); in UpdateTileTextures()
Dlayer.cc213 gfx::ScaleRect(layer_rect, contents_scale_x(), contents_scale_y()); in LayerRectToContentRect()
Dlayer_impl.cc481 gfx::ScaleRect(layer_rect, contents_scale_x(), contents_scale_y()); in LayerRectToContentRect()
/external/chromium_org/ui/aura/test/
Dtest_screen.cc57 gfx::ScaleRect(bounds_in_pixel, 1.0f / ui_scale)); in SetUIScale()
/external/chromium_org/content/renderer/pepper/
Dpepper_graphics_2d_host.cc866 *op_rect = gfx::ToEnclosingRect(gfx::ScaleRect(*op_rect, scale)); in ConvertToLogicalPixels()
873 gfx::ToEnclosingRect(gfx::ScaleRect(*op_rect, inverse_scale)); in ConvertToLogicalPixels()
/external/chromium_org/cc/output/
Dsoftware_renderer.cc371 gfx::RectF uv_rect = gfx::ScaleRect(gfx::BoundingRect(quad->uv_top_left, in DrawTextureQuad()

12