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.cc155 updated_region_.AddRect(ScaleRect(i.rect(), view_size, screen_size_)); in Invalidate()
227 ScaleRect(clip_area, view_size, screen_size_); in RenderFrame()
273 rect = ScaleRect(rect, screen_size_, view_size); in RenderFrame()
294 updated_region_.Subtract(ScaleRect(clip_area, view_size, screen_size_)); in RenderFrame()
310 rect = ScaleRect(rect, screen_size_, view_size); in RenderFrame()
321 ScaleRect(clip_area, view_size, screen_size_); in RenderFrame()
/external/chromium_org/ui/gfx/geometry/
Drect_f.h91 inline RectF ScaleRect(const RectF& r, float x_scale, float y_scale) { in ScaleRect() function
96 inline RectF ScaleRect(const RectF& r, float scale) { in ScaleRect() function
97 return ScaleRect(r, scale, scale); in ScaleRect()
Drect_unittest.cc425 TEST(RectTest, ScaleRect) { in TEST() argument
461 RectF scaled = ScaleRect(r1, tests[i].scale); in TEST()
/external/chromium_org/content/browser/renderer_host/
Ddip_util.cc49 gfx::ScaleRect(rect_in_pixel, 1.0f / scale_factor)); in ConvertRectToDIP()
60 gfx::ScaleRect(rect_in_dip, scale_factor)); in ConvertRectToPixel()
Dcompositing_iosurface_mac.mm114 ToNearestRect(gfx::ScaleRect(window_rect, window_scale_factor));
/external/chromium_org/remoting/base/
Dutil.h61 webrtc::DesktopRect ScaleRect(const webrtc::DesktopRect& rect,
Dutil.cc68 DCHECK(DoesRectContain(ScaleRect(source_buffer_rect, source_size, dest_size), in ConvertAndScaleYUVToRGB32Rect()
177 webrtc::DesktopRect ScaleRect(const webrtc::DesktopRect& rect, in ScaleRect() function
/external/chromium_org/content/browser/android/
Dpopup_touch_handle_drawable.cc72 const gfx::RectF rect_pix = gfx::ScaleRect(rect, dpi_scale_); in IntersectsWith()
Dcomposited_touch_handle_drawable.cc146 return BoundingRect().Intersects(gfx::ScaleRect(rect, dpi_scale_)); in IntersectsWith()
/external/chromium_org/ui/snapshot/
Dsnapshot_android.cc46 gfx::ToEnclosingRect(gfx::ScaleRect(source_rect, device_scale_factor)); in MakeAsyncCopyRequest()
/external/chromium_org/cc/resources/
Dpicture_pile_impl.cc83 gfx::ScaleRect(gfx::Rect(tiling_.tiling_size()), contents_scale)); in RasterToBitmap()
239 gfx::ScaleRect(gfx::Rect(tiling_.tiling_size()), contents_scale)); in RasterCommon()
Dpicture_layer_tiling_unittest.cc672 gfx::ToEnclosedRect(gfx::ScaleRect(viewport, 0.25f)); in TEST()
679 gfx::ToEnclosedRect(gfx::ScaleRect(soon_rect, 0.25f)); in TEST()
745 gfx::ToEnclosedRect(gfx::ScaleRect(viewport, 0.25f)); in TEST()
751 gfx::ToEnclosedRect(gfx::ScaleRect(soon_rect, 0.25f)); in TEST()
/external/chromium_org/ui/compositor/
Ddip_util.cc51 return gfx::ToFlooredRectDeprecated(gfx::ScaleRect(rect_in_pixel, scale)); in ConvertRectToDIP()
/external/chromium_org/cc/layers/
Dscrollbar_layer_impl_base.cc102 gfx::RectF content_rect = gfx::ScaleRect(layer_rect, in ScrollbarLayerRectToContentRect()
Dtiled_layer.cc467 update_rect_ = gfx::ScaleRect(update_rect, width_scale, height_scale); in UpdateTileTextures()
Dlayer.cc207 gfx::ScaleRect(layer_rect, contents_scale_x(), contents_scale_y()); in LayerRectToContentRect()
Dlayer_impl.cc489 gfx::ScaleRect(layer_rect, contents_scale_x(), contents_scale_y()); in LayerRectToContentRect()
/external/chromium_org/ui/aura/test/
Dtest_screen.cc74 gfx::ScaleRect(bounds_in_pixel, 1.0f / ui_scale)); in SetUIScale()
/external/chromium_org/pdf/
Dinstance.cc249 void ScaleRect(float scale, pp::Rect* rect) { in ScaleRect() function
690 ScaleRect(device_scale_, &dirty_rect_scaled); in InvalidateWidget()
947 ScaleRect(device_scale_, &location); in PaintIfWidgetIntersects()
977 ScaleRect(1.0f / device_scale_, &location_dip); in PaintIfWidgetIntersects()
1119 ScaleRect(device_scale_, &rc); in Scroll()
1127 ScaleRect(device_scale_, &rc); in Scroll()
1268 ScaleRect(inverse_scale, &scaled_tickmarks[i]); in UpdateTickMarks()
Dout_of_process_instance.cc196 void ScaleRect(float scale, pp::Rect* rect) { in ScaleRect() function
883 ScaleRect(inverse_scale, &scaled_tickmarks[i]); in UpdateTickMarks()
/external/chromium_org/content/renderer/pepper/
Dpepper_graphics_2d_host.cc804 *op_rect = gfx::ToEnclosingRect(gfx::ScaleRect(*op_rect, scale)); in ConvertToLogicalPixels()
811 gfx::ToEnclosingRect(gfx::ScaleRect(*op_rect, inverse_scale)); in ConvertToLogicalPixels()
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_Utils.cpp406 CPDF_Rect CPWL_Utils::ScaleRect(const CPDF_Rect & rcRect,FX_FLOAT fScale) in ScaleRect() function in CPWL_Utils
1264 return GetAppStream_Circle(ScaleRect(rcCenter,2.0f/3.0f),crText); in GetCheckBoxAppStream()
1268 return GetAppStream_Diamond(ScaleRect(rcCenter,2.0f/3.0f),crText); in GetCheckBoxAppStream()
1270 return GetAppStream_Square(ScaleRect(rcCenter,2.0f/3.0f),crText); in GetCheckBoxAppStream()
1272 return GetAppStream_Star(ScaleRect(rcCenter,2.0f/3.0f),crText); in GetCheckBoxAppStream()
1287 return GetAppStream_Circle(ScaleRect(rcCenter,1.0f/2.0f),crText); in GetRadioButtonAppStream()
1291 return GetAppStream_Diamond(ScaleRect(rcCenter,2.0f/3.0f),crText); in GetRadioButtonAppStream()
1293 return GetAppStream_Square(ScaleRect(rcCenter,2.0f/3.0f),crText); in GetRadioButtonAppStream()
1295 return GetAppStream_Star(ScaleRect(rcCenter,2.0f/3.0f),crText); in GetRadioButtonAppStream()
/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_Utils.h106 static CPDF_Rect ScaleRect(const CPDF_Rect& rcRect,FX_FLOAT fScale);
/external/chromium_org/content/browser/compositor/
Dio_surface_layer_mac.mm313 gfx::ScaleRect(window_rect, 1.f/window_scale_factor));
/external/chromium_org/cc/output/
Dsoftware_renderer.cc381 gfx::RectF uv_rect = gfx::ScaleRect(gfx::BoundingRect(quad->uv_top_left, in DrawTextureQuad()

12