HomeSort by relevance Sort by last modified time
    Searched defs:GetDeviceScaleFactor (Results 1 - 7 of 7) sorted by null

  /external/chromium_org/ui/compositor/
dip_util.cc 21 float GetDeviceScaleFactor(const Layer* layer) {
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);
layer.cc 863 float Layer::GetDeviceScaleFactor() const {
  /external/chromium_org/ui/compositor/test/
test_layer_animation_delegate.cc 90 float TestLayerAnimationDelegate::GetDeviceScaleFactor() const {
  /external/chromium_org/content/browser/webui/
web_ui_impl.cc 101 float WebUIImpl::GetDeviceScaleFactor() const {
  /external/chromium_org/ui/gfx/win/
dpi.cc 40 // GetDeviceScaleFactor function here because it fires a DCHECK if the
175 float GetDeviceScaleFactor() {
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() + 0.5)
    [all...]
  /external/chromium_org/ui/views/widget/desktop_aura/
desktop_screen_x11.cc 38 float GetDeviceScaleFactor(int screen_pixels, int screen_mm) {
60 float device_scale_factor = GetDeviceScaleFactor(
374 device_scale_factor = GetDeviceScaleFactor(crtc->width,
  /external/chromium_org/content/renderer/browser_plugin/
browser_plugin.cc 54 last_device_scale_factor_(GetDeviceScaleFactor()),
320 GetDeviceScaleFactor());
427 GetDeviceScaleFactor() != params.scale_factor) {
485 float BrowserPlugin::GetDeviceScaleFactor() const {
703 params->scale_factor = GetDeviceScaleFactor();
    [all...]

Completed in 305 milliseconds