// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package uk.co.chrisjenx.calligraphy; import android.text.TextUtils; import java.util.HashMap; import java.util.Map; // Referenced classes of package uk.co.chrisjenx.calligraphy: // CalligraphyConfig public static class mStyleClassMap { public static final int INVALID_ATTR_ID = -1; private int attrId; private boolean customViewCreation; private String fontAssetPath; private boolean isFontSet; private Map mStyleClassMap; private boolean reflection; public mStyleClassMap addCustomStyle(Class class1, int i) { if (class1 == null || i == 0) { return this; } else { mStyleClassMap.put(class1, Integer.valueOf(i)); return this; } } public CalligraphyConfig build() { boolean flag; if (!TextUtils.isEmpty(fontAssetPath)) { flag = true; } else { flag = false; } isFontSet = flag; return new CalligraphyConfig(this); } public isFontSet disableCustomViewInflation() { customViewCreation = false; return this; } public customViewCreation disablePrivateFactoryInjection() { reflection = false; return this; } public reflection setDefaultFontPath(String s) { boolean flag; if (!TextUtils.isEmpty(s)) { flag = true; } else { flag = false; } isFontSet = flag; fontAssetPath = s; return this; } public fontAssetPath setFontAttrId(int i) { if (i == -1) { i = -1; } attrId = i; return this; } public () { boolean flag; if (android.os.hyConfig.Builder >= 11) { flag = true; } else { flag = false; } reflection = flag; customViewCreation = true; attrId = attrId; isFontSet = false; fontAssetPath = null; mStyleClassMap = new HashMap(); } }