Lines Matching refs:display_
46 host_ = WindowTreeHost::Create(gfx::Rect(display_.GetSizeInPixel()));
53 gfx::Rect bounds_in_pixel(display_.GetSizeInPixel());
54 display_.SetScaleAndBounds(device_scale_factor, bounds_in_pixel);
59 gfx::Rect bounds_in_pixel(display_.GetSizeInPixel());
61 if (IsRotationPortrait(rotation) != IsRotationPortrait(display_.rotation())) {
65 display_.set_rotation(rotation);
66 display_.SetScaleAndBounds(display_.device_scale_factor(), new_bounds);
72 gfx::Rect bounds_in_pixel(display_.GetSizeInPixel());
75 display_.SetScaleAndBounds(display_.device_scale_factor(), new_bounds);
80 display_.UpdateWorkAreaFromInsets(insets);
85 switch (display_.rotation()) {
89 rotate.Translate(display_.bounds().height(), 0);
93 rotate.Translate(0, display_.bounds().width());
97 rotate.Translate(display_.bounds().width(),
98 display_.bounds().height());
119 display_.SetSize(gfx::ToFlooredSize(
120 gfx::ScaleSize(new_bounds.size(), display_.device_scale_factor())));
145 return std::vector<gfx::Display>(1, display_);
150 return display_;
154 return display_;
158 return display_;
162 return display_;
175 display_.set_id(synthesized_display_id++);
176 display_.SetScaleAndBounds(1.0f, screen_bounds);