/external/chromium_org/ui/gfx/ |
D | font_list_impl.cc | 20 int* font_style, in ParseFontDescriptionString() argument 34 *font_style = 0; in ParseFontDescriptionString() 41 *font_style |= gfx::Font::BOLD; in ParseFontDescriptionString() 43 *font_style |= gfx::Font::ITALIC; in ParseFontDescriptionString() 50 std::string FontStyleAndSizeToString(int font_style, int font_size) { in FontStyleAndSizeToString() argument 52 if (font_style & gfx::Font::BOLD) in FontStyleAndSizeToString() 54 if (font_style & gfx::Font::ITALIC) in FontStyleAndSizeToString() 63 int font_style, in BuildFontDescription() argument 66 description += "," + FontStyleAndSizeToString(font_style, font_size); in BuildFontDescription() 86 int font_style, in FontListImpl() argument [all …]
|
D | font_list.cc | 34 int font_style, in FontList() argument 36 : impl_(new FontListImpl(font_names, font_style, font_size)) {} in FontList() 61 FontList FontList::Derive(int size_delta, int font_style) const { in Derive() 62 return FontList(impl_->Derive(size_delta, font_style)); in Derive() 69 FontList FontList::DeriveWithStyle(int font_style) const { in DeriveWithStyle() 70 return Derive(0, font_style); in DeriveWithStyle()
|
D | font_list.h | 46 int font_style, 75 FontList Derive(int size_delta, int font_style) const; 84 FontList DeriveWithStyle(int font_style) const;
|
D | platform_font_mac.mm | 24 int font_style) { 26 if (font_style & Font::BOLD) 28 if (font_style & Font::ITALIC) 144 int font_style) 145 : native_font_([NSFontWithSpec(font_name, font_size, font_style) retain]), 148 font_style_(font_style) {
|
D | font_list_impl.h | 37 int font_style, 51 FontListImpl* Derive(int size_delta, int font_style) const;
|
D | platform_font_win.cc | 60 void SetLogFontStyle(int font_style, LOGFONT* font_info) { in SetLogFontStyle() argument 61 font_info->lfUnderline = (font_style & gfx::Font::UNDERLINE) != 0; in SetLogFontStyle() 62 font_info->lfItalic = (font_style & gfx::Font::ITALIC) != 0; in SetLogFontStyle() 63 font_info->lfWeight = (font_style & gfx::Font::BOLD) ? FW_BOLD : FW_NORMAL; in SetLogFontStyle()
|
D | render_text_mac.cc | 171 renderer.SetFontFamilyWithStyle(run.font_name, run.font_style); in DrawVisualText() 185 font_style(Font::NORMAL), in TextRun() 320 run->font_style |= Font::BOLD; in ComputeRuns() 322 run->font_style |= Font::ITALIC; in ComputeRuns()
|
D | canvas_skia.cc | 148 const int font_style = font_list.GetFontStyle(); in UpdateRenderText() local 149 render_text->SetStyle(BOLD, (font_style & Font::BOLD) != 0); in UpdateRenderText() 150 render_text->SetStyle(ITALIC, (font_style & Font::ITALIC) != 0); in UpdateRenderText() 151 render_text->SetStyle(UNDERLINE, (font_style & Font::UNDERLINE) != 0); in UpdateRenderText()
|
D | platform_font_mac.h | 35 PlatformFontMac(const std::string& font_name, int font_size, int font_style);
|
D | render_text_mac.h | 60 int font_style; member
|
D | render_text_win.cc | 46 int font_style, in DeriveFontIfNecessary() argument 49 const int target_style = (font_style & kStyleMask); in DeriveFontIfNecessary() 293 : font_style(0), in TextRun() 865 renderer.SetFontFamilyWithStyle(run->font.GetFontName(), run->font_style); in DrawVisualText() 951 run->font_style = (style.style(BOLD) ? Font::BOLD : 0) | in ItemizeLogicalText() 954 run->font_style, &run->font); in ItemizeLogicalText() 1187 DeriveFontIfNecessary(font_size, font_height, run->font_style, &run->font); in ShapeTextRunWithFont()
|
D | render_text.cc | 82 SkTypeface::Style ConvertFontStyleToSkiaTypefaceStyle(int font_style) { in ConvertFontStyleToSkiaTypefaceStyle() argument 84 skia_style |= (font_style & Font::BOLD) ? SkTypeface::kBold : 0; in ConvertFontStyleToSkiaTypefaceStyle() 85 skia_style |= (font_style & Font::ITALIC) ? SkTypeface::kItalic : 0; in ConvertFontStyleToSkiaTypefaceStyle() 448 const int font_style = font_list.GetFontStyle(); in SetFontList() local 449 SetStyle(BOLD, (font_style & gfx::Font::BOLD) != 0); in SetFontList() 450 SetStyle(ITALIC, (font_style & gfx::Font::ITALIC) != 0); in SetFontList() 451 SetStyle(UNDERLINE, (font_style & gfx::Font::UNDERLINE) != 0); in SetFontList()
|
D | render_text_win.h | 31 int font_style; member
|
D | render_text_harfbuzz.h | 66 int font_style; member
|
D | font_list_unittest.cc | 48 int font_style = Font::BOLD | Font::ITALIC | Font::UNDERLINE; in TEST() local 50 FontList font_list = FontList(font_names, font_style, font_size); in TEST()
|
D | render_text_pango.cc | 464 const int font_style = (style.style(BOLD) ? Font::BOLD : 0) | in DrawVisualText() local 466 renderer.SetFontFamilyWithStyle(family_name, font_style); in DrawVisualText()
|
D | render_text_harfbuzz.cc | 471 font_style(0), in TextRunHarfBuzz() 1027 run->font_style = (style.style(BOLD) ? Font::BOLD : 0) | in ItemizeText() 1139 internal::CreateSkiaTypeface(font_family, run->font_style); in ShapeRunWithFont() 1146 query.style = run->font_style; in ShapeRunWithFont()
|
/external/chromium_org/ui/views/controls/ |
D | styled_label.cc | 42 link->SetUnderline((style_info.font_style & gfx::Font::UNDERLINE) != 0); in CreateLabelRange() 53 if (style_info.font_style != gfx::Font::NORMAL) { in CreateLabelRange() 55 result->font_list().DeriveWithStyle(style_info.font_style)); in CreateLabelRange() 67 : font_style(gfx::Font::NORMAL), in RangeStyleInfo() 237 current_range->style_info.font_style); in CalculateAndDoLayout()
|
D | styled_label.h | 42 int font_style; member
|
D | styled_label_unittest.cc | 205 style_info.font_style = gfx::Font::UNDERLINE; in TEST_F() 228 style_info.font_style = gfx::Font::BOLD; in TEST_F()
|
/external/chromium_org/chrome/browser/chromeos/ui/ |
D | echo_dialog_view.cc | 56 service_name_style.font_style = gfx::Font::UNDERLINE; in InitForEnabledEcho() 64 link_style.font_style = gfx::Font::NORMAL; in InitForEnabledEcho() 88 link_style.font_style = gfx::Font::NORMAL; in InitForDisabledEcho()
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
D | bookmark_sync_promo_view.cc | 52 link_style.font_style = gfx::Font::NORMAL; in BookmarkSyncPromoView()
|
/external/chromium_org/chrome/browser/ui/views/autofill/ |
D | generated_credit_card_bubble_views.cc | 76 style.font_style = gfx::Font::BOLD; in Init()
|
/external/chromium_org/chrome/browser/ui/cocoa/profiles/ |
D | profile_signin_confirmation_view_controller.mm | 88 const ui::ResourceBundle::FontStyle& font_style) { 92 font_style).GetNativeFont(); 111 const ui::ResourceBundle::FontStyle& font_style) { 116 font_style,
|
/external/chromium_org/chrome/browser/ui/views/sync/ |
D | profile_signin_confirmation_dialog_views.cc | 181 bold_style.font_style = gfx::Font::BOLD; in ViewHierarchyChanged()
|