/external/lottie/lottie/src/main/java/com/airbnb/lottie/model/ |
D | FontCharacter.java | 14 public static int hashFor(char character, String fontFamily, String style) { in hashFor() argument 17 result = 31 * result + fontFamily.hashCode(); in hashFor() 27 private final String fontFamily; field in FontCharacter 30 double width, String style, String fontFamily) { in FontCharacter() argument 36 this.fontFamily = fontFamily; in FontCharacter() 48 return hashFor(character, fontFamily, style); in hashCode()
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/manager/ |
D | FontAssetManager.java | 58 public Typeface getTypeface(String fontFamily, String style) { in getTypeface() argument 59 tempPair.set(fontFamily, style); in getTypeface() 64 Typeface typefaceWithDefaultStyle = getFontFamily(fontFamily); in getTypeface() 70 private Typeface getFontFamily(String fontFamily) { in getFontFamily() argument 71 Typeface defaultTypeface = fontFamilies.get(fontFamily); in getFontFamily() 78 typeface = delegate.fetchFont(fontFamily); in getFontFamily() 82 String path = delegate.getFontPath(fontFamily); in getFontFamily() 89 String path = "fonts/" + fontFamily + defaultFontFileExtension; in getFontFamily() 93 fontFamilies.put(fontFamily, typeface); in getFontFamily()
|
/external/skia/src/ports/ |
D | SkFontMgr_win_dw.cpp | 131 HRESULT getByFamilyName(const WCHAR familyName[], IDWriteFontFamily** fontFamily) const; 140 IDWriteFontFamily* fontFamily) const; 157 IDWriteFontFamily* fontFamily) in SkFontStyleSet_DirectWrite() argument 159 , fFontFamily(SkRefComPtr(fontFamily)) in SkFontStyleSet_DirectWrite() 296 IDWriteFontFamily* fontFamily) const { in makeTypefaceFromDWriteFont() 298 ProtoDWriteTypeface spec = { fontFace, font, fontFamily }; in makeTypefaceFromDWriteFont() 301 face = DWriteFontTypeface::Make(fFactory.get(), fontFace, font, fontFamily, nullptr, in makeTypefaceFromDWriteFont() 315 SkTScopedComPtr<IDWriteFontFamily> fontFamily; in onGetFamilyName() local 316 HRVM(fFontCollection->GetFontFamily(index, &fontFamily), "Could not get requested family."); in onGetFamilyName() 319 HRVM(fontFamily->GetFamilyNames(&familyNames), "Could not get family names."); in onGetFamilyName() [all …]
|
D | SkRemotableFontMgr_win_dw.cpp | 127 SkTScopedComPtr<IDWriteFontFamily> fontFamily; in getIndex() local 128 HRNM(fFontCollection->GetFontFamily(familyIndex, &fontFamily), in getIndex() 131 int count = fontFamily->GetFontCount(); in getIndex() 137 HRNM(fontFamily->GetFont(fontIndex, &font), "Could not get font."); in getIndex() 149 SkTScopedComPtr<IDWriteFontFamily> fontFamily; in matchIndexStyle() local 150 HR_GENERAL(fFontCollection->GetFontFamily(familyIndex, &fontFamily), in matchIndexStyle() 156 HR_GENERAL(fontFamily->GetFirstMatchingFont(dwStyle.fWeight, dwStyle.fWidth, in matchIndexStyle()
|
D | SkTypeface_win_dw.h | 79 IDWriteFontFamily* fontFamily, 105 IDWriteFontFamily* fontFamily, in Make() argument 110 get_style(font), factory, fontFace, font, fontFamily, std::move(loaders), palette)); in Make()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/text/ttml/ |
D | TtmlStyle.java | 72 @Nullable private String fontFamily; field in TtmlStyle 148 return fontFamily; in getFontFamily() 151 public TtmlStyle setFontFamily(@Nullable String fontFamily) { in setFontFamily() argument 152 this.fontFamily = fontFamily; in setFontFamily() 231 if (fontFamily == null && ancestor.fontFamily != null) { in inherit() 232 fontFamily = ancestor.fontFamily; in inherit()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/text/ttml/ |
D | TtmlStyle.java | 79 @Nullable private String fontFamily; field in TtmlStyle 154 return fontFamily; in getFontFamily() 157 public TtmlStyle setFontFamily(@Nullable String fontFamily) { in setFontFamily() argument 158 this.fontFamily = fontFamily; in setFontFamily() 237 if (fontFamily == null && ancestor.fontFamily != null) { in inherit() 238 fontFamily = ancestor.fontFamily; in inherit()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/text/webvtt/ |
D | WebvttCssStyle.java | 87 @Nullable private String fontFamily; field in WebvttCssStyle 106 fontFamily = null; in WebvttCssStyle() 219 return fontFamily; in getFontFamily() 222 public WebvttCssStyle setFontFamily(@Nullable String fontFamily) { in setFontFamily() argument 223 this.fontFamily = fontFamily == null ? null : Ascii.toLowerCase(fontFamily); in setFontFamily()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/text/webvtt/ |
D | WebvttCssStyle.java | 93 @Nullable private String fontFamily; field in WebvttCssStyle 112 fontFamily = null; in WebvttCssStyle() 224 return fontFamily; in getFontFamily() 227 public WebvttCssStyle setFontFamily(@Nullable String fontFamily) { in setFontFamily() argument 228 this.fontFamily = fontFamily == null ? null : Ascii.toLowerCase(fontFamily); in setFontFamily()
|
/external/skia/platform_tools/android/apps/jetski/src/main/java/org/skia/jetski/ |
D | Font.java | 6 public Font(String fontFamily, float size) { in Font() argument 7 mNativeInstance = nCreate(fontFamily, size); in Font() 26 private static native long nCreate(String fontFamily, float size); in nCreate() argument
|
/external/setupdesign/main/src/com/google/android/setupdesign/util/ |
D | TextViewPartnerStyler.java | 84 Typeface fontFamily = null; in applyPartnerCustomizationStyle() local 91 fontFamily = Typeface.create(fontFamilyName, Typeface.NORMAL); in applyPartnerCustomizationStyle() 103 if (fontFamily == null) { in applyPartnerCustomizationStyle() 104 fontFamily = textView.getTypeface(); in applyPartnerCustomizationStyle() 106 font = Typeface.create(fontFamily, weight, /* italic= */ false); in applyPartnerCustomizationStyle() 108 font = fontFamily; in applyPartnerCustomizationStyle()
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/parser/ |
D | FontCharacterParser.java | 32 String fontFamily = null; in parse() local 51 fontFamily = reader.nextString(); in parse() 78 return new FontCharacter(shapes, character, size, width, style, fontFamily); in parse()
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/ |
D | FontAssetDelegate.java | 16 public Typeface fetchFont(String fontFamily) { in fetchFont() argument 23 public String getFontPath(String fontFamily) { in getFontPath() argument
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/text/tx3g/ |
D | Tx3gDecoder.java | 100 String fontFamily = in Tx3gDecoder() local 102 defaultFontFamily = TX3G_SERIF.equals(fontFamily) ? C.SERIF_NAME : C.SANS_SERIF_NAME; in Tx3gDecoder() 255 SpannableStringBuilder cueText, String fontFamily, int start, int end) { in attachFontFamily() argument 256 if (fontFamily != Tx3gDecoder.DEFAULT_FONT_FAMILY) { in attachFontFamily() 258 new TypefaceSpan(fontFamily), in attachFontFamily()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/text/tx3g/ |
D | Tx3gDecoder.java | 100 String fontFamily = in Tx3gDecoder() local 102 defaultFontFamily = TX3G_SERIF.equals(fontFamily) ? C.SERIF_NAME : C.SANS_SERIF_NAME; in Tx3gDecoder() 255 SpannableStringBuilder cueText, String fontFamily, int start, int end) { in attachFontFamily() argument 256 if (fontFamily != Tx3gDecoder.DEFAULT_FONT_FAMILY) { in attachFontFamily() 258 new TypefaceSpan(fontFamily), in attachFontFamily()
|
/external/oboe/samples/minimaloboe/src/main/java/com/example/minimaloboe/ui/theme/ |
D | Type.kt | 12 fontFamily = FontFamily.Default, 17 fontFamily = FontFamily.Default,
|
/external/skia/experimental/sktext/src/ |
D | Paint.cpp | 24 … const SkString& fontFamily, SkScalar fontSize, SkFontStyle fontStyle, SkScalar x, SkScalar y) { in drawText() argument 27 … fontFamily, fontSize, fontStyle, SkSize::Make(SK_ScalarInfinity, SK_ScalarInfinity), x, y); in drawText() 33 …const SkString& fontFamily, SkScalar fontSize, SkFontStyle fontStyle, SkSize reqSize, SkScalar x, … in drawText() argument 36 …sk_sp<TrivialFontChain> fontChain = sk_make_sp<TrivialFontChain>(fontFamily.c_str(), fontSize, fon… in drawText()
|
D | Paint.h | 79 const SkString& fontFamily, SkScalar fontSize, SkFontStyle fontStyle, 84 const SkString& fontFamily, SkScalar fontSize, SkFontStyle fontStyle,
|
/external/skia/docs/examples/ |
D | text_rendering.cpp | 6 const char* fontFamily = nullptr; // Default system family, if it exists. in draw() local 9 sk_sp<SkTypeface> typeface = fontManager->legacyMakeTypeface(fontFamily, fontStyle); in draw()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | SpannedToHtmlConverter.java | 172 @Nullable String fontFamily = ((TypefaceSpan) span).getFamily(); in getOpeningTag() local 173 return fontFamily != null in getOpeningTag() 174 ? Util.formatInvariant("<span style='font-family:\"%s\";'>", fontFamily) in getOpeningTag() 226 @Nullable String fontFamily = ((TypefaceSpan) span).getFamily(); in getClosingTag() local 227 return fontFamily != null ? "</span>" : null; in getClosingTag()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | SpannedToHtmlConverter.java | 172 @Nullable String fontFamily = ((TypefaceSpan) span).getFamily(); in getOpeningTag() local 173 return fontFamily != null in getOpeningTag() 174 ? Util.formatInvariant("<span style='font-family:\"%s\";'>", fontFamily) in getOpeningTag() 226 @Nullable String fontFamily = ((TypefaceSpan) span).getFamily(); in getClosingTag() local 227 return fontFamily != null ? "</span>" : null; in getClosingTag()
|
/external/skia/tests/ |
D | FontMgrAndroidParserTest.cpp | 74 for (const auto& fontFamily : fontFamilies) { in ValidateLoadedFonts() local 75 for (const auto& lang : fontFamily->fLanguages) { in ValidateLoadedFonts() 98 static void DumpFiles(const FontFamily& fontFamily) { in DumpFiles() argument 99 for (int j = 0; j < fontFamily.fFonts.size(); ++j) { in DumpFiles() 100 const FontFileInfo& ffi = fontFamily.fFonts[j]; in DumpFiles()
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowNativeTypeface.java | 88 FontFamily fontFamily = in makeFamilyFromParsed() local 109 if (!fontFamily.addFontFromBuffer( in makeFamilyFromParsed() 118 if (!fontFamily.freeze()) { in makeFamilyFromParsed() 124 return fontFamily; in makeFamilyFromParsed()
|
/external/ImageMagick/Magick++/lib/Magick++/ |
D | Options.h | 121 void fontFamily(const std::string &family_); 122 std::string fontFamily(void) const;
|
/external/lottie/sample-compose/src/main/java/com/airbnb/lottie/sample/compose/ui/ |
D | Type.kt | 12 fontFamily = FontFamily.Default,
|