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
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)
-
Constructor Details
-
ShadowFontFamily
public ShadowFontFamily()
-
-
Method Details
-
nInitBuilder
-
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
-