/external/chromium_org/ash/ |
D | screen_ash.cc | 33 ScreenAsh::ScreenAsh() { in ScreenAsh() function in ash::ScreenAsh 36 ScreenAsh::~ScreenAsh() { in ~ScreenAsh() 40 gfx::Display ScreenAsh::FindDisplayContainingPoint(const gfx::Point& point) { in FindDisplayContainingPoint() 45 gfx::Rect ScreenAsh::GetMaximizedWindowBoundsInParent(aura::Window* window) { in GetMaximizedWindowBoundsInParent() 53 gfx::Rect ScreenAsh::GetDisplayBoundsInParent(aura::Window* window) { in GetDisplayBoundsInParent() 60 gfx::Rect ScreenAsh::GetDisplayWorkAreaBoundsInParent(aura::Window* window) { in GetDisplayWorkAreaBoundsInParent() 67 gfx::Rect ScreenAsh::ConvertRectToScreen(aura::Window* window, in ConvertRectToScreen() 76 gfx::Rect ScreenAsh::ConvertRectFromScreen(aura::Window* window, in ConvertRectFromScreen() 85 const gfx::Display& ScreenAsh::GetSecondaryDisplay() { in GetSecondaryDisplay() 94 const gfx::Display& ScreenAsh::GetDisplayForId(int64 display_id) { in GetDisplayForId() [all …]
|
D | screen_ash_unittest.cc | 41 ScreenAsh::GetMaximizedWindowBoundsInParent( in TEST_F() 44 ScreenAsh::GetMaximizedWindowBoundsInParent( in TEST_F() 49 ScreenAsh::GetDisplayBoundsInParent( in TEST_F() 52 ScreenAsh::GetDisplayBoundsInParent( in TEST_F() 57 ScreenAsh::GetDisplayWorkAreaBoundsInParent( in TEST_F() 60 ScreenAsh::GetDisplayWorkAreaBoundsInParent( in TEST_F() 98 ScreenAsh::ConvertRectFromScreen( in TEST_F() 102 ScreenAsh::ConvertRectFromScreen( in TEST_F() 107 ScreenAsh::ConvertRectToScreen( in TEST_F() 111 ScreenAsh::ConvertRectToScreen( in TEST_F()
|
D | screen_ash.h | 21 class ASH_EXPORT ScreenAsh : public gfx::Screen { 23 ScreenAsh(); 24 virtual ~ScreenAsh(); 86 DISALLOW_COPY_AND_ASSIGN(ScreenAsh);
|
/external/chromium_org/ash/display/ |
D | resolution_notification_controller_unittest.cc | 110 int64 id2 = ash::ScreenAsh::GetSecondaryDisplay().id(); in TEST_F() 118 ScreenAsh::GetSecondaryDisplay(), gfx::Size(200, 200)); in TEST_F() 140 int64 id2 = ash::ScreenAsh::GetSecondaryDisplay().id(); in TEST_F() 148 ScreenAsh::GetSecondaryDisplay(), gfx::Size(200, 200)); in TEST_F() 207 int64 id2 = ash::ScreenAsh::GetSecondaryDisplay().id(); in TEST_F() 215 ScreenAsh::GetSecondaryDisplay(), gfx::Size(200, 200)); in TEST_F() 259 int64 id2 = ash::ScreenAsh::GetSecondaryDisplay().id(); in TEST_F() 263 ScreenAsh::GetSecondaryDisplay(), gfx::Size(100, 100)); in TEST_F() 282 int64 id2 = ash::ScreenAsh::GetSecondaryDisplay().id(); in TEST_F() 287 ScreenAsh::GetSecondaryDisplay(), gfx::Size(200, 200)); in TEST_F() [all …]
|
D | root_window_transformers_unittest.cc | 146 int64 display2_id = ScreenAsh::GetSecondaryDisplay().id(); in TEST_F() 157 ScreenAsh::GetSecondaryDisplay().bounds().ToString()); in TEST_F() 176 ScreenAsh::GetSecondaryDisplay().bounds().ToString()); in TEST_F() 188 ScreenAsh::GetSecondaryDisplay().bounds().ToString()); in TEST_F() 199 ScreenAsh::GetSecondaryDisplay().bounds().ToString()); in TEST_F() 218 ScreenAsh::GetSecondaryDisplay().bounds().ToString()); in TEST_F() 239 gfx::Display display2 = ScreenAsh::GetSecondaryDisplay(); in TEST_F() 260 display2 = ScreenAsh::GetSecondaryDisplay(); in TEST_F()
|
D | display_controller_unittest.cc | 327 int64 secondary_display_id = ScreenAsh::GetSecondaryDisplay().id(); in TEST_F() 523 ScreenAsh::GetSecondaryDisplay().id(), insets); in TEST_F() 607 gfx::Display secondary_display = ScreenAsh::GetSecondaryDisplay(); in TEST_F() 643 EXPECT_EQ(primary_display.id(), ScreenAsh::GetSecondaryDisplay().id()); in TEST_F() 661 gfx::Display swapped_secondary = ScreenAsh::GetSecondaryDisplay(); in TEST_F() 701 gfx::Display secondary_display = ScreenAsh::GetSecondaryDisplay(); in TEST_F() 737 EXPECT_EQ(primary_display.id(), ScreenAsh::GetSecondaryDisplay().id()); in TEST_F() 755 gfx::Display swapped_secondary = ScreenAsh::GetSecondaryDisplay(); in TEST_F() 792 gfx::Display secondary_display = ScreenAsh::GetSecondaryDisplay(); in TEST_F() 818 EXPECT_EQ(primary_display.id(), ScreenAsh::GetSecondaryDisplay().id()); in TEST_F() [all …]
|
D | screen_position_controller_unittest.cc | 233 ScreenAsh::GetSecondaryDisplay()); in TEST_F() 265 ScreenAsh::GetSecondaryDisplay()); in TEST_F()
|
D | mouse_cursor_event_filter.cc | 179 const gfx::Rect secondary_bounds = ScreenAsh::GetSecondaryDisplay().bounds(); in UpdateHorizontalIndicatorWindowBounds() 208 const gfx::Rect secondary_bounds = ScreenAsh::GetSecondaryDisplay().bounds(); in UpdateVerticalIndicatorWindowBounds()
|
/external/chromium_org/ash/wm/ |
D | base_layout_manager.cc | 52 ash::ScreenAsh::GetMaximizedWindowBoundsInParent(window); in BoundsWithScreenEdgeVisible() 103 child_bounds = ScreenAsh::GetMaximizedWindowBoundsInParent(child); in SetChildBounds() 105 child_bounds = ScreenAsh::GetDisplayBoundsInParent(child); in SetChildBounds() 229 window, ScreenAsh::GetMaximizedWindowBoundsInParent(window)); in AdjustWindowBoundsForWorkAreaChange() 232 window, ScreenAsh::GetDisplayBoundsInParent(window)); in AdjustWindowBoundsForWorkAreaChange() 236 ScreenAsh::GetDisplayWorkAreaBoundsInParent(window); in AdjustWindowBoundsForWorkAreaChange() 265 window, ScreenAsh::GetMaximizedWindowBoundsInParent(window)); in UpdateBoundsFromShowState() 272 ScreenAsh::GetDisplayBoundsInParent(window)); in UpdateBoundsFromShowState()
|
D | base_layout_manager_unittest.cc | 60 ScreenAsh::GetMaximizedWindowBoundsInParent(window.get()).ToString(), in TEST_F() 135 ScreenAsh::GetMaximizedWindowBoundsInParent(window.get()); in TEST_F() 140 ScreenAsh::GetMaximizedWindowBoundsInParent(window.get()).ToString(), in TEST_F() 144 ScreenAsh::GetMaximizedWindowBoundsInParent(window.get()).ToString()); in TEST_F() 221 ash::ScreenAsh::GetMaximizedWindowBoundsInParent(window.get()); in TEST_F() 295 window->SetBounds(ScreenAsh::GetMaximizedWindowBoundsInParent(window.get())); in TEST_F() 298 ScreenAsh::GetMaximizedWindowBoundsInParent(window.get()).ToString(), in TEST_F() 304 ScreenAsh::GetMaximizedWindowBoundsInParent(window.get()).ToString(), in TEST_F()
|
D | window_state.cc | 213 ScreenAsh::ConvertRectFromScreen(window_->parent(), in SetBoundsInScreen() 220 ScreenAsh::ConvertRectToScreen(window_->parent(), in SaveCurrentBoundsForRestore() 230 return ScreenAsh::ConvertRectFromScreen(window_->parent(), in GetRestoreBoundsInParent() 240 ScreenAsh::ConvertRectToScreen(window_->parent(), bounds)); in SetRestoreBoundsInParent()
|
D | solo_window_tracker_unittest.cc | 106 ash::ScreenAsh::GetDisplayBoundsInParent(window).top_right(); in DockWindow() 121 ash::ScreenAsh::GetDisplayWorkAreaBoundsInParent(window).top_right() - in UndockWindow() 141 return ScreenAsh::GetSecondaryDisplay(); in GetSecondaryDisplay() 332 ScreenAsh::GetSecondaryDisplay()); in TEST_F()
|
D | window_util_unittest.cc | 26 ScreenAsh::GetSecondaryDisplay()); in TEST_F()
|
D | drag_window_resizer.cc | 129 ScreenAsh::ConvertRectToScreen(GetTarget()->parent(), in CompleteDrag() 182 ScreenAsh::ConvertRectToScreen(GetTarget()->parent(), bounds); in UpdateDragWindow()
|
/external/chromium_org/chrome/browser/extensions/api/system_display/ |
D | display_info_provider_chromeos_unittest.cc | 315 const gfx::Display& secondary = ash::ScreenAsh::GetSecondaryDisplay(); in TEST_F() 334 const gfx::Display& secondary = ash::ScreenAsh::GetSecondaryDisplay(); in TEST_F() 353 const gfx::Display& secondary = ash::ScreenAsh::GetSecondaryDisplay(); in TEST_F() 372 const gfx::Display& secondary = ash::ScreenAsh::GetSecondaryDisplay(); in TEST_F() 391 const gfx::Display& secondary = ash::ScreenAsh::GetSecondaryDisplay(); in TEST_F() 410 const gfx::Display& secondary = ash::ScreenAsh::GetSecondaryDisplay(); in TEST_F() 429 const gfx::Display& secondary = ash::ScreenAsh::GetSecondaryDisplay(); in TEST_F() 449 const gfx::Display& secondary = ash::ScreenAsh::GetSecondaryDisplay(); in TEST_F() 469 const gfx::Display& secondary = ash::ScreenAsh::GetSecondaryDisplay(); in TEST_F() 489 const gfx::Display& secondary = ash::ScreenAsh::GetSecondaryDisplay(); in TEST_F() [all …]
|
/external/chromium_org/ash/wm/workspace/ |
D | workspace_layout_manager.cc | 74 work_area_in_parent_(ScreenAsh::GetDisplayWorkAreaBoundsInParent( in WorkspaceLayoutManager() 142 const gfx::Rect work_area(ScreenAsh::GetDisplayWorkAreaBoundsInParent( in OnDisplayWorkAreaInsetsChanged() 215 ScreenAsh::GetDisplayWorkAreaBoundsInParent(window_->parent()); in AdjustAllWindowsBoundsForWorkAreaChange() 232 ScreenAsh::GetMaximizedWindowBoundsInParent( in AdjustWindowBoundsForWorkAreaChange() 281 gfx::Rect display_area = ScreenAsh::GetDisplayBoundsInParent(window); in AdjustWindowBoundsWhenAdded() 354 gfx::Rect new_bounds = ScreenAsh::GetMaximizedWindowBoundsInParent( in UpdateBoundsFromShowState() 368 gfx::Rect new_bounds = ScreenAsh::GetDisplayBoundsInParent( in UpdateBoundsFromShowState() 393 window_state->window(), ScreenAsh::GetMaximizedWindowBoundsInParent( in SetMaximizedOrFullscreenBounds() 400 ScreenAsh::GetDisplayBoundsInParent( in SetMaximizedOrFullscreenBounds() 411 gfx::Rect maximized_bounds = ScreenAsh::GetMaximizedWindowBoundsInParent( in AdjustSnappedBounds()
|
D | snap_sizer.cc | 58 gfx::Rect work_area(ScreenAsh::GetDisplayWorkAreaBoundsInParent(window)); in GetMaxWidth() 66 gfx::Rect work_area(ScreenAsh::GetDisplayWorkAreaBoundsInParent(window)); in GetDefaultWidth() 94 gfx::Rect work_area(ScreenAsh::GetDisplayWorkAreaBoundsInParent(window)); in BuildIdealWidthList() 230 gfx::Rect work_area(ScreenAsh::GetDisplayWorkAreaBoundsInParent( in GetTargetBoundsForSize() 286 gfx::Rect area(ScreenAsh::GetDisplayWorkAreaBoundsInParent( in AlongEdge()
|
D | workspace_window_resizer.cc | 402 ScreenAsh::FindDisplayContainingPoint(location_in_screen); in Drag() 451 gfx::Rect initial_bounds = ScreenAsh::ConvertRectToScreen( in CompleteDrag() 575 gfx::Rect work_area(ScreenAsh::GetDisplayWorkAreaBoundsInParent(window())); in LayoutAttachedWindows() 715 ScreenAsh::ConvertRectToScreen(window()->parent(), *bounds), in MagneticallySnapToOtherWindows() 728 *bounds = ScreenAsh::ConvertRectFromScreen( in MagneticallySnapResizeToOtherWindows() 731 ScreenAsh::ConvertRectToScreen(window()->parent(), *bounds), in MagneticallySnapResizeToOtherWindows() 741 ScreenAsh::ConvertRectToScreen(window()->parent(), bounds); in UpdateMagnetismWindow() 796 ScreenAsh::ConvertRectFromScreen(window()->parent(), display.work_area()); in AdjustBoundsForMainWindow() 963 phantom_bounds = ScreenAsh::ConvertRectFromScreen( in UpdateSnapPhantomWindow() 976 snap_phantom_window_controller_->Show(ScreenAsh::ConvertRectToScreen( in UpdateSnapPhantomWindow() [all …]
|
/external/chromium_org/ash/wm/dock/ |
D | docked_window_resizer_unittest.cc | 711 EXPECT_EQ(ScreenAsh::GetDisplayBoundsInParent(w2.get()).width(), in TEST_P() 712 ScreenAsh::GetDisplayWorkAreaBoundsInParent(w2.get()).width()); in TEST_P() 783 EXPECT_EQ(ScreenAsh::GetDisplayBoundsInParent(w2.get()).width(), in TEST_P() 784 ScreenAsh::GetDisplayWorkAreaBoundsInParent(w2.get()).width()); in TEST_P() 818 EXPECT_EQ(ScreenAsh::GetDisplayBoundsInParent(w2.get()).width() - in TEST_P() 820 ScreenAsh::GetDisplayWorkAreaBoundsInParent(w2.get()).width()); in TEST_P() 826 EXPECT_EQ(ScreenAsh::GetDisplayBoundsInParent(w2.get()).width() - in TEST_P() 845 EXPECT_EQ(ScreenAsh::GetDisplayBoundsInParent(w2.get()).width(), in TEST_P() 864 EXPECT_EQ(ScreenAsh::GetDisplayBoundsInParent(w2.get()).width() - in TEST_P() 882 EXPECT_EQ(ScreenAsh::GetDisplayBoundsInParent(w2.get()).width(), in TEST_P() [all …]
|
D | docked_window_resizer.cc | 41 gfx::Display display = ScreenAsh::FindDisplayContainingPoint(point); in GetDockedLayoutManagerAtPoint() 174 gfx::Rect dock_bounds = ScreenAsh::ConvertRectFromScreen( in MaybeSnapToEdge() 246 gfx::Rect bounds = ScreenAsh::ConvertRectFromScreen( in FinishedDragging()
|
/external/chromium_org/chrome/browser/chromeos/display/ |
D | display_preferences_unittest.cc | 153 int64 id2 = ash::ScreenAsh::GetSecondaryDisplay().id(); in TEST_F() 189 int64 id2 = ash::ScreenAsh::GetSecondaryDisplay().id(); in TEST_F() 341 id2 = ash::ScreenAsh::GetSecondaryDisplay().id(); in TEST_F() 406 int64 id2 = ash::ScreenAsh::GetSecondaryDisplay().id(); in TEST_F() 411 ASSERT_EQ(id1, ash::ScreenAsh::GetSecondaryDisplay().id()); in TEST_F() 447 int64 id1 = ash::ScreenAsh::GetNativeScreen()->GetPrimaryDisplay().id(); in TEST_F() 449 int64 id2 = ash::ScreenAsh::GetSecondaryDisplay().id(); in TEST_F() 455 ash::ScreenAsh::GetNativeScreen()->GetPrimaryDisplay().id(); in TEST_F()
|
/external/chromium_org/ash/wm/gestures/ |
D | system_pinch_handler.cc | 115 return ScreenAsh::ConvertRectToScreen( in GetPhantomWindowScreenBounds() 117 ScreenAsh::GetMaximizedWindowBoundsInParent(target_)); in GetPhantomWindowScreenBounds()
|
/external/chromium_org/ash/system/chromeos/ |
D | tray_display_unittest.cc | 64 ScreenAsh::GetSecondaryDisplay().id())); in GetSecondDisplayName() 266 gfx::Display::SetInternalDisplayId(ScreenAsh::GetSecondaryDisplay().id()); in TEST_F() 289 const gfx::Display& secondary_display = ScreenAsh::GetSecondaryDisplay(); in TEST_F() 342 ScreenAsh::GetSecondaryDisplay().id(), gfx::Insets()); in TEST_F() 499 gfx::Display::SetInternalDisplayId(ScreenAsh::GetSecondaryDisplay().id()); in TEST_F()
|
/external/chromium_org/ash/wm/overview/ |
D | scoped_transform_overview_window.cc | 140 bounds.Union(ScreenAsh::ConvertRectToScreen(window->parent(), in GetBoundsInScreen() 246 TranslateTransformOrigin(ScreenAsh::ConvertRectToScreen( in SetTransformOnWindowAndTransientChildren() 254 TranslateTransformOrigin(ScreenAsh::ConvertRectToScreen( in SetTransformOnWindowAndTransientChildren()
|
/external/chromium_org/ash/wm/caption_buttons/ |
D | frame_maximize_button.cc | 429 phantom_window_->Show(ScreenAsh::ConvertRectToScreen( in UpdateSnap() 493 return ScreenAsh::ConvertRectToScreen(window->parent(), in ScreenBoundsForType() 496 return ScreenAsh::ConvertRectToScreen( in ScreenBoundsForType() 498 ScreenAsh::GetMaximizedWindowBoundsInParent(window)); in ScreenBoundsForType()
|