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

/external/chromium_org/ui/compositor/
H A Ddip_util.cc21 float GetDeviceScaleFactor(const Layer* layer) { function in namespace:ui
28 gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer)));
33 return gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer));
39 gfx::ScaleSize(size_in_pixel, 1.0f / GetDeviceScaleFactor(layer)));
44 float scale = 1.0f / GetDeviceScaleFactor(layer);
51 gfx::ScalePoint(point_in_dip, GetDeviceScaleFactor(layer)));
57 gfx::ScaleSize(size_in_dip, GetDeviceScaleFactor(layer)));
62 float scale = GetDeviceScaleFactor(layer);
H A Dlayer.cc863 float Layer::GetDeviceScaleFactor() const { function in class:ui::Layer
/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.cc101 float WebUIImpl::GetDeviceScaleFactor() const { function in class:content::WebUIImpl
/external/chromium_org/ui/gfx/win/
H A Ddpi.cc40 // GetDeviceScaleFactor function here because it fires a DCHECK if the
175 float GetDeviceScaleFactor() { function in namespace:gfx::win
182 1.0f / GetDeviceScaleFactor()));
186 return ToFlooredPoint(ScalePoint(dip_point, GetDeviceScaleFactor()));
192 ScaleRect(pixel_bounds, 1.0f / GetDeviceScaleFactor()));
204 dip_bounds.origin(), GetDeviceScaleFactor())),
206 dip_bounds.size(), GetDeviceScaleFactor())));
211 ScaleSize(size_in_pixels, 1.0f / GetDeviceScaleFactor()));
215 return ToFlooredSize(ScaleSize(dip_size, GetDeviceScaleFactor()));
220 GetDeviceScaleFactor()
[all...]
/external/chromium_org/ui/views/widget/desktop_aura/
H A Ddesktop_screen_x11.cc38 float GetDeviceScaleFactor(int screen_pixels, int screen_mm) { function in namespace:__anon16366
60 float device_scale_factor = GetDeviceScaleFactor(
374 device_scale_factor = GetDeviceScaleFactor(crtc->width,
/external/chromium_org/content/renderer/browser_plugin/
H A Dbrowser_plugin.cc54 last_device_scale_factor_(GetDeviceScaleFactor()),
320 GetDeviceScaleFactor());
427 GetDeviceScaleFactor() != params.scale_factor) {
485 float BrowserPlugin::GetDeviceScaleFactor() const { function in class:content::BrowserPlugin
703 params->scale_factor = GetDeviceScaleFactor();

Completed in 410 milliseconds