/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); 304 EXPECT_TRUE(left_half == Rect(0, 0, 10, 20)); 308 Rect(10, 10, 20, 10).SplitVertically(&left_half, &right_half); 309 EXPECT_TRUE(left_half == Rect(10, 10, 10, 10)); 313 Rect(10, 10, 0, 10).SplitVertically(&left_half, &right_half); 314 EXPECT_TRUE(left_half == Rect(10, 10, 0, 10)); 318 Rect(10, 10, 5, 10).SplitVertically(&left_half, &right_half); 319 EXPECT_TRUE(left_half == Rect(10, 10, 2, 10));
|
/external/chromium/chrome/browser/ui/gtk/tabs/ |
dragged_tab_controller_gtk.cc | 469 gfx::Rect left_half = ideal_bounds; local 470 left_half.set_width(left_half.width() / 2); 473 right_half.set_width(ideal_bounds.width() - left_half.width()); 474 right_half.set_x(left_half.right()); 482 } else if (dragged_bounds_x >= left_half.x() && 483 dragged_bounds_x < left_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); 550 } else if (dragged_bounds_start >= left_half.x() && 551 dragged_bounds_start < left_half.right()) { [all...] |
/external/chromium_org/ui/native_theme/ |
native_theme_win.cc | 1366 RECT& left_half = bottom_section; local [all...] |
/external/chromium/chrome/browser/ui/views/tabs/ |
dragged_tab_controller.cc | 112 case DockInfo::LEFT_HALF: 988 gfx::Rect left_half = ideal_bounds; local [all...] |
/external/chromium_org/chrome/browser/ui/views/tabs/ |
tab_drag_controller.cc | 133 case DockInfo::LEFT_HALF: 1587 gfx::Rect left_half, right_half; local [all...] |