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 22 float GetDeviceScaleFactor(const Layer* layer) {
29 gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer)));
34 return gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer));
40 gfx::ScaleSize(size_in_pixel, 1.0f / GetDeviceScaleFactor(layer)));
45 float scale = 1.0f / GetDeviceScaleFactor(layer);
52 gfx::ScalePoint(point_in_dip, GetDeviceScaleFactor(layer)));
58 gfx::ScaleSize(size_in_dip, GetDeviceScaleFactor(layer)));
63 float scale = GetDeviceScaleFactor(layer);
layer.cc 850 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 105 ui::ScaleFactor WebUIImpl::GetDeviceScaleFactor() const {
  /external/chromium_org/ui/base/win/
dpi.cc 104 float GetDeviceScaleFactor() {
111 gfx::ScalePoint(pixel_point, 1.0f / GetDeviceScaleFactor()));
116 gfx::ScalePoint(dip_point, GetDeviceScaleFactor()));
122 gfx::ScaleRect(pixel_bounds, 1.0f / GetDeviceScaleFactor()));
128 gfx::ScaleRect(dip_bounds, GetDeviceScaleFactor()));
133 gfx::ScaleSize(size_in_pixels, 1.0f / GetDeviceScaleFactor()));
137 return gfx::ToFlooredSize(gfx::ScaleSize(dip_size, GetDeviceScaleFactor()));
142 GetDeviceScaleFactor() + 0.5);
  /external/chromium_org/content/renderer/browser_plugin/
browser_plugin.cc 424 GetDeviceScaleFactor());
526 GetDeviceScaleFactor() != params.scale_factor) {
772 float BrowserPlugin::GetDeviceScaleFactor() const {
    [all...]
  /external/chromium_org/ui/aura/
root_window.cc 548 float scale = ui::GetDeviceScaleFactor(layer());
    [all...]

Completed in 682 milliseconds