/external/chromium_org/ash/display/ |
display_info_unittest.cc | 17 EXPECT_EQ("0,0 200x100", info.bounds_in_pixel().ToString()); 24 EXPECT_EQ("10,20 300x400", info.bounds_in_pixel().ToString()); 30 EXPECT_EQ("10,20 300x400", info.bounds_in_pixel().ToString()); 36 EXPECT_EQ("10,20 300x400", info.bounds_in_pixel().ToString()); 43 EXPECT_EQ("10,20 300x400", info.bounds_in_pixel().ToString());
|
display_manager_unittest.cc | 148 GetDisplayInfo(added()[0]).bounds_in_pixel().ToString()); 171 GetDisplayInfo(added()[0]).bounds_in_pixel().ToString()); 200 GetDisplayInfo(changed()[0]).bounds_in_pixel().ToString()); 218 GetDisplayInfoAt(1).bounds_in_pixel().ToString()); 271 GetDisplayInfoAt(0).bounds_in_pixel().ToString()); 274 updated_display_info2.bounds_in_pixel().ToString()); 287 GetDisplayInfoAt(0).bounds_in_pixel().ToString()); 290 updated_display_info2.bounds_in_pixel().ToString()); 299 GetDisplayInfoAt(0).bounds_in_pixel().ToString()); 310 GetDisplayInfoAt(0).bounds_in_pixel().ToString()) [all...] |
display_info.h | 90 // The bounds_in_pixel for the display. The size of this can be different from 92 const gfx::Rect bounds_in_pixel() const { function in class:ash::internal::DisplayInfo 113 // given |bounds_in_pixel|. 114 void SetBounds(const gfx::Rect& bounds_in_pixel); 116 // Update the |bounds_in_pixel| according to the current overscan
|
display_info.cc | 48 gfx::Rect bounds_in_pixel(aura::RootWindowHost::GetNativeScreenSize()); 50 gfx::Rect bounds_in_pixel(kDefaultHostWindowX, kDefaultHostWindowY, 97 bounds_in_pixel.SetRect(x, y, width, height); 106 display_info.SetBounds(bounds_in_pixel); 110 int width = bounds_in_pixel.width() / device_scale_factor / 40; 111 int height = bounds_in_pixel.height() / device_scale_factor / 40;
|
mirror_window_controller.cc | 163 const gfx::Rect& bounds_in_pixel = display_info.bounds_in_pixel(); local 164 aura::RootWindow::CreateParams params(bounds_in_pixel); 166 CreateRootWindowHost(bounds_in_pixel); 203 root_window_->SetHostBounds(display_info.bounds_in_pixel());
|
display_manager.cc | 156 switch (info.bounds_in_pixel().width()) { 434 gfx::Point origin = iter->bounds_in_pixel().origin(); 544 current_display_info.bounds_in_pixel() != 545 new_display_info.bounds_in_pixel(); 652 int y = GetDisplayInfo(primary_candidate->id()).bounds_in_pixel().y(); 659 } else if (display_info.bounds_in_pixel().y() < y) { 661 y = display_info.bounds_in_pixel().y(); 741 gfx::Rect host_bounds = first_display.bounds_in_pixel(); 818 gfx::Rect bounds_in_pixel(display_info.size_in_pixel()); 824 display_info.device_scale_factor(), gfx::Rect(bounds_in_pixel.size())) [all...] |
display_controller.cc | 579 if (display_info.bounds_in_pixel().Contains( 672 DCHECK(!display_info.bounds_in_pixel().IsEmpty()); 674 root->SetHostBounds(display_info.bounds_in_pixel()); 689 display_info.bounds_in_pixel()); 812 const gfx::Rect& bounds_in_pixel = display_info.bounds_in_pixel(); local 813 aura::RootWindow::CreateParams params(bounds_in_pixel); 815 CreateRootWindowHost(bounds_in_pixel); [all...] |
root_window_transformers.cc | 217 root_bounds_ = gfx::Rect(source_display_info.bounds_in_pixel().size()); 219 gfx::Rect(mirror_display_info.bounds_in_pixel().size());
|
/external/chromium_org/ui/aura/test/ |
test_screen.cc | 42 gfx::Rect bounds_in_pixel(display_.GetSizeInPixel()); 43 display_.SetScaleAndBounds(device_scale_factor, bounds_in_pixel); 44 root_window_->OnHostResized(bounds_in_pixel.size()); 55 gfx::Rect bounds_in_pixel(display_.GetSizeInPixel()); 57 gfx::ScaleRect(bounds_in_pixel, 1.0f / ui_scale));
|
/external/chromium_org/ash/test/ |
display_manager_test_api.cc | 58 if (display_info.bounds_in_pixel().origin() != gfx::Point(0, 0)) { 74 gfx::Rect bounds(iter->bounds_in_pixel().size());
|
/external/chromium_org/ui/gfx/ |
display.cc | 90 const gfx::Rect& bounds_in_pixel) { 102 gfx::ToFlooredPoint(gfx::ScalePoint(bounds_in_pixel.origin(), 104 gfx::ToFlooredSize(gfx::ScaleSize(bounds_in_pixel.size(),
|
display.h | 78 const gfx::Rect& bounds_in_pixel);
|
/external/chromium_org/ash/ |
dip_unittest.cc | 52 // The |bounds_in_pixel()| should report bounds in pixel coordinate. 54 display_info_2x.bounds_in_pixel().ToString());
|
/external/chromium_org/ui/compositor/ |
compositor.cc | 624 const gfx::Rect& bounds_in_pixel) { 625 if (bounds_in_pixel.right() > size().width() || 626 bounds_in_pixel.bottom() > size().height()) 629 bounds_in_pixel.width(), bounds_in_pixel.height()); 635 return host_->CompositeAndReadback(pixels, bounds_in_pixel);
|
compositor.h | 347 // Reads the region |bounds_in_pixel| of the contents of the last rendered 350 bool ReadPixels(SkBitmap* bitmap, const gfx::Rect& bounds_in_pixel);
|
/external/chromium_org/ui/aura/ |
root_window.cc | 260 void RootWindow::SetHostBounds(const gfx::Rect& bounds_in_pixel) { 261 DCHECK(!bounds_in_pixel.IsEmpty()); 263 host_->SetBounds(bounds_in_pixel); [all...] |
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
display_options_handler.cc | 197 gfx::SizeF base_size = display_info.bounds_in_pixel().size();
|