/external/chromium_org/ui/views/ |
D | drag_utils.cc | 26 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/ |
D | ppb_view_shared.cc | 21 device_scale = 1.0f; in ViewData() 39 device_scale == other.device_scale && in Equals() 88 return data_.device_scale; in GetDeviceScale()
|
D | ppb_view_shared.h | 28 float device_scale; member
|
/external/chromium_org/ash/drag_drop/ |
D | drag_image_view.cc | 115 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/ |
D | picture_layer_impl_unittest.cc | 642 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/ |
D | client_plugin_async.js | 525 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),
|
D | client_plugin.js | 170 function(width, height, device_scale) {}; argument
|
/external/chromium_org/content/renderer/gpu/ |
D | render_widget_compositor.h | 88 virtual void setDeviceScaleFactor(float device_scale);
|
D | render_widget_compositor.cc | 441 void RenderWidgetCompositor::setDeviceScaleFactor(float device_scale) { in setDeviceScaleFactor() argument 442 layer_tree_host_->SetDeviceScaleFactor(device_scale); in setDeviceScaleFactor()
|
/external/chromium_org/ppapi/proxy/ |
D | ppp_instance_proxy_unittest.cc | 164 data.device_scale = 1.0f; in TEST_F()
|
D | ppapi_messages.h | 242 IPC_STRUCT_TRAITS_MEMBER(device_scale)
|
/external/chromium_org/ui/native_theme/ |
D | native_theme_base.cc | 937 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/ |
D | pepper_plugin_instance_impl.cc | 1104 view_data_.device_scale = container_->deviceScaleFactor(); in ViewChanged()
|