Searched refs:right_half (Results 1 - 8 of 8) sorted by relevance

/external/chromium/chrome/browser/ui/gtk/tabs/
H A Ddragged_tab_controller_gtk.cc472 gfx::Rect right_half = ideal_bounds; local
473 right_half.set_width(ideal_bounds.width() - left_half.width());
474 right_half.set_x(left_half.right());
476 right_tab_x = right_half.right();
478 if (dragged_bounds_x >= right_half.x() &&
479 dragged_bounds_x < right_half.right()) {
/external/chromium_org/ui/gfx/
H A Drect_unittest.cc300 Rect left_half, right_half; local
303 Rect(0, 0, 20, 20).SplitVertically(&left_half, &right_half);
305 EXPECT_TRUE(right_half == Rect(10, 0, 10, 20));
308 Rect(10, 10, 20, 10).SplitVertically(&left_half, &right_half);
310 EXPECT_TRUE(right_half == Rect(20, 10, 10, 10));
313 Rect(10, 10, 0, 10).SplitVertically(&left_half, &right_half);
315 EXPECT_TRUE(right_half == Rect(10, 10, 0, 10));
318 Rect(10, 10, 5, 10).SplitVertically(&left_half, &right_half);
320 EXPECT_TRUE(right_half == Rect(12, 10, 3, 10));
H A Drect_base_impl.h292 SplitVertically(Class* left_half, Class* right_half) const {
294 DCHECK(right_half);
297 right_half->SetRect(left_half->right(),
H A Drect_base.h139 // Splits |this| in two halves, |left_half| and |right_half|.
140 void SplitVertically(Class* left_half, Class* right_half) const;
/external/chromium_org/chrome/browser/ui/gtk/tabs/
H A Ddragged_tab_controller_gtk.cc530 gfx::Rect left_half, right_half; local
531 ideal_bounds.SplitVertically(&left_half, &right_half);
532 right_tab_x = right_half.x();
534 if (dragged_bounds_start >= right_half.x() &&
535 dragged_bounds_start < right_half.right()) {
/external/chromium/chrome/browser/ui/views/tabs/
H A Ddragged_tab_controller.cc990 gfx::Rect right_half = ideal_bounds; local
991 right_half.set_width(ideal_bounds.width() - left_half.width());
992 right_half.set_x(left_half.right());
993 right_tab_x = right_half.right();
994 if (dragged_bounds.x() >= right_half.x() &&
995 dragged_bounds.x() < right_half.right()) {
/external/chromium_org/ui/native_theme/
H A Dnative_theme_win.cc1367 RECT right_half = bottom_section; local
1368 right_half.left += ((bottom_section.right - bottom_section.left) / 2);
1369 left_half.right = right_half.left;
1372 DrawEdge(hdc, &right_half, EDGE_RAISED,
1393 SkScalar right_triangle_left = SkIntToScalar(right_half.left);
1394 SkScalar right_triangle_top = SkIntToScalar(right_half.top);
1397 right_triangle.lineTo(SkIntToScalar(right_half.right),
1400 SkIntToScalar(right_half.bottom));
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dtab_drag_controller.cc1455 gfx::Rect left_half, right_half; local
1456 ideal_bounds.SplitVertically(&left_half, &right_half);
1457 if (dragged_bounds.x() >= right_half.x() &&
1458 dragged_bounds.x() < right_half.right()) {

Completed in 198 milliseconds