/external/chromium_org/ui/views/controls/button/ |
label_button_unittest.cc | 118 const int text_width = gfx::GetStringWidth(text, font_list); local 125 EXPECT_LT(button.GetPreferredSize().width(), text_width); 129 EXPECT_GT(button.GetPreferredSize().width(), text_width); 131 EXPECT_LT(button.GetPreferredSize().width(), text_width + image_size); 134 EXPECT_GT(button.GetPreferredSize().width(), text_width + image_size); 153 EXPECT_GT(button.GetPreferredSize().width(), text_width + image_size); 156 EXPECT_GT(button.GetPreferredSize().width(), text_width + image_size); 165 EXPECT_LT(button.GetPreferredSize().width(), text_width);
|
/external/chromium_org/ui/app_list/views/ |
folder_header_view.cc | 175 int text_width = local 179 text_width = std::min(text_width, kMaxFolderNameWidth); 180 text_bounds.set_x(back_bounds.x() + (rect.width() - text_width) / 2); 181 text_bounds.set_width(text_width);
|
/external/chromium_org/ui/message_center/views/ |
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/common/ |
badge_util.cc | 132 int text_width = local 139 int badge_width = text_width + kPadding * 2; 190 static_cast<float>(rect.width() - text_width) / 2),
|
/external/chromium_org/chrome/browser/ui/views/profiles/ |
avatar_menu_bubble_view.cc | 292 int text_width = std::max(name_label_->GetPreferredSize().width(), local 294 text_width = std::max(edit_link_->GetPreferredSize().width(), text_width); 295 text_width = std::min(kMaxItemTextWidth, text_width); 296 return gfx::Size(profiles::kAvatarIconWidth + kIconMarginX + text_width,
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
status_bubble_mac.mm | 189 int text_width = static_cast<int>(NSWidth(frame) - 194 NSSize scaled_width = NSMakeSize(text_width, 0); 196 text_width = static_cast<int>(scaled_width.width); 203 ElideUrl(url, font_list_chr, text_width, languages);
|
/external/chromium_org/ui/gfx/ |
text_elider.cc | 519 // |AddToCurrentLine()| when |text_width| is already known. 520 void AddToCurrentLineWithWidth(const base::string16& text, float text_width); 708 float text_width) { 714 current_width_ += text_width;
|
/external/chromium_org/ui/views/controls/combobox/ |
combobox.cc | 670 int text_width = gfx::GetStringWidth(text, font_list); local 671 if ((text_width + insets.width()) > disclosure_arrow_offset) 672 text_width = disclosure_arrow_offset - insets.width(); 674 gfx::Rect text_bounds(x, y, text_width, text_height);
|
/external/chromium_org/ui/views/controls/tree/ |
tree_view.h | 202 int text_width() const { return text_width_; } function in class:views::TreeView::InternalNode 258 // Sets |node|s text_width.
|
tree_view.cc | 475 int old_width = node->text_width(); 477 if (old_width != node->text_width() && 876 text_offset_ + node->text_width() +
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
AutoCompleteWindow.py | 226 text_width, text_height = text.winfo_width(), text.winfo_height() 227 new_x = text.winfo_rootx() + min(x, max(0, text_width - acw_width))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
AutoCompleteWindow.py | 226 text_width, text_height = text.winfo_width(), text.winfo_height() 227 new_x = text.winfo_rootx() + min(x, max(0, text_width - acw_width))
|
/external/chromium_org/chrome/browser/ui/views/ |
status_bubble_views.cc | 417 int text_width = std::min( local 423 std::max(0, text_width), 675 int text_width = static_cast<int>(popup_bounds.width() - local 677 url_text_ = ElideUrl(url, gfx::FontList(), text_width, languages);
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
opaque_browser_frame_view_layout.cc | 357 int text_width = std::max( local 362 text_width, window_icon_bounds_.height()); 363 leading_button_start_ += text_width + kIconTitleSpacing;
|
/external/chromium_org/chrome/browser/ui/views/omnibox/ |
omnibox_result_view.cc | 493 int text_width = width() - text_x - edge_item_padding_; local 503 text_width = kw_x - text_x - item_padding_; 511 text_bounds_.SetRect(text_x, 0, std::max(text_width, 0), height());
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
fancy_getopt.py | 354 text_width = line_width - opt_width 363 text = wrap_text(help, text_width)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
fancy_getopt.py | 354 text_width = line_width - opt_width 363 text = wrap_text(help, text_width)
|
/external/chromium_org/chrome/renderer/resources/ |
offline.js | 879 TEXT_WIDTH: 191, 910 var textSourceWidth = dimensions.TEXT_WIDTH; 913 var textTargetX = Math.round(centerX - (dimensions.TEXT_WIDTH / 2)); 915 var textTargetWidth = dimensions.TEXT_WIDTH; [all...] |
/external/lldb/source/Interpreter/ |
Options.cpp | 357 int text_width = output_max_columns - strm.GetIndentLevel() - 1; local 369 end = start + text_width; [all...] |
CommandInterpreter.cpp | 2728 int text_width; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
argparse.py | 321 text_width = self._width - self._current_indent 322 if len(prefix) + len(usage) > text_width: 342 if line_len + 1 + len(part) > text_width: 355 if len(prefix) + len(prog) <= 0.75 * text_width: 481 text_width = self._width - self._current_indent 483 return self._fill_text(text, text_width, indent) + '\n\n' [all...] |
optparse.py | 259 text_width = self.width - self.current_indent 262 text_width, [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
argparse.py | 321 text_width = self._width - self._current_indent 322 if len(prefix) + len(usage) > text_width: 342 if line_len + 1 + len(part) > text_width: 355 if len(prefix) + len(prog) <= 0.75 * text_width: 481 text_width = self._width - self._current_indent 483 return self._fill_text(text, text_width, indent) + '\n\n' [all...] |
optparse.py | 259 text_width = self.width - self.current_indent 262 text_width, [all...] |
/external/lldb/tools/driver/ |
Driver.cpp | 186 int text_width = output_max_columns - indent - 1; local 198 end = start + text_width; [all...] |