HomeSort by relevance Sort by last modified time
    Searched refs:GetDeviceScaleFactor (Results 1 - 25 of 30) sorted by null

1 2

  /external/chromium_org/ui/compositor/
dip_util.cc 27 float GetDeviceScaleFactor(const Layer* layer) {
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);
layer_animation_delegate.h 37 virtual float GetDeviceScaleFactor() const = 0;
dip_util.h 21 COMPOSITOR_EXPORT float GetDeviceScaleFactor(const Layer* layer);
layer.h 393 virtual float GetDeviceScaleFactor() const OVERRIDE;
  /external/chromium_org/ui/gfx/win/
dpi.cc 40 // GetDeviceScaleFactor function here because it fires a DCHECK if the
181 float GetDeviceScaleFactor() {
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);
dpi.h 41 GFX_EXPORT float GetDeviceScaleFactor();
  /external/chromium_org/ui/gfx/
canvas_paint_win.cc 59 gfx::win::GetDeviceScaleFactor(),
68 -ps_.rcPaint.left / gfx::win::GetDeviceScaleFactor(),
69 -ps_.rcPaint.top / gfx::win::GetDeviceScaleFactor());
screen_win.cc 32 display.SetScaleAndBounds(gfx::win::GetDeviceScaleFactor(), bounds);
  /external/chromium_org/ash/host/
transformer_helper.cc 90 float scale = ui::GetDeviceScaleFactor(
99 float scale = ui::GetDeviceScaleFactor(
  /external/chromium_org/chrome/browser/
icon_loader_win.cc 65 *bitmap, gfx::win::GetDeviceScaleFactor()));
  /external/chromium_org/chrome/browser/ui/views/apps/
app_window_desktop_window_tree_host_win.cc 78 insets = insets.Scale(gfx::win::GetDeviceScaleFactor());
  /external/chromium_org/chrome/browser/ui/views/frame/
minimize_button_metrics_win.cc 35 return minimize_button_corner.x / gfx::win::GetDeviceScaleFactor();
  /external/chromium_org/ui/compositor/test/
test_layer_animation_delegate.cc 90 float TestLayerAnimationDelegate::GetDeviceScaleFactor() const {
test_layer_animation_delegate.h 38 virtual float GetDeviceScaleFactor() const OVERRIDE;
  /external/chromium_org/ui/views/controls/menu/
menu_separator_win.cc 49 float device_scale = gfx::win::GetDeviceScaleFactor();
  /external/chromium_org/content/public/browser/
web_ui.h 57 virtual float GetDeviceScaleFactor() const = 0;
  /external/chromium_org/ui/views/widget/desktop_aura/
desktop_screen_x11.cc 37 float GetDeviceScaleFactor(int screen_pixels, int screen_mm) {
59 float device_scale_factor = GetDeviceScaleFactor(
311 device_scale_factor = GetDeviceScaleFactor(crtc->width,
  /external/chromium_org/content/browser/webui/
web_ui_impl.h 37 virtual float GetDeviceScaleFactor() const OVERRIDE;
web_ui_impl.cc 101 float WebUIImpl::GetDeviceScaleFactor() const {
  /external/chromium_org/ui/base/
layout.cc 88 return gfx::win::GetDeviceScaleFactor();
  /external/chromium_org/chrome/browser/ui/webui/chromeos/login/
network_dropdown.cc 93 web_ui_->GetDeviceScaleFactor()).sk_bitmap();
192 web_ui_->GetDeviceScaleFactor()).sk_bitmap();
  /external/chromium_org/ash/drag_drop/
drag_image_view.cc 115 device_scale = ui::GetDeviceScaleFactor(
  /external/chromium_org/content/renderer/browser_plugin/
browser_plugin.cc 67 last_device_scale_factor_(GetDeviceScaleFactor()),
272 float BrowserPlugin::GetDeviceScaleFactor() const {
279 if (last_device_scale_factor_ == GetDeviceScaleFactor())
465 params->scale_factor = GetDeviceScaleFactor();
browser_plugin.h 163 float GetDeviceScaleFactor() const;
  /external/chromium_org/ui/aura/
window_tree_host.cc 90 float scale = ui::GetDeviceScaleFactor(window()->layer());

Completed in 541 milliseconds

1 2