AppCompatCheckedTextView.java
1.74 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
package android.support.v7.widget;
import android.content.Context;
import android.support.annotation.DrawableRes;
import android.support.v7.content.res.AppCompatResources;
import android.util.AttributeSet;
import android.widget.CheckedTextView;
import gh;
public class AppCompatCheckedTextView
extends CheckedTextView
{
private static final int[] a = { 16843016 };
private gh b = gh.a(this);
public AppCompatCheckedTextView(Context paramContext)
{
this(paramContext, null);
}
public AppCompatCheckedTextView(Context paramContext, AttributeSet paramAttributeSet)
{
this(paramContext, paramAttributeSet, 16843720);
}
public AppCompatCheckedTextView(Context paramContext, AttributeSet paramAttributeSet, int paramInt)
{
super(TintContextWrapper.wrap(paramContext), paramAttributeSet, paramInt);
this.b.a(paramAttributeSet, paramInt);
this.b.a();
paramContext = TintTypedArray.obtainStyledAttributes(getContext(), paramAttributeSet, a, paramInt, 0);
setCheckMarkDrawable(paramContext.getDrawable(0));
paramContext.recycle();
}
protected void drawableStateChanged()
{
super.drawableStateChanged();
if (this.b != null) {
this.b.a();
}
}
public void setCheckMarkDrawable(@DrawableRes int paramInt)
{
setCheckMarkDrawable(AppCompatResources.getDrawable(getContext(), paramInt));
}
public void setTextAppearance(Context paramContext, int paramInt)
{
super.setTextAppearance(paramContext, paramInt);
if (this.b != null) {
this.b.a(paramContext, paramInt);
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/android/support/v7/widget/AppCompatCheckedTextView.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/