/external/chromium_org/ui/base/l10n/ |
l10n_util_win.cc | 27 double dpi_scale, 33 // Views/Aura. Call with dpi_scale=1 to keep the size in pixels. 34 font_size_scaler /= dpi_scale; 157 double dpi_scale = gfx::GetDPIScale(); local 160 dpi_scale = 1.0; 162 AdjustUIFontForDIP(dpi_scale, logfont); 165 void AdjustUIFontForDIP(float dpi_scale, LOGFONT* logfont) { 169 dpi_scale != 1) { 170 AdjustLogFont(ui_font_family, ui_font_size_scaler, dpi_scale, logfont); 180 double dpi_scale = 1 local [all...] |
l10n_util_win.h | 55 // |dpi_scale| is the ratio of the OS setting for dots per inch relative to the 59 UI_BASE_EXPORT void AdjustUIFontForDIP(float dpi_scale, LOGFONT* logfont);
|
/external/chromium_org/content/browser/android/ |
popup_touch_handle_drawable.h | 18 float dpi_scale);
|
content_view_core_impl.cc | 494 event.data.flingStart.velocityX * dpi_scale(), 495 event.data.flingStart.velocityY * dpi_scale()); 506 event.data.flingStart.velocityX * dpi_scale(), 507 event.data.flingStart.velocityY * dpi_scale()); 534 event.x * dpi_scale(), 535 event.y * dpi_scale()); 560 gesture.x * dpi_scale(), 561 gesture.y * dpi_scale()); 754 gfx::ScaleSize(GetViewportSizePix(), 1.0f / dpi_scale())); 758 return GetTopControlsLayoutHeightPix() / dpi_scale(); [all...] |
composited_touch_handle_drawable.h | 19 float dpi_scale,
|
popup_touch_handle_drawable.cc | 13 float dpi_scale) 14 : dpi_scale_(dpi_scale), drawable_(drawable) {
|
composited_touch_handle_drawable.cc | 83 float dpi_scale, 85 : dpi_scale_(dpi_scale),
|
content_view_core_impl.h | 317 float dpi_scale() const { return dpi_scale_; } function in class:content::ContentViewCoreImpl
|
/external/chromium_org/ui/gfx/win/ |
dpi.cc | 139 float dpi_scale = GetUnforcedDeviceScaleFactor(); local 140 if (dpi_scale <= 1.25) { 143 dpi_scale = 1.0; 145 return dpi_scale;
|