Searched refs:GetStringSize (Results 1 – 15 of 15) sorted by relevance
316 EXPECT_EQ(render_text->GetStringSize().width(), in TEST_F()1132 const Size string_size = render_text->GetStringSize(); in TEST_F()1150 EXPECT_EQ(font_list.GetHeight(), render_text->GetStringSize().height()); in TEST_F()1151 EXPECT_EQ(0, render_text->GetStringSize().width()); in TEST_F()1155 EXPECT_EQ(font_list.GetHeight(), render_text->GetStringSize().height()); in TEST_F()1194 EXPECT_EQ(smaller_font.GetHeight(), render_text->GetStringSize().height()); in TEST_F()1207 EXPECT_LT(smaller_font.GetHeight(), render_text->GetStringSize().height()); in TEST_F()1209 EXPECT_EQ(font_list.GetHeight(), render_text->GetStringSize().height()); in TEST_F()1234 const int plain_width = render_text->GetStringSize().width(); in TEST_F()1239 const int bold_width = render_text->GetStringSize().width(); in TEST_F()[all …]
266 line_padding = line_height - render_text->GetStringSize().height(); in DrawStringRectWithShadows()268 line_height = render_text->GetStringSize().height(); in DrawStringRectWithShadows()313 const int text_height = render_text->GetStringSize().height(); in DrawStringRectWithShadows()421 const int line_height = render_text->GetStringSize().height(); in DrawFadeTruncatingStringRectWithFlags()
22 virtual Size GetStringSize() OVERRIDE;
29 virtual Size GetStringSize() OVERRIDE;
82 Size RenderTextPango::GetStringSize() { in GetStringSize() function in gfx::RenderTextPango105 if (p.x() > GetStringSize().width()) in FindCursorPosition()234 const int height = GetStringSize().height(); in GetSubstringBounds()
66 virtual Size GetStringSize() OVERRIDE;
671 const Size size = GetStringSize(); in GetStringSizeF()676 return GetStringSize().width() + (cursor_enabled_ ? 1 : 0); in GetContentWidth()754 Size size = GetStringSize(); in GetCursorBounds()958 Size(x.length(), GetStringSize().height()))); in TextBoundsToViewBounds()1022 if (GetStringSize().width() <= display_width) in ApplyFadeEffects()
26 Size RenderTextMac::GetStringSize() { in GetStringSize() function in gfx::RenderTextMac
326 virtual Size GetStringSize() = 0;
520 Size RenderTextWin::GetStringSize() { in GetStringSize() function in gfx::RenderTextWin
40 render_text_->GetStringSize().height()); in GetPreferredSize()54 int height = render_text_->GetStringSize().height() + GetInsets().height(); in GetHeightForWidth()
243 title_text_->GetStringSize().height()); in OnPaint()245 details_text_->GetStringSize().height()); in OnPaint()259 title_text_->GetStringSize().height()); in OnPaint()
420 current_run->pixel_width += render_text->GetStringSize().width(); in DrawString()443 const int width = (*j)->GetStringSize().width(); in DrawString()471 const gfx::Size size = (*j)->GetStringSize(); in DrawString()505 remaining_width += (*j)->GetStringSize().width(); in Elide()
366 line->GetStringSize().height()); in LayoutSigninPromo()
526 const gfx::Size size(contents_area.width(), line->GetStringSize().height()); in Layout()555 const gfx::Size last_line_size = lines_.back()->GetStringSize(); in Layout()