Home
last modified time | relevance | path

Searched refs:ScreenAsh (Results 1 – 25 of 58) sorted by relevance

123

/external/chromium_org/ash/
Dscreen_ash.cc33 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 …]
Dscreen_ash_unittest.cc41 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()
Dscreen_ash.h21 class ASH_EXPORT ScreenAsh : public gfx::Screen {
23 ScreenAsh();
24 virtual ~ScreenAsh();
86 DISALLOW_COPY_AND_ASSIGN(ScreenAsh);
/external/chromium_org/ash/display/
Dresolution_notification_controller_unittest.cc110 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 …]
Droot_window_transformers_unittest.cc146 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()
Ddisplay_controller_unittest.cc327 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 …]
Dscreen_position_controller_unittest.cc233 ScreenAsh::GetSecondaryDisplay()); in TEST_F()
265 ScreenAsh::GetSecondaryDisplay()); in TEST_F()
Dmouse_cursor_event_filter.cc179 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/
Dbase_layout_manager.cc52 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()
Dbase_layout_manager_unittest.cc60 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()
Dwindow_state.cc213 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()
Dsolo_window_tracker_unittest.cc106 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()
Dwindow_util_unittest.cc26 ScreenAsh::GetSecondaryDisplay()); in TEST_F()
Ddrag_window_resizer.cc129 ScreenAsh::ConvertRectToScreen(GetTarget()->parent(), in CompleteDrag()
182 ScreenAsh::ConvertRectToScreen(GetTarget()->parent(), bounds); in UpdateDragWindow()
/external/chromium_org/chrome/browser/extensions/api/system_display/
Ddisplay_info_provider_chromeos_unittest.cc315 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/
Dworkspace_layout_manager.cc74 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()
Dsnap_sizer.cc58 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()
Dworkspace_window_resizer.cc402 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/
Ddocked_window_resizer_unittest.cc711 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 …]
Ddocked_window_resizer.cc41 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/
Ddisplay_preferences_unittest.cc153 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/
Dsystem_pinch_handler.cc115 return ScreenAsh::ConvertRectToScreen( in GetPhantomWindowScreenBounds()
117 ScreenAsh::GetMaximizedWindowBoundsInParent(target_)); in GetPhantomWindowScreenBounds()
/external/chromium_org/ash/system/chromeos/
Dtray_display_unittest.cc64 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/
Dscoped_transform_overview_window.cc140 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/
Dframe_maximize_button.cc429 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()

123