Home
last modified time | relevance | path

Searched refs:device_scale (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/ui/views/
Ddrag_utils.cc26 float device_scale = 1.0f; in GetDeviceScaleForNativeView() local
35 device_scale = display.device_scale_factor(); in GetDeviceScaleForNativeView()
38 return device_scale; in GetDeviceScaleForNativeView()
68 float device_scale = GetDeviceScaleForNativeView(widget); in GetCanvasForDragImage() local
69 return new gfx::Canvas(canvas_size, device_scale, false); in GetCanvasForDragImage()
/external/chromium_org/ppapi/shared_impl/
Dppb_view_shared.cc21 device_scale = 1.0f; in ViewData()
39 device_scale == other.device_scale && in Equals()
88 return data_.device_scale; in GetDeviceScale()
Dppb_view_shared.h28 float device_scale; member
/external/chromium_org/ash/drag_drop/
Ddrag_image_view.cc115 float device_scale = 1; in OnPaint() local
117 device_scale = ui::GetDeviceScaleFactor( in OnPaint()
123 gfx::ScaleSize(widget_size_, device_scale)); in OnPaint()
124 gfx::ImageSkiaRep image_rep = GetImage().GetRepresentation(device_scale); in OnPaint()
130 gfx::ImageSkia image_skia(gfx::ImageSkiaRep(scaled, device_scale)); in OnPaint()
/external/chromium_org/cc/layers/
Dpicture_layer_impl_unittest.cc642 float device_scale = 1.7f; in TEST_F() local
649 device_scale, in TEST_F()
664 device_scale, in TEST_F()
675 device_scale, in TEST_F()
685 device_scale, in TEST_F()
795 float device_scale = 1.7f; in TEST_F() local
798 SetContentsScaleOnBothLayers(1.f, device_scale, page_scale, false); in TEST_F()
807 SetContentsScaleOnBothLayers(1.5f, device_scale, page_scale, false); in TEST_F()
817 SetContentsScaleOnBothLayers(1.2f, device_scale, page_scale, false); in TEST_F()
834 SetContentsScaleOnBothLayers(0.5f, device_scale, page_scale, false); in TEST_F()
[all …]
/external/chromium_org/remoting/webapp/
Dclient_plugin_async.js525 function(width, height, device_scale) { argument
527 var dpi = Math.floor(device_scale * 96);
530 data: { width: Math.floor(width * device_scale),
531 height: Math.floor(height * device_scale),
Dclient_plugin.js170 function(width, height, device_scale) {}; argument
/external/chromium_org/content/renderer/gpu/
Drender_widget_compositor.h88 virtual void setDeviceScaleFactor(float device_scale);
Drender_widget_compositor.cc441 void RenderWidgetCompositor::setDeviceScaleFactor(float device_scale) { in setDeviceScaleFactor() argument
442 layer_tree_host_->SetDeviceScaleFactor(device_scale); in setDeviceScaleFactor()
/external/chromium_org/ppapi/proxy/
Dppp_instance_proxy_unittest.cc164 data.device_scale = 1.0f; in TEST_F()
Dppapi_messages.h242 IPC_STRUCT_TRAITS_MEMBER(device_scale)
/external/chromium_org/ui/native_theme/
Dnative_theme_base.cc937 float device_scale = static_cast<float>(SkScalarAbs(m.getScaleX())); in DrawImageInt() local
939 sk_canvas, device_scale)); in DrawImageInt()
951 float device_scale = static_cast<float>(SkScalarAbs(m.getScaleX())); in DrawTiledImage() local
953 sk_canvas, device_scale)); in DrawTiledImage()
/external/chromium_org/content/renderer/pepper/
Dpepper_plugin_instance_impl.cc1104 view_data_.device_scale = container_->deviceScaleFactor(); in ViewChanged()