ab.java
1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import android.content.res.TypedArray;
import org.xmlpull.v1.XmlPullParser;
public final class ab
{
public static float a(TypedArray paramTypedArray, XmlPullParser paramXmlPullParser, String paramString, int paramInt, float paramFloat)
{
if (!a(paramXmlPullParser, paramString)) {
return paramFloat;
}
return paramTypedArray.getFloat(paramInt, paramFloat);
}
public static int a(TypedArray paramTypedArray, XmlPullParser paramXmlPullParser, String paramString, int paramInt)
{
if (!a(paramXmlPullParser, paramString)) {
return -1;
}
return paramTypedArray.getInt(paramInt, -1);
}
public static int a(TypedArray paramTypedArray, XmlPullParser paramXmlPullParser, String paramString, int paramInt1, int paramInt2)
{
if (!a(paramXmlPullParser, paramString)) {
return paramInt2;
}
return paramTypedArray.getColor(paramInt1, paramInt2);
}
public static boolean a(XmlPullParser paramXmlPullParser, String paramString)
{
return paramXmlPullParser.getAttributeValue("http://schemas.android.com/apk/res/android", paramString) != null;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/ab.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/