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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
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
-