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

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

Completed in 603 milliseconds