Home
last modified time | relevance | path

Searched refs:is_arrow_on_horizontal (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/ui/views/bubble/
Dbubble_border_unittest.cc157 EXPECT_TRUE(BubbleBorder::is_arrow_on_horizontal(BubbleBorder::TOP_LEFT)); in TEST_F()
158 EXPECT_TRUE(BubbleBorder::is_arrow_on_horizontal(BubbleBorder::TOP_RIGHT)); in TEST_F()
160 EXPECT_TRUE(BubbleBorder::is_arrow_on_horizontal(BubbleBorder::BOTTOM_LEFT)); in TEST_F()
161 EXPECT_TRUE(BubbleBorder::is_arrow_on_horizontal(BubbleBorder::BOTTOM_RIGHT)); in TEST_F()
163 EXPECT_FALSE(BubbleBorder::is_arrow_on_horizontal(BubbleBorder::LEFT_TOP)); in TEST_F()
164 EXPECT_FALSE(BubbleBorder::is_arrow_on_horizontal(BubbleBorder::RIGHT_TOP)); in TEST_F()
166 EXPECT_FALSE(BubbleBorder::is_arrow_on_horizontal(BubbleBorder::LEFT_BOTTOM)); in TEST_F()
168 BubbleBorder::is_arrow_on_horizontal(BubbleBorder::RIGHT_BOTTOM)); in TEST_F()
170 EXPECT_TRUE(BubbleBorder::is_arrow_on_horizontal(BubbleBorder::TOP_CENTER)); in TEST_F()
172 BubbleBorder::is_arrow_on_horizontal(BubbleBorder::BOTTOM_CENTER)); in TEST_F()
[all …]
Dbubble_border.cc179 if (is_arrow_on_horizontal(arrow_)) { in GetBounds()
216 const int edge_length = is_arrow_on_horizontal(arrow_) ? in GetArrowOffset()
254 if (is_arrow_on_horizontal(arrow_) ? in GetInsets()
257 return is_arrow_on_horizontal(arrow_) ? in GetInsets()
282 else if (is_arrow_on_horizontal(arrow_)) in GetSizeForContentsSize()
292 if (is_arrow_on_horizontal(arrow_)) { in GetArrowImage()
309 if (is_arrow_on_horizontal(arrow_)) { in GetArrowRect()
332 const bool horizontal = is_arrow_on_horizontal(arrow_); in DrawArrow()
Dbubble_frame_view.cc258 MirrorArrowIfOffScreen(BubbleBorder::is_arrow_on_horizontal(arrow), in GetUpdatedWindowBounds()
316 const bool is_horizontal = BubbleBorder::is_arrow_on_horizontal(arrow); in OffsetArrowIfOffScreen()
Dbubble_border.h106 static bool is_arrow_on_horizontal(Arrow a) { in is_arrow_on_horizontal() function
/external/chromium_org/ash/shelf/
Doverflow_bubble_view.cc188 views::BubbleBorder::is_arrow_on_horizontal(arrow()) ? in GetBubbleBounds()
206 if (views::BubbleBorder::is_arrow_on_horizontal(arrow())) { in GetBubbleBounds()
/external/chromium/chrome/browser/ui/views/bubble/
Dbubble_border.cc157 std::min(offset, (is_arrow_on_horizontal(arrow_location_) ? in SetArrowOffset()
226 else if (is_arrow_on_horizontal(arrow_location_) && in Paint()
229 } else if (!is_arrow_on_horizontal(arrow_location_) && in Paint()
Dbubble_border.h78 static bool is_arrow_on_horizontal(ArrowLocation loc) { in is_arrow_on_horizontal() function