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 Object
-
-
Constructor Summary
Constructors Constructor Description ShadowFontFamily()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
abortCreation()
protected boolean
addFontFromAssetManager(AssetManager mgr, String path, int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic, FontVariationAxis[] axes)
protected boolean
freeze()
protected static long
nInitBuilder(String lang, int variant)
-
-
-
Method Detail
-
nInitBuilder
@Implementation(minSdk=26) protected static long nInitBuilder(String lang, int variant)
-
abortCreation
@Implementation(minSdk=26) protected void abortCreation()
-
addFontFromAssetManager
@Implementation(minSdk=26) protected boolean addFontFromAssetManager(AssetManager mgr, String path, int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic, FontVariationAxis[] axes)
-
freeze
@Implementation(minSdk=26) protected boolean freeze()
-
-