Searched refs:is_arrow_on_left (Results 1 – 6 of 6) sorted by relevance
52 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 …]
70 static bool is_arrow_on_left(ArrowLocation loc) { in is_arrow_on_left() function
227 !is_arrow_on_left(arrow_location_)) { in Paint()
111 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 …]
180 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()
98 static bool is_arrow_on_left(Arrow a) { in is_arrow_on_left() function