Home
last modified time | relevance | path

Searched refs:size_in_pixel (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/ash/display/
Ddisplay_info_unittest.cc18 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()
Ddisplay_manager_unittest.cc272 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()
Ddisplay_info.h108 const gfx::Size& size_in_pixel() const { return size_in_pixel_; } in size_in_pixel() function
Dresolution_notification_controller_unittest.cc39 info.size_in_pixel(), in SetDisplayResolutionAndNotify()
Ddisplay_manager.cc673 (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/
Ddesktop_background_controller.cc451 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/
Ddip_util.cc48 const gfx::Size& size_in_pixel) { in ConvertSizeToDIP() argument
50 gfx::ScaleSize(size_in_pixel, 1.0f / scale_factor)); in ConvertSizeToDIP()
Ddip_util.h35 float scale_factor, const gfx::Size& size_in_pixel);
/external/chromium_org/ui/compositor/
Dlayer_unittest.cc1114 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 …]
Ddip_util.cc37 const gfx::Size& size_in_pixel) { in ConvertSizeToDIP() argument
39 gfx::ScaleSize(size_in_pixel, 1.0f / GetDeviceScaleFactor(layer))); in ConvertSizeToDIP()
Dcompositor.cc467 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()
Ddip_util.h33 const gfx::Size& size_in_pixel);
Dcompositor.h259 void SetScaleAndSize(float scale, const gfx::Size& size_in_pixel); in NON_EXPORTED_BASE()
/external/chromium_org/ui/gfx/
Ddisplay.cc114 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()
Ddisplay.h96 void SetSize(const gfx::Size& size_in_pixel);
/external/chromium_org/ui/aura/
Droot_window.h110 void SetHostSize(const gfx::Size& size_in_pixel);
Droot_window.cc254 void RootWindow::SetHostSize(const gfx::Size& size_in_pixel) { in SetHostSize() argument
259 bounds.set_size(size_in_pixel); in SetHostSize()