Home
last modified time | relevance | path

Searched defs:typeface (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/support/compat/tests/java/android/support/v4/graphics/
DTypefaceCompatTest.java99 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/
DMinikinUtils.cpp30 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()
DCanvas.cpp152 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()
DMinikinSkia.cpp27 MinikinFontSkia::MinikinFontSkia(sk_sp<SkTypeface> typeface, const void* fontData, size_t fontSize, in MinikinFontSkia()
DTypeface.cpp188 sk_sp<SkTypeface> typeface = SkTypeface::MakeFromStream(fontData.release()); in setRobotoTypefaceForTest() local
/frameworks/support/emoji/core/src/android/support/text/emoji/
DMetadataRepo.java85 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
DEmojiMetadata.java104 final Typeface typeface = mMetadataRepo.getTypeface(); in draw() local
DFontRequestEmojiCompatConfig.java152 final Typeface typeface = TypefaceCompat.createTypeface(mContext, in run() local
/frameworks/support/compat/java/android/support/v4/graphics/
DTypefaceCompat.java111 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
DTypefaceCompatBaseImpl.java54 Typeface typeface = null; in createTypeface() local
/frameworks/base/graphics/java/android/graphics/
DTypeface.java171 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/
DFontFamily.cpp68 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/
DPaint.cpp108 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 …]
DHarfBuzzNGFaceSkia.cpp143 SkTypeface* typeface = reinterpret_cast<SkTypeface*>(userData); in harfbuzzSkiaReferenceTable() local
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractE2ETest.java92 public void onTypefaceRetrieved(Typeface typeface) { in onTypefaceRetrieved()
163 Typeface typeface = FontsContract.buildTypeface( in typefaceNotCacheTest() local
/frameworks/support/design/src/android/support/design/widget/
DCollapsingTextHelper.java273 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/
DTypefaceTests.cpp55 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/
DBaseCanvas_Delegate.java481 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/
DFontsContract.java355 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/
DFontsContractCompatTest.java120 public void onTypefaceRetrieved(Typeface typeface) { in onTypefaceRetrieved()
149 Typeface typeface = FontsContractCompat.buildTypeface( in typefaceNotCacheTest() local
/frameworks/base/core/java/com/android/internal/widget/
DSubtitleView.java196 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/
DResourcesCompat.java219 Typeface typeface = loadFont(context, resources, value, id, style, targetView); in loadFont() local
/frameworks/base/libs/hwui/
DTextDropShadowCache.h83 SkTypeface* typeface; member
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp479 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/
DFontFamily.h111 std::shared_ptr<MinikinFont> typeface; member

12