{ "methods": { "__constructor__(int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "fontId" ], "returnType": "void", "exceptions": [], "name": "__constructor__(int)" }, "__constructor__(long)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "fontId" ], "returnType": "void", "exceptions": [], "name": "__constructor__(long)" }, "buildSystemFallback(java.lang.String,java.lang.String,android.util.ArrayMap\u003cjava.lang.String,android.graphics.Typeface\u003e,android.util.ArrayMap\u003cjava.lang.String,android.graphics.FontFamily[]\u003e)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "xmlPath", "fontDir", "fontMap", "fallbackMap" ], "returnType": "void", "exceptions": [], "minSdk": 28, "name": "buildSystemFallback(java.lang.String,java.lang.String,android.util.ArrayMap\u003cjava.lang.String,android.graphics.Typeface\u003e,android.util.ArrayMap\u003cjava.lang.String,android.graphics.FontFamily[]\u003e)" }, "create(android.graphics.Typeface,int)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "family", "style" ], "returnType": "android.graphics.Typeface", "exceptions": [], "name": "create(android.graphics.Typeface,int)" }, "create(java.lang.String,int)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "familyName", "style" ], "returnType": "android.graphics.Typeface", "exceptions": [], "name": "create(java.lang.String,int)" }, "createFromAsset(android.content.res.AssetManager,java.lang.String)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "mgr", "path" ], "returnType": "android.graphics.Typeface", "exceptions": [], "name": "createFromAsset(android.content.res.AssetManager,java.lang.String)" }, "createFromFamilies(java.lang.Object)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "families" ], "returnType": "android.graphics.Typeface", "exceptions": [], "minSdk": 21, "name": "createFromFamilies(java.lang.Object)" }, "createFromFamiliesWithDefault(java.lang.Object)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "families" ], "returnType": "android.graphics.Typeface", "exceptions": [], "minSdk": 21, "maxSdk": 25, "name": "createFromFamiliesWithDefault(java.lang.Object)" }, "createFromFamiliesWithDefault(java.lang.Object,java.lang.Object,java.lang.Object)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "families", "weight", "italic" ], "returnType": "android.graphics.Typeface", "exceptions": [], "minSdk": 26, "maxSdk": 27, "name": "createFromFamiliesWithDefault(java.lang.Object,java.lang.Object,java.lang.Object)" }, "createFromFamiliesWithDefault(java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "families", "fallbackName", "weight", "italic" ], "returnType": "android.graphics.Typeface", "exceptions": [], "minSdk": 28, "name": "createFromFamiliesWithDefault(java.lang.Object,java.lang.Object,java.lang.Object,java.lang.Object)" }, "createFromFile(java.io.File)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "path" ], "returnType": "android.graphics.Typeface", "exceptions": [], "name": "createFromFile(java.io.File)" }, "createFromFile(java.lang.String)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "path" ], "returnType": "android.graphics.Typeface", "exceptions": [], "name": "createFromFile(java.lang.String)" }, "createFromResources(android.content.res.AssetManager,java.lang.String,int)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "mgr", "path", "cookie" ], "returnType": "android.graphics.Typeface", "exceptions": [], "minSdk": 26, "name": "createFromResources(android.content.res.AssetManager,java.lang.String,int)" }, "createUnderlyingTypeface(java.lang.String,int)": { "isImplementation": false, "modifiers": [ "private", "static" ], "params": [ "familyName", "style" ], "returnType": "android.graphics.Typeface", "exceptions": [], "name": "createUnderlyingTypeface(java.lang.String,int)" }, "defaultFromStyle(int)": { "isImplementation": true, "modifiers": [ "public", "static" ], "params": [ "style" ], "returnType": "android.graphics.Typeface", "exceptions": [], "minSdk": 31, "name": "defaultFromStyle(int)" }, "findById(long)": { "isImplementation": false, "modifiers": [ "private", "static", "synchronized" ], "params": [ "fontId" ], "returnType": "org.robolectric.shadows.ShadowTypeface.FontDesc", "exceptions": [], "name": "findById(long)" }, "getFontDescription()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "org.robolectric.shadows.ShadowTypeface.FontDesc", "exceptions": [], "name": "getFontDescription()", "documentation": "Returns the font description.\n\n@return Font description.\n" }, "getStyle()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "int", "exceptions": [], "name": "getStyle()" }, "initSystemDefaultTypefaces(java.lang.Object,java.lang.Object,java.lang.Object)": { "isImplementation": true, "modifiers": [ "public", "static" ], "params": [ "systemFontMap", "fallbacks", "aliases" ], "returnType": "void", "exceptions": [], "minSdk": 29, "name": "initSystemDefaultTypefaces(java.lang.Object,java.lang.Object,java.lang.Object)" }, "reset()": { "isImplementation": false, "modifiers": [ "public", "static", "synchronized" ], "params": [], "returnType": "void", "exceptions": [], "name": "reset()" } }, "imports": [ "android.os.Build.VERSION_CODES.LOLLIPOP", "android.os.Build.VERSION_CODES.N_MR1", "android.os.Build.VERSION_CODES.O", "android.os.Build.VERSION_CODES.O_MR1", "android.os.Build.VERSION_CODES.P", "android.os.Build.VERSION_CODES.S", "org.robolectric.RuntimeEnvironment.getApiLevel", "android.annotation.SuppressLint", "android.content.res.AssetManager", "android.graphics.FontFamily", "android.graphics.Typeface", "android.util.ArrayMap", "java.io.File", "java.util.Collection", "java.util.HashMap", "java.util.Map", "org.robolectric.annotation.HiddenApi", "org.robolectric.annotation.Implementation", "org.robolectric.annotation.Implements", "org.robolectric.annotation.RealObject", "org.robolectric.annotation.Resetter", "org.robolectric.res.FsFile", "org.robolectric.shadow.api.Shadow", "org.robolectric.util.ReflectionHelpers", "org.robolectric.util.ReflectionHelpers.ClassParameter", "org.robolectric.shadows.ShadowTypeface.FontDesc", "org.robolectric.shadows.ShadowTypeface.StartsWith" ], "name": "org.robolectric.shadows.ShadowTypeface" }