Home
last modified time | relevance | path

Searched refs:ElideText (Results 1 – 25 of 35) sorted by relevance

12

/external/chromium_org/ui/gfx/
Dtext_elider.cc144 return ElideText(elided_path + url_query, font_list, in ElideComponentizedPath()
194 domain = ElideText(domain, font_list, desired_domain_width, in ElideEmail()
206 username = ElideText(username, font_list, available_pixel_width, in ElideEmail()
230 return ElideText(url_string, font_list, available_pixel_width, in ElideUrl()
249 return ElideText(url_string, font_list, available_pixel_width, in ElideUrl()
323 return ElideText(url_subdomain + url_domain + url_path_query_etc, in ElideUrl()
351 return ElideText(url_subdomain + url_domain + url_path_query_etc, font_list, in ElideUrl()
404 return ElideText(final_elided_url_string, font_list, available_pixel_width, in ElideUrl()
429 const base::string16 elided_name = ElideText(filename_utf16, font_list, in ElideFilename()
444 const base::string16 elided_name = ElideText( in ElideFilename()
[all …]
Dtext_elider_unittest.cc347 string16 result = ElideText(UTF8ToUTF16(cases[i].input), font_list, in TEST()
373 string16 result = ElideText(UTF8ToUTF16(cases[i].input), font_list, in TEST()
413 result = ElideText(kTestString, font_list, width, TRUNCATE_AT_END); in TEST()
416 result = ElideText(kTestString, font_list, width, ELIDE_AT_END); in TEST()
419 result = ElideText(kTestString, font_list, width, ELIDE_IN_MIDDLE); in TEST()
454 ElideText( in TEST()
460 ElideText(testcases_end[i].input, font_list, ellipsis_width, in TEST()
481 ElideText( in TEST()
487 ElideText(testcases_middle[i].input, font_list, ellipsis_width, in TEST()
Dtext_elider.h76 GFX_EXPORT base::string16 ElideText(const base::string16& text,
81 GFX_EXPORT base::string16 ElideText(const base::string16& text,
Dcanvas_skia.cc108 *text = gfx::ElideText(*text, font_list, width, gfx::ELIDE_AT_END); in ElideTextAndAdjustRange()
/external/chromium/chrome/browser/ui/views/
Dprofile_menu_button.cc50 MenuButton::SetText(ui::ElideText(text, font(), kMaxTextWidth, false)); in SetText()
/external/chromium_org/chrome/browser/ui/views/
Dnew_avatar_button.cc48 return gfx::ElideText( in GetElidedText()
/external/chromium_org/ui/views/corewm/
Dtooltip_aura_unittest.cc82 EXPECT_EQ(gfx::ElideText(UTF8ToUTF16(std::string('a', max_pixel_width)), font, in TEST_F()
Dtooltip_aura.cc153 result.append(gfx::ElideText(*l, font, available_width, in TrimTooltipToFit()
/external/chromium_org/ui/views/controls/
Dlabel.cc498 *paint_text = gfx::ElideText(text_, font_list_, GetAvailableRect().width(), in CalculateDrawStringParams()
501 *paint_text = gfx::ElideText(text_, font_list_, GetAvailableRect().width(), in CalculateDrawStringParams()
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_popup_view_mac_unittest.mm462 // When elided, result is the same as ElideText().
464 string16 elided = ui::ElideText(contents16, font_, kNarrow, false);
469 // When elided, result is the same as ElideText().
471 elided = ui::ElideText(contents16, font_, 0.0, false);
/external/chromium_org/chrome/browser/ui/cocoa/omnibox/
Domnibox_popup_view_mac_unittest.mm488 // When elided, result is the same as ElideText().
491 gfx::ElideText(contents16, font_, kNarrow, gfx::ELIDE_AT_END);
496 // When elided, result is the same as ElideText().
498 elided = gfx::ElideText(contents16, font_, 0.0, gfx::ELIDE_AT_END);
Domnibox_popup_view_mac.mm322 // If ElideText() decides to do nothing, nothing to be done.
324 gfx::ElideText(original_string, font, width, gfx::ELIDE_AT_END);
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_menu_cocoa_controller.mm33 string16 title = ui::ElideText(node->GetTitle(),
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/
Dev_bubble_decoration.mm89 gfx::ElideText(base::SysNSStringToUTF16(full_label_), font, width_left,
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dev_bubble_decoration.mm97 ui::ElideText(base::SysNSStringToUTF16(full_label_), font, width_left,
/external/chromium_org/chrome/browser/ui/gtk/
Davatar_menu_item_gtk.cc229 base::string16 elided_name = gfx::ElideText(item_.name, in Init()
Dcontent_setting_bubble_gtk.cc50 return UTF16ToUTF8(gfx::ElideText( in BuildElidedText()
/external/chromium_org/chrome/browser/ui/autofill/
Dautofill_popup_controller_impl.cc156 names_[i] = gfx::ElideText(names_[i], in Show()
162 subtexts_[i] = gfx::ElideText(subtexts_[i], in Show()
/external/chromium_org/ui/views/widget/
Dtooltip_manager_win.cc67 gfx::ElideText(*i, font_list, available_width, gfx::ELIDE_AT_END); in TrimTooltipToFit()
/external/chromium_org/chrome/browser/ui/toolbar/
Dback_forward_menu_model.cc110 gfx::ElideText(menu_text, gfx::Font(), kMaxWidth, gfx::ELIDE_AT_END); in GetLabelAt()
/external/chromium/chrome/browser/ui/toolbar/
Dback_forward_menu_model.cc90 menu_text = ui::ElideText(menu_text, gfx::Font(), kMaxWidth, false); in GetLabelAt()
/external/chromium/chrome/browser/ui/gtk/
Dcontent_setting_bubble_gtk.cc41 return UTF16ToUTF8(ui::ElideText( in BuildElidedText()
/external/chromium_org/ui/message_center/views/
Dbounded_label.cc156 last = gfx::ElideText(last, font(), width, gfx::ELIDE_AT_END); in GetWrappedText()
/external/chromium_org/chrome/browser/ui/cocoa/
Dscreen_capture_notification_ui_cocoa.mm155 ElideText(text, font, maxLabelWidth, gfx::ELIDE_IN_MIDDLE);
/external/chromium_org/chrome/browser/download/
Ddownload_item_model.cc349 tooltip += gfx::ElideText(InterruptReasonStatusMessage(reason), in GetTooltipText()

12