/external/chromium_org/ui/aura/test/ |
test_screen.cc | 53 void TestScreen::SetUIScale(float ui_scale) { 54 ui_scale_ = ui_scale; 57 gfx::ScaleRect(bounds_in_pixel, 1.0f / ui_scale)); 87 gfx::Transform ui_scale; local 88 ui_scale.Scale(1.0f / ui_scale_, 1.0f / ui_scale_); 89 return ui_scale;
|
test_screen.h | 35 void SetUIScale(float ui_scale);
|
/external/chromium_org/ash/display/ |
display_info_unittest.cc | 21 EXPECT_EQ(1.0f, info.ui_scale()); 45 EXPECT_EQ(1.5f, info.ui_scale());
|
display_manager_unittest.cc | 775 EXPECT_EQ(1.0, GetDisplayInfoAt(0).ui_scale()); 777 EXPECT_EQ(1.0f, GetDisplayInfoAt(0).ui_scale()); 779 EXPECT_EQ(1.0f, GetDisplayInfoAt(0).ui_scale()); 781 EXPECT_EQ(1.0f, GetDisplayInfoAt(0).ui_scale()); 786 EXPECT_EQ(1.0f, GetDisplayInfoAt(0).ui_scale()); 788 EXPECT_EQ(1.0f, GetDisplayInfoAt(0).ui_scale()); 790 EXPECT_EQ(1.125f, GetDisplayInfoAt(0).ui_scale()); 792 EXPECT_EQ(0.8f, GetDisplayInfoAt(0).ui_scale()); 794 EXPECT_EQ(0.8f, GetDisplayInfoAt(0).ui_scale()); 796 EXPECT_EQ(0.625f, GetDisplayInfoAt(0).ui_scale()); [all...] |
root_window_transformers.cc | 112 float ui_scale) { 119 float inverted_scale = 1.0f / ui_scale; 131 info.ui_scale()); 148 root_window_ui_scale_ = info.ui_scale();
|
display_manager.h | 131 void SetDisplayUIScale(int64 display_id, float ui_scale); 140 float ui_scale,
|
display_info.h | 104 float ui_scale() const { return ui_scale_; } function in class:ash::internal::DisplayInfo
|
display_info.cc | 55 float ui_scale = 1.0f; local 60 ui_scale = scale_in_double; 105 display_info.set_ui_scale(ui_scale);
|
display_manager.cc | 178 float scale = info.ui_scale(); 297 float ui_scale) { 308 if (info.ui_scale() == ui_scale) 311 ScaleComparator comparator(ui_scale); 316 info.set_ui_scale(ui_scale); 339 float ui_scale, 349 if (0.5f <= ui_scale && ui_scale <= 2.0f) 350 display_info_[display_id].set_ui_scale(ui_scale); [all...] |
root_window_transformers_unittest.cc | 117 return Shell::GetInstance()->display_manager()->GetDisplayInfo(id).ui_scale();
|
display_controller_unittest.cc | 224 return Shell::GetInstance()->display_manager()->GetDisplayInfo(id).ui_scale(); [all...] |
/external/chromium_org/chrome/browser/chromeos/display/ |
display_preferences.cc | 129 float ui_scale = 1.0f; local 138 ui_scale = static_cast<float>(ui_scale_value) / 1000.0f; 150 ui_scale, 201 static_cast<int>(info.ui_scale() * 1000));
|
display_preferences_unittest.cc | 234 int ui_scale = 0; local 237 EXPECT_TRUE(property->GetInteger("ui-scale", &ui_scale)); 239 EXPECT_EQ(1250, ui_scale); 258 EXPECT_TRUE(property->GetInteger("ui-scale", &ui_scale)); 260 // ui_scale works only on 2x scale factor/1st display. 261 EXPECT_EQ(1000, ui_scale); 479 EXPECT_EQ(1.25f, info1.ui_scale()); 484 EXPECT_EQ(1.0f, info_primary.ui_scale());
|
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
display_options_handler.cc | 227 "selected", display_info.ui_scale() == ui_scales[i]); 322 double ui_scale = 0.0f; local 323 if (!args->GetDouble(1, &ui_scale) || ui_scale == 0.0f) { 324 LOG(ERROR) << "Can't find new ui_scale"; 328 GetDisplayManager()->SetDisplayUIScale(display_id, ui_scale);
|
/external/chromium_org/ash/system/chromeos/ |
tray_display.cc | 131 display_info.ui_scale() != 1.0f || 264 display_info.ui_scale() != 1.0f || 369 if (iter->second.ui_scale() != old_iter->second.ui_scale()) {
|
/external/chromium_org/ash/desktop_background/ |
desktop_background_view.cc | 70 float scaling = display_info.ui_scale();
|