/external/chromium/chrome/common/ |
badge_util.cc | 69 SkScalar text_width = paint->measureText(badge_text.c_str(), local 72 if (SkScalarRound(text_width) > (icon.width() - kMinPadding * 2)) { 75 text_width = paint->measureText(badge_text.c_str(), badge_text.size()); 82 if ((SkScalarRound(text_width) % 1) != (badge_width % 1)) 93 SkScalar x = (badge_width - text_width)/2;
|
/external/chromium/chrome/browser/chromeos/login/ |
username_view.cc | 116 int text_height, text_width; local 118 &text_width, &text_height, 120 text_width += margin_width_; 123 bool use_fading_for_text = text_width + margin_width_ >= bounds.width(); 132 text_width;
|
/external/chromium/chrome/common/extensions/ |
extension_action.cc | 128 SkScalar text_width = text_paint->measureText(text.c_str(), text.size()); local 129 text_width = SkIntToScalar( 130 std::min(kMaxTextWidth, SkScalarFloor(text_width))); 134 int badge_width = SkScalarFloor(text_width) + kPadding * 2; 190 rect.fLeft + (rect.width() - text_width) / 2,
|
/external/chromium/chrome/browser/ui/views/ |
theme_install_bubble_view.cc | 133 int text_width = views::Label::font().GetStringWidth(text_); local 134 gfx::Rect body_bounds(kTextHorizPadding / 2, 0, text_width, height());
|
status_bubble_views.cc | 431 int text_width = std::min( local 437 std::max(0, text_width), 650 int text_width = static_cast<int>(popup_bounds.width() - local 653 text_width, UTF16ToUTF8(languages));
|
/external/chromium/chrome/browser/autocomplete/ |
autocomplete_popup_view_gtk.cc | 633 int text_width = window_rect.width() - (kIconAreaWidth + kRightPadding); local 635 static_cast<int>(text_width * kContentWidthPercentage) : text_width; 661 (text_width - actual_content_width), 666 (text_width - actual_content_width) * PANGO_SCALE); 683 (text_width - actual_content_width -
|
autocomplete_edit_view_gtk.cc | 835 gint text_width = first_char_start < last_char_start ? local 838 return text_width + horizontal_border_size; [all...] |
/external/chromium/chrome/browser/ui/gtk/bookmarks/ |
bookmark_utils_gtk.cc | 139 int text_width = sender->allocation.width - text_x; local 143 text_x, 0, text_width, sender->allocation.height);
|
/external/chromium/chrome/browser/ui/cocoa/ |
status_bubble_mac.mm | 140 int text_width = static_cast<int>(NSWidth(frame) - 145 NSSize scaled_width = NSMakeSize(text_width, 0); 147 text_width = static_cast<int>(scaled_width.width); 153 string16 status = ui::ElideUrl(url, font_chr, text_width,
|
/external/chromium/chrome/browser/ui/gtk/ |
location_bar_view_gtk.cc | 1160 int text_width = location_entry_->TextWidth(); local [all...] |