Searched refs:right_half (Results 1 – 5 of 5) sorted by relevance
/external/libchrome/ui/gfx/geometry/ |
D | rect_unittest.cc | 307 Rect left_half, right_half; in TEST() local 310 Rect(0, 0, 20, 20).SplitVertically(&left_half, &right_half); in TEST() 312 EXPECT_TRUE(right_half == Rect(10, 0, 10, 20)); in TEST() 315 Rect(10, 10, 20, 10).SplitVertically(&left_half, &right_half); in TEST() 317 EXPECT_TRUE(right_half == Rect(20, 10, 10, 10)); in TEST() 320 Rect(10, 10, 0, 10).SplitVertically(&left_half, &right_half); in TEST() 322 EXPECT_TRUE(right_half == Rect(10, 10, 0, 10)); in TEST() 325 Rect(10, 10, 5, 10).SplitVertically(&left_half, &right_half); in TEST() 327 EXPECT_TRUE(right_half == Rect(12, 10, 3, 10)); in TEST()
|
D | rect_f.cc | 186 void RectF::SplitVertically(RectF* left_half, RectF* right_half) const { in SplitVertically() 188 DCHECK(right_half); in SplitVertically() 191 right_half->SetRect( in SplitVertically()
|
D | rect.cc | 260 void Rect::SplitVertically(Rect* left_half, Rect* right_half) const { in SplitVertically() 262 DCHECK(right_half); in SplitVertically() 265 right_half->SetRect( in SplitVertically()
|
D | rect_f.h | 153 void SplitVertically(RectF* left_half, RectF* right_half) const;
|
D | rect.h | 193 void SplitVertically(Rect* left_half, Rect* right_half) const;
|