Home
last modified time | relevance | path

Searched refs:work_area_bounds (Results 1 – 9 of 9) sorted by relevance

/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/wm/tablet_mode/
H A Dtablet_mode_browser_window_drag_delegate.cc66 gfx::Rect work_area_bounds = display::Screen::GetScreen() in OnImplicitAnimationsCompleted() local
69 ::wm::ConvertRectFromScreen(source_window_->parent(), &work_area_bounds); in OnImplicitAnimationsCompleted()
70 if (source_window_->bounds() == work_area_bounds) in OnImplicitAnimationsCompleted()
171 const gfx::Rect work_area_bounds = in UpdateSourceWindow() local
175 gfx::Rect expected_bounds(work_area_bounds); in UpdateSourceWindow()
177 GetIndicatorsVerticalThreshold(work_area_bounds)) { in UpdateSourceWindow()
185 gfx::Size(work_area_bounds.width() * kSourceWindowScale, in UpdateSourceWindow()
186 work_area_bounds.height() * kSourceWindowScale)); in UpdateSourceWindow()
231 const gfx::Rect work_area_bounds = in MergeBackToSourceWindowIfApplicable() local
235 if (location_in_screen.y() >= work_area_bounds.CenterPoint().y()) in MergeBackToSourceWindowIfApplicable()
H A Dtablet_mode_window_drag_delegate.cc350 const gfx::Rect& work_area_bounds) const { in GetIndicatorsVerticalThreshold()
351 return work_area_bounds.y() + in GetIndicatorsVerticalThreshold()
352 work_area_bounds.height() * kIndicatorsThresholdRatio; in GetIndicatorsVerticalThreshold()
439 const gfx::Rect work_area_bounds = in ShouldDropWindowIntoOverview() local
444 (location_in_screen.y() - work_area_bounds.y()) >= in ShouldDropWindowIntoOverview()
447 work_area_bounds.y()); in ShouldDropWindowIntoOverview()
502 const gfx::Rect work_area_bounds = in UpdateIsWindowConsideredMoved() local
507 y_location_in_screen >= GetIndicatorsVerticalThreshold(work_area_bounds); in UpdateIsWindowConsideredMoved()
H A Dtablet_mode_window_drag_delegate.h101 int GetIndicatorsVerticalThreshold(const gfx::Rect& work_area_bounds) const;
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/wm/
H A Dwork_area_insets.cc42 gfx::Rect work_area_bounds = screen_util::GetDisplayBoundsWithShelf(window); in CalculateWorkAreaBounds() local
43 work_area_bounds.Inset(accessibility_insets); in CalculateWorkAreaBounds()
44 work_area_bounds.Subtract(shelf_bounds_in_screen); in CalculateWorkAreaBounds()
45 work_area_bounds.Subtract(keyboard_bounds_in_screen); in CalculateWorkAreaBounds()
46 return work_area_bounds; in CalculateWorkAreaBounds()
H A Dtoplevel_window_event_handler.cc538 const gfx::Rect work_area_bounds = in GetTargetForClientAreaGesture() local
543 gfx::Rect hit_bounds_in_screen(work_area_bounds); in GetTargetForClientAreaGesture()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/wm/splitview/
H A Dsplit_view_controller.cc984 const gfx::Rect work_area_bounds = in Resize() local
1015 const gfx::Rect work_area_bounds = in EndResize() local
1651 gfx::Rect work_area_bounds = in UpdateBlackScrim() local
1655 work_area_bounds.Transpose(); in UpdateBlackScrim()
1660 if (distance > work_area_bounds.width() * ratio) { in UpdateBlackScrim()
1662 (distance - work_area_bounds.width() * ratio) / in UpdateBlackScrim()
1687 const gfx::Rect work_area_bounds = in GetBlackScrimPosition() local
1690 if (!work_area_bounds.Contains(location_in_screen)) in GetBlackScrimPosition()
1809 const gfx::Rect work_area_bounds = in GetDividerEndPosition() local
1812 return IsLayoutHorizontal() ? work_area_bounds.width() in GetDividerEndPosition()
[all …]
H A Dsplit_view_drag_indicators.cc407 gfx::Rect work_area_bounds = in Layout() local
409 wm::ConvertRectFromScreen(root_window, &work_area_bounds); in Layout()
410 preview_area_bounds.set_y(preview_area_bounds.y() - work_area_bounds.y()); in Layout()
H A Dsplit_view_controller_unittest.cc2907 const gfx::Rect work_area_bounds = in GetIndicatorsThreshold() local
2911 return work_area_bounds.y() + in GetIndicatorsThreshold()
3169 const gfx::Rect work_area_bounds = display.work_area(); in TEST_P() local
3170 EXPECT_EQ(window2->GetBoundsInScreen(), work_area_bounds); in TEST_P()
3789 const gfx::Rect work_area_bounds = in TEST_P() local
3793 ShrinkBoundsByHotseatInset(work_area_bounds); in TEST_P()
3987 gfx::Rect work_area_bounds = in TEST_P() local
4001 200, work_area_bounds.y() + in TEST_P()
4016 200, work_area_bounds.y() + in TEST_P()
4060 work_area_bounds = display::Screen::GetScreen() in TEST_P()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/app_list/views/
H A Dapp_list_view.cc2237 const gfx::Rect work_area_bounds = display.work_area(); in GetPreferredWidgetYForState() local
2242 const int fullscreen_height = work_area_bounds.y() - display.bounds().y(); in GetPreferredWidgetYForState()
2254 return std::max(work_area_bounds.y() - display.bounds().y(), in GetPreferredWidgetYForState()
2263 return (is_side_shelf_ ? work_area_bounds.y() in GetPreferredWidgetYForState()
2264 : work_area_bounds.bottom()) - in GetPreferredWidgetYForState()