HomeSort by relevance Sort by last modified time
    Searched refs:first_vis_index (Results 1 - 2 of 2) sorted by null

  /external/chromium/chrome/browser/ui/views/tabs/
side_tab_strip.cc 254 int first_vis_index = -1; local
257 first_vis_index = i;
261 if (first_vis_index == -1)
266 delta = initial_y - ideal_bounds(first_vis_index).y();
268 if (first_vis_index == 0) {
271 delta = initial_y - ideal_bounds(first_vis_index - 1).y();
277 if (ideal_bounds(first_vis_index).y() > initial_y) {
278 delta = initial_y - ideal_bounds(first_vis_index).y();
279 } else if (first_vis_index + 1 == tab_count()) {
282 delta = initial_y - ideal_bounds(first_vis_index + 1).y()
    [all...]
  /external/chromium_org/ui/views/controls/menu/
submenu_view.cc 232 int first_vis_index = std::max(0, local
245 if (GetMenuItemAt(first_vis_index)->y() == vis_bounds.y()) {
246 if (first_vis_index == 0)
248 first_vis_index--;
250 scroll_target = GetMenuItemAt(first_vis_index)->y();
252 if (first_vis_index + 1 == menu_item_count)
254 scroll_target = GetMenuItemAt(first_vis_index + 1)->y();
255 if (GetMenuItemAt(first_vis_index)->y() == vis_bounds.y())
256 first_vis_index++;

Completed in 48 milliseconds