Home
last modified time | relevance | path

Searched refs:vis_rect (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/ui/views/controls/
Dscroll_view.cc489 const gfx::Rect vis_rect = GetVisibleRect(); in ScrollContentsRegionToBeVisible() local
490 if (vis_rect.Contains(gfx::Rect(x, y, max_x - x, max_y - y))) in ScrollContentsRegionToBeVisible()
501 (vis_rect.x() > x) ? x : std::max(0, max_x - contents_viewport_->width()); in ScrollContentsRegionToBeVisible()
503 (vis_rect.y() > y) ? y : std::max(0, max_y - in ScrollContentsRegionToBeVisible()
/external/chromium_org/ui/views/controls/table/
Dtable_view.cc782 gfx::Rect vis_rect(GetVisibleBounds()); in SetSelectionModel() local
787 vis_rect.set_y(start_y); in SetSelectionModel()
788 vis_rect.set_height(end_y - start_y); in SetSelectionModel()
789 ScrollRectToVisible(vis_rect); in SetSelectionModel()
/external/chromium_org/ui/views/controls/menu/
Dmenu_controller.cc209 gfx::Rect vis_rect = submenu_->GetVisibleBounds(); in Run() local
213 vis_rect.set_y(is_scrolling_up_ ? in Run()
215 std::min(submenu_->height() - vis_rect.height(), start_y_ + delta_y)); in Run()
216 submenu_->ScrollRectToVisible(vis_rect); in Run()
1392 gfx::Rect vis_rect = submenu->GetVisibleBounds(); in DoesSubmenuContainLocation() local
1393 return vis_rect.Contains(view_loc.x(), view_loc.y()); in DoesSubmenuContainLocation()