Searched defs:ui_scale (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/ash/display/
H A Ddisplay_info_unittest.cc14 float ui_scale) {
18 mode.ui_scale = ui_scale;
12 GetModeSizeInDIP(const gfx::Size& size, float device_scale_factor, float ui_scale) argument
H A Ddisplay_info.h37 float ui_scale; // The UI scale factor of the mode. member in struct:ash::DisplayMode
H A Droot_window_transformers.cc113 float ui_scale) {
120 float inverted_scale = 1.0f / ui_scale;
111 CreateInsetsAndScaleTransform(const gfx::Insets& insets, float device_scale_factor, float ui_scale) argument
H A Ddisplay_info.cc52 ui_scale(1.0f),
63 ui_scale(1.0f),
68 size_dip.Scale(ui_scale);
79 std::abs(ui_scale - other.ui_scale) < kEpsilon &&
113 float ui_scale = 1.0f; local
118 ui_scale = scale_in_double;
195 display_info.set_configured_ui_scale(ui_scale);
H A Ddisplay_manager.cc443 float ui_scale) {
455 if (info.configured_ui_scale() == ui_scale)
458 ScaleComparator comparator(ui_scale);
463 info.set_configured_ui_scale(ui_scale);
498 SetDisplayUIScale(display_id, display_mode.ui_scale);
543 float ui_scale,
556 if (0.5f <= ui_scale && ui_scale <= 2.0f)
557 display_info_[display_id].set_configured_ui_scale(ui_scale);
585 if (info.configured_ui_scale() == display_modes[i].ui_scale)
442 SetDisplayUIScale(int64 display_id, float ui_scale) argument
540 RegisterDisplayProperty( int64 display_id, gfx::Display::Rotation rotation, float ui_scale, const gfx::Insets* overscan_insets, const gfx::Size& resolution_in_pixels, float device_scale_factor, ui::ColorCalibrationProfile color_profile) argument
[all...]
/external/chromium_org/ash/desktop_background/
H A Ddesktop_background_view.cc57 float ui_scale = info.GetEffectiveUIScale(); variable
59 pixel_size.Scale(1.0f / ui_scale);
65 transform.Scale(ui_scale, ui_scale);
/external/chromium_org/ui/aura/test/
H A Dtest_screen.cc70 void TestScreen::SetUIScale(float ui_scale) { argument
71 ui_scale_ = ui_scale;
74 gfx::ScaleRect(bounds_in_pixel, 1.0f / ui_scale));
107 gfx::Transform ui_scale; local
108 ui_scale.Scale(1.0f / ui_scale_, 1.0f / ui_scale_);
109 return ui_scale;
/external/chromium_org/chrome/browser/chromeos/display/
H A Ddisplay_preferences.cc153 float ui_scale = 1.0f; local
162 ui_scale = static_cast<float>(ui_scale_value) / 1000.0f;
184 ui_scale,
H A Ddisplay_preferences_unittest.cc264 int ui_scale = 0; local
267 EXPECT_TRUE(property->GetInteger("ui-scale", &ui_scale));
269 EXPECT_EQ(1250, ui_scale);
292 EXPECT_TRUE(property->GetInteger("ui-scale", &ui_scale));
294 // ui_scale works only on 2x scale factor/1st display.
295 EXPECT_EQ(1000, ui_scale);

Completed in 359 milliseconds