Home
last modified time | relevance | path

Searched refs:GetScreen (Results 1 – 25 of 98) sorted by relevance

1234

/external/chromium_org/chrome/browser/chromeos/login/managed/
Dlocally_managed_user_creation_flow.cc19 LocallyManagedUserCreationScreen* GetScreen(LoginDisplayHost* host) { in GetScreen() function
59 GetScreen(host())->ShowManagerInconsistentStateErrorScreen(); in HandleOAuthTokenStatusChange()
69 GetScreen(host())->OnManagerFullyAuthenticated(manager_profile_); in HandleOAuthTokenStatusChange()
78 GetScreen(host())->OnManagerLoginFailure(); in HandleLoginFailure()
80 GetScreen(host())->ShowManagerInconsistentStateErrorScreen(); in HandleLoginFailure()
88 GetScreen(host())->ShowManagerInconsistentStateErrorScreen(); in HandlePasswordChangeDetected()
102 GetScreen(host())->OnManagerFullyAuthenticated(manager_profile_); in LaunchExtraSteps()
105 GetScreen(host())->OnManagerCryptohomeAuthenticated(); in LaunchExtraSteps()
/external/chromium_org/ash/display/
Ddisplay_controller_unittest.cc76 Shell::GetScreen()->AddObserver(this); in TestObserver()
85 Shell::GetScreen()->RemoveObserver(this); in ~TestObserver()
178 return Shell::GetScreen()->GetDisplayNearestWindow( in GetPrimaryDisplay()
183 return Shell::GetScreen()->GetDisplayNearestWindow( in GetSecondaryDisplay()
190 ASSERT_GT(Shell::GetScreen()->GetNumDisplays(), 1); in SetSecondaryDisplayLayoutAndOffset()
215 gfx::Display primary = Shell::GetScreen()->GetPrimaryDisplay(); in TearDown()
217 EXPECT_EQ(2, Shell::GetScreen()->GetNumDisplays()); in TearDown()
643 EXPECT_EQ(1, Shell::GetScreen()->GetNumDisplays()); in TEST_F()
649 ASSERT_EQ(2, Shell::GetScreen()->GetNumDisplays()); in TEST_F()
703 gfx::Display primary_display = Shell::GetScreen()->GetPrimaryDisplay(); in TEST_F()
[all …]
Dscreen_position_controller_unittest.cc104 Shell::GetScreen()->GetDisplayNearestPoint(window_pos)); in TEST_F()
142 Shell::GetScreen()->GetDisplayNearestPoint(window_pos2)); in TEST_F()
195 Shell::GetScreen()->GetPrimaryDisplay()); in TEST_F()
221 Shell::GetScreen()->GetPrimaryDisplay()); in TEST_F()
253 Shell::GetScreen()->GetPrimaryDisplay()); in TEST_F()
Ddisplay_manager_unittest.cc53 Shell::GetScreen()->AddObserver(this); in SetUp()
58 Shell::GetScreen()->RemoveObserver(this); in TearDown()
352 GetDisplayInfo(Shell::GetScreen()->GetPrimaryDisplay()). in TEST_F()
355 Shell::GetScreen()->GetPrimaryDisplay().bounds().ToString()); in TEST_F()
447 EXPECT_EQ(external_id, Shell::GetScreen()->GetPrimaryDisplay().id()); in TEST_F()
457 EXPECT_EQ(internal_display_id, Shell::GetScreen()->GetPrimaryDisplay().id()); in TEST_F()
878 int64 display_id = Shell::GetScreen()->GetPrimaryDisplay().id(); in TEST_F()
935 gfx::Display display = Shell::GetScreen()->GetPrimaryDisplay(); in TEST_F()
953 display = Shell::GetScreen()->GetPrimaryDisplay(); in TEST_F()
959 int64 display_id = Shell::GetScreen()->GetPrimaryDisplay().id(); in TEST_F()
[all …]
Droot_window_transformers_unittest.cc143 gfx::Display display1 = Shell::GetScreen()->GetPrimaryDisplay(); in TEST_F()
235 gfx::Display display1 = Shell::GetScreen()->GetPrimaryDisplay(); in TEST_F()
257 display1 = Shell::GetScreen()->GetPrimaryDisplay(); in TEST_F()
276 gfx::Display display = Shell::GetScreen()->GetPrimaryDisplay(); in TEST_F()
316 gfx::Display display1 = Shell::GetScreen()->GetPrimaryDisplay(); in TEST_F()
342 display1 = Shell::GetScreen()->GetPrimaryDisplay(); in TEST_F()
367 display1 = Shell::GetScreen()->GetPrimaryDisplay(); in TEST_F()
Ddisplay_controller.cc255 Shell::GetScreen()->AddObserver(this); in Start()
268 Shell::GetScreen()->RemoveObserver(this); in Shutdown()
414 if (Shell::GetScreen()->GetNumDisplays() > 1) { in SwapPrimaryDisplay()
467 gfx::Display old_primary_display = Shell::GetScreen()->GetPrimaryDisplay(); in SetPrimaryDisplay()
507 gfx::Point point_in_screen = Shell::GetScreen()->GetCursorScreenPoint(); in EnsurePointerInDisplays()
642 gfx::Display display = Shell::GetScreen()->GetDisplayNearestWindow( in OnHostResized()
679 gfx::Screen* screen = Shell::GetScreen(); in PreDisplayConfigurationChange()
704 if (Shell::GetScreen()->GetNumDisplays() > 1 ) { in PostDisplayConfigurationChange()
714 pair, Shell::GetScreen()->GetPrimaryDisplay().id()); in PostDisplayConfigurationChange()
Dmouse_cursor_event_filter.cc165 if (Shell::GetScreen()->GetNumDisplays() <= 1 || from == NULL) { in ShowSharedEdgeIndicator()
196 if (Shell::GetScreen()->GetNumDisplays() <= 1 || in OnDisplayConfigurationChanged()
265 if (Shell::GetScreen()->GetNumDisplays() <= 1 || in WarpMouseCursorInNativeCoords()
290 if (Shell::GetScreen()->GetNumDisplays() <= 1 || in WarpMouseCursorInScreenCoords()
363 Shell::GetScreen()->GetPrimaryDisplay().bounds(); in UpdateHorizontalEdgeBounds()
402 Shell::GetScreen()->GetPrimaryDisplay().bounds(); in UpdateVerticalEdgeBounds()
Dscreen_ash.cc149 Shell::GetScreen()->GetDisplayNearestWindow(window).bounds()); in GetDisplayBoundsInParent()
156 Shell::GetScreen()->GetDisplayNearestWindow(window).work_area()); in GetDisplayWorkAreaBoundsInParent()
182 Shell::GetScreen()->GetPrimaryDisplay().id() ? in GetSecondaryDisplay()
216 return GetWindowAtScreenPoint(Shell::GetScreen()->GetCursorScreenPoint()); in GetWindowUnderCursor()
Dscreen_position_controller.cc122 const gfx::Point display_origin = Shell::GetScreen()->GetDisplayNearestWindow( in ConvertPointToScreen()
131 const gfx::Point display_origin = Shell::GetScreen()->GetDisplayNearestWindow( in ConvertPointFromScreen()
222 const gfx::Point display_origin = Shell::GetScreen()->GetDisplayNearestWindow( in SetBounds()
/external/chromium_org/ash/wm/
Ddrag_window_resizer_unittest.cc164 Shell::GetScreen()->GetPrimaryDisplay()); in TEST_F()
182 Shell::GetScreen()->GetPrimaryDisplay()); in TEST_F()
201 Shell::GetScreen()->GetPrimaryDisplay()); in TEST_F()
223 Shell::GetScreen()->GetPrimaryDisplay()); in TEST_F()
248 Shell::GetScreen()->GetPrimaryDisplay()); in TEST_F()
290 Shell::GetScreen()->GetPrimaryDisplay()); in TEST_F()
323 Shell::GetScreen()->GetDisplayNearestWindow(root_windows[1])); in TEST_F()
351 Shell::GetScreen()->GetPrimaryDisplay()); in TEST_F()
403 Shell::GetScreen()->GetPrimaryDisplay()); in TEST_F()
492 Shell::GetScreen()->GetPrimaryDisplay()); in TEST_F()
[all …]
Dash_native_cursor_manager_unittest.cc150 int64 display_id = Shell::GetScreen()->GetPrimaryDisplay().id(); in TEST_F()
160 Shell::GetScreen()->GetPrimaryDisplay().device_scale_factor()); in TEST_F()
169 Shell::GetScreen()->GetPrimaryDisplay().device_scale_factor()); in TEST_F()
175 Shell::GetScreen()->GetPrimaryDisplay().device_scale_factor()); in TEST_F()
179 Shell::GetScreen()->GetPrimaryDisplay().device_scale_factor()); in TEST_F()
Dcoordinate_conversion.cc20 Shell::GetScreen()->GetDisplayNearestPoint(point); in GetRootWindowAt()
29 const gfx::Display& display = Shell::GetScreen()->GetDisplayMatching(rect); in GetRootWindowMatching()
Dwindow_state_unittest.cc62 ash::Shell::GetScreen()->GetPrimaryDisplay().work_area(); in TEST_F()
109 ash::Shell::GetScreen()->GetPrimaryDisplay().work_area(); in TEST_F()
170 ash::Shell::GetScreen()->GetPrimaryDisplay().work_area().size(); in TEST_F()
201 ash::Shell::GetScreen()->GetPrimaryDisplay().work_area(); in TEST_F()
277 ash::Shell::GetScreen()->GetPrimaryDisplay().work_area(); in TEST_F()
Dlock_layout_manager_unittest.cc118 gfx::Rect screen_bounds = Shell::GetScreen()->GetPrimaryDisplay().bounds(); in TEST_F()
141 gfx::Rect screen_bounds = Shell::GetScreen()->GetPrimaryDisplay().bounds(); in TEST_F()
190 gfx::Rect screen_bounds = Shell::GetScreen()->GetPrimaryDisplay().bounds(); in TEST_F()
230 gfx::Rect screen_bounds = Shell::GetScreen()->GetPrimaryDisplay().bounds(); in TEST_F()
Dwindow_resizer.cc143 Shell::GetScreen()->GetDisplayNearestWindow(GetTarget()).work_area(); in CalculateBoundsForDrag()
212 Shell::GetScreen()->GetDisplayMatching(near_passed_location); in CalculateBoundsForDrag()
313 int max_width = Shell::GetScreen()->GetDisplayNearestWindow( in GetWidthForDrag()
343 int max_height = Shell::GetScreen()->GetDisplayNearestWindow( in GetHeightForDrag()
Ddefault_state.cc49 gfx::Rect display_area = Shell::GetScreen()->GetDisplayNearestWindow( in MoveToDisplayForRestore()
54 Shell::GetScreen()->GetDisplayMatching(restore_bounds); in MoveToDisplayForRestore()
148 gfx::Display current_display = Shell::GetScreen()-> in AttachState()
169 stored_display_state_ = Shell::GetScreen()-> in DetachState()
579 Shell::GetScreen()->GetDisplayNearestWindow(window).work_area(); in CenterWindow()
/external/chromium_org/ash/
Dscreen_util.cc45 Shell::GetScreen()->GetDisplayNearestWindow(window).bounds()); in GetDisplayBoundsInParent()
52 Shell::GetScreen()->GetDisplayNearestWindow(window).work_area()); in GetDisplayWorkAreaBoundsInParent()
78 Shell::GetScreen()->GetPrimaryDisplay().id() ? in GetSecondaryDisplay()
Ddip_unittest.cc40 Shell::GetScreen()->GetDisplayNearestWindow(root); in TEST_F()
48 gfx::Screen* screen = Shell::GetScreen(); in TEST_F()
/external/chromium_org/ash/keyboard_overlay/
Dkeyboard_overlay_delegate.cc86 const gfx::Rect& rect = Shell::GetScreen()->GetDisplayNearestWindow( in Show()
119 gfx::Rect rect = ash::Shell::GetScreen()->GetDisplayNearestWindow( in GetDialogSize()
/external/chromium_org/ash/shell/content_client/
Dshell_browser_main_parts.cc136 gfx::Screen* screen = Shell::GetInstance()->GetScreen(); in PreMainMessageLoopRun()
146 gfx::Screen* screen = Shell::GetInstance()->GetScreen(); in PostMainMessageLoopRun()
/external/chromium_org/ash/wm/workspace/
Dworkspace_layout_manager_unittest.cc384 Shell::GetScreen()->GetPrimaryDisplay().work_area()); in TEST_F()
459 Shell::GetScreen()->GetPrimaryDisplay().work_area().size()); in TEST_F()
641 EXPECT_EQ(Shell::GetScreen()->GetDisplayNearestWindow( in TEST_F()
654 EXPECT_EQ(Shell::GetScreen()->GetDisplayNearestWindow( in TEST_F()
659 EXPECT_EQ(Shell::GetScreen()->GetDisplayNearestWindow( in TEST_F()
669 gfx::Rect work_area = Shell::GetScreen()->GetDisplayNearestWindow( in TEST_F()
677 work_area = Shell::GetScreen()->GetDisplayNearestWindow( in TEST_F()
684 work_area = Shell::GetScreen()->GetDisplayNearestWindow( in TEST_F()
992 restore_work_area_insets_ = Shell::GetScreen()->GetPrimaryDisplay(). in ShowKeyboard()
1036 Shell::GetScreen()->GetPrimaryDisplay().work_area()); in TEST_F()
[all …]
Dworkspace_layout_manager.cc46 Shell::GetScreen()->GetDisplayNearestWindow(window_).work_area())), in WorkspaceLayoutManager()
163 Shell::GetScreen()->GetDisplayNearestWindow(window_).work_area())); in OnDisplayWorkAreaInsetsChanged()
272 Shell::GetScreen()->GetDisplayNearestWindow(window_).work_area()); in AdjustAllWindowsBoundsForWorkAreaChange()
/external/chromium_org/ash/touch/
Dtouch_observer_hud.cc49 Shell::GetScreen()->AddObserver(this); in TouchObserverHUD()
64 Shell::GetScreen()->RemoveObserver(this); in ~TouchObserverHUD()
/external/chromium_org/ash/test/
Dui_controls_factory_ash.cc103 gfx::Point p(ash::Shell::GetScreen()->GetCursorScreenPoint()); in SendMouseEvents()
117 gfx::Point p(ash::Shell::GetScreen()->GetCursorScreenPoint()); in SendMouseClick()
/external/chromium_org/ash/wm/dock/
Ddocked_window_layout_manager_unittest.cc189 Shell::GetScreen()->GetDisplayNearestWindow(window).work_area(); in DragVerticallyAndRelativeToEdge()
414 Shell::GetScreen()->GetDisplayNearestWindow(w1.get()).work_area(); in TEST_P()
448 Shell::GetScreen()->GetDisplayNearestWindow(w1.get()).work_area(); in TEST_P()
484 Shell::GetScreen()->GetDisplayNearestWindow(w1.get()).work_area(); in TEST_P()
528 ASSERT_GT(Shell::GetScreen()->GetNumDisplays(), 1); in TEST_P()
551 Shell::GetScreen()->GetDisplayNearestWindow(w1.get()).work_area(); in TEST_P()
738 Shell::GetScreen()->GetDisplayNearestWindow(w1.get()).work_area(); in TEST_P()
800 Shell::GetScreen()->GetDisplayNearestWindow(w1.get()).work_area(); in TEST_P()
829 Shell::GetScreen()->GetDisplayNearestWindow(window.get()).work_area(); in TEST_P()

1234