/external/chromium_org/ash/display/ |
D | display_info_unittest.cc | 18 EXPECT_EQ("200x100", info.size_in_pixel().ToString()); in TEST_F() 25 EXPECT_EQ("288x380", info.size_in_pixel().ToString()); in TEST_F() 31 EXPECT_EQ("288x380", info.size_in_pixel().ToString()); in TEST_F() 37 EXPECT_EQ("380x288", info.size_in_pixel().ToString()); in TEST_F()
|
D | display_manager_unittest.cc | 272 updated_display_info2.size_in_pixel().ToString()); in TEST_F() 288 updated_display_info2.size_in_pixel().ToString()); in TEST_F() 297 GetDisplayInfoAt(1).size_in_pixel().ToString()); in TEST_F() 321 updated_display_info2.size_in_pixel().ToString()); in TEST_F() 335 updated_display_info2.size_in_pixel().ToString()); in TEST_F() 760 GetDisplayInfoAt(0).size_in_pixel().ToString()); in TEST_F() 765 GetDisplayInfoAt(1).size_in_pixel().ToString()); in TEST_F() 774 GetDisplayInfoAt(0).size_in_pixel().ToString()); in TEST_F() 779 GetDisplayInfoAt(1).size_in_pixel().ToString()); in TEST_F()
|
D | display_info.h | 108 const gfx::Size& size_in_pixel() const { return size_in_pixel_; } in size_in_pixel() function
|
D | resolution_notification_controller_unittest.cc | 39 info.size_in_pixel(), in SetDisplayResolutionAndNotify()
|
D | display_manager.cc | 673 (current_display_info.size_in_pixel() != in UpdateDisplays() 902 display->SetSize(display_info_[display_id].size_in_pixel()); in UpdateDisplayBounds() 946 gfx::Rect bounds_in_native(display_info.size_in_pixel()); in CreateDisplayFromDisplayInfoById()
|
/external/chromium_org/ash/desktop_background/ |
D | desktop_background_controller.cc | 451 gfx::Size size_in_pixel = in GetMaxDisplaySizeInNative() local 455 size_in_pixel = gfx::Size(size_in_pixel.height(), size_in_pixel.width()); in GetMaxDisplaySizeInNative() 457 width = std::max(size_in_pixel.width(), width); in GetMaxDisplaySizeInNative() 458 height = std::max(size_in_pixel.height(), height); in GetMaxDisplaySizeInNative()
|
/external/chromium_org/content/browser/renderer_host/ |
D | dip_util.cc | 48 const gfx::Size& size_in_pixel) { in ConvertSizeToDIP() argument 50 gfx::ScaleSize(size_in_pixel, 1.0f / scale_factor)); in ConvertSizeToDIP()
|
D | dip_util.h | 35 float scale_factor, const gfx::Size& size_in_pixel);
|
/external/chromium_org/ui/compositor/ |
D | layer_unittest.cc | 1114 gfx::Size size_in_pixel = root->cc_layer()->bounds(); in TEST_F() local 1115 EXPECT_EQ("200x220", size_in_pixel.ToString()); in TEST_F() 1116 size_in_pixel = l1->cc_layer()->bounds(); in TEST_F() 1117 EXPECT_EQ("140x180", size_in_pixel.ToString()); in TEST_F() 1130 size_in_pixel = root->cc_layer()->bounds(); in TEST_F() 1131 EXPECT_EQ("400x440", size_in_pixel.ToString()); in TEST_F() 1132 size_in_pixel = l1->cc_layer()->bounds(); in TEST_F() 1133 EXPECT_EQ("280x360", size_in_pixel.ToString()); in TEST_F() 1150 size_in_pixel = root->cc_layer()->bounds(); in TEST_F() 1151 EXPECT_EQ("200x220", size_in_pixel.ToString()); in TEST_F() [all …]
|
D | dip_util.cc | 37 const gfx::Size& size_in_pixel) { in ConvertSizeToDIP() argument 39 gfx::ScaleSize(size_in_pixel, 1.0f / GetDeviceScaleFactor(layer))); in ConvertSizeToDIP()
|
D | compositor.cc | 467 void Compositor::SetScaleAndSize(float scale, const gfx::Size& size_in_pixel) { in SetScaleAndSize() argument 469 if (!size_in_pixel.IsEmpty()) { in SetScaleAndSize() 470 size_ = size_in_pixel; in SetScaleAndSize() 471 host_->SetViewportSize(size_in_pixel); in SetScaleAndSize() 472 root_web_layer_->SetBounds(size_in_pixel); in SetScaleAndSize()
|
D | dip_util.h | 33 const gfx::Size& size_in_pixel);
|
D | compositor.h | 259 void SetScaleAndSize(float scale, const gfx::Size& size_in_pixel); in NON_EXPORTED_BASE()
|
/external/chromium_org/ui/gfx/ |
D | display.cc | 114 void Display::SetSize(const gfx::Size& size_in_pixel) { in SetSize() argument 121 SetScaleAndBounds(device_scale_factor_, gfx::Rect(origin, size_in_pixel)); in SetSize()
|
D | display.h | 96 void SetSize(const gfx::Size& size_in_pixel);
|
/external/chromium_org/ui/aura/ |
D | root_window.h | 110 void SetHostSize(const gfx::Size& size_in_pixel);
|
D | root_window.cc | 254 void RootWindow::SetHostSize(const gfx::Size& size_in_pixel) { in SetHostSize() argument 259 bounds.set_size(size_in_pixel); in SetHostSize()
|