Home
last modified time | relevance | path

Searched refs:ui_scale (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/ui/aura/test/
Dtest_screen.cc55 void TestScreen::SetUIScale(float ui_scale) { in SetUIScale() argument
56 ui_scale_ = ui_scale; in SetUIScale()
59 gfx::ScaleRect(bounds_in_pixel, 1.0f / ui_scale)); in SetUIScale()
89 gfx::Transform ui_scale; in GetUIScaleTransform() local
90 ui_scale.Scale(1.0f / ui_scale_, 1.0f / ui_scale_); in GetUIScaleTransform()
91 return ui_scale; in GetUIScaleTransform()
Dtest_screen.h37 void SetUIScale(float ui_scale);
/external/chromium_org/ash/desktop_background/
Ddesktop_background_view.cc57 float ui_scale = info.GetEffectiveUIScale(); in Layout() local
59 pixel_size.Scale(1.0f / ui_scale); in Layout()
65 transform.Scale(ui_scale, ui_scale); in Layout()
/external/chromium_org/ash/display/
Ddisplay_info.cc72 float ui_scale = 1.0f; in CreateFromSpecWithID() local
77 ui_scale = scale_in_double; in CreateFromSpecWithID()
160 display_info.set_configured_ui_scale(ui_scale); in CreateFromSpecWithID()
Ddisplay_manager.cc422 float ui_scale) { in SetDisplayUIScale() argument
433 if (info.configured_ui_scale() == ui_scale) in SetDisplayUIScale()
436 ScaleComparator comparator(ui_scale); in SetDisplayUIScale()
441 info.set_configured_ui_scale(ui_scale); in SetDisplayUIScale()
474 float ui_scale, in RegisterDisplayProperty() argument
484 if (0.5f <= ui_scale && ui_scale <= 2.0f) in RegisterDisplayProperty()
485 display_info_[display_id].set_configured_ui_scale(ui_scale); in RegisterDisplayProperty()
Ddisplay_manager.h165 void SetDisplayUIScale(int64 display_id, float ui_scale);
174 float ui_scale,
Droot_window_transformers.cc113 float ui_scale) { in CreateInsetsAndScaleTransform() argument
120 float inverted_scale = 1.0f / ui_scale; in CreateInsetsAndScaleTransform()
/external/chromium_org/chrome/browser/chromeos/display/
Ddisplay_preferences.cc153 float ui_scale = 1.0f; in LoadDisplayProperties() local
162 ui_scale = static_cast<float>(ui_scale_value) / 1000.0f; in LoadDisplayProperties()
179 ui_scale, in LoadDisplayProperties()
Ddisplay_preferences_unittest.cc253 int ui_scale = 0; in TEST_F() local
256 EXPECT_TRUE(property->GetInteger("ui-scale", &ui_scale)); in TEST_F()
258 EXPECT_EQ(1250, ui_scale); in TEST_F()
281 EXPECT_TRUE(property->GetInteger("ui-scale", &ui_scale)); in TEST_F()
284 EXPECT_EQ(1000, ui_scale); in TEST_F()
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
Ddisplay_options_handler.cc369 double ui_scale = 0.0f; in HandleSetUIScale() local
370 if (!args->GetDouble(1, &ui_scale) || ui_scale == 0.0f) { in HandleSetUIScale()
375 GetDisplayManager()->SetDisplayUIScale(display_id, ui_scale); in HandleSetUIScale()