Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceTest.java178 Typeface.createFromAsset(null, null); in testCreateFromAssetNull()
184 Typeface.createFromAsset(mContext.getAssets(), null); in testCreateFromAssetNullPath()
190 Typeface.createFromAsset(mContext.getAssets(), "invalid path"); in testCreateFromAssetInvalidPath()
195 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), in testCreateFromAsset()
260 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), in testInvalidCmapFont()
271 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), in testInvalidCmapFont2()
291 final Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), file); in testInvalidCmapFont_tooLargeCodePoints()
305 final Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), file); in testInvalidCmapFont_unsortedEntries()
320 final Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), file); in testInvalidCmapFont_unsortedEntries()
331 Typeface typeface1 = Typeface.createFromAsset(mContext.getAssets(), in testCreateFromAsset_cachesTypeface()
[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.java1050 Typeface typeface = Typeface.createFromAsset(context.getAssets(),
1940 paint.setTypeface(Typeface.createFromAsset(context.getAssets(),
1994 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/
DStaticLayoutLineBreakingVariantsTest.java43 paint.setTypeface(Typeface.createFromAsset(context.getAssets(), in setupPaint()
DStaticLayoutLineBreakingTest.java74 sTextPaint.setTypeface(Typeface.createFromAsset(context.getAssets(), in Typeface.createFromAsset()
/cts/tests/tests/graphics/src/android/graphics/text/cts/
DMeasuredTextTest.java194 Typeface typeface = Typeface.createFromAsset(am, "fonts/measurement/bbox.ttf"); in testGetBounds_RTL()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_AImageDecoderTest.cpp224 static jlong createFromAsset(JNIEnv* env, jclass, jlong asset) { in createFromAsset() function
1265 { "nCreateFromAsset", "(J)J", (void*) createFromAsset },
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java3743 Typeface typeface = Typeface.createFromAsset(context.getAssets(), "multiaxis.ttf"); in testSetGetFontVariationSettings()