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

1 2

  /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_animation_delegate.h 35 virtual float GetDeviceScaleFactor() const = 0;
dip_util.h 21 COMPOSITOR_EXPORT float GetDeviceScaleFactor(const Layer* layer);
layer.h 390 virtual float GetDeviceScaleFactor() const OVERRIDE;
  /external/chromium_org/ui/gfx/win/
dpi.cc 123 float GetDeviceScaleFactor() {
130 GetDeviceScaleFactor() > GetUnforcedDeviceScaleFactor() ?
131 1.0f / GetDeviceScaleFactor() :
138 return ToFlooredPoint(ScalePoint(dip_point, GetDeviceScaleFactor()));
144 ScaleRect(pixel_bounds, 1.0f / GetDeviceScaleFactor()));
150 ScaleRect(dip_bounds, GetDeviceScaleFactor()));
155 ScaleSize(size_in_pixels, 1.0f / GetDeviceScaleFactor()));
159 return ToFlooredSize(ScaleSize(dip_size, GetDeviceScaleFactor()));
164 GetDeviceScaleFactor() + 0.5);
dpi.h 44 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/ui/aura/
window_tree_host_delegate.h 54 virtual float GetDeviceScaleFactor() = 0;
root_window.h 310 virtual float GetDeviceScaleFactor() OVERRIDE;
  /external/chromium_org/ui/compositor/test/
test_layer_animation_delegate.h 38 virtual float GetDeviceScaleFactor() const OVERRIDE;
test_layer_animation_delegate.cc 90 float TestLayerAnimationDelegate::GetDeviceScaleFactor() const {
  /external/chromium_org/chrome/browser/ui/views/frame/
minimize_button_metrics_win.cc 45 return minimize_button_corner.x / gfx::win::GetDeviceScaleFactor();
  /external/chromium_org/ui/base/resource/
resource_bundle_win.cc 45 float scale = gfx::win::GetDeviceScaleFactor();
  /external/chromium_org/content/public/browser/
web_ui.h 58 virtual ui::ScaleFactor GetDeviceScaleFactor() const = 0;
  /external/chromium_org/ui/views/widget/desktop_aura/
desktop_screen_x11.cc 35 float GetDeviceScaleFactor(int screen_pixels, int screen_mm) {
58 float device_scale_factor = GetDeviceScaleFactor(width, mm_width);
351 device_scale_factor = GetDeviceScaleFactor(crtc->width,
  /external/chromium_org/content/browser/webui/
web_ui_impl.h 35 virtual ui::ScaleFactor GetDeviceScaleFactor() const OVERRIDE;
web_ui_impl.cc 105 ui::ScaleFactor WebUIImpl::GetDeviceScaleFactor() const {
  /external/chromium_org/chrome/browser/ui/webui/chromeos/login/
network_dropdown.cc 94 web_ui_->GetDeviceScaleFactor())).sk_bitmap();
196 ui::GetImageScale(web_ui_->GetDeviceScaleFactor())).sk_bitmap();
  /external/chromium_org/content/browser/renderer_host/
backing_store_win.cc 95 gfx::win::GetDeviceScaleFactor()));
177 float scale = gfx::win::GetDeviceScaleFactor();
  /external/chromium_org/ash/drag_drop/
drag_image_view.cc 117 device_scale = ui::GetDeviceScaleFactor(
  /external/chromium_org/content/renderer/browser_plugin/
browser_plugin.cc 444 GetDeviceScaleFactor());
573 GetDeviceScaleFactor() != params.scale_factor) {
805 float BrowserPlugin::GetDeviceScaleFactor() const {
    [all...]
browser_plugin.h 242 virtual float GetDeviceScaleFactor() const;
  /external/chromium_org/ash/display/
mouse_cursor_event_filter.cc 80 scale_when_drag_started_ = ui::GetDeviceScaleFactor(target->layer());
  /external/chromium_org/chrome/browser/ui/views/tabs/
dragged_tab_view.cc 84 double scale = gfx::win::GetDeviceScaleFactor();

Completed in 192 milliseconds

1 2