Searched refs:GetExpectedTextWidth (Results 1 – 19 of 19) sorted by relevance
107 EXPECT_EQ(cf.GetExpectedTextWidth(0), 0); in TEST_F()108 EXPECT_GT(cf.GetExpectedTextWidth(1), cf.GetExpectedTextWidth(0)); in TEST_F()109 EXPECT_GT(cf.GetExpectedTextWidth(2), cf.GetExpectedTextWidth(1)); in TEST_F()110 EXPECT_GT(cf.GetExpectedTextWidth(3), cf.GetExpectedTextWidth(2)); in TEST_F()
69 int Font::GetExpectedTextWidth(int length) const { in GetExpectedTextWidth() function in gfx::Font70 return platform_font_->GetExpectedTextWidth(length); in GetExpectedTextWidth()
58 virtual int GetExpectedTextWidth(int length) const = 0;
94 int GetExpectedTextWidth(int length) const;
28 virtual int GetExpectedTextWidth(int length) const OVERRIDE;
104 int GetExpectedTextWidth(int length) const;
26 virtual int GetExpectedTextWidth(int length) const OVERRIDE;
220 int FontList::GetExpectedTextWidth(int length) const { in GetExpectedTextWidth() function in gfx::FontList222 return GetPrimaryFont().GetExpectedTextWidth(length); in GetExpectedTextWidth()
55 virtual int GetExpectedTextWidth(int length) const OVERRIDE;
63 virtual int GetExpectedTextWidth(int length) const OVERRIDE;
67 int PlatformFontIOS::GetExpectedTextWidth(int length) const {
117 int PlatformFontMac::GetExpectedTextWidth(int length) const {
157 int PlatformFontWin::GetExpectedTextWidth(int length) const { in GetExpectedTextWidth() function in gfx::PlatformFontWin
206 int PlatformFontPango::GetExpectedTextWidth(int length) const { in GetExpectedTextWidth() function in gfx::PlatformFontPango
205 *width = font_list.GetExpectedTextWidth(adjusted_text.length()); in SizeStringFloat()
139 font_list.GetExpectedTextWidth(test_width_factors[i]); in TEST()
19 int width = font.GetExpectedTextWidth(static_cast<int>(chars)); in GetLocalizedContentsWidthForFont()
51 font_list.GetExpectedTextWidth(kMaxCharactersToDisplay), in GetElidedText()
442 GetPrimaryFont().GetExpectedTextWidth(default_width_in_chars_) in GetPreferredSize()