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,
callNativeMethodsByDefault=true)
public class ShadowNativeFontFileUtil
extends Object
Shadow for
FontFileUtil
that is backed by native code-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
@Implementation(minSdk=31, maxSdk=34) protected static long nGetFontRevision(ByteBuffer buffer, int index) -
nGetFontPostScriptName
@Implementation(minSdk=31, maxSdk=34) protected static String nGetFontPostScriptName(ByteBuffer buffer, int index) -
nIsPostScriptType1Font
@Implementation(minSdk=31, maxSdk=34) protected static int nIsPostScriptType1Font(ByteBuffer buffer, int index)
-