91 lines
2.2 KiB
Smali
91 lines
2.2 KiB
Smali
|
.class public Landroidx/preference/TwoStatePreference$SavedState;
|
||
|
.super Landroidx/preference/Preference$BaseSavedState;
|
||
|
.source "TwoStatePreference.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Landroidx/preference/TwoStatePreference;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x9
|
||
|
name = "SavedState"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Landroid/os/Parcelable$Creator<",
|
||
|
"Landroidx/preference/TwoStatePreference$SavedState;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public mChecked:Z
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public static constructor <clinit>()V
|
||
|
.locals 1
|
||
|
|
||
|
new-instance v0, Landroidx/preference/TwoStatePreference$SavedState$1;
|
||
|
|
||
|
invoke-direct {v0}, Landroidx/preference/TwoStatePreference$SavedState$1;-><init>()V
|
||
|
|
||
|
sput-object v0, Landroidx/preference/TwoStatePreference$SavedState;->CREATOR:Landroid/os/Parcelable$Creator;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public constructor <init>(Landroid/os/Parcel;)V
|
||
|
.locals 1
|
||
|
|
||
|
invoke-direct {p0, p1}, Landroidx/preference/Preference$BaseSavedState;-><init>(Landroid/os/Parcel;)V
|
||
|
|
||
|
invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
if-ne p1, v0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
iput-boolean v0, p0, Landroidx/preference/TwoStatePreference$SavedState;->mChecked:Z
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public constructor <init>(Landroid/os/Parcelable;)V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-direct {p0, p1}, Landroidx/preference/Preference$BaseSavedState;-><init>(Landroid/os/Parcelable;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public writeToParcel(Landroid/os/Parcel;I)V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-super {p0, p1, p2}, Landroid/view/AbsSavedState;->writeToParcel(Landroid/os/Parcel;I)V
|
||
|
|
||
|
iget-boolean p2, p0, Landroidx/preference/TwoStatePreference$SavedState;->mChecked:Z
|
||
|
|
||
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|