/external/chromium_org/ash/ |
H A D | dip_unittest.cc | 23 #include "ui/gfx/screen.h" 48 gfx::Screen* screen = Shell::GetScreen(); local 50 const gfx::Display display_2x = screen->GetDisplayNearestWindow(root);
|
/external/chromium_org/ash/display/ |
H A D | cursor_window_controller.cc | 117 gfx::Screen* screen = Shell::GetScreen(); local 118 gfx::Display display = screen->GetDisplayNearestPoint( 119 screen->GetCursorScreenPoint());
|
H A D | display_controller.cc | 41 #include "ui/gfx/screen.h" 510 // to the current cursor location in screen coordinates. 681 gfx::Screen* screen = Shell::GetScreen(); local 682 gfx::Point point_in_screen = screen->GetCursorScreenPoint(); 683 gfx::Display display = screen->GetDisplayNearestPoint(point_in_screen);
|
H A D | display_manager.h | 98 gfx::Screen* screen() { function in class:ash::DisplayManager 304 // Create a screen instance to be used during shutdown.
|
/external/chromium_org/ash/shelf/ |
H A D | shelf_bezel_event_filter.cc | 30 gfx::Rect screen = local 32 if ((!screen.Contains(point_in_screen) && 33 IsShelfOnBezel(screen, point_in_screen)) || 53 const gfx::Rect& screen, 57 if (point.y() >= screen.bottom()) 61 if (point.x() <= screen.x()) 65 if (point.y() <= screen.y()) 69 if (point.x() >= screen.right()) 52 IsShelfOnBezel( const gfx::Rect& screen, const gfx::Point& point) const argument
|
H A D | shelf_layout_manager_unittest.cc | 38 #include "ui/gfx/screen.h" 705 gfx::Screen* screen = Shell::GetScreen(); local 706 gfx::Display display = screen->GetDisplayNearestWindow( 718 display = screen->GetDisplayNearestWindow( 725 screen->GetPrimaryDisplay().bounds().bottom()); 727 screen->GetPrimaryDisplay().bounds().bottom()); 735 display = screen->GetDisplayNearestWindow( 741 EXPECT_LT(shelf_bounds.y(), screen->GetPrimaryDisplay().bounds().bottom()); 744 screen->GetPrimaryDisplay().bounds().bottom()); 747 // Makes sure shelf alignment is correct for lock screen 1444 const gfx::Screen* screen = Shell::GetScreen(); local [all...] |
H A D | shelf_widget_unittest.cc | 21 #include "ui/gfx/screen.h" 45 gfx::Screen* screen = gfx::Screen::GetScreenFor(root); local 47 screen->GetDisplayNearestWindow(root).work_area().ToString()); 131 // Verifies when the shell is deleted with a full screen window we don't crash.
|
/external/chromium_org/ash/shell/content_client/ |
H A D | shell_browser_main_parts.cc | 31 #include "ui/gfx/screen.h" 135 gfx::Screen* screen = Shell::GetInstance()->GetScreen(); local 136 screen->AddObserver(window_watcher_.get()); 145 gfx::Screen* screen = Shell::GetInstance()->GetScreen(); local 146 screen->RemoveObserver(window_watcher_.get());
|
/external/chromium_org/ash/system/web_notification/ |
H A D | ash_popup_alignment_delegate.cc | 17 #include "ui/gfx/screen.h" 50 void AshPopupAlignmentDelegate::StartObserving(gfx::Screen* screen, argument 52 screen_ = screen; 58 screen->AddObserver(this);
|
/external/chromium_org/ash/test/ |
H A D | ash_test_base.cc | 33 #include "ui/gfx/screen.h" 67 gfx::Screen* screen = Shell::GetScreen(); variable 68 gfx::Display display = screen->GetDisplayNearestPoint(point_in_screen);
|
/external/chromium_org/ash/wm/ |
H A D | drag_window_resizer.cc | 22 #include "ui/gfx/screen.h" 102 gfx::Screen* screen = Shell::GetScreen(); local 104 screen->GetDisplayNearestPoint(last_mouse_location_in_screen); 107 screen->GetDisplayNearestWindow(GetTarget()->GetRootWindow()).id()) {
|
H A D | window_positioner.cc | 19 #include "ui/gfx/screen.h" 38 // When a window gets opened in default mode and the screen is less than or 161 // Move |window| into the center of the screen - or restore it to the previous 182 // Get the first open (non minimized) window which is on the screen defined. 243 const gfx::Screen* screen, 261 gfx::Rect work_area = screen->GetDisplayNearestWindow(target).work_area(); 267 // When using "small screens" we want to always open in full screen mode. 294 gfx::Rect work_area = screen->GetDisplayNearestWindow(target).work_area(); 423 // The window should get centered on the screen and not follow the grid. 452 // screen 242 GetBoundsAndShowStateForNewWindow( const gfx::Screen* screen, const aura::Window* new_window, bool is_saved_bounds, ui::WindowShowState show_state_in, gfx::Rect* bounds_in_out, ui::WindowShowState* show_state_out) argument [all...] |
/external/chromium_org/ash/wm/panels/ |
H A D | panel_window_resizer.cc | 26 #include "ui/gfx/screen.h" 61 gfx::Screen* screen = Shell::GetScreen(); local 63 screen->GetDisplayNearestPoint(last_location_); 65 screen->GetDisplayNearestWindow(panel_container_->GetRootWindow()).id()) { 104 // The root window can change when dragging into a different screen.
|
/external/chromium_org/athena/env/ |
H A D | athena_env_impl.cc | 25 #include "ui/gfx/screen.h" 46 // Creates and sets the screen for shutdown. Deletes existing one if any. 47 static void Create(const gfx::Screen* screen) { argument 49 screen_for_shutdown = new ScreenForShutdown(screen->GetPrimaryDisplay());
|
/external/chromium_org/athena/wm/ |
H A D | bezel_controller.cc | 11 #include "ui/gfx/screen.h" 32 gfx::Screen* screen = gfx::Screen::GetScreenFor(window); local 33 return screen->GetDisplayNearestWindow(window); 41 // Convert location from window coordinates to screen coordinates. 126 // finger touches the screen.
|
H A D | split_view_controller.cc | 9 #include "athena/screen/public/screen_manager.h" 21 #include "ui/gfx/screen.h" 169 // TODO(mfomitchev): return false in full screen. 376 // screen while engaging splitview (i.e. state_ == SCROLLING). 526 gfx::Screen* screen = gfx::Screen::GetScreenFor(container_); local 528 screen->GetDisplayNearestWindow(container_).bounds(); 542 // Max distance from the scroll end position to the middle of the screen where
|
/external/chromium_org/chrome/browser/chromeos/display/ |
H A D | display_preferences_unittest.cc | 579 gfx::Screen* screen = gfx::Screen::GetNativeScreen(); local 580 EXPECT_EQ(id2, screen->GetPrimaryDisplay().id()); 584 const gfx::Display& primary_display = screen->GetPrimaryDisplay();
|
/external/chromium_org/chrome/browser/chromeos/login/enrollment/ |
H A D | mock_auto_enrollment_check_screen.cc | 32 void MockAutoEnrollmentCheckScreenActor::SetDelegate(Delegate* screen) { argument 33 screen_ = screen; 34 MockSetDelegate(screen);
|
/external/chromium_org/chrome/browser/chromeos/login/screens/ |
H A D | mock_update_screen.cc | 30 void MockUpdateScreenActor::SetDelegate(UpdateScreenActor::Delegate* screen) { argument 31 screen_ = screen; 32 MockSetDelegate(screen);
|
H A D | update_screen.cc | 61 void StartUpdateCallback(UpdateScreen* screen, argument 64 if (UpdateScreen::HasInstance(screen)) { 66 screen->SetIgnoreIdleStatus(false); 68 screen->ExitUpdate(UpdateScreen::REASON_UPDATE_INIT_FAILED); 347 // Noncritical update, just exit screen as if there is no update.
|
/external/chromium_org/chrome/browser/chromeos/login/ |
H A D | startup_utils.cc | 86 void StartupUtils::SaveOobePendingScreen(const std::string& screen) { argument 87 SaveStringPreferenceForced(prefs::kOobeScreenPending, screen);
|
H A D | wizard_controller.cc | 90 // Interval in ms which is used for smooth screen showing. 106 // Checks flag for HID-detection screen show. 112 bool IsResumableScreen(const std::string& screen) { argument 114 if (screen == kResumableScreens[i]) 173 // Passing this parameter as a "first screen" initiates full OOBE flow. 234 VLOG(1) << "Starting OOBE wizard with screen: " << first_screen_name; 268 // Use the saved screen preference from Local State. 353 VLOG(1) << "Showing network screen."; 355 // in. Keep it visible if the user goes back to the existing network screen. 367 VLOG(1) << "Showing login screen 428 EnrollmentScreen* screen = EnrollmentScreen::Get(this); local 488 AutoEnrollmentCheckScreen* screen = AutoEnrollmentCheckScreen::Get(this); local [all...] |
/external/chromium_org/chrome/browser/chromeos/login/supervised/ |
H A D | supervised_user_creation_screen.cc | 61 void ConfigureErrorScreen(ErrorScreen* screen, argument 70 screen->SetErrorState(ErrorScreen::ERROR_STATE_OFFLINE, 74 screen->SetErrorState(ErrorScreen::ERROR_STATE_PORTAL, 76 screen->FixCaptivePortal(); 79 screen->SetErrorState(ErrorScreen::ERROR_STATE_PROXY, 159 ErrorScreen* screen = get_screen_observer()->GetErrorScreen(); local 160 ConfigureErrorScreen(screen, network, state.status); 161 screen->SetUIState(ErrorScreen::UI_STATE_SUPERVISED);
|
/external/chromium_org/chrome/browser/chromeos/login/ui/ |
H A D | user_adding_screen_input_methods_controller.cc | 12 UserAddingScreen* screen) 13 : screen_(screen), active_user_on_show_(NULL) { 11 UserAddingScreenInputMethodsController( UserAddingScreen* screen) argument
|
/external/chromium_org/chrome/browser/chromeos/login/users/avatar/ |
H A D | user_image_sync_observer.cc | 191 UserImageScreen* screen = UserImageScreen::Get(wizard_controller); local 192 if (wizard_controller->current_screen() == screen) { 193 if (screen->user_selected_image())
|