Searched defs:right_half (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/ui/gfx/geometry/
H A Drect_unittest.cc304 Rect left_half, right_half; local
307 Rect(0, 0, 20, 20).SplitVertically(&left_half, &right_half);
309 EXPECT_TRUE(right_half == Rect(10, 0, 10, 20));
312 Rect(10, 10, 20, 10).SplitVertically(&left_half, &right_half);
314 EXPECT_TRUE(right_half == Rect(20, 10, 10, 10));
317 Rect(10, 10, 0, 10).SplitVertically(&left_half, &right_half);
319 EXPECT_TRUE(right_half == Rect(10, 10, 0, 10));
322 Rect(10, 10, 5, 10).SplitVertically(&left_half, &right_half);
324 EXPECT_TRUE(right_half == Rect(12, 10, 3, 10));
/external/chromium_org/ui/native_theme/
H A Dnative_theme_win.cc1389 RECT right_half = bottom_section; local
1390 right_half.left += ((bottom_section.right - bottom_section.left) / 2);
1391 left_half.right = right_half.left;
1394 DrawEdge(hdc, &right_half, EDGE_RAISED,
1415 SkScalar right_triangle_left = SkIntToScalar(right_half.left);
1416 SkScalar right_triangle_top = SkIntToScalar(right_half.top);
1419 right_triangle.lineTo(SkIntToScalar(right_half.right),
1422 SkIntToScalar(right_half.bottom));

Completed in 623 milliseconds