GetStringWidthF 18 chrome/browser/ui/elide_url.cc using gfx::GetStringWidthF; GetStringWidthF 64 chrome/browser/ui/elide_url.cc if (available_pixel_width >= GetStringWidthF(elided_path, font_list)) GetStringWidthF 130 chrome/browser/ui/elide_url.cc const float pixel_width_url_string = GetStringWidthF(url_string, font_list); GetStringWidthF 143 chrome/browser/ui/elide_url.cc if (available_pixel_width >= GetStringWidthF(url_minus_query, font_list)) GetStringWidthF 171 chrome/browser/ui/elide_url.cc const float pixel_width_url_host = GetStringWidthF(url_host, font_list); GetStringWidthF 172 chrome/browser/ui/elide_url.cc const float pixel_width_url_path = GetStringWidthF(url_path_query_etc, GetStringWidthF 179 chrome/browser/ui/elide_url.cc const float pixel_width_url_domain = GetStringWidthF(url_domain, font_list); GetStringWidthF 181 chrome/browser/ui/elide_url.cc GetStringWidthF(url_subdomain, font_list); GetStringWidthF 189 chrome/browser/ui/elide_url.cc const float kPixelWidthDotsTrailer = GetStringWidthF( GetStringWidthF 195 chrome/browser/ui/elide_url.cc pixel_width_url_path - GetStringWidthF(url_query, font_list))) { GetStringWidthF 232 chrome/browser/ui/elide_url.cc GetStringWidthF(kEllipsisAndSlash, font_list); GetStringWidthF 264 chrome/browser/ui/elide_url.cc const float url_elided_domain_width = GetStringWidthF(url_elided_domain, GetStringWidthF 270 chrome/browser/ui/elide_url.cc GetStringWidthF(base::ASCIIToUTF16("UV"), font_list)) { GetStringWidthF 289 chrome/browser/ui/elide_url.cc const float pixel_width_url_host = GetStringWidthF(url_host, font_list); GetStringWidthF 296 chrome/browser/ui/elide_url.cc const float pixel_width_url_domain = GetStringWidthF(url_domain, font_list); GetStringWidthF 15 chrome/browser/ui/tests/elide_url_unittest.cc using gfx::GetStringWidthF; GetStringWidthF 32 chrome/browser/ui/tests/elide_url_unittest.cc GetStringWidthF(UTF8ToUTF16(testcases[i].output), font_list); GetStringWidthF 74 chrome/browser/ui/tests/elide_url_unittest.cc float available_width = GetStringWidthF( GetStringWidthF 82 chrome/browser/ui/tests/elide_url_unittest.cc ASSERT_GT(GetStringWidthF(UTF8ToUTF16(kEllipsisStr + "/" + kEllipsisStr), GetStringWidthF 84 chrome/browser/ui/tests/elide_url_unittest.cc GetStringWidthF(UTF8ToUTF16("d" + kEllipsisStr), font_list)); GetStringWidthF 187 chrome/browser/ui/tests/elide_url_unittest.cc GetStringWidthF(UTF8ToUTF16(testcases[i].output), gfx::FontList()); GetStringWidthF 152 ui/gfx/canvas.h static float GetStringWidthF(const base::string16& text, GetStringWidthF 89 ui/gfx/text_elider.cc if (GetStringWidthF(email, font_list) <= available_pixel_width) GetStringWidthF 106 ui/gfx/text_elider.cc available_pixel_width -= GetStringWidthF(kAtSignUTF16, font_list); GetStringWidthF 110 ui/gfx/text_elider.cc const float full_username_width = GetStringWidthF(username, font_list); GetStringWidthF 114 ui/gfx/text_elider.cc GetStringWidthF(username.substr(0, 1) + kEllipsisUTF16, GetStringWidthF 116 ui/gfx/text_elider.cc if (GetStringWidthF(domain, font_list) > available_domain_width) { GetStringWidthF 138 ui/gfx/text_elider.cc available_pixel_width -= GetStringWidthF(domain, font_list); GetStringWidthF 161 ui/gfx/text_elider.cc const float full_width = GetStringWidthF(filename_utf16, font_list); GetStringWidthF 171 ui/gfx/text_elider.cc const float ext_width = GetStringWidthF(extension, font_list); GetStringWidthF 172 ui/gfx/text_elider.cc const float root_width = GetStringWidthF(rootname, font_list); GetStringWidthF 201 ui/gfx/text_elider.cc const float current_text_pixel_width = GetStringWidthF(text, font_list); GetStringWidthF 227 ui/gfx/text_elider.cc GetStringWidthF(ellipsis, font_list) > available_pixel_width) GetStringWidthF 240 ui/gfx/text_elider.cc const float guess_width = GetStringWidthF(cut, font_list); GetStringWidthF 594 ui/gfx/text_elider.cc const float line_width = GetStringWidthF(line, font_list_); GetStringWidthF 682 ui/gfx/text_elider.cc const float trimmed_width = GetStringWidthF(trimmed, font_list_); GetStringWidthF 697 ui/gfx/text_elider.cc AddToCurrentLineWithWidth(text, GetStringWidthF(text, font_list_)); GetStringWidthF 112 ui/gfx/text_elider_unittest.cc GetStringWidthF(expected_output, font_list))); GetStringWidthF 200 ui/gfx/text_elider_unittest.cc GetStringWidthF(UTF8ToUTF16(testcases[i].output), font_list))); GetStringWidthF 212 ui/gfx/text_elider_unittest.cc const float kTestWidth = GetStringWidthF(ASCIIToUTF16("Test"), font_list); GetStringWidthF 241 ui/gfx/text_elider_unittest.cc const float kTestWidth = GetStringWidthF(ASCIIToUTF16("Test"), font_list); GetStringWidthF 244 ui/gfx/text_elider_unittest.cc GetStringWidthF(UTF8ToUTF16(kEllipsis), font_list); GetStringWidthF 273 ui/gfx/text_elider_unittest.cc const float kTestWidth = GetStringWidthF(ASCIIToUTF16("Test"), font_list); GetStringWidthF 276 ui/gfx/text_elider_unittest.cc GetStringWidthF(UTF8ToUTF16(kEllipsis), font_list); GetStringWidthF 278 ui/gfx/text_elider_unittest.cc GetStringWidthF(UTF8ToUTF16(kEllipsisStr + "23"), font_list); GetStringWidthF 332 ui/gfx/text_elider_unittest.cc const float kTestStringWidth = GetStringWidthF(kTestString, font_list); GetStringWidthF 388 ui/gfx/text_elider_unittest.cc float ellipsis_width = GetStringWidthF(kEllipsisStr, font_list); GetStringWidthF 396 ui/gfx/text_elider_unittest.cc GetStringWidthF(testcases_end[i].output, font_list), GetStringWidthF 423 ui/gfx/text_elider_unittest.cc GetStringWidthF(testcases_middle[i].output, font_list), GetStringWidthF 444 ui/gfx/text_elider_unittest.cc GetStringWidthF(testcases_beginning[i].output, font_list), GetStringWidthF 489 ui/gfx/text_elider_unittest.cc const float test_width = GetStringWidthF(ASCIIToUTF16("Test"), font_list); GetStringWidthF 553 ui/gfx/text_elider_unittest.cc const float test_width = GetStringWidthF(ASCIIToUTF16("Test"), font_list); GetStringWidthF 554 ui/gfx/text_elider_unittest.cc const float test_t_width = GetStringWidthF(ASCIIToUTF16("Test T"), font_list); GetStringWidthF 601 ui/gfx/text_elider_unittest.cc const float elided_width = GetStringWidthF(kElidedTesting, font_list); GetStringWidthF 602 ui/gfx/text_elider_unittest.cc const float test_width = GetStringWidthF(ASCIIToUTF16("Test"), font_list); GetStringWidthF 685 ui/gfx/text_elider_unittest.cc EXPECT_LE(GetStringWidthF(lines[0], font_list), kAvailableWidth); GetStringWidthF 686 ui/gfx/text_elider_unittest.cc EXPECT_LE(GetStringWidthF(lines[1], font_list), kAvailableWidth); GetStringWidthF 31 ui/gfx/text_utils.h GFX_EXPORT float GetStringWidthF(const base::string16& text, GetStringWidthF 16 ui/gfx/text_utils_skia.cc return Canvas::GetStringWidthF(text, font_list);