Searched defs:GetDeviceScaleFactor (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/ui/compositor/
H A Ddip_util.cc22 float GetDeviceScaleFactor(const Layer* layer) { function in namespace:ui
29 gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer)));
34 return gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer));
40 gfx::ScaleSize(size_in_pixel, 1.0f / GetDeviceScaleFactor(layer)));
45 float scale = 1.0f / GetDeviceScaleFactor(layer);
52 gfx::ScalePoint(point_in_dip, GetDeviceScaleFactor(layer)));
58 gfx::ScaleSize(size_in_dip, GetDeviceScaleFactor(layer)));
63 float scale = GetDeviceScaleFactor(layer);
H A Dlayer.cc850 float Layer::GetDeviceScaleFactor() const { function in class:ui::Layer
/external/chromium_org/ui/base/win/
H A Ddpi.cc104 float GetDeviceScaleFactor() { function in namespace:ui::win
111 gfx::ScalePoint(pixel_point, 1.0f / GetDeviceScaleFactor()));
116 gfx::ScalePoint(dip_point, GetDeviceScaleFactor()));
122 gfx::ScaleRect(pixel_bounds, 1.0f / GetDeviceScaleFactor()));
128 gfx::ScaleRect(dip_bounds, GetDeviceScaleFactor()));
133 gfx::ScaleSize(size_in_pixels, 1.0f / GetDeviceScaleFactor()));
137 return gfx::ToFlooredSize(gfx::ScaleSize(dip_size, GetDeviceScaleFactor()));
142 GetDeviceScaleFactor() + 0.5);
/external/chromium_org/ui/compositor/test/
H A Dtest_layer_animation_delegate.cc90 float TestLayerAnimationDelegate::GetDeviceScaleFactor() const { function in class:ui::TestLayerAnimationDelegate
/external/chromium_org/content/browser/webui/
H A Dweb_ui_impl.cc105 ui::ScaleFactor WebUIImpl::GetDeviceScaleFactor() const { function in class:content::WebUIImpl
/external/chromium_org/content/renderer/browser_plugin/
H A Dbrowser_plugin.cc424 GetDeviceScaleFactor());
526 GetDeviceScaleFactor() != params.scale_factor) {
772 float BrowserPlugin::GetDeviceScaleFactor() const { function in class:content::BrowserPlugin
1129 params->scale_factor = GetDeviceScaleFactor();
1146 GetDeviceScaleFactor() *
1147 GetDeviceScaleFactor()));
/external/chromium_org/ui/aura/
H A Droot_window.cc548 float scale = ui::GetDeviceScaleFactor(layer());
1001 float RootWindow::GetDeviceScaleFactor() { function in class:aura::RootWindow
1206 float scale = ui::GetDeviceScaleFactor(layer());

Completed in 238 milliseconds