/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/desktop_background/ |
desktop_background_view.cc | 58 float ui_scale = info.GetEffectiveUIScale(); variable 60 pixel_size.Scale(1.0f / ui_scale); 66 transform.Scale(ui_scale, ui_scale);
|
/external/chromium_org/ash/display/ |
display_manager.h | 160 void SetDisplayUIScale(int64 display_id, float ui_scale); 169 float ui_scale,
|
display_info.cc | 55 float ui_scale = 1.0f; local 60 ui_scale = scale_in_double; 119 display_info.set_configured_ui_scale(ui_scale);
|
display_manager.cc | 399 float ui_scale) { 410 if (info.configured_ui_scale() == ui_scale) 413 ScaleComparator comparator(ui_scale); 418 info.set_configured_ui_scale(ui_scale); 457 float ui_scale, 467 if (0.5f <= ui_scale && ui_scale <= 2.0f) 468 display_info_[display_id].set_configured_ui_scale(ui_scale); [all...] |
root_window_transformers.cc | 114 float ui_scale) { 121 float inverted_scale = 1.0f / ui_scale;
|
/external/chromium_org/chrome/browser/chromeos/display/ |
display_preferences.cc | 124 float ui_scale = 1.0f; local 133 ui_scale = static_cast<float>(ui_scale_value) / 1000.0f; 145 ui_scale,
|
display_preferences_unittest.cc | 227 int ui_scale = 0; local 230 EXPECT_TRUE(property->GetInteger("ui-scale", &ui_scale)); 232 EXPECT_EQ(1250, ui_scale); 251 EXPECT_TRUE(property->GetInteger("ui-scale", &ui_scale)); 253 // ui_scale works only on 2x scale factor/1st display. 254 EXPECT_EQ(1000, ui_scale);
|
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
display_options_handler.cc | 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);
|