Searched refs:left_half (Results 1 – 2 of 2) sorted by relevance
469 gfx::Rect left_half = ideal_bounds; in GetInsertionIndexForDraggedBounds() local470 left_half.set_width(left_half.width() / 2); in GetInsertionIndexForDraggedBounds()473 right_half.set_width(ideal_bounds.width() - left_half.width()); in GetInsertionIndexForDraggedBounds()474 right_half.set_x(left_half.right()); in GetInsertionIndexForDraggedBounds()482 } else if (dragged_bounds_x >= left_half.x() && in GetInsertionIndexForDraggedBounds()483 dragged_bounds_x < left_half.right()) { in GetInsertionIndexForDraggedBounds()
988 gfx::Rect left_half = ideal_bounds; in GetInsertionIndexForDraggedBounds() local989 left_half.set_width(left_half.width() / 2); in GetInsertionIndexForDraggedBounds()991 right_half.set_width(ideal_bounds.width() - left_half.width()); in GetInsertionIndexForDraggedBounds()992 right_half.set_x(left_half.right()); in GetInsertionIndexForDraggedBounds()998 } else if (dragged_bounds.x() >= left_half.x() && in GetInsertionIndexForDraggedBounds()999 dragged_bounds.x() < left_half.right()) { in GetInsertionIndexForDraggedBounds()