apkfuckery/com.discord/smali/androidx/customview/view/AbsSavedState.smali

182 lines
4.6 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public abstract Landroidx/customview/view/AbsSavedState;
.super Ljava/lang/Object;
.source "AbsSavedState.java"
# interfaces
.implements Landroid/os/Parcelable;
2019-12-06 03:29:40 +00:00
# annotations
.annotation build Landroid/annotation/SuppressLint;
value = {
"BanParcelableUsage"
}
.end annotation
2019-07-24 11:27:29 +00:00
# static fields
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/os/Parcelable$Creator<",
"Landroidx/customview/view/AbsSavedState;",
">;"
}
.end annotation
.end field
.field public static final EMPTY_STATE:Landroidx/customview/view/AbsSavedState;
# instance fields
2019-12-06 03:29:40 +00:00
.field public final mSuperState:Landroid/os/Parcelable;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public static constructor <clinit>()V
2019-07-24 11:27:29 +00:00
.locals 1
new-instance v0, Landroidx/customview/view/AbsSavedState$1;
invoke-direct {v0}, Landroidx/customview/view/AbsSavedState$1;-><init>()V
sput-object v0, Landroidx/customview/view/AbsSavedState;->EMPTY_STATE:Landroidx/customview/view/AbsSavedState;
new-instance v0, Landroidx/customview/view/AbsSavedState$2;
invoke-direct {v0}, Landroidx/customview/view/AbsSavedState$2;-><init>()V
sput-object v0, Landroidx/customview/view/AbsSavedState;->CREATOR:Landroid/os/Parcelable$Creator;
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public constructor <init>()V
2019-07-24 11:27:29 +00:00
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput-object v0, p0, Landroidx/customview/view/AbsSavedState;->mSuperState:Landroid/os/Parcelable;
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Landroid/os/Parcel;)V
2019-07-24 11:27:29 +00:00
.locals 1
2019-12-06 03:29:40 +00:00
.param p1 # Landroid/os/Parcel;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
const/4 v0, 0x0
invoke-direct {p0, p1, v0}, Landroidx/customview/view/AbsSavedState;-><init>(Landroid/os/Parcel;Ljava/lang/ClassLoader;)V
return-void
.end method
2019-10-09 23:16:36 +00:00
.method public constructor <init>(Landroid/os/Parcel;Ljava/lang/ClassLoader;)V
2019-07-24 11:27:29 +00:00
.locals 0
2019-12-06 03:29:40 +00:00
.param p1 # Landroid/os/Parcel;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/ClassLoader;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
invoke-virtual {p1, p2}, Landroid/os/Parcel;->readParcelable(Ljava/lang/ClassLoader;)Landroid/os/Parcelable;
move-result-object p1
if-eqz p1, :cond_0
goto :goto_0
:cond_0
sget-object p1, Landroidx/customview/view/AbsSavedState;->EMPTY_STATE:Landroidx/customview/view/AbsSavedState;
:goto_0
iput-object p1, p0, Landroidx/customview/view/AbsSavedState;->mSuperState:Landroid/os/Parcelable;
return-void
.end method
2019-10-09 23:16:36 +00:00
.method public constructor <init>(Landroid/os/Parcelable;)V
2019-07-24 11:27:29 +00:00
.locals 1
2019-12-06 03:29:40 +00:00
.param p1 # Landroid/os/Parcelable;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
2019-07-24 11:27:29 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
if-eqz p1, :cond_1
sget-object v0, Landroidx/customview/view/AbsSavedState;->EMPTY_STATE:Landroidx/customview/view/AbsSavedState;
if-eq p1, v0, :cond_0
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
iput-object p1, p0, Landroidx/customview/view/AbsSavedState;->mSuperState:Landroid/os/Parcelable;
return-void
:cond_1
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string v0, "superState must not be null"
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.end method
2019-12-06 03:29:40 +00:00
.method public synthetic constructor <init>(Landroidx/customview/view/AbsSavedState$1;)V
2019-07-24 11:27:29 +00:00
.locals 0
invoke-direct {p0}, Landroidx/customview/view/AbsSavedState;-><init>()V
return-void
.end method
# virtual methods
.method public describeContents()I
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public final getSuperState()Landroid/os/Parcelable;
.locals 1
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/Nullable;
.end annotation
2019-07-24 11:27:29 +00:00
iget-object v0, p0, Landroidx/customview/view/AbsSavedState;->mSuperState:Landroid/os/Parcelable;
return-object v0
.end method
.method public writeToParcel(Landroid/os/Parcel;I)V
.locals 1
iget-object v0, p0, Landroidx/customview/view/AbsSavedState;->mSuperState:Landroid/os/Parcelable;
invoke-virtual {p1, v0, p2}, Landroid/os/Parcel;->writeParcelable(Landroid/os/Parcelable;I)V
return-void
.end method