/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 | 37 virtual float GetDeviceScaleFactor() const = 0;
|
dip_util.h | 21 COMPOSITOR_EXPORT float GetDeviceScaleFactor(const Layer* layer);
|
layer.h | 373 virtual float GetDeviceScaleFactor() const OVERRIDE;
|
/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...] |
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 | 33 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/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/content/public/browser/ |
web_ui.h | 57 virtual float GetDeviceScaleFactor() const = 0;
|
/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(); 194 web_ui_->GetDeviceScaleFactor()).sk_bitmap();
|
/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/ash/drag_drop/ |
drag_image_view.cc | 115 device_scale = ui::GetDeviceScaleFactor(
|
/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...] |
browser_plugin.h | 205 virtual float GetDeviceScaleFactor() const;
|
/external/chromium_org/ui/aura/ |
window_tree_host.cc | 89 float scale = ui::GetDeviceScaleFactor(window()->layer());
|
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
internet_options_handler.cc | [all...] |
/external/chromium_org/ash/display/ |
mouse_cursor_event_filter.cc | 220 scale_when_drag_started_ = ui::GetDeviceScaleFactor(target->layer());
|