Home
last modified time | relevance | path

Searched refs:Typeface (Results 1 – 25 of 50) sorted by relevance

12

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTypefaceTest.java7 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 …]
DShadowTextViewTest.java18 import android.graphics.Typeface;
371 Typeface typeface = Shadow.newInstanceOf(Typeface.class); in canSetAndGetTypeface()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTypeface.java13 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 …]
DShadowPaint.java9 import android.graphics.Typeface;
38 private Typeface typeface;
160 protected Typeface getTypeface() { in getTypeface()
165 protected Typeface setTypeface(Typeface typeface) { in setTypeface()
DShadowTextView.java6 import android.graphics.Typeface;
51 private Typeface typeface;
/external/setupdesign/main/src/com/google/android/setupdesign/util/
DDescriptionStyler.java4 import android.graphics.Typeface;
42 Typeface font = Typeface.create(fontFamilyName, Typeface.NORMAL); in applyPartnerCustomizationStyle()
58 static void setFontFamily(TextView description, Typeface fontFamily) { in setFontFamily()
/external/setupdesign/main/src/com/google/android/setupdesign/template/
DHeaderMixin.java24 import android.graphics.Typeface;
115 setFontFamily(Typeface.create(fontFamily, Typeface.NORMAL)); in applyPartnerCustomizationStyle()
205 private void setFontFamily(Typeface fontFamily) { in setFontFamily()
/external/grpc-grpc/examples/csharp/HelloworldXamarin/Droid/Assets/
DAboutAssets.txt19 Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/
DBorderedText.java24 import android.graphics.Typeface;
73 public void setTypeface(Typeface typeface) { in setTypeface()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/env/
DBorderedText.java24 import android.graphics.Typeface;
73 public void setTypeface(Typeface typeface) { in setTypeface()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_font.cpp22 {XFA_Attribute::Typeface, XFA_AttributeType::CData, (void*)L"Courier"},
114 return JSObject()->GetCData(XFA_Attribute::Typeface); in GetTypeface()
Dcxfa_typeface.cpp24 XFA_Element::Typeface, in CXFA_Typeface()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
DClassifierActivity.java24 import android.graphics.Typeface;
100 borderedText.setTypeface(Typeface.MONOSPACE); in onPreviewSizeChosen()
DDetectorActivity.java27 import android.graphics.Typeface;
102 borderedText.setTypeface(Typeface.MONOSPACE); in onPreviewSizeChosen()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
DClassifierActivity.java24 import android.graphics.Typeface;
111 borderedText.setTypeface(Typeface.MONOSPACE); in onPreviewSizeChosen()
DDetectorActivity.java27 import android.graphics.Typeface;
127 borderedText.setTypeface(Typeface.MONOSPACE); in onPreviewSizeChosen()
/external/setupcompat/main/java/com/google/android/setupcompat/template/
DFooterBarMixin.java28 import android.graphics.Typeface;
581 Typeface font = Typeface.create(fontFamilyName, Typeface.NORMAL);
/external/skqp/site/user/api/
DSkTextBlob_Reference.md134 …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>, <…
/external/skia/site/user/api/
DSkTextBlob_Reference.md134 …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>, <…
/external/skqp/modules/sksg/include/
DSkSGText.h33 SG_ATTRIBUTE(Typeface, sk_sp<SkTypeface> , fTypeface)
/external/skia/modules/sksg/include/
DSkSGText.h33 SG_ATTRIBUTE(Typeface, sk_sp<SkTypeface> , fTypeface)
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/
DViewInflater.java23 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()
/external/pdfium/xfa/fxfa/
Dfxfa_basic.h376 Typeface, enumerator
624 Typeface, enumerator
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/tracking/
DObjectTracker.java24 import android.graphics.Typeface;
314 p.setTypeface(Typeface.SERIF); in drawHistoryPoint()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/tracking/
DObjectTracker.java24 import android.graphics.Typeface;
314 p.setTypeface(Typeface.SERIF); in drawHistoryPoint()

12