Searched refs:first_vis_index (Results 1 – 1 of 1) sorted by relevance
254 int first_vis_index = -1; in ButtonPressed() local257 first_vis_index = i; in ButtonPressed()261 if (first_vis_index == -1) in ButtonPressed()266 delta = initial_y - ideal_bounds(first_vis_index).y(); in ButtonPressed()268 if (first_vis_index == 0) { in ButtonPressed()271 delta = initial_y - ideal_bounds(first_vis_index - 1).y(); in ButtonPressed()277 if (ideal_bounds(first_vis_index).y() > initial_y) { in ButtonPressed()278 delta = initial_y - ideal_bounds(first_vis_index).y(); in ButtonPressed()279 } else if (first_vis_index + 1 == tab_count()) { in ButtonPressed()282 delta = initial_y - ideal_bounds(first_vis_index + 1).y(); in ButtonPressed()