Home
last modified time | relevance | path

Searched refs:right_half (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/ui/gfx/geometry/
Drect_unittest.cc307 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()
Drect_f.cc186 void RectF::SplitVertically(RectF* left_half, RectF* right_half) const { in SplitVertically()
188 DCHECK(right_half); in SplitVertically()
191 right_half->SetRect( in SplitVertically()
Drect.cc260 void Rect::SplitVertically(Rect* left_half, Rect* right_half) const { in SplitVertically()
262 DCHECK(right_half); in SplitVertically()
265 right_half->SetRect( in SplitVertically()
Drect_f.h153 void SplitVertically(RectF* left_half, RectF* right_half) const;
Drect.h193 void SplitVertically(Rect* left_half, Rect* right_half) const;