Home
last modified time | relevance | path

Searched refs:GetStringSize (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/ui/gfx/
Drender_text_unittest.cc316 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 …]
Dcanvas_skia.cc266 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()
Drender_text_pango.h22 virtual Size GetStringSize() OVERRIDE;
Drender_text_mac.h29 virtual Size GetStringSize() OVERRIDE;
Drender_text_pango.cc82 Size RenderTextPango::GetStringSize() { in GetStringSize() function in gfx::RenderTextPango
105 if (p.x() > GetStringSize().width()) in FindCursorPosition()
234 const int height = GetStringSize().height(); in GetSubstringBounds()
Drender_text_win.h66 virtual Size GetStringSize() OVERRIDE;
Drender_text.cc671 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()
Drender_text_mac.cc26 Size RenderTextMac::GetStringSize() { in GetStringSize() function in gfx::RenderTextMac
Drender_text.h326 virtual Size GetStringSize() = 0;
Drender_text_win.cc520 Size RenderTextWin::GetStringSize() { in GetStringSize() function in gfx::RenderTextWin
/external/chromium_org/ui/views/examples/
Dmultiline_example.cc40 render_text_->GetStringSize().height()); in GetPreferredSize()
54 int height = render_text_->GetStringSize().height() + GetInsets().height(); in GetHeightForWidth()
/external/chromium_org/ui/app_list/views/
Dsearch_result_view.cc243 title_text_->GetStringSize().height()); in OnPaint()
245 details_text_->GetStringSize().height()); in OnPaint()
259 title_text_->GetStringSize().height()); in OnPaint()
/external/chromium_org/chrome/browser/ui/views/omnibox/
Domnibox_result_view.cc420 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()
/external/chromium_org/chrome/browser/ui/views/extensions/
Dextension_installed_bubble_view.cc366 line->GetStringSize().height()); in LayoutSigninPromo()
/external/chromium_org/ash/system/user/
Dtray_user.cc526 const gfx::Size size(contents_area.width(), line->GetStringSize().height()); in Layout()
555 const gfx::Size last_line_size = lines_.back()->GetStringSize(); in Layout()