/frameworks/support/compat/tests/java/android/support/v4/graphics/ |
D | TypefaceCompatTest.java | 99 private static int getSelectedFontResourceId(Typeface typeface) { in getSelectedFontResourceId() 142 Typeface typeface = TypefaceCompat.createFromResourcesFamilyXml(mContext, in testCreateFromResourcesFamilyXml_resourceFont_syncloading() local 175 Typeface typeface = TypefaceCompat.createFromResourcesFamilyXml(mContext, entry, mResources, in testCreateFromResourcesFamilyXml_resourceFont() local 210 Typeface typeface = TypefaceCompat.createFromResourcesFontFile( in testCreateFromResourcesFontFile() local
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinUtils.cpp | 30 const Paint* paint, Typeface* typeface) { in prepareMinikinPaint() 57 Typeface* typeface, const uint16_t* buf, size_t start, size_t count, in doLayout() 67 float MinikinUtils::measureText(const Paint* paint, int bidiFlags, Typeface* typeface, in measureText() 76 bool MinikinUtils::hasVariationSelector(Typeface* typeface, uint32_t codepoint, uint32_t vs) { in hasVariationSelector()
|
D | Canvas.cpp | 152 float x, float y, int bidiFlags, const Paint& origPaint, Typeface* typeface) { in drawText() 206 float hOffset, float vOffset, const Paint& paint, Typeface* typeface) { in drawTextOnPath()
|
D | MinikinSkia.cpp | 27 MinikinFontSkia::MinikinFontSkia(sk_sp<SkTypeface> typeface, const void* fontData, size_t fontSize, in MinikinFontSkia()
|
D | Typeface.cpp | 188 sk_sp<SkTypeface> typeface = SkTypeface::MakeFromStream(fontData.release()); in setRobotoTypefaceForTest() local
|
/frameworks/support/emoji/core/src/android/support/text/emoji/ |
D | MetadataRepo.java | 85 private MetadataRepo(@NonNull final Typeface typeface, in MetadataRepo() 101 public static MetadataRepo create(@NonNull final Typeface typeface, in create() 113 public static MetadataRepo create(@NonNull final Typeface typeface, in create() 127 final Typeface typeface = Typeface.createFromAsset(assetManager, assetPath); in create() local
|
D | EmojiMetadata.java | 104 final Typeface typeface = mMetadataRepo.getTypeface(); in draw() local
|
D | FontRequestEmojiCompatConfig.java | 152 final Typeface typeface = TypefaceCompat.createTypeface(mContext, in run() local
|
/frameworks/support/compat/java/android/support/v4/graphics/ |
D | TypefaceCompat.java | 111 Typeface typeface; in createFromResourcesFamilyXml() local 122 sTypefaceCache.put(createResourceUid(resources, id, style), typeface); in createFromResourcesFamilyXml() local 141 Typeface typeface = Typeface.createFromFile(tmpFile.getPath()); in createFromResourcesFontFile() local 143 sTypefaceCache.put(createResourceUid(resources, id, style), typeface); in createFromResourcesFontFile() local
|
D | TypefaceCompatBaseImpl.java | 54 Typeface typeface = null; in createTypeface() local
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 171 Typeface typeface = sDynamicTypefaceCache.get(key); in createFromResources() local 220 Typeface typeface = FontsContract.getFontSync(request); in createFromResources() local 224 Typeface typeface = findFromCache(mgr, path); in createFromResources() local 265 Typeface typeface = sDynamicTypefaceCache.get(key); in findFromCache() local 552 Typeface typeface; in resolveFallbackTypeface() local 604 Typeface typeface = sDynamicTypefaceCache.get(key); in build() local 707 Typeface typeface; in create() local 756 Typeface typeface = new Builder(mgr, path).build(); in createFromAsset() local 951 Typeface typeface; in init() local 967 systemFonts.put(f.getName(), typeface); in init() local
|
/frameworks/minikin/libs/minikin/ |
D | FontFamily.cpp | 68 Font::Font(const std::shared_ptr<MinikinFont>& typeface, FontStyle style) in Font() 72 Font::Font(std::shared_ptr<MinikinFont>&& typeface, FontStyle style) in Font() 112 bool FontFamily::analyzeStyle(const std::shared_ptr<MinikinFont>& typeface, int* weight, in analyzeStyle() 171 const MinikinFont* typeface = getClosestMatch(defaultStyle).font; in computeCoverage() local
|
/frameworks/base/core/jni/android/graphics/ |
D | Paint.cpp | 108 static int breakText(JNIEnv* env, const Paint& paint, Typeface* typeface, const jchar text[], in breakText() 146 Typeface* typeface = reinterpret_cast<Typeface*>(typefaceHandle); in breakTextC() local 175 Typeface* typeface = reinterpret_cast<Typeface*>(typefaceHandle); in breakTextS() local 184 static jfloat doTextAdvances(JNIEnv *env, Paint *paint, Typeface* typeface, in doTextAdvances() 220 Typeface* typeface = reinterpret_cast<Typeface*>(typefaceHandle); in getTextAdvances___CIIIII_FI() local 233 Typeface* typeface = reinterpret_cast<Typeface*>(typefaceHandle); in getTextAdvances__StringIIIII_FI() local 242 static jint doTextRunCursor(JNIEnv *env, Paint* paint, Typeface* typeface, const jchar *text, in doTextRunCursor() 258 Typeface* typeface = reinterpret_cast<Typeface*>(typefaceHandle); in getTextRunCursor___C() local 270 Typeface* typeface = reinterpret_cast<Typeface*>(typefaceHandle); in getTextRunCursor__String() local 309 static void getTextPath(JNIEnv* env, Paint* paint, Typeface* typeface, const jchar* text, in getTextPath() [all …]
|
D | HarfBuzzNGFaceSkia.cpp | 143 SkTypeface* typeface = reinterpret_cast<SkTypeface*>(userData); in harfbuzzSkiaReferenceTable() local
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | FontsContractE2ETest.java | 92 public void onTypefaceRetrieved(Typeface typeface) { in onTypefaceRetrieved() 163 Typeface typeface = FontsContract.buildTypeface( in typefaceNotCacheTest() local
|
/frameworks/support/design/src/android/support/design/widget/ |
D | CollapsingTextHelper.java | 273 void setCollapsedTypeface(Typeface typeface) { in setCollapsedTypeface() 280 void setExpandedTypeface(Typeface typeface) { in setExpandedTypeface() 287 void setTypefaces(Typeface typeface) { in setTypefaces()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 55 sk_sp<SkTypeface> typeface(fm->createFromStream(fontData.release())); in buildFamily() local 402 std::unique_ptr<Typeface> typeface(Typeface::createFromFamilies(std::move(families), in TEST() local 412 std::unique_ptr<Typeface> typeface(Typeface::createFromFamilies(std::move(families), in TEST() local
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | BaseCanvas_Delegate.java | 481 float startX, float startY, int flags, long paint, long typeface) { in nDrawText() 489 long typeface) { in nDrawText() 500 float x, float y, boolean isRtl, long paint, long typeface) { in nDrawTextRun() 511 float x, float y, boolean isRtl, long paint, long typeface) { in nDrawTextRun() 521 long paint, long typeface) { in nDrawTextOnPath() 533 long typeface) { in nDrawTextOnPath() 578 long paint, final long typeface) { in drawText()
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 355 Typeface typeface = buildTypeface(sContext, null, result.getFonts()); in getFontSync() local 454 public void onTypefaceRetrieved(Typeface typeface) {} in onTypefaceRetrieved() 558 final Typeface typeface = buildTypeface(context, cancellationSignal, fonts); in requestFonts() local 567 sTypefaceCache.put(request.getIdentifier(), typeface); in requestFonts() local
|
/frameworks/support/compat/tests/java/android/support/v4/provider/ |
D | FontsContractCompatTest.java | 120 public void onTypefaceRetrieved(Typeface typeface) { in onTypefaceRetrieved() 149 Typeface typeface = FontsContractCompat.buildTypeface( in typefaceNotCacheTest() local
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SubtitleView.java | 196 public void setTypeface(Typeface typeface) { in setTypeface() 284 final Typeface typeface = style.getTypeface(); in setStyle() local
|
/frameworks/support/compat/java/android/support/v4/content/res/ |
D | ResourcesCompat.java | 219 Typeface typeface = loadFont(context, resources, value, id, style, targetView); in loadFont() local
|
/frameworks/base/libs/hwui/ |
D | TextDropShadowCache.h | 83 SkTypeface* typeface; member
|
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 479 Typeface* typeface = reinterpret_cast<Typeface*>(typefaceHandle); in drawTextChars() local 490 Typeface* typeface = reinterpret_cast<Typeface*>(typefaceHandle); in drawTextString() local 502 Typeface* typeface = reinterpret_cast<Typeface*>(typefaceHandle); in drawTextRunChars() local 516 Typeface* typeface = reinterpret_cast<Typeface*>(typefaceHandle); in drawTextRunString() local 533 Typeface* typeface = reinterpret_cast<Typeface*>(typefaceHandle); in drawTextOnPathChars() local 548 Typeface* typeface = reinterpret_cast<Typeface*>(typefaceHandle); in drawTextOnPathString() local
|
/frameworks/minikin/include/minikin/ |
D | FontFamily.h | 111 std::shared_ptr<MinikinFont> typeface; member
|