Searched refs:ui_scale (Results 1 – 10 of 10) sorted by relevance
/external/chromium_org/ui/aura/test/ |
D | test_screen.cc | 55 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()
|
D | test_screen.h | 37 void SetUIScale(float ui_scale);
|
/external/chromium_org/ash/desktop_background/ |
D | desktop_background_view.cc | 57 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/ |
D | display_info.cc | 72 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()
|
D | display_manager.cc | 422 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()
|
D | display_manager.h | 165 void SetDisplayUIScale(int64 display_id, float ui_scale); 174 float ui_scale,
|
D | root_window_transformers.cc | 113 float ui_scale) { in CreateInsetsAndScaleTransform() argument 120 float inverted_scale = 1.0f / ui_scale; in CreateInsetsAndScaleTransform()
|
/external/chromium_org/chrome/browser/chromeos/display/ |
D | display_preferences.cc | 153 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()
|
D | display_preferences_unittest.cc | 253 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/ |
D | display_options_handler.cc | 369 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()
|