/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowTypefaceTest.java | 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 …]
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/manager/ |
D | FontAssetManager.java | 4 import android.graphics.Typeface; 22 private final Map<MutablePair<String>, Typeface> fontMap = new HashMap<>(); 24 private final Map<String, Typeface> fontFamilies = new HashMap<>(); 55 public Typeface getTypeface(String fontFamily, String style) { in getTypeface() 57 Typeface typeface = fontMap.get(tempPair); in getTypeface() 61 Typeface typefaceWithDefaultStyle = getFontFamily(fontFamily); in getTypeface() 67 private Typeface getFontFamily(String fontFamily) { in getFontFamily() 68 Typeface defaultTypeface = fontFamilies.get(fontFamily); in getFontFamily() 73 Typeface typeface = null; in getFontFamily() 81 typeface = Typeface.createFromAsset(assetManager, path); in getFontFamily() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowTypeface.java | 14 import android.graphics.Typeface; 30 @Implements(value = Typeface.class, looseSignatures = true) 36 @RealObject private Typeface realTypeface; 51 protected static Typeface create(String familyName, int style) { in create() 56 protected static Typeface create(Typeface family, int style) { in create() 66 protected static Typeface createFromAsset(AssetManager mgr, String path) { in createFromAsset() 73 return createUnderlyingTypeface(path, Typeface.NORMAL); in createFromAsset() 81 protected static Typeface createFromResources(AssetManager mgr, String path, int cookie) { in createFromResources() 82 return createUnderlyingTypeface(path, Typeface.NORMAL); in createFromResources() 86 protected static Typeface createFromFile(File path) { in createFromFile() [all …]
|
D | ShadowPaint.java | 9 import android.graphics.Typeface; 38 private Typeface typeface; 160 protected Typeface getTypeface() { in getTypeface() 165 protected Typeface setTypeface(Typeface typeface) { in setTypeface()
|
D | ShadowTextView.java | 6 import android.graphics.Typeface; 51 private Typeface typeface;
|
/external/exoplayer/tree/library/ui/src/test/java/com/google/android/exoplayer2/ui/ |
D | SpannedToHtmlConverterTest.java | 22 import android.graphics.Typeface; 75 new StyleSpan(Typeface.BOLD), in convert_supportsStyleSpan() 80 new StyleSpan(Typeface.ITALIC), in convert_supportsStyleSpan() 85 new StyleSpan(Typeface.BOLD_ITALIC), in convert_supportsStyleSpan() 168 new StyleSpan(Typeface.ITALIC), in convert_escapesUnrecognisedTagInSpannedString() 219 spanned.setSpan(new StyleSpan(Typeface.BOLD), start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in convert_sortsTagsConsistently() 220 spanned.setSpan(new StyleSpan(Typeface.ITALIC), start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in convert_sortsTagsConsistently() 233 spanned.setSpan(new StyleSpan(Typeface.ITALIC), start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in convert_supportsNestedTags() 235 new StyleSpan(Typeface.BOLD), in convert_supportsNestedTags() 249 new StyleSpan(Typeface.ITALIC), in convert_overlappingSpans_producesInvalidHtml() [all …]
|
/external/exoplayer/tree/testutils/src/test/java/com/google/android/exoplayer2/testutil/truth/ |
D | SpannedSubjectTest.java | 25 import android.graphics.Typeface; 90 createSpannable(new StyleSpan(Typeface.ITALIC), Spanned.SPAN_INCLUSIVE_EXCLUSIVE); in italicSpan_success() 100 new StyleSpan(Typeface.ITALIC), SpannedSubject::hasItalicSpanBetween); in italicSpan_mismatchedIndex() 106 new StyleSpan(Typeface.ITALIC), SpannedSubject::hasItalicSpanBetween); in italicSpan_mismatchedFlags() 120 createSpannable(new StyleSpan(Typeface.BOLD), Spanned.SPAN_INCLUSIVE_EXCLUSIVE); in boldSpan_success() 130 new StyleSpan(Typeface.BOLD), SpannedSubject::hasBoldSpanBetween); in boldSpan_mismatchedIndex() 136 new StyleSpan(Typeface.BOLD), SpannedSubject::hasBoldSpanBetween); in boldSpan_mismatchedFlags() 142 createSpannable(new StyleSpan(Typeface.BOLD_ITALIC), Spanned.SPAN_INCLUSIVE_EXCLUSIVE); in boldItalicSpan_withOneSpan() 151 SpannableString spannable = createSpannable(new StyleSpan(Typeface.BOLD)); in boldItalicSpan_withTwoSpans() 153 new StyleSpan(Typeface.ITALIC), SPAN_START, SPAN_END, Spanned.SPAN_INCLUSIVE_EXCLUSIVE); in boldItalicSpan_withTwoSpans() [all …]
|
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | SpannedToHtmlConverter.java | 20 import android.graphics.Typeface; 132 case Typeface.BOLD: in getOpeningTag() 134 case Typeface.ITALIC: in getOpeningTag() 136 case Typeface.BOLD_ITALIC: in getOpeningTag() 168 case Typeface.BOLD: in getClosingTag() 170 case Typeface.ITALIC: in getClosingTag() 172 case Typeface.BOLD_ITALIC: in getClosingTag()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/ |
D | WebvttCssStyle.java | 18 import android.graphics.Typeface; 53 public static final int STYLE_NORMAL = Typeface.NORMAL; 54 public static final int STYLE_BOLD = Typeface.BOLD; 55 public static final int STYLE_ITALIC = Typeface.ITALIC; 56 public static final int STYLE_BOLD_ITALIC = Typeface.BOLD_ITALIC;
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/ |
D | FontAssetDelegate.java | 3 import android.graphics.Typeface; 16 public Typeface fetchFont(String fontFamily) { in fetchFont()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ |
D | CaptionStyleCompat.java | 19 import android.graphics.Typeface; 119 @Nullable public final Typeface typeface; 153 @Nullable Typeface typeface) { in CaptionStyleCompat()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ttml/ |
D | TtmlStyle.java | 18 import android.graphics.Typeface; 43 public static final int STYLE_NORMAL = Typeface.NORMAL; 44 public static final int STYLE_BOLD = Typeface.BOLD; 45 public static final int STYLE_ITALIC = Typeface.ITALIC; 46 public static final int STYLE_BOLD_ITALIC = Typeface.BOLD_ITALIC;
|
/external/setupdesign/main/src/com/google/android/setupdesign/util/ |
D | TextViewPartnerStyler.java | 20 import android.graphics.Typeface; 82 Typeface font = Typeface.create(fontFamilyName, Typeface.NORMAL); in applyPartnerCustomizationStyle()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/tx3g/ |
D | Tx3gDecoder.java | 19 import android.graphics.Typeface; 201 cueText.setSpan(new StyleSpan(Typeface.BOLD_ITALIC), start, end, flags); in attachFontFace() 203 cueText.setSpan(new StyleSpan(Typeface.BOLD), start, end, flags); in attachFontFace() 206 cueText.setSpan(new StyleSpan(Typeface.ITALIC), start, end, flags); in attachFontFace() 213 cueText.setSpan(new StyleSpan(Typeface.NORMAL), start, end, flags); in attachFontFace()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/tx3g/ |
D | Tx3gDecoderTest.java | 22 import android.graphics.Typeface; 86 assertThat(styleSpan.getStyle()).isEqualTo(Typeface.BOLD_ITALIC); in decodeWithStyl() 141 assertThat(styleSpan.getStyle()).isEqualTo(Typeface.ITALIC); in decodeWithMultipleStyl() 161 assertThat(styleSpan.getStyle()).isEqualTo(Typeface.BOLD); in decodeWithOtherExtension() 179 assertThat(styleSpan.getStyle()).isEqualTo(Typeface.BOLD_ITALIC); in initializationDecodeWithStyl() 202 assertThat(styleSpan.getStyle()).isEqualTo(Typeface.BOLD_ITALIC); in initializationDecodeWithTbox() 225 assertThat(styleSpan.getStyle()).isEqualTo(Typeface.BOLD_ITALIC); in initializationAllDefaultsDecodeWithStyl()
|
/external/grpc-grpc/examples/csharp/HelloworldXamarin/Droid/Assets/ |
D | AboutAssets.txt | 19 Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/truth/ |
D | SpannedSubject.java | 23 import android.graphics.Typeface; 100 return hasStyleSpan(start, end, Typeface.ITALIC); in hasItalicSpanBetween() 111 return hasStyleSpan(start, end, Typeface.BOLD); in hasBoldSpanBetween() 171 if (styles.contains(Typeface.BOLD_ITALIC) in hasBoldItalicSpanBetween() 172 || (styles.contains(Typeface.BOLD) && styles.contains(Typeface.ITALIC))) { in hasBoldItalicSpanBetween() 179 fact("expected to contain either", Collections.singletonList(Typeface.BOLD_ITALIC)), in hasBoldItalicSpanBetween() 180 fact("or both", Arrays.asList(Typeface.BOLD, Typeface.ITALIC)), in hasBoldItalicSpanBetween()
|
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/env/ |
D | BorderedText.java | 24 import android.graphics.Typeface; 73 public void setTypeface(Typeface typeface) { in setTypeface()
|
/external/setupcompat/main/java/com/google/android/setupcompat/template/ |
D | FooterButtonStyleUtils.java | 25 import android.graphics.Typeface; 305 int textStyleValue = Typeface.NORMAL; in updateButtonTypeFaceWithPartnerConfig() 309 .getInteger(context, buttonTextStyleConfig, Typeface.NORMAL); in updateButtonTypeFaceWithPartnerConfig() 311 Typeface font = Typeface.create(fontFamilyName, textStyleValue); in updateButtonTypeFaceWithPartnerConfig()
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_font.cpp | 24 {XFA_Attribute::Typeface, XFA_AttributeType::CData, (void*)L"Courier"}, 112 return JSObject()->GetCData(XFA_Attribute::Typeface); in GetTypeface()
|
D | cxfa_typeface.cpp | 25 XFA_Element::Typeface, in CXFA_Typeface()
|
/external/google-fonts/fraunces/ |
D | AUTHORS.txt | 8 Typeface Design:
|
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/ |
D | ClassifierActivity.java | 24 import android.graphics.Typeface; 109 borderedText.setTypeface(Typeface.MONOSPACE); in onPreviewSizeChosen()
|
/external/skia/modules/canvaskit/npm_build/types/ |
D | index.d.ts | 669 typeface: Typeface; // currently set to null (temporary) 697 typeface: Typeface; 1685 getTypeface(): Typeface | null; 1749 setTypeface(face: Typeface | null): void; 1771 makeTypefaceFromData(fontData: ArrayBuffer): Typeface; 2641 export type Typeface = EmbindObject<Typeface>; alias 3121 new (face: Typeface | null, size?: number): Font; 3132 new (face: Typeface | null, size: number, scaleX: number, skewX: number): Font;
|
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/ |
D | SnapshotTestActivity.kt | 8 import android.graphics.Typeface
|