Searched defs:GetStringWidth (Results 1 - 8 of 8) sorted by relevance
/external/chromium_org/ui/gfx/ |
H A D | text_utils_android.cc | 11 int GetStringWidth(const base::string16& text, const FontList& font_list) { function in namespace:gfx
|
H A D | text_utils_skia.cc | 11 int GetStringWidth(const base::string16& text, const FontList& font_list) { function in namespace:gfx 12 return Canvas::GetStringWidth(text, font_list);
|
H A D | canvas_unittest.cc | 16 int GetStringWidth(const char *text) { function in class:gfx::CanvasTest 17 return Canvas::GetStringWidth(UTF8ToUTF16(text), font_); 34 EXPECT_GT(GetStringWidth("Test"), 0); 38 EXPECT_EQ(0, GetStringWidth(""));
|
H A D | font.cc | 65 int Font::GetStringWidth(const base::string16& text) const { function in class:gfx::Font 66 return platform_font_->GetStringWidth(text);
|
H A D | font_list.cc | 207 int FontList::GetStringWidth(const base::string16& text) const { function in class:gfx::FontList 212 // client code should call Canvas::GetStringWidth(text, font_list) directly. 214 // 1. Introduce the FontList version of Canvas::GetStringWidth(). 215 // 2. Make client code call Canvas::GetStringWidth(). 216 // 3. Retire {Font,FontList}::GetStringWidth(). 217 return GetPrimaryFont().GetStringWidth(text);
|
H A D | platform_font_pango.cc | 201 int PlatformFontPango::GetStringWidth(const base::string16& text) const { function in class:gfx::PlatformFontPango 202 return Canvas::GetStringWidth(text, 394 const int text_width_pixels = GetStringWidth(
|
H A D | platform_font_win.cc | 152 int PlatformFontWin::GetStringWidth(const base::string16& text) const { function in class:gfx::PlatformFontWin 153 return Canvas::GetStringWidth(text,
|
H A D | canvas.cc | 112 int Canvas::GetStringWidth(const base::string16& text, function in class:gfx::Canvas 128 int Canvas::GetStringWidth(const base::string16& text, const Font& font) { function in class:gfx::Canvas
|
Completed in 370 milliseconds