You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.1 KiB
31 lines
1.1 KiB
package p073z;
|
|
|
|
import android.graphics.Typeface;
|
|
import java.lang.reflect.Array;
|
|
import java.lang.reflect.InvocationTargetException;
|
|
import java.lang.reflect.Method;
|
|
|
|
/* renamed from: z.y */
|
|
/* loaded from: classes.dex */
|
|
public class C1914y extends C1913x {
|
|
@Override // p073z.C1913x
|
|
/* renamed from: m */
|
|
public Typeface mo42m(Object obj) {
|
|
try {
|
|
Object newInstance = Array.newInstance(this.f4704g, 1);
|
|
Array.set(newInstance, 0, obj);
|
|
return (Typeface) this.f4710m.invoke(null, newInstance, "sans-serif", -1, -1);
|
|
} catch (IllegalAccessException | InvocationTargetException e) {
|
|
throw new RuntimeException(e);
|
|
}
|
|
}
|
|
|
|
@Override // p073z.C1913x
|
|
/* renamed from: y */
|
|
public Method mo41y(Class<?> cls) {
|
|
Class cls2 = Integer.TYPE;
|
|
Method declaredMethod = Typeface.class.getDeclaredMethod("createFromFamiliesWithDefault", Array.newInstance(cls, 1).getClass(), String.class, cls2, cls2);
|
|
declaredMethod.setAccessible(true);
|
|
return declaredMethod;
|
|
}
|
|
} |