Home
last modified time | relevance | path

Searched refs:createFromAsset (Results 1 – 21 of 21) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceTest.java162 Typeface typefaceFromAsset = Typeface.createFromAsset(mContext.getAssets(), in testGetSystemFontFamilyName()
217 Typeface.createFromAsset(null, null); in testCreateFromAssetNull()
223 Typeface.createFromAsset(mContext.getAssets(), null); in testCreateFromAssetNullPath()
229 Typeface.createFromAsset(mContext.getAssets(), "invalid path"); in testCreateFromAssetInvalidPath()
234 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), in testCreateFromAsset()
299 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), in testInvalidCmapFont()
310 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), in testInvalidCmapFont2()
330 final Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), file); in testInvalidCmapFont_tooLargeCodePoints()
344 final Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), file); in testInvalidCmapFont_unsortedEntries()
359 final Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), file); in testInvalidCmapFont_unsortedEntries()
[all …]
DPaint_TextBoundsTest.java65 Typeface typeface = Typeface.createFromAsset(am, "fonts/measurement/bbox.ttf"); in getPaint()
DCanvasDrawGlyphsTest.java56 mTypeface = Typeface.createFromAsset(context.getAssets(), FONT_PATH); in setup()
DPaintTest.java1067 Typeface typeface = Typeface.createFromAsset(context.getAssets(),
1965 paint.setTypeface(Typeface.createFromAsset(context.getAssets(),
2019 paint.setTypeface(Typeface.createFromAsset(context.getAssets(),
/cts/tests/tests/uirendering/jni/
Dandroid_uirendering_cts_AImageDecoderTest.cpp94 static jlong createFromAsset(JNIEnv* env, jobject, jlong asset) { in createFromAsset() function
212 auto decoder = createFromAsset(env, nullptr, asset); in testNullFrameInfo()
289 { "nCreateFromAsset", "(J)J", (void*) createFromAsset },
/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutLineBreakAutoTest.kt74 paint.typeface = Typeface.createFromAsset(context.assets, JP_FONT) in setupPaint()
77 paint.typeface = Typeface.createFromAsset(context.assets, KO_FONT) in setupPaint()
DStaticLayoutLineBreakingNoBreakSpanTest.kt47 typeface = Typeface.createFromAsset(context.assets, "fonts/AllOneEmASCIIFont.ttf") in <lambda>()
DEllipsisHyphenationTest.kt57 typeface = Typeface.createFromAsset(assets, "fonts/AllOneEmASCIIFont.ttf") in <lambda>()
DBoringLayoutUseBoundsTest.kt49 private val overshootFont = Typeface.createFromAsset(context.assets, "fonts/OvershootTest.ttf")
DLayoutFillCharacterBoundsTest.java47 sTextPaint.setTypeface(Typeface.createFromAsset(context.getAssets(), in Typeface.createFromAsset()
DTextRunAdvancesTest.java41 Typeface typeface = Typeface.createFromAsset(am, "fonts/textrunadvances.ttf"); in getPaint()
DStaticLayoutLineBreakingTest.java74 sTextPaint.setTypeface(Typeface.createFromAsset(context.getAssets(), in Typeface.createFromAsset()
DStaticLayoutLineBreakingVariantsTest.java57 paint.setTypeface(Typeface.createFromAsset(context.getAssets(), in setupPaint()
DLayoutGetRangeForRectTest.java89 Typeface.createFromAsset( in setup()
DLayoutUseBoundsTest.kt80 private val overshootFont = Typeface.createFromAsset(context.assets, "fonts/OvershootTest.ttf") in getParams()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTextBoundsInfoTest.java139 sTypeface = Typeface.createFromAsset( in setupClass()
DTextViewHandwritingGestureTest.java134 Typeface typeface = Typeface.createFromAsset( in setup()
DTextViewTest.java3825 Typeface typeface = Typeface.createFromAsset(context.getAssets(), "multiaxis.ttf"); in testSetGetFontVariationSettings()
3958 mTextView.setTypeface(Typeface.createFromAsset( in testGetOffsetForPositionMultiLineLtr()
4026 mTextView.setTypeface(Typeface.createFromAsset( in testGetOffsetForPositionMultiLineRtl()
/cts/tests/tests/graphics/src/android/graphics/text/cts/
DMeasuredTextTest.java201 Typeface typeface = Typeface.createFromAsset(am, "fonts/measurement/bbox.ttf"); in testGetBounds_RTL()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_AImageDecoderTest.cpp230 static jlong createFromAsset(JNIEnv* env, jclass, jlong asset) { in createFromAsset() function
1265 { "nCreateFromAsset", "(J)J", (void*) createFromAsset },
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt17244 …method public static android.graphics.Typeface createFromAsset(android.content.res.AssetManager, S…