Searched refs:is_arrow_on_horizontal (Results 1 – 7 of 7) sorted by relevance
157 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 …]
179 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()
258 MirrorArrowIfOffScreen(BubbleBorder::is_arrow_on_horizontal(arrow), in GetUpdatedWindowBounds()316 const bool is_horizontal = BubbleBorder::is_arrow_on_horizontal(arrow); in OffsetArrowIfOffScreen()
106 static bool is_arrow_on_horizontal(Arrow a) { in is_arrow_on_horizontal() function
188 views::BubbleBorder::is_arrow_on_horizontal(arrow()) ? in GetBubbleBounds()206 if (views::BubbleBorder::is_arrow_on_horizontal(arrow())) { in GetBubbleBounds()
157 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()
78 static bool is_arrow_on_horizontal(ArrowLocation loc) { in is_arrow_on_horizontal() function