Home
last modified time | relevance | path

Searched refs:GetSecondaryDisplay (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/ash/display/
Ddisplay_controller_unittest.cc182 gfx::Display GetSecondaryDisplay() { in GetSecondaryDisplay() function
412 int64 secondary_display_id = ScreenUtil::GetSecondaryDisplay().id(); in TEST_F()
418 EXPECT_EQ("500,0 400x400", GetSecondaryDisplay().bounds().ToString()); in TEST_F()
419 EXPECT_EQ("505,5 390x390", GetSecondaryDisplay().work_area().ToString()); in TEST_F()
432 EXPECT_EQ("0,500 400x400", GetSecondaryDisplay().bounds().ToString()); in TEST_F()
433 EXPECT_EQ("5,505 390x390", GetSecondaryDisplay().work_area().ToString()); in TEST_F()
444 EXPECT_EQ("-400,0 400x400", GetSecondaryDisplay().bounds().ToString()); in TEST_F()
445 EXPECT_EQ("-395,5 390x390", GetSecondaryDisplay().work_area().ToString()); in TEST_F()
456 EXPECT_EQ("0,-400 400x400", GetSecondaryDisplay().bounds().ToString()); in TEST_F()
457 EXPECT_EQ("5,-395 390x390", GetSecondaryDisplay().work_area().ToString()); in TEST_F()
[all …]
Dresolution_notification_controller_unittest.cc159 int64 id2 = ash::ScreenUtil::GetSecondaryDisplay().id(); in TEST_F()
167 ScreenUtil::GetSecondaryDisplay(), gfx::Size(200, 200)); in TEST_F()
192 int64 id2 = ash::ScreenUtil::GetSecondaryDisplay().id(); in TEST_F()
200 ScreenUtil::GetSecondaryDisplay(), gfx::Size(200, 200)); in TEST_F()
262 int64 id2 = ash::ScreenUtil::GetSecondaryDisplay().id(); in TEST_F()
270 ScreenUtil::GetSecondaryDisplay(), gfx::Size(200, 200)); in TEST_F()
317 int64 id2 = ash::ScreenUtil::GetSecondaryDisplay().id(); in TEST_F()
321 ScreenUtil::GetSecondaryDisplay(), gfx::Size(100, 100)); in TEST_F()
342 int64 id2 = ash::ScreenUtil::GetSecondaryDisplay().id(); in TEST_F()
347 ScreenUtil::GetSecondaryDisplay(), gfx::Size(200, 200)); in TEST_F()
[all …]
Droot_window_transformers_unittest.cc144 int64 display2_id = ScreenUtil::GetSecondaryDisplay().id(); in TEST_F()
155 ScreenUtil::GetSecondaryDisplay().bounds().ToString()); in TEST_F()
174 ScreenUtil::GetSecondaryDisplay().bounds().ToString()); in TEST_F()
186 ScreenUtil::GetSecondaryDisplay().bounds().ToString()); in TEST_F()
197 ScreenUtil::GetSecondaryDisplay().bounds().ToString()); in TEST_F()
216 ScreenUtil::GetSecondaryDisplay().bounds().ToString()); in TEST_F()
237 gfx::Display display2 = ScreenUtil::GetSecondaryDisplay(); in TEST_F()
258 display2 = ScreenUtil::GetSecondaryDisplay(); in TEST_F()
Dscreen_position_controller_unittest.cc233 ScreenUtil::GetSecondaryDisplay()); in TEST_F()
265 ScreenUtil::GetSecondaryDisplay()); in TEST_F()
Ddisplay_controller.cc423 SetPrimaryDisplay(ScreenUtil::GetSecondaryDisplay()); in SwapPrimaryDisplay()
426 SetPrimaryDisplay(ScreenUtil::GetSecondaryDisplay()); in SwapPrimaryDisplay()
496 ScreenUtil::GetSecondaryDisplay().id())); in SetPrimaryDisplay()
601 primary_display_id = ScreenUtil::GetSecondaryDisplay().id(); in OnDisplayRemoved()
757 SetPrimaryDisplay(ScreenUtil::GetSecondaryDisplay()); in OnFadeOutForSwapDisplayFinished()
Dscreen_ash.h57 static const gfx::Display& GetSecondaryDisplay();
Ddisplay_manager_unittest.cc278 ScreenUtil::GetSecondaryDisplay().bounds().ToString()); in TEST_F()
345 ScreenUtil::GetSecondaryDisplay()); in TEST_F()
347 ScreenUtil::GetSecondaryDisplay().bounds().ToString()); in TEST_F()
349 GetDisplayInfo(ScreenUtil::GetSecondaryDisplay()). in TEST_F()
662 ScreenUtil::GetSecondaryDisplay().bounds().ToString()); in TEST_F()
Dmouse_cursor_event_filter.cc364 const gfx::Rect secondary_bounds = ScreenUtil::GetSecondaryDisplay().bounds(); in UpdateHorizontalEdgeBounds()
403 const gfx::Rect secondary_bounds = ScreenUtil::GetSecondaryDisplay().bounds(); in UpdateVerticalEdgeBounds()
Dscreen_ash.cc178 const gfx::Display& ScreenAsh::GetSecondaryDisplay() { in GetSecondaryDisplay() function in ash::ScreenAsh
Ddisplay_manager.cc347 ScreenUtil::GetSecondaryDisplay().id()); in SetLayoutForCurrentDisplays()
352 ScreenUtil::GetSecondaryDisplay(), in SetLayoutForCurrentDisplays()
/external/chromium_org/chrome/browser/extensions/api/system_display/
Ddisplay_info_provider_chromeos_unittest.cc315 const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); in TEST_F()
334 const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); in TEST_F()
353 const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); in TEST_F()
372 const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); in TEST_F()
391 const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); in TEST_F()
410 const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); in TEST_F()
429 const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); in TEST_F()
449 const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); in TEST_F()
469 const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); in TEST_F()
489 const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); in TEST_F()
[all …]
/external/chromium_org/ash/touch/
Dtouch_observer_hud_unittest.cc51 const gfx::Display& GetSecondaryDisplay() { in GetSecondaryDisplay() function in ash::TouchHudTestBase
52 return ScreenUtil::GetSecondaryDisplay(); in GetSecondaryDisplay()
162 const gfx::Display& display = GetSecondaryDisplay(); in GetSecondaryRootWindow()
347 EXPECT_EQ(internal_display_id(), GetSecondaryDisplay().id()); in TEST_F()
356 EXPECT_EQ(external_display_id(), GetSecondaryDisplay().id()); in TEST_F()
381 EXPECT_EQ(external_display_id(), GetSecondaryDisplay().id()); in TEST_F()
411 EXPECT_EQ(internal_display_id(), GetSecondaryDisplay().id()); in TEST_F()
437 EXPECT_EQ(external_display_id(), GetSecondaryDisplay().id()); in TEST_F()
467 EXPECT_EQ(internal_display_id(), GetSecondaryDisplay().id()); in TEST_F()
/external/chromium_org/ash/system/chromeos/
Dtray_display_unittest.cc64 ScreenUtil::GetSecondaryDisplay().id())); in GetSecondDisplayName()
282 gfx::Display::SetInternalDisplayId(ScreenUtil::GetSecondaryDisplay().id()); in TEST_F()
306 const gfx::Display& secondary_display = ScreenUtil::GetSecondaryDisplay(); in TEST_F()
361 ScreenUtil::GetSecondaryDisplay().id(), gfx::Insets()); in TEST_F()
520 gfx::Display::SetInternalDisplayId(ScreenUtil::GetSecondaryDisplay().id()); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/display/
Ddisplay_preferences_unittest.cc169 int64 id2 = ash::ScreenUtil::GetSecondaryDisplay().id(); in TEST_F()
205 int64 id2 = ash::ScreenUtil::GetSecondaryDisplay().id(); in TEST_F()
373 id2 = ash::ScreenUtil::GetSecondaryDisplay().id(); in TEST_F()
399 id2 = ash::ScreenUtil::GetSecondaryDisplay().id(); in TEST_F()
465 int64 id2 = ash::ScreenUtil::GetSecondaryDisplay().id(); in TEST_F()
470 ASSERT_EQ(id1, ash::ScreenUtil::GetSecondaryDisplay().id()); in TEST_F()
538 int64 id2 = ash::ScreenUtil::GetSecondaryDisplay().id(); in TEST_F()
/external/chromium_org/ash/
Dscreen_util.h53 static const gfx::Display& GetSecondaryDisplay();
Dscreen_util.cc74 const gfx::Display& ScreenUtil::GetSecondaryDisplay() { in GetSecondaryDisplay() function in ash::ScreenUtil
Dextended_desktop_unittest.cc691 ScreenUtil::GetSecondaryDisplay()); in TEST_F()
699 ScreenUtil::GetSecondaryDisplay()); in TEST_F()
716 ScreenUtil::GetSecondaryDisplay().bounds()); in TEST_F()
/external/chromium_org/ash/wm/
Dwindow_util_unittest.cc43 ScreenUtil::GetSecondaryDisplay()); in TEST_F()
Dwindow_state_unittest.cc64 ScreenUtil::GetSecondaryDisplay().work_area(); in TEST_F()
85 ScreenUtil::GetSecondaryDisplay()); in TEST_F()
/external/chromium_org/ash/wm/workspace/
Dworkspace_event_handler_unittest.cc151 gfx::Rect work_area2 = ScreenUtil::GetSecondaryDisplay().work_area(); in TEST_F()
153 window->SetBoundsInScreen(restored_bounds, ScreenUtil::GetSecondaryDisplay()); in TEST_F()
Dworkspace_layout_manager_unittest.cc125 ScreenUtil::GetSecondaryDisplay()); in TEST_F()
Dworkspace_window_resizer_unittest.cc606 ScreenUtil::GetSecondaryDisplay()); in TEST_F()
/external/chromium_org/chrome/browser/ui/window_sizer/
Dwindow_sizer_ash_unittest.cc635 gfx::Rect secondary_bounds = ash::ScreenUtil::GetSecondaryDisplay().bounds(); in TEST_F()