/external/chromium_org/ui/gfx/ |
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));
|
/external/chromium/chrome/browser/ui/gtk/tabs/ |
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/chrome/browser/ui/gtk/tabs/ |
dragged_tab_controller_gtk.cc | 542 gfx::Rect left_half, right_half; local 543 ideal_bounds.SplitVertically(&left_half, &right_half); 544 right_tab_x = right_half.x(); 546 if (dragged_bounds_start >= right_half.x() && 547 dragged_bounds_start < right_half.right()) { [all...] |
/external/chromium_org/ui/native_theme/ |
native_theme_win.cc | 1367 RECT right_half = bottom_section; local [all...] |
/external/chromium/chrome/browser/ui/views/tabs/ |
dragged_tab_controller.cc | 125 case DockInfo::RIGHT_HALF: 990 gfx::Rect right_half = ideal_bounds; local [all...] |
/external/chromium_org/chrome/browser/ui/views/tabs/ |
tab_drag_controller.cc | 146 case DockInfo::RIGHT_HALF: 1587 gfx::Rect left_half, right_half; local [all...] |