Searched defs:GetDeviceScaleFactor (Results 1 - 7 of 7) sorted by relevance
/external/chromium_org/ui/compositor/ |
H A D | dip_util.cc | 27 float GetDeviceScaleFactor(const Layer* layer) { function in namespace:ui 34 gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer))); 39 return gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer)); 45 gfx::ScaleSize(size_in_pixel, 1.0f / GetDeviceScaleFactor(layer))); 50 float scale = 1.0f / GetDeviceScaleFactor(layer); 57 gfx::ScalePoint(point_in_dip, GetDeviceScaleFactor(layer))); 63 gfx::ScaleSize(size_in_dip, GetDeviceScaleFactor(layer))); 68 float scale = GetDeviceScaleFactor(layer); 102 float scale_factor = GetDeviceScaleFactor(layer_to_snap);
|
H A D | layer.cc | 913 float Layer::GetDeviceScaleFactor() const { function in class:ui::Layer
|
/external/chromium_org/ui/compositor/test/ |
H A D | test_layer_animation_delegate.cc | 90 float TestLayerAnimationDelegate::GetDeviceScaleFactor() const { function in class:ui::TestLayerAnimationDelegate
|
/external/chromium_org/content/browser/webui/ |
H A D | web_ui_impl.cc | 101 float WebUIImpl::GetDeviceScaleFactor() const { function in class:content::WebUIImpl
|
/external/chromium_org/ui/gfx/win/ |
H A D | dpi.cc | 40 // GetDeviceScaleFactor function here because it fires a DCHECK if the 181 float GetDeviceScaleFactor() { function in namespace:gfx::win 188 1.0f / GetDeviceScaleFactor())); 192 return ToFlooredPoint(ScalePoint(dip_point, GetDeviceScaleFactor())); 214 ScaleSize(size_in_pixels, 1.0f / GetDeviceScaleFactor())); 219 return ToCeiledSize(ScaleSize(dip_size, GetDeviceScaleFactor())); 224 GetDeviceScaleFactor() + 0.5);
|
/external/chromium_org/ui/views/widget/desktop_aura/ |
H A D | desktop_screen_x11.cc | 37 float GetDeviceScaleFactor(int screen_pixels, int screen_mm) { function in namespace:__anon17143 59 float device_scale_factor = GetDeviceScaleFactor( 311 device_scale_factor = GetDeviceScaleFactor(crtc->width,
|
/external/chromium_org/content/renderer/browser_plugin/ |
H A D | browser_plugin.cc | 67 last_device_scale_factor_(GetDeviceScaleFactor()), 272 float BrowserPlugin::GetDeviceScaleFactor() const { function in class:content::BrowserPlugin 279 if (last_device_scale_factor_ == GetDeviceScaleFactor()) 465 params->scale_factor = GetDeviceScaleFactor();
|
Completed in 2841 milliseconds