Searched refs:has_arrow (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/ui/views/bubble/
H A Dbubble_border_unittest.cc90 EXPECT_TRUE(BubbleBorder::has_arrow(BubbleBorder::TOP_LEFT));
91 EXPECT_TRUE(BubbleBorder::has_arrow(BubbleBorder::TOP_RIGHT));
93 EXPECT_TRUE(BubbleBorder::has_arrow(BubbleBorder::BOTTOM_LEFT));
94 EXPECT_TRUE(BubbleBorder::has_arrow(BubbleBorder::BOTTOM_RIGHT));
96 EXPECT_TRUE(BubbleBorder::has_arrow(BubbleBorder::LEFT_TOP));
97 EXPECT_TRUE(BubbleBorder::has_arrow(BubbleBorder::RIGHT_TOP));
99 EXPECT_TRUE(BubbleBorder::has_arrow(BubbleBorder::LEFT_BOTTOM));
100 EXPECT_TRUE(BubbleBorder::has_arrow(BubbleBorder::RIGHT_BOTTOM));
102 EXPECT_TRUE(BubbleBorder::has_arrow(BubbleBorder::TOP_CENTER));
103 EXPECT_TRUE(BubbleBorder::has_arrow(BubbleBorde
[all...]
H A Dbubble_border.h124 static bool has_arrow(Arrow a) { return a < NONE; } function in class:views::BubbleBorder
127 return has_arrow(a) && (a == LEFT_CENTER || !(a & (RIGHT | CENTER)));
131 return has_arrow(a) && (a == TOP_CENTER || !(a & (BOTTOM | CENTER)));
139 return has_arrow(a) && !!(a & CENTER);
H A Dbubble_border.cc164 } else if (has_arrow(arrow_)) {
224 if ((arrow_paint_type_ == PAINT_NONE) || !has_arrow(arrow_))
255 if (arrow_paint_type_ == PAINT_NONE || !has_arrow(arrow_))
265 if (!has_arrow(arrow_))
276 if (!has_arrow(arrow_) || arrow_paint_type_ != PAINT_NORMAL)
H A Dbubble_frame_view.cc268 if (adjust_if_offscreen && BubbleBorder::has_arrow(arrow)) {
H A Dtray_bubble_view.cc98 if (has_arrow(arrow())) {

Completed in 1184 milliseconds