/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/ |
H A D | font_cache_key.h | 58 device_scale_factor_(0), in FontCacheKey() 69 device_scale_factor_(device_scale_factor), in FontCacheKey() 75 device_scale_factor_(std::numeric_limits<float>::max()) {} in FontCacheKey() 79 device_scale_factor_ == std::numeric_limits<float>::max(); in IsHashTableDeletedValue() 84 unsigned device_scale_factor_hash = device_scale_factor_ * 1000; in GetHash() 102 device_scale_factor_ == other.device_scale_factor_ && 124 float device_scale_factor_; member
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/fonts/ |
H A D | font_cache_key.h | 58 device_scale_factor_(0), in FontCacheKey() 69 device_scale_factor_(device_scale_factor), in FontCacheKey() 75 device_scale_factor_(std::numeric_limits<float>::max()) {} in FontCacheKey() 79 device_scale_factor_ == std::numeric_limits<float>::max(); in IsHashTableDeletedValue() 84 unsigned device_scale_factor_hash = device_scale_factor_ * 1000; in GetHash() 102 device_scale_factor_ == other.device_scale_factor_ && 124 float device_scale_factor_; member
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/compositor/ |
H A D | paint_context.cc | 16 device_scale_factor_(device_scale_factor), in PaintContext() 19 is_pixel_canvas ? device_scale_factor_ : 1.f)), in PaintContext() 30 device_scale_factor_(other.device_scale_factor_), in PaintContext() 43 device_scale_factor_(other.device_scale_factor_), in PaintContext()
|
H A D | paint_recorder.cc | 33 canvas_(&record_canvas_, context.device_scale_factor_), in PaintRecorder() 60 context.is_pixel_canvas() ? context.device_scale_factor_ : 1.f), in PaintRecorder() 61 context.device_scale_factor_, in PaintRecorder() 62 context.device_scale_factor_, in PaintRecorder()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/compositor/ |
H A D | paint_context.cc | 16 device_scale_factor_(device_scale_factor), in PaintContext() 19 is_pixel_canvas ? device_scale_factor_ : 1.f)), in PaintContext() 30 device_scale_factor_(other.device_scale_factor_), in PaintContext() 43 device_scale_factor_(other.device_scale_factor_), in PaintContext()
|
H A D | paint_recorder.cc | 33 canvas_(&record_canvas_, context.device_scale_factor_), in PaintRecorder() 60 context.is_pixel_canvas() ? context.device_scale_factor_ : 1.f), in PaintRecorder() 61 context.device_scale_factor_, in PaintRecorder() 62 context.device_scale_factor_, in PaintRecorder()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/renderer/ |
H A D | child_frame_compositing_helper.cc | 39 device_scale_factor_ = device_scale_factor; in ChildFrameGone() 102 int paint_width = sad_bitmap->width() * device_scale_factor_; in PaintContentsToDisplayList() 103 int paint_height = sad_bitmap->height() * device_scale_factor_; in PaintContentsToDisplayList() 108 if (device_scale_factor_ != 1.f) { in PaintContentsToDisplayList() 111 display_list->push<cc::ScaleOp>(device_scale_factor_, in PaintContentsToDisplayList() 112 device_scale_factor_); in PaintContentsToDisplayList() 124 if (device_scale_factor_ != 1.f) in PaintContentsToDisplayList()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/display/ |
H A D | display.cc | 227 device_scale_factor_(GetForcedDeviceScaleFactor()) { in Display() 247 SetScaleAndBounds(device_scale_factor_, bounds); in Display() 314 device_scale_factor_ = device_scale_factor; in SetScaleAndBounds() 316 device_scale_factor_ = std::max(0.5f, device_scale_factor_); in SetScaleAndBounds() 319 f.Scale(1.f / device_scale_factor_); in SetScaleAndBounds() 328 origin = gfx::ScaleToFlooredPoint(origin, device_scale_factor_); in SetSize() 330 SetScaleAndBounds(device_scale_factor_, gfx::Rect(origin, size_in_pixel)); in SetSize() 341 return gfx::ScaleToFlooredSize(size(), device_scale_factor_); in GetSizeInPixel() 349 work_area_.ToString().c_str(), device_scale_factor_, in ToString() 384 device_scale_factor_ == rhs.device_scale_factor_ && in operator ==()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/display/ |
H A D | display.cc | 228 device_scale_factor_(GetForcedDeviceScaleFactor()) { in Display() 248 SetScaleAndBounds(device_scale_factor_, bounds); in Display() 315 device_scale_factor_ = device_scale_factor; in SetScaleAndBounds() 317 device_scale_factor_ = std::max(0.5f, device_scale_factor_); in SetScaleAndBounds() 320 f.Scale(1.f / device_scale_factor_); in SetScaleAndBounds() 329 origin = gfx::ScaleToFlooredPoint(origin, device_scale_factor_); in SetSize() 331 SetScaleAndBounds(device_scale_factor_, gfx::Rect(origin, size_in_pixel)); in SetSize() 342 return gfx::ScaleToFlooredSize(size(), device_scale_factor_); in GetSizeInPixel() 350 work_area_.ToString().c_str(), device_scale_factor_, in ToString() 385 device_scale_factor_ == rhs.device_scale_factor_ && in operator ==()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/renderer/ |
H A D | child_frame_compositing_helper.cc | 39 device_scale_factor_ = device_scale_factor; in ChildFrameGone() 103 int paint_width = sad_bitmap->width() * device_scale_factor_; in PaintContentsToDisplayList() 104 int paint_height = sad_bitmap->height() * device_scale_factor_; in PaintContentsToDisplayList() 109 if (device_scale_factor_ != 1.f) { in PaintContentsToDisplayList() 112 display_list->push<cc::ScaleOp>(device_scale_factor_, in PaintContentsToDisplayList() 113 device_scale_factor_); in PaintContentsToDisplayList() 125 if (device_scale_factor_ != 1.f) in PaintContentsToDisplayList()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/viz/common/surfaces/ |
H A D | surface_info.h | 31 device_scale_factor_(device_scale_factor), in SurfaceInfo() 35 return id_.is_valid() && device_scale_factor_ != 0 && in is_valid() 41 device_scale_factor_ == info.device_scale_factor() && 48 float device_scale_factor() const { return device_scale_factor_; } in device_scale_factor() 58 float device_scale_factor_ = 1.f;
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/viz/common/surfaces/ |
H A D | surface_info.h | 31 device_scale_factor_(device_scale_factor), in SurfaceInfo() 35 return id_.is_valid() && device_scale_factor_ != 0 && in is_valid() 41 device_scale_factor_ == info.device_scale_factor() && 48 float device_scale_factor() const { return device_scale_factor_; } in device_scale_factor() 58 float device_scale_factor_ = 1.f;
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/common/cursors/ |
H A D | webcursor_ozone.cc | 28 device_scale_factor_ == display.device_scale_factor() && in SetDisplayInfo() 31 device_scale_factor_ = display.device_scale_factor(); in SetDisplayInfo() 50 {device_scale_factor_ / cursor_.image_scale_factor(), in GetCursorScaleFactor() 74 device_scale_factor_ = other.device_scale_factor_; in CopyPlatformData()
|
H A D | webcursor_aura.cc | 45 if (device_scale_factor_ == display.device_scale_factor()) in SetDisplayInfo() 48 device_scale_factor_ = display.device_scale_factor(); in SetDisplayInfo() 56 return device_scale_factor_ / cursor_.image_scale_factor(); in GetCursorScaleFactor()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/common/cursors/ |
H A D | webcursor_ozone.cc | 31 device_scale_factor_ == display.device_scale_factor() && in SetDisplayInfo() 34 device_scale_factor_ = display.device_scale_factor(); in SetDisplayInfo() 53 {device_scale_factor_ / cursor_.image_scale_factor(), in GetCursorScaleFactor() 74 device_scale_factor_ = other.device_scale_factor_; in CopyPlatformData()
|
H A D | webcursor_aura.cc | 45 if (device_scale_factor_ == display.device_scale_factor()) in SetDisplayInfo() 48 device_scale_factor_ = display.device_scale_factor(); in SetDisplayInfo() 56 return device_scale_factor_ / cursor_.image_scale_factor(); in GetCursorScaleFactor()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/display/manager/ |
H A D | managed_display_info.cc | 96 device_scale_factor_(device_scale_factor) {} in ManagedDisplayMode() 108 size_dip.Scale(1.0f / device_scale_factor_); in GetSizeInDIP() 118 std::abs(device_scale_factor_ - other.device_scale_factor_) < kEpsilon; in IsEquivalent() 126 device_scale_factor_); in ToString() 273 device_scale_factor_(1.0f), in ManagedDisplayInfo() 295 device_scale_factor_(1.0f), in ManagedDisplayInfo() 346 device_scale_factor_ = native_info.device_scale_factor_; in Copy() 384 if (Display::IsInternalDisplayId(id_) && device_scale_factor_ == 1.25f) in GetDensityRatio() 386 return device_scale_factor_; in GetDensityRatio() 390 return device_scale_factor_ * zoom_factor_; in GetEffectiveDeviceScaleFactor() [all …]
|
H A D | managed_display_info.h | 57 float device_scale_factor() const { return device_scale_factor_; } in device_scale_factor() 66 float device_scale_factor_ = 1.0f; // The device scale factor of the mode. variable 157 float device_scale_factor() const { return device_scale_factor_; } in device_scale_factor() 158 void set_device_scale_factor(float scale) { device_scale_factor_ = scale; } in set_device_scale_factor() 324 float device_scale_factor_; variable
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/display/manager/ |
H A D | managed_display_info.cc | 115 device_scale_factor_(device_scale_factor) {} in ManagedDisplayMode() 129 IsWithinEpsilon(device_scale_factor_, other.device_scale_factor_); in operator ==() 134 size_dip.Scale(1.0f / device_scale_factor_); in GetSizeInDIP() 143 IsWithinEpsilon(device_scale_factor_, other.device_scale_factor_); in IsEquivalent() 151 device_scale_factor_); in ToString() 300 device_scale_factor_(1.0f), in ManagedDisplayInfo() 322 device_scale_factor_(1.0f), in ManagedDisplayInfo() 373 device_scale_factor_ = native_info.device_scale_factor_; in Copy() 411 return device_scale_factor_ * zoom_factor_; in GetEffectiveDeviceScaleFactor() 445 overscan_insets_in_dip_, device_scale_factor_)); in GetOverscanInsetsInPixel() [all …]
|
H A D | managed_display_info.h | 58 float device_scale_factor() const { return device_scale_factor_; } in device_scale_factor() 67 float device_scale_factor_ = 1.0f; // The device scale factor of the mode. variable 149 float device_scale_factor() const { return device_scale_factor_; } in device_scale_factor() 150 void set_device_scale_factor(float scale) { device_scale_factor_ = scale; } in set_device_scale_factor() 312 float device_scale_factor_; variable
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/gfx/ |
H A D | font_render_params_skia.cc | 34 float device_scale_factor_ = 1.0f; variable 48 return device_scale_factor_; in GetFontRenderParamsDeviceScaleFactor() 52 device_scale_factor_ = device_scale_factor; in SetFontRenderParamsDeviceScaleFactor()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/gfx/ |
H A D | font_render_params_skia.cc | 34 float device_scale_factor_ = 1.0f; variable 48 return device_scale_factor_; in GetFontRenderParamsDeviceScaleFactor() 52 device_scale_factor_ = device_scale_factor; in SetFontRenderParamsDeviceScaleFactor()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/android/contextualsearch/ |
H A D | unhandled_tap_web_contents_observer.h | 32 void set_device_scale_factor(float factor) { device_scale_factor_ = factor; } in set_device_scale_factor() 34 float device_scale_factor() const { return device_scale_factor_; } in device_scale_factor() 49 float device_scale_factor_; variable
|
H A D | unhandled_tap_notifier_impl.cc | 17 : device_scale_factor_(device_scale_factor), in UnhandledTapNotifierImpl() 28 x_px /= device_scale_factor_; in ShowUnhandledTapUIIfNeeded() 29 y_px /= device_scale_factor_; in ShowUnhandledTapUIIfNeeded()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/aura/ |
H A D | window_tree_host.cc | 104 device_scale_factor_ = display.device_scale_factor(); in InitHost() 133 transform.Scale(device_scale_factor_, device_scale_factor_); in GetRootTransform() 196 compositor_->SetScaleAndSize(device_scale_factor_, new_bounds.size(), in UpdateCompositorScaleAndSize() 366 device_scale_factor_ = display.device_scale_factor(); in WindowTreeHost() 378 device_scale_factor_ = device_scale_factor; in IntializeDeviceScaleFactor() 428 compositor_->SetScaleAndSize(device_scale_factor_, GetBoundsInPixels().size(), in InitCompositor() 462 device_scale_factor_ = display.device_scale_factor(); in OnHostResizedInPixels()
|