Package org.robolectric.shadows
Class ShadowFontFamily
- java.lang.Object
-
- org.robolectric.shadows.ShadowFontFamily
-
@Implements(value=android.graphics.FontFamily.class, minSdk=21, isInAndroidSdk=false) public class ShadowFontFamily extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ShadowFontFamily()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidabortCreation()protected booleanaddFontFromAssetManager(android.content.res.AssetManager mgr, java.lang.String path, int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic, android.graphics.fonts.FontVariationAxis[] axes)protected booleanfreeze()protected static longnInitBuilder(java.lang.String lang, int variant)
-
-
-
Method Detail
-
nInitBuilder
@Implementation(minSdk=26) protected static long nInitBuilder(java.lang.String lang, int variant)
-
abortCreation
@Implementation(minSdk=26) protected void abortCreation()
-
addFontFromAssetManager
@Implementation(minSdk=26) protected boolean addFontFromAssetManager(android.content.res.AssetManager mgr, java.lang.String path, int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic, android.graphics.fonts.FontVariationAxis[] axes)
-
freeze
@Implementation(minSdk=26) protected boolean freeze()
-
-