Searched refs:expected_font (Results 1 – 1 of 1) sorted by relevance
20 Font expected_font = base_font; in AdjustFontSizeForHeight() local25 expected_font = larger_font; in AdjustFontSizeForHeight()28 } else if (expected_font.GetHeight() > target_height) { in AdjustFontSizeForHeight()31 expected_font = expected_font.DeriveFont(-1, 0); in AdjustFontSizeForHeight()32 } while (expected_font.GetHeight() > target_height); in AdjustFontSizeForHeight()34 return expected_font; in AdjustFontSizeForHeight()46 Font expected_font = AdjustFontSizeForHeight(base_font, target_height); in TEST() local47 ASSERT_LE(expected_font.GetHeight(), target_height); in TEST()50 EXPECT_EQ(expected_font.GetFontName(), derived_font.GetFontName()); in TEST()51 EXPECT_EQ(expected_font.GetFontSize(), derived_font.GetFontSize()); in TEST()[all …]