PercentCoveredBy   21 ui/views/rect_based_targeting_utils.h VIEWS_EXPORT float PercentCoveredBy(const gfx::Rect& rect_1,
PercentCoveredBy   24 ui/views/rect_based_targeting_utils_unittest.cc TEST(RectBasedTargetingUtils, PercentCoveredBy) {
PercentCoveredBy   32 ui/views/rect_based_targeting_utils_unittest.cc   EXPECT_FLOAT_EQ(1.0f, PercentCoveredBy(rect_1, rect_1));
PercentCoveredBy   35 ui/views/rect_based_targeting_utils_unittest.cc   EXPECT_FLOAT_EQ(0.075f, PercentCoveredBy(rect_1, rect_2));
PercentCoveredBy   36 ui/views/rect_based_targeting_utils_unittest.cc   EXPECT_FLOAT_EQ(1.0f, PercentCoveredBy(rect_2, rect_1));
PercentCoveredBy   39 ui/views/rect_based_targeting_utils_unittest.cc   EXPECT_FLOAT_EQ(0.0f, PercentCoveredBy(rect_2, rect_3));
PercentCoveredBy   43 ui/views/rect_based_targeting_utils_unittest.cc   EXPECT_NEAR(0.272f, PercentCoveredBy(rect_1, rect_3), error);
PercentCoveredBy   44 ui/views/rect_based_targeting_utils_unittest.cc   EXPECT_NEAR(0.768f, PercentCoveredBy(rect_3, rect_1), error);
PercentCoveredBy   47 ui/views/rect_based_targeting_utils_unittest.cc   EXPECT_FLOAT_EQ(0.0f, PercentCoveredBy(rect_2, rect_4));
PercentCoveredBy   48 ui/views/rect_based_targeting_utils_unittest.cc   EXPECT_FLOAT_EQ(0.0f, PercentCoveredBy(rect_4, rect_2));
PercentCoveredBy  848 ui/views/view.cc     if (views::PercentCoveredBy(cur_view_bounds, rect) >= kRectTargetOverlap) {
PercentCoveredBy  873 ui/views/view.cc   if (views::PercentCoveredBy(local_bounds, rect) >= kRectTargetOverlap) {