Home
last modified time | relevance | path

Searched refs:is_arrow_on_left (Results 1 – 6 of 6) sorted by relevance

/external/chromium/chrome/browser/ui/views/bubble/
Dborder_contents_unittest.cc52 EXPECT_TRUE(BubbleBorder::is_arrow_on_left(arrow_location)); in TEST_F()
68 EXPECT_TRUE(BubbleBorder::is_arrow_on_left(arrow_location)); in TEST_F()
84 EXPECT_TRUE(BubbleBorder::is_arrow_on_left(arrow_location)); in TEST_F()
100 EXPECT_TRUE(BubbleBorder::is_arrow_on_left(arrow_location)); in TEST_F()
116 EXPECT_FALSE(BubbleBorder::is_arrow_on_left(arrow_location)); in TEST_F()
132 EXPECT_FALSE(BubbleBorder::is_arrow_on_left(arrow_location)); in TEST_F()
148 EXPECT_FALSE(BubbleBorder::is_arrow_on_left(arrow_location)); in TEST_F()
164 EXPECT_TRUE(BubbleBorder::is_arrow_on_left(arrow_location)); in TEST_F()
181 EXPECT_TRUE(BubbleBorder::is_arrow_on_left(arrow_location)); in TEST_F()
209 EXPECT_TRUE(BubbleBorder::is_arrow_on_left(arrow_location)); in TEST_F()
[all …]
Dbubble_border.h70 static bool is_arrow_on_left(ArrowLocation loc) { in is_arrow_on_left() function
Dbubble_border.cc227 !is_arrow_on_left(arrow_location_)) { in Paint()
/external/chromium_org/ui/views/bubble/
Dbubble_border_unittest.cc111 EXPECT_TRUE(BubbleBorder::is_arrow_on_left(BubbleBorder::TOP_LEFT)); in TEST_F()
112 EXPECT_FALSE(BubbleBorder::is_arrow_on_left(BubbleBorder::TOP_RIGHT)); in TEST_F()
114 EXPECT_TRUE(BubbleBorder::is_arrow_on_left(BubbleBorder::BOTTOM_LEFT)); in TEST_F()
115 EXPECT_FALSE(BubbleBorder::is_arrow_on_left(BubbleBorder::BOTTOM_RIGHT)); in TEST_F()
117 EXPECT_TRUE(BubbleBorder::is_arrow_on_left(BubbleBorder::LEFT_TOP)); in TEST_F()
118 EXPECT_FALSE(BubbleBorder::is_arrow_on_left(BubbleBorder::RIGHT_TOP)); in TEST_F()
120 EXPECT_TRUE(BubbleBorder::is_arrow_on_left(BubbleBorder::LEFT_BOTTOM)); in TEST_F()
121 EXPECT_FALSE(BubbleBorder::is_arrow_on_left(BubbleBorder::RIGHT_BOTTOM)); in TEST_F()
123 EXPECT_FALSE(BubbleBorder::is_arrow_on_left(BubbleBorder::TOP_CENTER)); in TEST_F()
124 EXPECT_FALSE(BubbleBorder::is_arrow_on_left(BubbleBorder::BOTTOM_CENTER)); in TEST_F()
[all …]
Dbubble_border.cc180 if (is_arrow_on_left(arrow_)) { in GetBounds()
190 x += is_arrow_on_left(arrow_) ? w + arrow_size : -arrow_size - size.width(); in GetBounds()
255 is_arrow_on_top(arrow_) : is_arrow_on_left(arrow_)) in GetInsets()
296 return is_arrow_on_left(arrow_) ? in GetArrowImage()
310 origin.set_x(is_arrow_on_left(arrow_) || is_arrow_at_center(arrow_) ? in GetArrowRect()
321 if (is_arrow_on_left(arrow_)) in GetArrowRect()
335 is_arrow_on_left(arrow_) ? arrow_bounds.right() - thickness : in DrawArrow()
341 is_arrow_on_top(arrow_) : is_arrow_on_left(arrow_); in DrawArrow()
Dbubble_border.h98 static bool is_arrow_on_left(Arrow a) { in is_arrow_on_left() function