/cts/tests/tests/text/src/android/text/style/cts/ |
StyleSpanTest.java | 52 StyleSpan styleSpan = new StyleSpan(Typeface.BOLD); 64 assertEquals(Typeface.BOLD, tp.getTypeface().getStyle()); 75 StyleSpan styleSpan = new StyleSpan(Typeface.BOLD); 87 assertEquals(Typeface.BOLD, tp.getTypeface().getStyle()); 97 StyleSpan styleSpan = new StyleSpan(Typeface.BOLD); 102 StyleSpan styleSpan = new StyleSpan(Typeface.BOLD); 109 StyleSpan styleSpan = new StyleSpan(Typeface.BOLD); 113 assertEquals(Typeface.BOLD, newSpan.getStyle());
|
/external/chromium_org/ui/gfx/ |
text_constants.h | 46 BOLD = 0,
|
font_list_unittest.cc | 23 if (style & gfx::Font::BOLD) 24 font_string += "|bold"; 46 int font_style = Font::BOLD | Font::ITALIC; 49 EXPECT_EQ("Arial,Droid Sans serif,Bold Italic 11px", 63 FontList font_list = FontList(font.DeriveFont(2, Font::BOLD)); 64 EXPECT_EQ("Arial,Bold 10px", font_list.GetFontDescriptionString()); 75 fonts.push_back(font.DeriveFont(0, Font::BOLD)); 76 fonts.push_back(font_1.DeriveFont(-2, Font::BOLD)); 78 EXPECT_EQ("Arial,Sans serif,Bold 8px", font_list.GetFontDescriptionString()); 101 FontList font_list = FontList(" serif , Sans serif , Bold " [all...] |
font.h | 35 BOLD = 1, 68 // bitmask of the values: BOLD, ITALIC and UNDERLINE.
|
platform_font_win_unittest.cc | 56 Font::BOLD); 60 EXPECT_EQ(Font::BOLD, derived_font.GetStyle());
|
font_unittest.cc | 73 Font bold(cf.DeriveFont(0, Font::BOLD)); 74 NativeFont native = bold.GetNativeFont(); 76 EXPECT_EQ(bold.GetStyle(), Font::BOLD);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
TypefaceTest.java | 62 Typeface typeface = createTypeface(Typeface.BOLD); 64 assertEquals(Typeface.BOLD, typeface.getStyle()); 94 typeface = Typeface.create(MONO, Typeface.BOLD); 101 typeface = Typeface.create(typeface, Typeface.BOLD); 108 typeface = Typeface.defaultFromStyle(Typeface.BOLD);
|
/frameworks/base/graphics/java/android/graphics/ |
Typeface.java | 35 * The default BOLD typeface object. Note: this may be not actually be 36 * bold, depending on what fonts are installed. Call getStyle() to know 55 public static final int BOLD = 1; 66 /** Returns true if getStyle() has the BOLD bit set. */ 68 return (mStyle & BOLD) != 0; 83 * @param style The style (normal, bold, italic) of the typeface. 84 * e.g. NORMAL, BOLD, ITALIC, BOLD_ITALIC 98 * @param style The style (normal, bold, italic) of the typeface. 99 * e.g. NORMAL, BOLD, ITALIC, BOLD_ITALIC 184 DEFAULT_BOLD = create((String) null, Typeface.BOLD); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
CreateAssetSetWizardState.java | 117 mTextFont = new java.awt.Font(familyName, java.awt.Font.BOLD, 512); 124 mTextFont = new java.awt.Font(familyName, java.awt.Font.BOLD, 512); 130 mTextFont = new java.awt.Font("SansSerif", java.awt.Font.BOLD, 512);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
FontLoader.java | 59 private static final String FONT_SUFFIX_BOLD = "-Bold.ttf"; 69 Font.BOLD, 71 Font.BOLD | Font.ITALIC 74 Typeface.ITALIC, Typeface.BOLD, Typeface.NORMAL 267 if (mFontInfo.font[Typeface.BOLD] == null) { 268 computeDerivedFont(Typeface.BOLD, DERIVE_BOLD); 289 mFontInfo.font[Typeface.BOLD] = font;
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
TypefaceTest.java | 61 assertTrue("style", mFaces[1].getStyle() == Typeface.BOLD); 63 assertTrue("style", mFaces[3].getStyle() == Typeface.BOLD);
|
/developers/build/prebuilts/gradle/TextLinkify/TextLinkifySample/src/main/java/com/example/android/textlinkify/ |
MainActivity.java | 113 * Make the first 38 characters bold by applying a StyleSpan with bold typeface. 121 ss.setSpan(new StyleSpan(Typeface.BOLD), 0, 39,
|
/developers/samples/android/views/TextLinkify/TextLinkifySample/src/main/java/com/example/android/textlinkify/ |
MainActivity.java | 113 * Make the first 38 characters bold by applying a StyleSpan with bold typeface. 121 ss.setSpan(new StyleSpan(Typeface.BOLD), 0, 39,
|
/development/samples/ApiDemos/src/com/example/android/apis/text/ |
Link.java | 75 ss.setSpan(new StyleSpan(Typeface.BOLD), 0, 30,
|
/development/samples/browseable/TextLinkify/src/com.example.android.textlinkify/ |
MainActivity.java | 113 * Make the first 38 characters bold by applying a StyleSpan with bold typeface. 121 ss.setSpan(new StyleSpan(Typeface.BOLD), 0, 39,
|
/external/chromium/chrome/browser/chromeos/panels/ |
panel_scroller_header.cc | 49 rb.GetFont(ResourceBundle::BaseFont).DeriveFont(0, gfx::Font::BOLD);
|
/external/chromium_org/ash/system/tray/ |
tray_utils.cc | 19 static const gfx::Font label_font(gfx::Font().DeriveFont(1, gfx::Font::BOLD));
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
bookmark_prompt_view.cc | 57 .DeriveFont(0, gfx::Font::BOLD));
|
/frameworks/base/core/java/android/text/style/ |
StyleSpan.java | 29 * Note that styles are cumulative -- if both bold and italic are set in 30 * separate spans, or if the base style is bold and a span calls for italic, 31 * you get bold italic. You can't turn off a style from the base style. 41 * include bold, italic, and normal. Values are constants defined 102 if ((fake & Typeface.BOLD) != 0) {
|
TypefaceSpan.java | 86 if ((fake & Typeface.BOLD) != 0) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
CustomTypefaceSpan.java | 70 if ((fake & Typeface.BOLD) != 0) {
|
/external/chromium_org/ash/system/ |
tray_accessibility.cc | 147 spoken_feedback_enabled_ ? gfx::Font::BOLD : gfx::Font::NORMAL, 156 large_cursor_enabled_ ? gfx::Font::BOLD : gfx::Font::NORMAL, 164 high_contrast_enabled_ ? gfx::Font::BOLD : gfx::Font::NORMAL, 170 screen_magnifier_enabled_ ? gfx::Font::BOLD : gfx::Font::NORMAL, 179 autoclick_enabled_ ? gfx::Font::BOLD : gfx::Font::NORMAL,
|
/external/chromium_org/ui/views/examples/ |
textfield_example.cc | 120 name_->SetStyle(gfx::BOLD, true); 125 name_->ApplyStyle(gfx::BOLD, false, big_range);
|
/frameworks/base/graphics/java/android/renderscript/ |
Font.java | 38 * and point size. You can create multiple font objects to represent styles such as bold or italic text, 87 BOLD, 110 sansFamily.mBoldFileName = "Roboto-Bold.ttf"; 118 serifFamily.mBoldFileName = "DroidSerif-Bold.ttf"; 142 case BOLD:
|
/external/chromium_org/chrome/browser/ui/views/autofill/ |
generated_credit_card_bubble_views.cc | 76 style.font_style = gfx::Font::BOLD;
|