Searched refs:Typeface (Results 1 – 25 of 50) sorted by relevance
12
7 import android.graphics.Typeface;30 Typeface typeface = Typeface.create("roboto", Typeface.BOLD); in create_withFamilyName_shouldCreateTypeface()31 assertThat(typeface.getStyle()).isEqualTo(Typeface.BOLD); in create_withFamilyName_shouldCreateTypeface()33 assertThat(shadowOf(typeface).getFontDescription().getStyle()).isEqualTo(Typeface.BOLD); in create_withFamilyName_shouldCreateTypeface()38 Typeface typeface = Typeface.create(Typeface.create("roboto", Typeface.BOLD), Typeface.ITALIC); in create_withFamily_shouldCreateTypeface()40 assertThat(typeface.getStyle()).isEqualTo(Typeface.ITALIC); in create_withFamily_shouldCreateTypeface()42 assertThat(shadowOf(typeface).getFontDescription().getStyle()).isEqualTo(Typeface.ITALIC); in create_withFamily_shouldCreateTypeface()47 Typeface typeface = Typeface.create((Typeface) null, Typeface.ITALIC); in create_withoutFamily_shouldCreateTypeface()48 assertThat(typeface.getStyle()).isEqualTo(Typeface.ITALIC); in create_withoutFamily_shouldCreateTypeface()50 assertThat(shadowOf(typeface).getFontDescription().getStyle()).isEqualTo(Typeface.ITALIC); in create_withoutFamily_shouldCreateTypeface()[all …]
18 import android.graphics.Typeface;371 Typeface typeface = Shadow.newInstanceOf(Typeface.class); in canSetAndGetTypeface()
13 import android.graphics.Typeface;29 @Implements(value = Typeface.class, looseSignatures = true)35 @RealObject private Typeface realTypeface;50 protected static Typeface create(String familyName, int style) { in create()55 protected static Typeface create(Typeface family, int style) { in create()65 protected static Typeface createFromAsset(AssetManager mgr, String path) { in createFromAsset()72 return createUnderlyingTypeface(path, Typeface.NORMAL); in createFromAsset()80 protected static Typeface createFromResources(AssetManager mgr, String path, int cookie) { in createFromResources()81 return createUnderlyingTypeface(path, Typeface.NORMAL); in createFromResources()85 protected static Typeface createFromFile(File path) { in createFromFile()[all …]
9 import android.graphics.Typeface;38 private Typeface typeface;160 protected Typeface getTypeface() { in getTypeface()165 protected Typeface setTypeface(Typeface typeface) { in setTypeface()
6 import android.graphics.Typeface;51 private Typeface typeface;
4 import android.graphics.Typeface;42 Typeface font = Typeface.create(fontFamilyName, Typeface.NORMAL); in applyPartnerCustomizationStyle()58 static void setFontFamily(TextView description, Typeface fontFamily) { in setFontFamily()
24 import android.graphics.Typeface;115 setFontFamily(Typeface.create(fontFamily, Typeface.NORMAL)); in applyPartnerCustomizationStyle()205 private void setFontFamily(Typeface fontFamily) { in setFontFamily()
19 Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
24 import android.graphics.Typeface;73 public void setTypeface(Typeface typeface) { in setTypeface()
22 {XFA_Attribute::Typeface, XFA_AttributeType::CData, (void*)L"Courier"},114 return JSObject()->GetCData(XFA_Attribute::Typeface); in GetTypeface()
24 XFA_Element::Typeface, in CXFA_Typeface()
24 import android.graphics.Typeface;100 borderedText.setTypeface(Typeface.MONOSPACE); in onPreviewSizeChosen()
27 import android.graphics.Typeface;102 borderedText.setTypeface(Typeface.MONOSPACE); in onPreviewSizeChosen()
24 import android.graphics.Typeface;111 borderedText.setTypeface(Typeface.MONOSPACE); in onPreviewSizeChosen()
27 import android.graphics.Typeface;127 borderedText.setTypeface(Typeface.MONOSPACE); in onPreviewSizeChosen()
28 import android.graphics.Typeface;581 Typeface font = Typeface.create(fontFamilyName, Typeface.NORMAL);
134 …ef='#SkTextBlob_MakeFromText_text'>text</a>: <a href='undocumented#Typeface'>Typeface</a>, <a href…149 …t'>text</a> <a href='undocumented#Size'>size</a>, <a href='undocumented#Typeface'>typeface</a>, <…182 …he run <a href='undocumented#Text'>text</a>: <a href='undocumented#Typeface'>Typeface</a>, <a href…194 …t'>text</a> <a href='undocumented#Size'>size</a>, <a href='undocumented#Typeface'>typeface</a>, <…
33 SG_ATTRIBUTE(Typeface, sk_sp<SkTypeface> , fTypeface)
23 import android.graphics.Typeface;521 int style = getInteger(Typeface.class, value); in setProperty()523 textview.setTypeface(Typeface.DEFAULT); in setProperty()529 Typeface typeface = textview.getTypeface(); in setProperty()531 textview.setTypeface(Typeface.create(value, style)); in setProperty()
376 Typeface, enumerator624 Typeface, enumerator
24 import android.graphics.Typeface;314 p.setTypeface(Typeface.SERIF); in drawHistoryPoint()