/external/chromium_org/ash/accelerators/ |
H A D | accelerator_controller.cc | 16 #include "ash/display/display_controller.h" 17 #include "ash/display/display_manager.h" 343 gfx::Display display = Shell::GetScreen()->GetDisplayNearestPoint(point); local 345 Shell::GetInstance()->display_manager()->GetDisplayInfo(display.id()); 347 display.id(), GetNextRotation(display_info.rotation()));
|
/external/chromium_org/ash/desktop_background/ |
H A D | desktop_background_view.cc | 13 #include "ash/display/display_manager.h" 39 // always has the same size as the display's original, un-scaled size 53 gfx::Display display = Shell::GetScreen()->GetDisplayNearestWindow( variable 56 DisplayInfo info = display_manager->GetDisplayInfo(display.id()); 58 gfx::SizeF pixel_size = display.size(); 128 // than the largest display supported, if not we will scale and center it if 141 gfx::Display display = gfx::Screen::GetScreenFor(native_view)-> local 145 DisplayInfo display_info = display_manager->GetDisplayInfo(display.id());
|
/external/chromium_org/ash/ |
H A D | dip_unittest.cc | 9 #include "ash/display/display_manager.h" 21 #include "ui/gfx/display.h" 39 const gfx::Display display = local 42 EXPECT_EQ("0,0 1000x900", display.bounds().ToString()); 43 gfx::Rect work_area = display.work_area(); 45 EXPECT_EQ("0,0,47,0", display.bounds().InsetsFrom(work_area).ToString());
|
/external/chromium_org/ash/display/ |
H A D | cursor_window_controller.cc | 5 #include "ash/display/cursor_window_controller.h" 7 #include "ash/display/display_controller.h" 8 #include "ash/display/mirror_window_controller.h" 20 #include "ui/gfx/display.h" 66 // Sets the cursor image for the |display|'s scale factor. 68 const gfx::Display& display) { 69 float scale_factor = display.device_scale_factor(); 118 gfx::Display display = screen->GetDisplayNearestPoint( local 120 DCHECK(display.is_valid()); 121 if (display 67 SetCursorImage(const gfx::ImageSkia& image, const gfx::Display& display) argument 134 SetDisplay(const gfx::Display& display) argument [all...] |
H A D | display_controller.cc | 5 #include "ash/display/display_controller.h" 12 #include "ash/display/cursor_window_controller.h" 13 #include "ash/display/display_layout_store.h" 14 #include "ash/display/display_manager.h" 15 #include "ash/display/mirror_window_controller.h" 16 #include "ash/display/root_window_transformers.h" 40 #include "ui/gfx/display.h" 45 #include "ash/display/display_configurator_animation.h" 64 // Primary display stored in global object as it can be 65 // accessed after Shell is deleted. A separate display instanc 85 SetDisplayPropertiesOnHost(AshWindowTreeHost* ash_host, const gfx::Display& display) argument 302 const gfx::Display& display = display_manager->GetDisplayAt(i); local 441 const gfx::Display& display = GetDisplayManager()->GetDisplayForId(id); local 519 const gfx::Display& display = display_manager->GetDisplayAt(i); local 564 OnDisplayAdded(const gfx::Display& display) argument 587 OnDisplayRemoved(const gfx::Display& display) argument 632 OnDisplayMetricsChanged(const gfx::Display& display, uint32_t metrics) argument 646 gfx::Display display = Shell::GetScreen()->GetDisplayNearestWindow( local 683 gfx::Display display = screen->GetDisplayNearestPoint(point_in_screen); local 724 AddWindowTreeHostForDisplay( const gfx::Display& display, const AshWindowTreeHostInitParams& init_params) argument [all...] |
H A D | display_controller_unittest.cc | 5 #include "ash/display/display_controller.h" 8 #include "ash/display/display_info.h" 9 #include "ash/display/display_layout_store.h" 10 #include "ash/display/display_manager.h" 30 #include "ui/gfx/display.h" 101 virtual void OnDisplayMetricsChanged(const gfx::Display& display, 103 changed_display_id_ = display.id(); 214 // Make sure that primary display is accessible after shutdown. 423 // Layout the secondary display to the bottom of the primary. 435 // Layout the secondary display t 1178 gfx::Display display = Shell::GetScreen()->GetPrimaryDisplay(); local [all...] |
H A D | display_manager.cc | 5 #include "ash/display/display_manager.h" 14 #include "ash/display/display_layout_store.h" 15 #include "ash/display/screen_ash.h" 28 #include "ui/gfx/display.h" 40 #include "ash/display/display_configurator_animation.h" 64 // 2560 pixel width 2x density display. Please see crbug.com/233375 296 bool DisplayManager::IsActiveDisplay(const gfx::Display& display) const { 299 if ((*iter).id() == display.id()) 320 NOTREACHED() << "DisplayLayout is requested for single display"; 388 gfx::Display* display local 397 const gfx::Display& display = *iter; local 406 gfx::Display* display = FindDisplayForId(display_id); local [all...] |
H A D | display_manager_unittest.cc | 5 #include "ash/display/display_manager.h" 8 #include "ash/display/display_controller.h" 9 #include "ash/display/display_info.h" 10 #include "ash/display/display_layout_store.h" 24 #include "ui/gfx/display.h" 88 const DisplayInfo& GetDisplayInfo(const gfx::Display& display) { argument 89 return display_manager()->GetDisplayInfo(display.id()); 105 virtual void OnDisplayMetricsChanged(const gfx::Display& display, 107 changed_.push_back(display); 147 // Secondary display i 983 gfx::Display display = Shell::GetScreen()->GetPrimaryDisplay(); local [all...] |
H A D | event_transformation_handler.cc | 5 #include "ash/display/event_transformation_handler.h" 9 #include "ash/display/display_info.h" 10 #include "ash/display/display_manager.h" 17 #include "ui/gfx/display.h" 45 const gfx::Display& display = local 48 // Apply some additional scaling if the display is non-integrated. 49 if (!display.IsInternal())
|
H A D | resolution_notification_controller_unittest.cc | 5 #include "ash/display/resolution_notification_controller.h" 7 #include "ash/display/display_manager.h" 63 const gfx::Display& display, 68 const DisplayInfo& info = display_manager->GetDisplayInfo(display.id()); 76 if (display_manager->SetDisplayMode(display.id(), new_mode)) { 78 display.id(), 91 if (display.id() == id) { 102 void SetDisplayResolutionAndNotify(const gfx::Display& display, argument 105 display, new_resolution, new_resolution); 236 const gfx::Display& display local 62 SetDisplayResolutionAndNotifyWithResolution( const gfx::Display& display, const gfx::Size& new_resolution, const gfx::Size& actual_new_resolution) argument 301 const gfx::Display& display = ash::Shell::GetScreen()->GetPrimaryDisplay(); local [all...] |
H A D | root_window_transformers.cc | 5 #include "ash/display/root_window_transformers.h" 9 #include "ash/display/display_info.h" 10 #include "ash/display/display_manager.h" 20 #include "ui/gfx/display.h" 53 const gfx::Display& display) { 55 Shell::GetInstance()->display_manager()->GetDisplayInfo(display.id()); 71 float one_pixel = 1.0f / display.device_scale_factor(); 76 rotate.Translate(display.bounds().height() - one_pixel, 0); 80 rotate.Translate(0, display.bounds().width() - one_pixel); 84 rotate.Translate(display 52 CreateRotationTransform(aura::Window* root_window, const gfx::Display& display) argument 128 AshRootWindowTransformer(aura::Window* root, const gfx::Display& display) argument 269 CreateRootWindowTransformerForDisplay( aura::Window* root, const gfx::Display& display) argument [all...] |
H A D | root_window_transformers_unittest.cc | 5 #include "ash/display/root_window_transformers.h" 7 #include "ash/display/display_info.h" 8 #include "ash/display/display_manager.h" 24 #include "ui/gfx/display.h" 276 gfx::Display display = Shell::GetScreen()->GetPrimaryDisplay(); local
|
H A D | screen_ash.cc | 5 #include "ash/display/screen_ash.h" 7 #include "ash/display/display_controller.h" 8 #include "ash/display/display_manager.h" 19 #include "ui/gfx/display.h" 36 const gfx::Display& display = *iter; local 37 int distance = display.bounds().ManhattanDistanceToPoint(point); 40 nearest_display = &display; 43 // There should always be at least one display that is less than INT_MAX away. 55 const gfx::Display& display = *iter; local 56 gfx::Rect intersect = gfx::IntersectRects(display 191 NotifyMetricsChanged(const gfx::Display& display, uint32_t metrics) argument 198 NotifyDisplayAdded(const gfx::Display& display) argument 202 NotifyDisplayRemoved(const gfx::Display& display) argument 253 const gfx::Display& display = local [all...] |
H A D | screen_position_controller.cc | 5 #include "ash/display/screen_position_controller.h" 7 #include "ash/display/display_controller.h" 20 #include "ui/gfx/display.h" 37 void MoveAllTransientChildrenToNewRoot(const gfx::Display& display, argument 40 GetRootWindowForDisplayId(display.id()); 51 transient_child->SetBoundsInScreen(parent_bounds_in_screen, display); 54 MoveAllTransientChildrenToNewRoot(display, transient_child); 60 MoveAllTransientChildrenToNewRoot(display, *iter); 82 // warps to the extended display. The destination is (0, 123) in 88 // are always stacked vertically regardless of the display 153 SetBounds(aura::Window* window, const gfx::Rect& bounds, const gfx::Display& display) argument [all...] |
H A D | shared_display_edge_indicator.cc | 5 #include "ash/display/shared_display_edge_indicator.h" 15 #include "ui/gfx/display.h" 61 gfx::Display display = Shell::GetScreen()->GetDisplayMatching(bounds); local 65 screen_position_client->SetBounds(window, bounds, display);
|
/external/chromium_org/ash/magnifier/ |
H A D | magnification_controller.cc | 10 #include "ash/display/root_window_transformers.h" 273 gfx::Display display = local 276 CreateRootWindowTransformerForDisplay(root_window_, display));
|
/external/chromium_org/ash/shelf/ |
H A D | shelf_layout_manager_unittest.cc | 10 #include "ash/display/display_manager.h" 37 #include "ui/gfx/display.h" 706 gfx::Display display = screen->GetDisplayNearestWindow( local 708 ASSERT_NE(-1, display.id()); 710 EXPECT_EQ(shelf_height, display.GetWorkAreaInsets().bottom()); 718 display = screen->GetDisplayNearestWindow( 721 EXPECT_EQ(0, display.GetWorkAreaInsets().bottom()); 735 display = screen->GetDisplayNearestWindow( 737 EXPECT_EQ(shelf_height, display.GetWorkAreaInsets().bottom()); 769 gfx::Display display local 1445 gfx::Display display = local [all...] |
/external/chromium_org/ash/system/chromeos/ |
H A D | tray_display.cc | 7 #include "ash/display/display_controller.h" 8 #include "ash/display/display_manager.h" 49 const gfx::Display* display = &display_manager->GetDisplayForId(display_id); local 51 // We don't show display size for mirrored display. Fallback 58 DCHECK(display->is_valid()); 59 return base::UTF8ToUTF16(display->size().ToString()); 62 // Returns 1-line information for the specified display, like 92 // Make sure to show the internal display first. 134 const char TrayDisplay::kNotificationId[] = "chrome://settings/display"; [all...] |
/external/chromium_org/ash/system/web_notification/ |
H A D | ash_popup_alignment_delegate.cc | 7 #include "ash/display/display_controller.h" 15 #include "ui/gfx/display.h" 51 const gfx::Display& display) { 53 display_id_ = display.id(); 54 work_area_ = display.work_area(); 118 const gfx::Display& display) { 171 const gfx::Display& display, 173 if (display.id() == display_id_ && shelf_) 50 StartObserving(gfx::Screen* screen, const gfx::Display& display) argument 117 RecomputeAlignment( const gfx::Display& display) argument 170 OnDisplayMetricsChanged( const gfx::Display& display, uint32_t metrics) argument
|
H A D | web_notification_tray.cc | 192 const gfx::Display& display = Shell::GetScreen()->GetDisplayNearestWindow( local 194 popup_alignment_delegate_->StartObserving(Shell::GetScreen(), display); local
|
/external/chromium_org/ash/test/ |
H A D | ash_test_base.cc | 11 #include "ash/display/display_controller.h" 31 #include "ui/gfx/display.h" 68 gfx::Display display = screen->GetDisplayNearestPoint(point_in_screen); variable 70 GetRootWindowForDisplayId(display.id())->GetHost(); 185 // Some tests set an internal display id, 254 gfx::Display display = local 257 GetRootWindowForDisplayId(display.id());
|
/external/chromium_org/ash/tooltips/ |
H A D | tooltip_controller_unittest.cc | 33 views::Widget* CreateNewWidgetWithBoundsOn(int display, argument 40 params.context = Shell::GetAllRootWindows().at(display); 47 views::Widget* CreateNewWidgetOn(int display) { argument 48 return CreateNewWidgetWithBoundsOn(display, gfx::Rect()); 149 // Show tooltip on second display. 156 // Get rid of secondary display. This destroy's the tooltip's aura window. If 162 // display is torn down so the tooltip is is still there. 168 // be able to show tooltips on the primary display.
|
/external/chromium_org/ash/touch/ |
H A D | touch_hud_debug.cc | 7 #include "ash/display/display_manager.h" 19 #include "ui/gfx/display.h" 337 const gfx::Display& display = local 345 const gfx::Size& display_size = display.size(); 467 void TouchHudDebug::OnDisplayMetricsChanged(const gfx::Display& display, argument 469 TouchObserverHUD::OnDisplayMetricsChanged(display, metrics); 471 if (display.id() != display_id() || !(metrics & DISPLAY_METRIC_BOUNDS)) 473 const gfx::Size& size = display.size();
|
H A D | touch_observer_hud.cc | 12 #include "ui/gfx/display.h" 24 const gfx::Display& display = local 29 const gfx::Size& display_size = display.size(); 38 params.bounds = display.bounds(); 48 // Observe changes in display size and mode to update touch HUD. 97 void TouchObserverHUD::OnDisplayMetricsChanged(const gfx::Display& display, argument 99 if (display.id() != display_id_ || !(metrics & DISPLAY_METRIC_BOUNDS)) 102 widget_->SetSize(display.size()); 108 // Clear touch HUD for any change in display mode (single, dual extended, dual
|
H A D | touch_observer_hud_unittest.cc | 8 #include "ash/display/display_manager.h" 32 // Initialize display infos. They should be initialized after Ash 157 const gfx::Display& display = GetPrimaryDisplay(); local 158 return GetDisplayController()->GetRootWindowForDisplayId(display.id()); 162 const gfx::Display& display = GetSecondaryDisplay(); local 163 return GetDisplayController()->GetRootWindowForDisplayId(display.id()); 309 // Checks if debug touch HUD is correctly initialized for a single display. 311 // Setup a single display setting. 315 // display. 324 // Setup a dual display settin [all...] |