Package org.robolectric.shadows
Class ShadowNativeFontFileUtil
java.lang.Object
org.robolectric.shadows.ShadowNativeFontFileUtil
@Implements(value=android.graphics.fonts.FontFileUtil.class, isInAndroidSdk=false, minSdk=29, shadowPicker=Picker.class) public class ShadowNativeFontFileUtil extends Object
Shadow for
FontFileUtil
that is backed by native code-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShadowNativeFontFileUtil.Picker
Shadow picker forFontFileUtil
. -
Constructor Summary
Constructors Constructor Description ShadowNativeFontFileUtil()
-
Method Summary
Modifier and Type Method Description protected static String
nGetFontPostScriptName(ByteBuffer buffer, int index)
protected static long
nGetFontRevision(ByteBuffer buffer, int index)
protected static int
nIsPostScriptType1Font(ByteBuffer buffer, int index)
-
Constructor Details
-
ShadowNativeFontFileUtil
public ShadowNativeFontFileUtil()
-
-
Method Details
-
nGetFontRevision
-
nGetFontPostScriptName
@Implementation(minSdk=31) protected static String nGetFontPostScriptName(ByteBuffer buffer, int index) -
nIsPostScriptType1Font
@Implementation(minSdk=31) protected static int nIsPostScriptType1Font(ByteBuffer buffer, int index)
-