/external/chromium_org/ui/message_center/views/ |
D | bounded_label_unittest.cc | 26 digit_pixels_ = gfx::GetStringWidth(UTF8ToUTF16("0"), font_list_); in BoundedLabelTest() 27 space_pixels_ = gfx::GetStringWidth(UTF8ToUTF16(" "), font_list_); in BoundedLabelTest() 29 font_list_); in BoundedLabelTest() 67 label_->SetBounds(0, 0, width, font_list_.GetHeight() * lines_); in GetLinesForWidth() 76 label_.reset(new BoundedLabel(text, font_list_)); in Label() 83 gfx::FontList font_list_; member in message_center::test::BoundedLabelTest
|
/external/chromium_org/ui/views/controls/ |
D | label.cc | 66 font_list_ = font_list; in SetFontList() 73 return font_list_.GetPrimaryFont(); in font() 192 label_width = std::max(label_width, gfx::GetStringWidth(*iter, font_list_)); in SizeToFit() 222 return GetInsets().top() + font_list_.GetBaseline(); in GetBaseline() 254 int h = font_list_.GetHeight(); in GetHeightForWidth() 256 gfx::Canvas::SizeStringInt(text_, font_list_, &w, &h, line_height_, flags); in GetHeightForWidth() 317 canvas->DrawStringRectWithShadows(text, font_list_, in PaintText() 336 int h = font_list_.GetHeight(); in GetTextSize() 342 gfx::Canvas::SizeStringInt(text_, font_list_, &w, &h, line_height_, flags); in GetTextSize() 373 font_list_ = font_list; in Init() [all …]
|
D | label.h | 62 const gfx::FontList& font_list() const { return font_list_; } in font_list() 241 gfx::FontList font_list_; variable
|
/external/chromium_org/ui/views/examples/ |
D | text_example.cc | 97 canvas->DrawFadeTruncatingStringRect(text_, fade_mode_, font_list_, in OnPaint() 100 canvas->DrawStringRectWithHalo(text_, font_list_, SK_ColorDKGRAY, in OnPaint() 103 canvas->DrawStringRectWithFlags(text_, font_list_, SK_ColorDKGRAY, bounds, in OnPaint() 124 return font_list_.GetFontStyle(); in GetFontStyle() 127 font_list_ = font_list_.DeriveFontList(style); in SetFontStyle() 132 gfx::FontList font_list_; member in views::examples::TextExample::TextExampleView
|
/external/chromium_org/chrome/browser/ui/views/download/ |
D | download_item_view.cc | 194 font_list_ = rb.GetFontList(ui::ResourceBundle::BaseFont); in DownloadItemView() 195 box_height_ = std::max<int>(2 * kVerticalPadding + font_list_.GetHeight() + in DownloadItemView() 196 kVerticalTextPadding + font_list_.GetHeight(), in DownloadItemView() 303 base::string16 new_tip = model_.GetTooltipText(font_list_, kTooltipMaxWidth); in OnDownloadUpdated() 363 height = 2 * kVerticalPadding + 2 * font_list_.GetHeight() + in GetPreferredSize() 661 int y = box_y_ + kVerticalPadding + font_list_.GetHeight() + in OnPaintBackground() 675 canvas->DrawStringRect(status_text_, font_list_, file_name_color, in OnPaintBackground() 677 font_list_.GetHeight())); in OnPaintBackground() 768 font_list_, kTextWidth); in OnPaintBackground() 774 int status_string_width = font_list_.GetStringWidth(status_string); in OnPaintBackground() [all …]
|
D | download_item_view.h | 248 gfx::FontList font_list_; variable
|
/external/chromium_org/ui/views/controls/textfield/ |
D | textfield.cc | 62 font_list_(GetDefaultFontList()), in Textfield() 90 font_list_(GetDefaultFontList()), in Textfield() 262 font_list_ = font_list; in SetFontList() 269 return font_list_.GetPrimaryFont(); in GetPrimaryFont() 432 native_wrapper_->GetTextfieldBaseline() : font_list_.GetBaseline(); in GetBaseline() 440 font_list_.GetHeight(); in GetPreferredSize()
|
D | textfield.h | 144 const gfx::FontList& font_list() const { return font_list_; } in font_list() 297 gfx::FontList font_list_; variable
|
/external/chromium_org/ui/gfx/ |
D | text_elider.cc | 802 : font_list_(font_list), in RectangleText() 856 const FontList& font_list_; member in gfx::__anon51dfd0430211::RectangleText 929 const float line_width = GetStringWidthF(line, font_list_); in AddLine() 970 ElideText(text, font_list_, available_pixel_width_, in WrapWord() 1004 ElideText(word, font_list_, available_pixel_width_, elide_behavior); in AddWordOverflow() 1016 const float trimmed_width = GetStringWidthF(trimmed, font_list_); in AddWord() 1031 AddToCurrentLineWithWidth(text, GetStringWidthF(text, font_list_)); in AddToCurrentLine()
|
D | render_text.h | 170 const FontList& font_list() const { return font_list_; } in font_list() 581 FontList font_list_; variable
|
D | render_text.cc | 380 font_list_ = font_list; in SetFontList() 391 SetFontList(font_list_.DeriveFontListWithSize(size)); in SetFontSize() 395 return font_list_.GetPrimaryFont(); in GetPrimaryFont()
|
/external/chromium_org/chrome/browser/ui/cocoa/download/ |
D | download_item_controller.h | 67 scoped_ptr<gfx::FontList> font_list_; variable
|
D | download_item_controller.mm | 112 font_list_.reset(new gfx::FontList( 151 downloadModel->GetWarningText(*font_list_, kTextWidth)); 270 bridge_->download_model()->GetTooltipText(*font_list_, kToolTipMaxWidth);
|
/external/chromium_org/chrome/browser/ui/views/omnibox/ |
D | omnibox_result_view.h | 151 const gfx::FontList font_list_; variable
|
D | omnibox_popup_contents_view.cc | 70 font_list_(font_list), in OmniboxPopupContentsView() 88 OmniboxResultView* result_view = CreateResultView(this, i, font_list_); in Init()
|
D | omnibox_popup_contents_view.h | 148 gfx::FontList font_list_; variable
|
D | omnibox_result_view.cc | 116 font_list_(font_list), in OmniboxResultView() 407 render_text->SetFontList(font_list_); in DrawString()
|