/external/chromium_org/ui/message_center/views/ |
bounded_label_unittest.cc | 26 digit_pixels_ = gfx::GetStringWidth(base::UTF8ToUTF16("0"), font_list_); 27 space_pixels_ = gfx::GetStringWidth(base::UTF8ToUTF16(" "), font_list_); 29 font_list_); 67 label_->SetBounds(0, 0, width, font_list_.GetHeight() * lines_); 76 label_.reset(new BoundedLabel(text, font_list_)); 83 gfx::FontList font_list_; member in class:message_center::test::BoundedLabelTest
|
/external/chromium_org/ui/gfx/ |
canvas_unittest.cc | 21 return Canvas::GetStringWidth(base::UTF8ToUTF16(text), font_list_); 29 Canvas::SizeStringInt(text16, font_list_, &width, &height, line_height, 35 FontList font_list_; member in class:gfx::CanvasTest
|
text_elider.cc | 475 : font_list_(font_list), 529 const FontList& font_list_; member in class:gfx::__anon21527::RectangleText 602 const float line_width = GetStringWidthF(line, font_list_); 644 ElideText(text, font_list_, available_pixel_width_, TRUNCATE); 677 ElideText(word, font_list_, available_pixel_width_, elide_behavior); 689 const float trimmed_width = GetStringWidthF(trimmed, font_list_); 704 AddToCurrentLineWithWidth(text, GetStringWidthF(text, font_list_));
|
render_text.h | 203 const FontList& font_list() const { return font_list_; } 628 FontList font_list_; member in class:gfx::RenderText
|
/external/chromium_org/ash/shell/ |
lock_view.cc | 47 int string_width = gfx::GetStringWidth(text, font_list_); 48 canvas->DrawStringRect(text, font_list_, SK_ColorRED, 50 (height() - font_list_.GetHeight()) / 2, 51 string_width, font_list_.GetHeight())); 79 gfx::FontList font_list_; member in class:ash::shell::LockView
|
/external/chromium_org/ui/views/controls/table/ |
table_header.h | 28 const gfx::FontList& font_list() const { return font_list_; } 73 const gfx::FontList font_list_; member in class:views::TableHeader
|
table_header.cc | 89 gfx::GetStringWidth(columns[i].column.title, font_list_); 100 columns[i].column.title, font_list_, kTextColor, 163 return gfx::Size(1, kVerticalPadding * 2 + font_list_.GetHeight());
|
table_view.h | 319 gfx::FontList font_list_; member in class:views::TableView
|
table_view.cc | 128 row_height_(font_list_.GetHeight() + kTextVerticalPadding * 2), 528 font_list_, is_selected ? selected_fg_color : fg_color, 688 layout_width_, first_column_padding, header_->font_list(), font_list_, 896 gfx::GetStringWidth(text, font_list_) <= (right - cell_bounds.x()))
|
/external/chromium_org/ui/views/examples/ |
text_example.cc | 77 canvas->DrawFadedString(text_, font_list_, color, bounds, flags_); 79 canvas->DrawStringRectWithHalo(text_, font_list_, color, SK_ColorYELLOW, 82 canvas->DrawStringRectWithFlags(text_, font_list_, color, bounds, flags_); 92 int GetStyle() const { return font_list_.GetFontStyle(); } 93 void SetStyle(int style) { font_list_ = font_list_.DeriveWithStyle(style); } 97 gfx::FontList font_list_; member in class:views::examples::TextExample::TextExampleView
|
/external/chromium_org/chrome/browser/ui/views/autofill/ |
password_generation_popup_view_views.h | 60 gfx::FontList font_list_; member in class:autofill::PasswordGenerationPopupViewViews
|
password_generation_popup_view_views.cc | 123 font_list_(ResourceBundle::GetSharedInstance().GetFontList( 130 help_label_->SetBaseFontList(font_list_); 165 font_list_);
|
/external/chromium_org/ui/views/controls/ |
label.cc | 56 font_list_ = font_list; 197 label_width = std::max(label_width, gfx::GetStringWidth(*iter, font_list_)); 223 return GetInsets().top() + font_list_.GetBaseline(); 247 font_list_), 248 font_list_.GetHeight()); 269 int h = font_list_.GetHeight(); 272 layout_text_, font_list_, &w, &h, line_height_, flags); 320 canvas->DrawFadedString(text, font_list_, color, text_bounds, flags); 322 canvas->DrawStringRectWithShadows(text, font_list_, color, text_bounds, 341 int h = font_list_.GetHeight() [all...] |
styled_label.cc | 114 font_list_ = font_list; 203 : CalculateLineHeight(font_list_); 231 gfx::FontList text_font_list = font_list_; 282 label = CreateLabelRange(chunk, font_list_, style_info, this); 293 label = CreateLabelRange(chunk, font_list_, default_style_info_, this); 321 CalculateLineHeight(font_list_) + GetInsets().height();
|
label.h | 37 const gfx::FontList& font_list() const { return font_list_; } 186 gfx::FontList font_list_; member in class:views::Label
|
styled_label.h | 128 gfx::FontList font_list_; member in class:views::StyledLabel
|
/external/chromium_org/chrome/browser/ui/cocoa/download/ |
download_item_controller.h | 106 scoped_ptr<gfx::FontList> font_list_; member in namespace:NSViewController
|
/external/chromium_org/chrome/browser/ui/views/download/ |
download_item_view.cc | 211 font_list_ = rb.GetFontList(ui::ResourceBundle::BaseFont); 212 box_height_ = std::max<int>(2 * kVerticalPadding + font_list_.GetHeight() + 213 kVerticalTextPadding + font_list_.GetHeight(), 326 base::string16 new_tip = model_.GetTooltipText(font_list_, kTooltipMaxWidth); 386 height = 2 * kVerticalPadding + 2 * font_list_.GetHeight() + 709 // Add font_list_.height() to compensate for title, which is drawn later. 710 int y = box_y_ + kVerticalPadding + font_list_.GetHeight() + 724 canvas->DrawStringRect(status_text_, font_list_, file_name_color, 726 font_list_.GetHeight())); 817 font_list_, kTextWidth) [all...] |
download_item_view.h | 256 gfx::FontList font_list_; member in class:DownloadItemView
|
/external/chromium_org/chrome/browser/ui/views/omnibox/ |
omnibox_result_view.h | 164 const gfx::FontList font_list_; member in class:OmniboxResultView
|
omnibox_popup_contents_view.h | 154 gfx::FontList font_list_; member in class:OmniboxPopupContentsView
|
omnibox_popup_contents_view.cc | 63 font_list_(font_list), 84 OmniboxResultView* result_view = CreateResultView(i, font_list_);
|
omnibox_result_view.cc | 135 font_list_(font_list), 344 render_text->SetFontList(font_list_);
|
/external/chromium_org/ui/views/controls/tree/ |
tree_view.cc | 82 row_height_(font_list_.GetHeight() + kTextVerticalPadding * 2) { 161 editor_->SetFontList(font_list_); 697 gfx::Canvas::SizeStringInt(node->model_node()->GetTitle(), font_list_, 732 -(empty_editor_size_.height() - font_list_.GetHeight()) / 2); 811 canvas->DrawStringRect(node->model_node()->GetTitle(), font_list_,
|
tree_view.h | 381 gfx::FontList font_list_; member in class:views::TreeView
|