Searched refs:GetContentWidth (Results 1 – 6 of 6) sorted by relevance
237 separator_width_ = separator_rendertext_->GetContentWidth(); in PaintMatch()242 contents->GetContentWidth(), in PaintMatch()244 description ? description->GetContentWidth() : 0, in PaintMatch()288 const int prefix_width = prefix_render_text->GetContentWidth(); in DrawRenderText()395 return contents_rendertext_ ? contents_rendertext_->GetContentWidth() : 0; in GetMatchContentsWidth()421 (input_render_text->GetContentWidth() - start_padding) : start_padding; in GetDisplayOffset()
316 return GetRenderText()->GetContentWidth() + GetInsets().width(); in GetTextWidth()
722 float RenderText::GetContentWidth() { in GetContentWidth() function in gfx::RenderText855 const int extra_content = GetContentWidth() - display_rect_.width(); in SetDisplayOffset()1074 const int width = GetContentWidth(); in GetAlignmentOffset()1096 if (multiline() || elide_behavior_ != FADE_TAIL || GetContentWidth() <= width) in ApplyFadeEffects()1202 !layout_text_.empty() && GetContentWidth() > display_rect_.width()) { in UpdateLayoutText()1235 if (render_text->GetContentWidth() <= available_width) in Elide()1245 const float ellipsis_width = render_text->GetContentWidth(); in Elide()1302 const float guess_width = render_text->GetContentWidth(); in Elide()
474 int expected_width = expected_render_text->GetContentWidth(); in TEST_F()502 Rect(0, 0, expected_render_text->GetContentWidth(), 100)); in TEST_F()1109 const int content_width = render_text->GetContentWidth(); in TEST_F()1503 const Size font_size(render_text->GetContentWidth(), in TEST_F()1552 const Size font_size(render_text->GetContentWidth() + kEnlargement, in TEST_F()1566 const Size font_size(render_text->GetContentWidth(), in TEST_F()
362 float GetContentWidth();
67 gfx::Size size(render_text_->GetContentWidth(), in GetPreferredSize()