/external/chromium_org/ui/views/ |
D | drag_utils.cc | 16 float device_scale = 1.0f; in GetDeviceScaleForNativeView() local 24 device_scale = display.device_scale_factor(); in GetDeviceScaleForNativeView() 26 return device_scale; in GetDeviceScaleForNativeView() 35 float device_scale = GetDeviceScaleForNativeView(widget); in GetCanvasForDragImage() local 36 return new gfx::Canvas(canvas_size, device_scale, false); in GetCanvasForDragImage()
|
/external/chromium_org/pdf/ |
D | progress_control.cc | 48 float device_scale, in CreateProgressControl() argument 56 Reconfigure(background, images, device_scale); in CreateProgressControl() 62 float device_scale) { in Reconfigure() argument 66 device_scale_ = device_scale; in Reconfigure() 80 float device_scale, in CalculateLayout() argument 94 description.set_size(ScaleInt(kProgressTextSize, device_scale)); in CalculateLayout() 106 ScaleInt(kImageTextSpacing + kLeftPadding + kRightPadding, device_scale), in CalculateLayout() 108 ScaleInt(kTopPadding + kBottomPadding, device_scale)); in CalculateLayout() 121 *image_rc = pp::Rect(ScaleInt(kLeftPadding, device_scale) + offset_x, in CalculateLayout() 122 ScaleInt(kTopPadding, device_scale) + offset_y, in CalculateLayout() [all …]
|
D | progress_control.h | 31 float device_scale, 37 float device_scale); 43 float device_scale,
|
D | number_image_generator.cc | 27 const std::vector<pp::ImageData>& number_images, float device_scale) { in Configure() argument 30 device_scale_ = device_scale; in Configure()
|
D | paint_manager.cc | 85 void PaintManager::SetSize(const pp::Size& new_size, float device_scale) { in SetSize() argument 87 GetEffectiveDeviceScale() == device_scale) in SetSize() 92 pending_device_scale_ = device_scale; in SetSize()
|
D | number_image_generator.h | 23 float device_scale);
|
D | out_of_process_instance.cc | 508 float device_scale = view.GetDeviceScale(); in DidChangeView() local 509 pp::Size view_device_size(view_rect.width() * device_scale, in DidChangeView() 510 view_rect.height() * device_scale); in DidChangeView() 512 if (view_device_size != plugin_size_ || device_scale != device_scale_) { in DidChangeView() 513 device_scale_ = device_scale; in DidChangeView()
|
D | instance.cc | 620 float device_scale = 1.0f; in DidChangeView() local 623 device_scale = view.GetDeviceScale(); in DidChangeView() 624 pp::Size view_device_size(view_rect.width() * device_scale, in DidChangeView() 625 view_rect.height() * device_scale); in DidChangeView() 626 if (view_device_size == plugin_size_ && device_scale == device_scale_) in DidChangeView() 630 device_scale_ = device_scale; in DidChangeView()
|
/external/chromium_org/ppapi/shared_impl/ |
D | ppb_view_shared.cc | 21 device_scale = 1.0f; in ViewData() 38 device_scale == other.device_scale && css_scale == other.css_scale && in Equals() 80 float PPB_View_Shared::GetDeviceScale() const { return data_.device_scale; } in GetDeviceScale()
|
D | ppb_view_shared.h | 28 float device_scale; member
|
/external/chromium_org/ui/views/controls/menu/ |
D | menu_separator_win.cc | 49 float device_scale = gfx::win::GetDeviceScaleFactor(); in OnPaint() local 51 (device_scale - static_cast<int>(device_scale) != 0); in OnPaint()
|
/external/chromium_org/ash/drag_drop/ |
D | drag_image_view.cc | 113 float device_scale = 1; in OnPaint() local 115 device_scale = ui::GetDeviceScaleFactor( in OnPaint() 121 gfx::ScaleSize(widget_size_, device_scale)); in OnPaint() 122 gfx::ImageSkiaRep image_rep = GetImage().GetRepresentation(device_scale); in OnPaint() 128 gfx::ImageSkia image_skia(gfx::ImageSkiaRep(scaled, device_scale)); in OnPaint()
|
/external/chromium_org/cc/layers/ |
D | picture_layer_impl_unittest.cc | 783 float device_scale = 1.7f; in TEST_F() local 790 device_scale, in TEST_F() 805 device_scale, in TEST_F() 816 device_scale, in TEST_F() 825 device_scale, in TEST_F() 970 float device_scale = 1.7f; in TEST_F() local 974 SetContentsScaleOnBothLayers(scale, device_scale, page_scale, 1.f, false); in TEST_F() 987 SetContentsScaleOnBothLayers(scale, device_scale, page_scale, 1.f, false); in TEST_F() 1000 SetContentsScaleOnBothLayers(1.2f, device_scale, page_scale, 1.f, false); in TEST_F() 1017 SetContentsScaleOnBothLayers(0.5f, device_scale, page_scale, 1.f, false); in TEST_F() [all …]
|
/external/chromium_org/ash/test/ |
D | test_metro_viewer_process_host.cc | 48 float device_scale) { in OnSetTargetSurface() argument 51 gfx::InitDeviceScaleFactor(device_scale); in OnSetTargetSurface()
|
D | test_metro_viewer_process_host.h | 31 float device_scale) OVERRIDE;
|
/external/chromium_org/chrome/browser/metro_viewer/ |
D | chrome_metro_viewer_process_host_aurawin.cc | 125 float device_scale) { in OnSetTargetSurface() argument 128 gfx::InitDeviceScaleFactor(device_scale); in OnSetTargetSurface()
|
D | chrome_metro_viewer_process_host_aurawin.h | 26 float device_scale) OVERRIDE;
|
/external/chromium_org/ui/native_theme/ |
D | common_theme.cc | 212 float device_scale = static_cast<float>(SkScalarAbs(m.getScaleX())); in CommonThemeCreateCanvas() local 214 gfx::Canvas::CreateCanvasWithoutScaling(sk_canvas, device_scale)); in CommonThemeCreateCanvas()
|
/external/chromium_org/remoting/webapp/ |
D | client_plugin_impl.js | 738 function(width, height, device_scale) { argument 740 var dpi = Math.floor(device_scale * 96); 743 data: { width: Math.floor(width * device_scale), 744 height: Math.floor(height * device_scale),
|
/external/chromium_org/win8/viewer/ |
D | metro_viewer_process_host.h | 156 float device_scale) = 0;
|
/external/chromium_org/content/renderer/gpu/ |
D | render_widget_compositor.h | 93 virtual void setDeviceScaleFactor(float device_scale); in NON_EXPORTED_BASE()
|
/external/chromium_org/cc/test/ |
D | test_gles2_interface.cc | 415 float device_scale) { in ResizeCHROMIUM() argument 416 test_context_->reshapeWithScaleFactor(width, height, device_scale); in ResizeCHROMIUM()
|
D | test_gles2_interface.h | 189 float device_scale) OVERRIDE;
|
/external/chromium_org/ppapi/proxy/ |
D | ppp_instance_proxy_unittest.cc | 164 data.device_scale = 1.0f; in TEST_F()
|
/external/chromium_org/mojo/examples/pepper_container_app/ |
D | plugin_instance.cc | 55 view_data.device_scale = 1.0f; in DidChangeView()
|