Searched defs:left_half (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/ui/gfx/geometry/
H A Drect_base_impl.h293 SplitVertically(Class* left_half, Class* right_half) const { argument
294 DCHECK(left_half);
297 left_half->SetRect(x(), y(), width() / 2, height());
298 right_half->SetRect(left_half->right(),
300 width() - left_half->width(),
H A Drect_unittest.cc304 Rect left_half, right_half; local
307 Rect(0, 0, 20, 20).SplitVertically(&left_half, &right_half);
308 EXPECT_TRUE(left_half == Rect(0, 0, 10, 20));
312 Rect(10, 10, 20, 10).SplitVertically(&left_half, &right_half);
313 EXPECT_TRUE(left_half == Rect(10, 10, 10, 10));
317 Rect(10, 10, 0, 10).SplitVertically(&left_half, &right_half);
318 EXPECT_TRUE(left_half == Rect(10, 10, 0, 10));
322 Rect(10, 10, 5, 10).SplitVertically(&left_half, &right_half);
323 EXPECT_TRUE(left_half == Rect(10, 10, 2, 10));
/external/chromium_org/ui/native_theme/
H A Dnative_theme_win.cc1388 RECT& left_half = bottom_section; local
1391 left_half.right = right_half.left;
1392 DrawEdge(hdc, &left_half, EDGE_RAISED,
1405 SkScalar left_triangle_top = SkIntToScalar(left_half.top);
1406 SkScalar left_triangle_right = SkIntToScalar(left_half.right);
1408 left_triangle.moveTo(SkIntToScalar(left_half.left), left_triangle_top);
1411 SkIntToScalar(left_half.bottom));

Completed in 2318 milliseconds