620 lines
17 KiB
Smali
620 lines
17 KiB
Smali
.class public Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;
|
|
.super Lcom/moji/mjweather/settingpreference/pref/MJPreference;
|
|
.source "MJPreferenceWithValue.java"
|
|
|
|
|
|
# static fields
|
|
.field private static final c:Ljava/lang/String; = "MJPreferenceWithValue"
|
|
|
|
|
|
# instance fields
|
|
.field a:Landroid/widget/ImageView;
|
|
|
|
.field b:Landroid/widget/TextView;
|
|
|
|
.field private d:Ljava/lang/CharSequence;
|
|
|
|
.field private e:I
|
|
|
|
.field private f:I
|
|
|
|
.field private g:Z
|
|
|
|
.field private h:Z
|
|
|
|
.field private i:Landroid/graphics/Bitmap;
|
|
|
|
.field private j:I
|
|
.annotation build Landroid/support/annotation/DrawableRes;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 43
|
|
invoke-direct {p0, p1, v0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 47
|
|
invoke-direct {p0, p1, p2, v0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
.locals 0
|
|
|
|
.line 51
|
|
invoke-direct {p0, p1, p2, p3}, Lcom/moji/mjweather/settingpreference/pref/MJPreference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
const/4 p1, -0x1
|
|
|
|
.line 32
|
|
iput p1, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->f:I
|
|
|
|
const/4 p3, 0x1
|
|
|
|
.line 34
|
|
iput-boolean p3, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->h:Z
|
|
|
|
.line 40
|
|
iput p1, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->j:I
|
|
|
|
.line 52
|
|
invoke-direct {p0, p2}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->a(Landroid/util/AttributeSet;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Landroid/util/AttributeSet;)V
|
|
.locals 5
|
|
|
|
.line 56
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lcom/moji/widget/R$styleable;->MJPreferenceWithValue:[I
|
|
|
|
invoke-virtual {v0, p1, v1}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
|
|
|
|
move-result-object p1
|
|
|
|
.line 58
|
|
invoke-virtual {p1}, Landroid/content/res/TypedArray;->getIndexCount()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
:goto_0
|
|
if-ltz v0, :cond_4
|
|
|
|
.line 59
|
|
invoke-virtual {p1, v0}, Landroid/content/res/TypedArray;->getIndex(I)I
|
|
|
|
move-result v2
|
|
|
|
const/4 v3, 0x2
|
|
|
|
const/4 v4, 0x0
|
|
|
|
if-ne v2, v3, :cond_0
|
|
|
|
.line 61
|
|
invoke-virtual {p1, v2, v4}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
move-result v3
|
|
|
|
iput v3, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->f:I
|
|
|
|
:cond_0
|
|
if-ne v2, v1, :cond_1
|
|
|
|
.line 64
|
|
invoke-virtual {p1, v2, v4}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
move-result v3
|
|
|
|
iput v3, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->e:I
|
|
|
|
.line 65
|
|
invoke-virtual {p1, v2}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
iput-object v3, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->d:Ljava/lang/CharSequence;
|
|
|
|
:cond_1
|
|
if-nez v2, :cond_2
|
|
|
|
.line 68
|
|
invoke-virtual {p1, v2, v4}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
move-result v3
|
|
|
|
iput-boolean v3, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->g:Z
|
|
|
|
:cond_2
|
|
const/4 v3, 0x3
|
|
|
|
if-ne v2, v3, :cond_3
|
|
|
|
.line 71
|
|
invoke-virtual {p1, v2, v1}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
move-result v2
|
|
|
|
iput-boolean v2, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->h:Z
|
|
|
|
:cond_3
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 74
|
|
:cond_4
|
|
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Landroid/widget/TextView;)V
|
|
.locals 4
|
|
|
|
.line 154
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
const v1, 0x7f08069d
|
|
|
|
invoke-static {v0, v1}, Landroid/support/v4/content/ContextCompat;->getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object v0
|
|
|
|
.line 155
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->a()Landroid/content/res/Resources;
|
|
|
|
move-result-object v1
|
|
|
|
const v2, 0x7f070232
|
|
|
|
invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDimension(I)F
|
|
|
|
move-result v1
|
|
|
|
float-to-int v1, v1
|
|
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->a()Landroid/content/res/Resources;
|
|
|
|
move-result-object v2
|
|
|
|
const v3, 0x7f070231
|
|
|
|
invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimension(I)F
|
|
|
|
move-result v2
|
|
|
|
float-to-int v2, v2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-virtual {v0, v3, v3, v1, v2}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 156
|
|
invoke-virtual {p1, v1, v1, v0, v1}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(I)V
|
|
.locals 0
|
|
.param p1 # I
|
|
.annotation build Landroid/support/annotation/DrawableRes;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 172
|
|
iput p1, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->j:I
|
|
|
|
.line 173
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->notifyChanged()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Landroid/graphics/Bitmap;)V
|
|
.locals 0
|
|
|
|
.line 167
|
|
iput-object p1, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->i:Landroid/graphics/Bitmap;
|
|
|
|
.line 168
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->notifyChanged()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/CharSequence;)V
|
|
.locals 1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
.line 160
|
|
iget-object v0, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->d:Ljava/lang/CharSequence;
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
:cond_0
|
|
if-eqz p1, :cond_2
|
|
|
|
iget-object v0, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->d:Ljava/lang/CharSequence;
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
.line 161
|
|
:cond_1
|
|
iput-object p1, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->d:Ljava/lang/CharSequence;
|
|
|
|
.line 162
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->notifyChanged()V
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public b()Ljava/lang/CharSequence;
|
|
.locals 1
|
|
|
|
.line 150
|
|
iget-object v0, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->d:Ljava/lang/CharSequence;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method protected onBindView(Landroid/view/View;)V
|
|
.locals 5
|
|
|
|
.line 87
|
|
invoke-super {p0, p1}, Lcom/moji/mjweather/settingpreference/pref/MJPreference;->onBindView(Landroid/view/View;)V
|
|
|
|
const v0, 0x7f090bba
|
|
|
|
.line 88
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
const/16 v1, 0x8
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 90
|
|
iget-boolean v3, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->h:Z
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
.line 91
|
|
invoke-direct {p0, v0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->a(Landroid/widget/TextView;)V
|
|
|
|
.line 93
|
|
:cond_0
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->getTitle()Ljava/lang/CharSequence;
|
|
|
|
move-result-object v3
|
|
|
|
.line 94
|
|
invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_1
|
|
|
|
.line 95
|
|
invoke-virtual {v0, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 96
|
|
invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V
|
|
|
|
.line 97
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->a()Landroid/content/res/Resources;
|
|
|
|
move-result-object v3
|
|
|
|
const v4, 0x7f0601d4
|
|
|
|
invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getColor(I)I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {v0, v3}, Landroid/widget/TextView;->setTextColor(I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 99
|
|
:cond_1
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V
|
|
|
|
:cond_2
|
|
:goto_0
|
|
const v0, 0x7f090445
|
|
|
|
.line 103
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/ImageView;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->a:Landroid/widget/ImageView;
|
|
|
|
.line 104
|
|
iget-object v0, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->a:Landroid/widget/ImageView;
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
.line 105
|
|
iget-object v0, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->i:Landroid/graphics/Bitmap;
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 106
|
|
iget-object v0, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->a:Landroid/widget/ImageView;
|
|
|
|
iget-object v3, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->i:Landroid/graphics/Bitmap;
|
|
|
|
invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V
|
|
|
|
.line 107
|
|
iget-object v0, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->a:Landroid/widget/ImageView;
|
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 108
|
|
:cond_3
|
|
iget v0, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->f:I
|
|
|
|
if-lez v0, :cond_4
|
|
|
|
.line 109
|
|
iget-object v0, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->a:Landroid/widget/ImageView;
|
|
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v3
|
|
|
|
iget v4, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->f:I
|
|
|
|
invoke-static {v3, v4}, Landroid/support/v4/content/ContextCompat;->getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 110
|
|
sget-object v0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->c:Ljava/lang/String;
|
|
|
|
const-string v3, "mValueIconResId > 0"
|
|
|
|
invoke-static {v0, v3}, Lcom/moji/tool/log/MJLogger;->c(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 111
|
|
:cond_4
|
|
iget v0, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->j:I
|
|
|
|
if-lez v0, :cond_5
|
|
|
|
.line 112
|
|
iget-object v0, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->a:Landroid/widget/ImageView;
|
|
|
|
iget v3, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->j:I
|
|
|
|
invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 114
|
|
:cond_5
|
|
iget-object v0, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->a:Landroid/widget/ImageView;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
:cond_6
|
|
:goto_1
|
|
const v0, 0x7f090bea
|
|
|
|
.line 118
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->b:Landroid/widget/TextView;
|
|
|
|
.line 119
|
|
iget-object v0, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->b:Landroid/widget/TextView;
|
|
|
|
if-eqz v0, :cond_8
|
|
|
|
.line 120
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->b()Ljava/lang/CharSequence;
|
|
|
|
move-result-object v0
|
|
|
|
.line 121
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_7
|
|
|
|
.line 122
|
|
iget-object v3, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->b:Landroid/widget/TextView;
|
|
|
|
invoke-virtual {v3, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 123
|
|
iget-object v0, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->b:Landroid/widget/TextView;
|
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V
|
|
|
|
.line 124
|
|
iget-object v0, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->b:Landroid/widget/TextView;
|
|
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->a()Landroid/content/res/Resources;
|
|
|
|
move-result-object v3
|
|
|
|
const v4, 0x7f0601c9
|
|
|
|
invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getColor(I)I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {v0, v3}, Landroid/widget/TextView;->setTextColor(I)V
|
|
|
|
goto :goto_2
|
|
|
|
.line 126
|
|
:cond_7
|
|
iget-object v0, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->b:Landroid/widget/TextView;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V
|
|
|
|
:cond_8
|
|
:goto_2
|
|
const v0, 0x7f090c85
|
|
|
|
.line 130
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
.line 131
|
|
iget-boolean v3, p0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->g:Z
|
|
|
|
if-eqz v3, :cond_9
|
|
|
|
.line 132
|
|
invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Landroid/widget/FrameLayout$LayoutParams;
|
|
|
|
.line 133
|
|
invoke-virtual {v3, v2, v2, v2, v2}, Landroid/widget/FrameLayout$LayoutParams;->setMargins(IIII)V
|
|
|
|
.line 134
|
|
invoke-virtual {v0, v3}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
:cond_9
|
|
const v0, 0x7f090ba1
|
|
|
|
.line 137
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/widget/TextView;
|
|
|
|
if-eqz p1, :cond_b
|
|
|
|
.line 139
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->getSummary()Ljava/lang/CharSequence;
|
|
|
|
move-result-object v0
|
|
|
|
.line 140
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_a
|
|
|
|
.line 141
|
|
invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 142
|
|
invoke-virtual {p1, v2}, Landroid/widget/TextView;->setVisibility(I)V
|
|
|
|
goto :goto_3
|
|
|
|
.line 144
|
|
:cond_a
|
|
invoke-virtual {p1, v1}, Landroid/widget/TextView;->setVisibility(I)V
|
|
|
|
:cond_b
|
|
:goto_3
|
|
return-void
|
|
.end method
|
|
|
|
.method protected onCreateView(Landroid/view/ViewGroup;)Landroid/view/View;
|
|
.locals 3
|
|
|
|
.line 79
|
|
invoke-super {p0, p1}, Lcom/moji/mjweather/settingpreference/pref/MJPreference;->onCreateView(Landroid/view/ViewGroup;)Landroid/view/View;
|
|
|
|
.line 80
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "layout_inflater"
|
|
|
|
invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/view/LayoutInflater;
|
|
|
|
const v1, 0x7f0b02d3
|
|
|
|
const/4 v2, 0x0
|
|
|
|
.line 81
|
|
invoke-virtual {v0, v1, p1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|