Searched refs:right_half (Results 1 - 8 of 8) sorted by relevance
/external/chromium/chrome/browser/ui/gtk/tabs/ |
H A D | dragged_tab_controller_gtk.cc | 472 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 D | rect_unittest.cc | 300 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 D | rect_base_impl.h | 292 SplitVertically(Class* left_half, Class* right_half) const { 294 DCHECK(right_half); 297 right_half->SetRect(left_half->right(),
|
H A D | rect_base.h | 139 // 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 D | dragged_tab_controller_gtk.cc | 530 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 D | dragged_tab_controller.cc | 990 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 D | native_theme_win.cc | 1367 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 D | tab_drag_controller.cc | 1455 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