/external/chromium_org/ui/views/controls/button/ |
H A D | label_button_unittest.cc | 119 const int text_width = gfx::GetStringWidth(text, font_list); local 126 EXPECT_LT(button.GetPreferredSize().width(), text_width); 130 EXPECT_GT(button.GetPreferredSize().width(), text_width); 132 EXPECT_LT(button.GetPreferredSize().width(), text_width + image_size); 135 EXPECT_GT(button.GetPreferredSize().width(), text_width + image_size); 154 EXPECT_GT(button.GetPreferredSize().width(), text_width + image_size); 157 EXPECT_GT(button.GetPreferredSize().width(), text_width + image_size); 166 EXPECT_LT(button.GetPreferredSize().width(), text_width);
|
H A D | text_button.cc | 331 int text_width = width(); local 334 if (text_width != 0) { 336 text_width = text_bounds.width(); 338 CalculateTextSize(&text_size_, text_width); 342 if (!multi_line_ || text_width != 0) {
|
/external/chromium_org/chrome/common/ |
H A D | badge_util.cc | 121 int text_width = std::min(kMaxTextWidth, SkScalarFloorToInt(sk_text_width)); local 125 int badge_width = text_width + kPadding * 2; 176 static_cast<float>(rect.width() - text_width) / 2),
|
/external/chromium_org/ui/app_list/views/ |
H A D | folder_header_view.cc | 168 int text_width = local 171 text_width = std::min(text_width, kMaxFolderNameWidth); 172 text_bounds.set_x(back_bounds.x() + (rect.width() - text_width) / 2); 173 text_bounds.set_width(text_width);
|
/external/chromium_org/ui/views/controls/tree/ |
H A D | tree_view.h | 202 int text_width() const { return text_width_; } function in class:views::TreeView::InternalNode 258 // Sets |node|s text_width.
|
/external/chromium_org/ui/message_center/views/ |
H A D | bounded_label.cc | 98 int text_width = std::max(width - owner_->GetInsets().width(), 0); local 99 lines = GetWrappedText(text_width, lines).size(); 112 int text_width = (width < 0) ? std::numeric_limits<int>::max() : local 115 std::vector<base::string16> wrapped = GetWrappedText(text_width, lines); 117 &text_width, &text_height, local 120 size.set_width(text_width + insets.width());
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
H A D | opaque_browser_frame_view_layout.cc | 356 int text_width = std::max( local 361 text_width, window_icon_bounds_.height()); 362 leading_button_start_ += text_width + kIconTitleSpacing;
|
/external/chromium_org/chrome/browser/ui/views/omnibox/ |
H A D | omnibox_result_view.cc | 492 int text_width = width() - text_x - edge_item_padding_; local 502 text_width = kw_x - text_x - item_padding_; 510 text_bounds_.SetRect(text_x, 0, std::max(text_width, 0), height());
|
/external/lldb/source/Interpreter/ |
H A D | Options.cpp | 357 int text_width = output_max_columns - strm.GetIndentLevel() - 1; local 369 end = start + text_width;
|
H A D | CommandInterpreter.cpp | 2728 int text_width; local 2736 text_width = max_columns - 1; 2738 text_width = max_columns - indent_size - 1; 2747 end = start + text_width;
|
/external/chromium_org/chrome/browser/ui/views/profiles/ |
H A D | avatar_menu_bubble_view.cc | 303 int text_width = std::max(name_label_->GetPreferredSize().width(), local 305 text_width = std::max(edit_link_->GetPreferredSize().width(), text_width); 306 text_width = std::min(kMaxItemTextWidth, text_width); 307 return gfx::Size(profiles::kAvatarIconWidth + kIconMarginX + text_width,
|
/external/chromium_org/chrome/browser/ui/views/ |
H A D | status_bubble_views.cc | 443 int text_width = std::min( local 449 std::max(0, text_width), 701 int text_width = static_cast<int>(popup_bounds.width() - local 703 url_text_ = ElideUrl(url, gfx::FontList(), text_width, languages);
|
/external/chromium_org/ui/gfx/ |
H A D | text_elider.cc | 524 // |AddToCurrentLine()| when |text_width| is already known. 525 void AddToCurrentLineWithWidth(const base::string16& text, float text_width); 713 float text_width) { 719 current_width_ += text_width; 712 AddToCurrentLineWithWidth(const base::string16& text, float text_width) argument
|
/external/chromium_org/ui/views/controls/combobox/ |
H A D | combobox.cc | 663 int text_width = gfx::GetStringWidth(text, font_list); local 664 if ((text_width + insets.width()) > disclosure_arrow_offset) 665 text_width = disclosure_arrow_offset - insets.width(); 667 gfx::Rect text_bounds(x, y, text_width, text_height);
|
/external/lldb/tools/driver/ |
H A D | Driver.cpp | 186 int text_width = output_max_columns - indent - 1; local 198 end = start + text_width;
|