Home
last modified time | relevance | path

Searched refs:GetContentWidth (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/omnibox/
Domnibox_result_view.cc237 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()
Domnibox_view_views.cc316 return GetRenderText()->GetContentWidth() + GetInsets().width(); in GetTextWidth()
/external/chromium_org/ui/gfx/
Drender_text.cc722 float RenderText::GetContentWidth() { in GetContentWidth() function in gfx::RenderText
855 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()
Drender_text_unittest.cc474 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()
Drender_text.h362 float GetContentWidth();
/external/chromium_org/ui/views/examples/
Dmultiline_example.cc67 gfx::Size size(render_text_->GetContentWidth(), in GetPreferredSize()