Searched refs:work_area_bounds (Results 1 – 9 of 9) sorted by relevance
66 gfx::Rect work_area_bounds = display::Screen::GetScreen() in OnImplicitAnimationsCompleted() local69 ::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() local175 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() local235 if (location_in_screen.y() >= work_area_bounds.CenterPoint().y()) in MergeBackToSourceWindowIfApplicable()
350 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() local444 (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() local507 y_location_in_screen >= GetIndicatorsVerticalThreshold(work_area_bounds); in UpdateIsWindowConsideredMoved()
101 int GetIndicatorsVerticalThreshold(const gfx::Rect& work_area_bounds) const;
42 gfx::Rect work_area_bounds = screen_util::GetDisplayBoundsWithShelf(window); in CalculateWorkAreaBounds() local43 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()
538 const gfx::Rect work_area_bounds = in GetTargetForClientAreaGesture() local543 gfx::Rect hit_bounds_in_screen(work_area_bounds); in GetTargetForClientAreaGesture()
984 const gfx::Rect work_area_bounds = in Resize() local1015 const gfx::Rect work_area_bounds = in EndResize() local1651 gfx::Rect work_area_bounds = in UpdateBlackScrim() local1655 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() local1690 if (!work_area_bounds.Contains(location_in_screen)) in GetBlackScrimPosition()1809 const gfx::Rect work_area_bounds = in GetDividerEndPosition() local1812 return IsLayoutHorizontal() ? work_area_bounds.width() in GetDividerEndPosition()[all …]
407 gfx::Rect work_area_bounds = in Layout() local409 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()
2907 const gfx::Rect work_area_bounds = in GetIndicatorsThreshold() local2911 return work_area_bounds.y() + in GetIndicatorsThreshold()3169 const gfx::Rect work_area_bounds = display.work_area(); in TEST_P() local3170 EXPECT_EQ(window2->GetBoundsInScreen(), work_area_bounds); in TEST_P()3789 const gfx::Rect work_area_bounds = in TEST_P() local3793 ShrinkBoundsByHotseatInset(work_area_bounds); in TEST_P()3987 gfx::Rect work_area_bounds = in TEST_P() local4001 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 …]
2237 const gfx::Rect work_area_bounds = display.work_area(); in GetPreferredWidgetYForState() local2242 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()