Searched refs:createFromAsset (Results 1 – 10 of 10) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | TypefaceTest.java | 178 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 …]
|
D | Paint_TextBoundsTest.java | 65 Typeface typeface = Typeface.createFromAsset(am, "fonts/measurement/bbox.ttf"); in getPaint()
|
D | CanvasDrawGlyphsTest.java | 56 mTypeface = Typeface.createFromAsset(context.getAssets(), FONT_PATH); in setup()
|
D | PaintTest.java | 1050 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/ |
D | android_uirendering_cts_AImageDecoderTest.cpp | 94 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/ |
D | StaticLayoutLineBreakingVariantsTest.java | 43 paint.setTypeface(Typeface.createFromAsset(context.getAssets(), in setupPaint()
|
D | StaticLayoutLineBreakingTest.java | 74 sTextPaint.setTypeface(Typeface.createFromAsset(context.getAssets(), in Typeface.createFromAsset()
|
/cts/tests/tests/graphics/src/android/graphics/text/cts/ |
D | MeasuredTextTest.java | 194 Typeface typeface = Typeface.createFromAsset(am, "fonts/measurement/bbox.ttf"); in testGetBounds_RTL()
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_AImageDecoderTest.cpp | 224 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/ |
D | TextViewTest.java | 3743 Typeface typeface = Typeface.createFromAsset(context.getAssets(), "multiaxis.ttf"); in testSetGetFontVariationSettings()
|