Home
last modified time | relevance | path

Searched refs:font_style (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium_org/ui/gfx/
Dfont_list_impl.cc20 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 …]
Dfont_list.cc34 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()
Dfont_list.h46 int font_style,
75 FontList Derive(int size_delta, int font_style) const;
84 FontList DeriveWithStyle(int font_style) const;
Dplatform_font_mac.mm24 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) {
Dfont_list_impl.h37 int font_style,
51 FontListImpl* Derive(int size_delta, int font_style) const;
Dplatform_font_win.cc60 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()
Drender_text_mac.cc171 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()
Dcanvas_skia.cc148 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()
Dplatform_font_mac.h35 PlatformFontMac(const std::string& font_name, int font_size, int font_style);
Drender_text_mac.h60 int font_style; member
Drender_text_win.cc46 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()
Drender_text.cc82 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()
Drender_text_win.h31 int font_style; member
Drender_text_harfbuzz.h66 int font_style; member
Dfont_list_unittest.cc48 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()
Drender_text_pango.cc464 const int font_style = (style.style(BOLD) ? Font::BOLD : 0) | in DrawVisualText() local
466 renderer.SetFontFamilyWithStyle(family_name, font_style); in DrawVisualText()
Drender_text_harfbuzz.cc471 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/
Dstyled_label.cc42 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()
Dstyled_label.h42 int font_style; member
Dstyled_label_unittest.cc205 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/
Decho_dialog_view.cc56 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/
Dbookmark_sync_promo_view.cc52 link_style.font_style = gfx::Font::NORMAL; in BookmarkSyncPromoView()
/external/chromium_org/chrome/browser/ui/views/autofill/
Dgenerated_credit_card_bubble_views.cc76 style.font_style = gfx::Font::BOLD; in Init()
/external/chromium_org/chrome/browser/ui/cocoa/profiles/
Dprofile_signin_confirmation_view_controller.mm88 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/
Dprofile_signin_confirmation_dialog_views.cc181 bold_style.font_style = gfx::Font::BOLD; in ViewHierarchyChanged()

12