Home
last modified time | relevance | path

Searched refs:toTypeface (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/jni/
DTypeface.cpp44 static inline Typeface* toTypeface(jlong ptr) { in toTypeface() function
53 Typeface* family = toTypeface(familyHandle); in Typeface_createFromTypeface()
68 return toJLong(Typeface::createAbsolute(toTypeface(nativeInstance), weight, italic)); in Typeface_createFromTypefaceWithExactStyle()
83 return toJLong(Typeface::createFromTypefaceWithVariation(toTypeface(familyHandle), variations)); in Typeface_createFromTypefaceWithVariation()
87 return toJLong(Typeface::createWithDifferentBaseWeight(toTypeface(familyHandle), weight)); in Typeface_createWeightAlias()
91 delete toTypeface(ptr); in releaseFunc()
101 return toTypeface(faceHandle)->fAPIStyle; in Typeface_getStyle()
106 return toTypeface(faceHandle)->fStyle.weight(); in Typeface_getWeight()
112 Typeface* typeface = (fallbackPtr == 0) ? nullptr : toTypeface(fallbackPtr); in Typeface_createFromArray()
124 Typeface::setDefault(toTypeface(faceHandle)); in Typeface_setDefault()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
DTextInterpolatorTest.kt49 private fun Font.toTypeface() = in <lambda>() method
53 typeface = Font.Builder(VF_FONT).setFontVariationSettings("'wght' 400").build().toTypeface() in <lambda>()
58 typeface = Font.Builder(VF_FONT).setFontVariationSettings("'wght' 400").build().toTypeface() in <lambda>()
62 typeface = Font.Builder(VF_FONT).setFontVariationSettings("'wght' 700").build().toTypeface() in <lambda>()