Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/hwui/
DMinikinUtils.cpp31 const Typeface* typeface) { in prepareMinikinPaint()
52 const Typeface* typeface, const uint16_t* buf, in doLayout()
73 const Typeface* typeface, const uint16_t* buf, size_t start, in measureText()
85 bool MinikinUtils::hasVariationSelector(const Typeface* typeface, uint32_t codepoint, uint32_t vs) { in hasVariationSelector()
DPaint.h113 void setAndroidTypeface(Typeface* typeface) { mTypeface = typeface; } in setAndroidTypeface()
DTypeface.cpp182 sk_sp<SkTypeface> typeface = SkTypeface::MakeFromStream(std::move(fontData)); in setRobotoTypefaceForTest() local
DMinikinSkia.cpp33 MinikinFontSkia::MinikinFontSkia(sk_sp<SkTypeface> typeface, const void* fontData, size_t fontSize, in MinikinFontSkia()
DCanvas.cpp153 const Paint& origPaint, const Typeface* typeface, minikin::MeasuredText* mt) { in drawText()
238 const Typeface* typeface) { in drawTextOnPath()
/frameworks/minikin/include/minikin/
DFont.h67 Builder(const std::shared_ptr<MinikinFont>& typeface) : mTypeface(typeface) {} in Builder()
112 inline const std::shared_ptr<MinikinFont>& typeface() const { return mTypeface; } in typeface() function
120 Font(std::shared_ptr<MinikinFont>&& typeface, FontStyle style, HbFontUniquePtr&& baseFont) in Font()
/frameworks/base/core/jni/android/graphics/
DPaint.cpp115 static int breakText(JNIEnv* env, const Paint& paint, const Typeface* typeface, in breakText()
152 const Typeface* typeface = paint->getAndroidTypeface(); in breakTextC() local
181 const Typeface* typeface = paint->getAndroidTypeface(); in breakTextS() local
190 static jfloat doTextAdvances(JNIEnv *env, Paint *paint, const Typeface* typeface, in doTextAdvances()
226 const Typeface* typeface = paint->getAndroidTypeface(); in getTextAdvances___CIIIII_FI() local
238 const Typeface* typeface = paint->getAndroidTypeface(); in getTextAdvances__StringIIIII_FI() local
247 static jint doTextRunCursor(JNIEnv *env, Paint* paint, const Typeface* typeface, in doTextRunCursor()
262 const Typeface* typeface = paint->getAndroidTypeface(); in getTextRunCursor___C() local
274 const Typeface* typeface = paint->getAndroidTypeface(); in getTextRunCursor__String() local
314 static void getTextPath(JNIEnv* env, Paint* paint, const Typeface* typeface, const jchar* text, in getTextPath()
[all …]
/frameworks/base/core/java/android/text/style/
DTypefaceSpan.java78 public TypefaceSpan(@NonNull Typeface typeface) { in TypefaceSpan()
90 private TypefaceSpan(@Nullable String family, @Nullable Typeface typeface) { in TypefaceSpan()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java239 Typeface typeface = FontsContract.getFontSync(request); in createFromResources() local
243 Typeface typeface = findFromCache(mgr, path); in createFromResources() local
314 Typeface typeface = sDynamicTypefaceCache.get(key); in findFromCache() local
604 final Typeface typeface = sDynamicTypefaceCache.get(key); in build() local
620 final Typeface typeface = builder.build(); in build() local
DLeakyTypefaceStorage.java52 public static void writeTypefaceToParcel(@Nullable Typeface typeface, @NonNull Parcel parcel) { in writeTypefaceToParcel()
DPaint.java1418 public Typeface setTypeface(Typeface typeface) { in setTypeface()
3119 private static native void nSetTypeface(long paintPtr, long typeface); in nSetTypeface()
/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/base/libs/hwui/tests/unit/
DTypefaceTests.cpp55 sk_sp<SkTypeface> typeface(fm->makeFromStream(std::move(fontData))); in buildFamily() local
425 std::unique_ptr<Typeface> typeface(Typeface::createFromFamilies( in TEST() local
434 std::unique_ptr<Typeface> typeface(Typeface::createFromFamilies( in TEST() local
/frameworks/base/core/java/android/provider/
DFontsContract.java356 Typeface typeface = buildTypeface(sContext, null, result.getFonts()); in getFontSync() local
459 public void onTypefaceRetrieved(Typeface typeface) {} in onTypefaceRetrieved()
563 final Typeface typeface = buildTypeface(context, cancellationSignal, fonts); in requestFonts() local
572 sTypefaceCache.put(request.getIdentifier(), typeface); in requestFonts() local
/frameworks/base/core/java/com/android/internal/widget/
DSubtitleView.java196 public void setTypeface(Typeface typeface) { in setTypeface()
287 final Typeface typeface = style.getTypeface(); in setStyle() local
/frameworks/minikin/libs/minikin/
DFontFamily.cpp58 HbFontUniquePtr Font::prepareFont(const std::shared_ptr<MinikinFont>& typeface) { in prepareFont()
DFontCollection.cpp46 FontCollection::FontCollection(std::shared_ptr<FontFamily>&& typeface) : mMaxChar(0) { in FontCollection()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp545 const Typeface* typeface = paint->getAndroidTypeface(); in drawTextChars() local
561 const Typeface* typeface = paint->getAndroidTypeface(); in drawTextString() local
581 const Typeface* typeface = paint->getAndroidTypeface(); in drawTextRunChars() local
597 const Typeface* typeface = paint->getAndroidTypeface(); in drawTextRunString() local
611 const Typeface* typeface = paint->getAndroidTypeface(); in drawTextOnPathChars() local
626 const Typeface* typeface = paint->getAndroidTypeface(); in drawTextOnPathString() local
/frameworks/base/core/jni/android/graphics/text/
DMeasuredText.cpp71 const Typeface* typeface = Typeface::resolveDefault(paint->getAndroidTypeface()); in nAddStyleRun() local
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialTextsView.java268 private void drawTexts(Canvas canvas, float textSize, Typeface typeface, String[] texts, in drawTexts()
/frameworks/layoutlib/bridge/src/android/graphics/
DTypeface_Delegate.java242 Typeface typeface = Typeface.findFromCache(context.getAssets(), path); in createFromDisk() local
DPaint_Delegate.java130 Typeface_Delegate typeface = mTypeface; in getFonts() local
899 /*package*/ static void nSetTypeface(long native_object, long typeface) { in nSetTypeface()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DCarSetupWizardLayout.java681 Typeface typeface = Typeface.create(fontFamily, Typeface.NORMAL); in setButtonTypeFace() local
DCarSetupWizardBaseLayout.java670 Typeface typeface = Typeface.create(fontFamily, Typeface.NORMAL); in setButtonTypeFace() local
/frameworks/base/core/java/android/content/res/
DResources.java387 Typeface typeface = impl.loadFont(this, value, id); in getFont() local

12