apkfuckery/com.discord/smali/com/airbnb/lottie/LottieAnimationView$SavedState.smali
2019-07-29 22:14:17 +02:00

160 lines
4.1 KiB
Smali

.class Lcom/airbnb/lottie/LottieAnimationView$SavedState;
.super Landroid/view/View$BaseSavedState;
.source "LottieAnimationView.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/airbnb/lottie/LottieAnimationView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
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<",
"Lcom/airbnb/lottie/LottieAnimationView$SavedState;",
">;"
}
.end annotation
.end field
# instance fields
.field fC:F
.field fD:Ljava/lang/String;
.field fr:Ljava/lang/String;
.field fs:I
.field isAnimating:Z
.field repeatCount:I
.field repeatMode:I
# direct methods
.method static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/airbnb/lottie/LottieAnimationView$SavedState$1;
invoke-direct {v0}, Lcom/airbnb/lottie/LottieAnimationView$SavedState$1;-><init>()V
sput-object v0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->CREATOR:Landroid/os/Parcelable$Creator;
return-void
.end method
.method private constructor <init>(Landroid/os/Parcel;)V
.locals 2
invoke-direct {p0, p1}, Landroid/view/View$BaseSavedState;-><init>(Landroid/os/Parcel;)V
invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->fr:Ljava/lang/String;
invoke-virtual {p1}, Landroid/os/Parcel;->readFloat()F
move-result v0
iput v0, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->fC:F
invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I
move-result v0
const/4 v1, 0x1
if-ne v0, v1, :cond_0
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
iput-boolean v1, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->isAnimating:Z
invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->fD:Ljava/lang/String;
invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I
move-result v0
iput v0, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->repeatMode:I
invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I
move-result p1
iput p1, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->repeatCount:I
return-void
.end method
.method synthetic constructor <init>(Landroid/os/Parcel;B)V
.locals 0
invoke-direct {p0, p1}, Lcom/airbnb/lottie/LottieAnimationView$SavedState;-><init>(Landroid/os/Parcel;)V
return-void
.end method
.method constructor <init>(Landroid/os/Parcelable;)V
.locals 0
invoke-direct {p0, p1}, Landroid/view/View$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/View$BaseSavedState;->writeToParcel(Landroid/os/Parcel;I)V
iget-object p2, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->fr:Ljava/lang/String;
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
iget p2, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->fC:F
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeFloat(F)V
iget-boolean p2, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->isAnimating:Z
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
iget-object p2, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->fD:Ljava/lang/String;
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
iget p2, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->repeatMode:I
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
iget p2, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->repeatCount:I
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
return-void
.end method