Rabbit-R1/original r1/smali/smali_classes2/com/airbnb/lottie/LottieAnimationView$SavedState.smali
2024-05-21 17:08:36 -04:00

177 lines
4.5 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 = 0xa
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 animationName:Ljava/lang/String;
.field animationResId:I
.field imageAssetsFolder:Ljava/lang/String;
.field isAnimating:Z
.field progress:F
.field repeatCount:I
.field repeatMode:I
# direct methods
.method static constructor <clinit>()V
.locals 1
.line 1311
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
.line 1291
invoke-direct {p0, p1}, Landroid/view/View$BaseSavedState;-><init>(Landroid/os/Parcel;)V
.line 1292
invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->animationName:Ljava/lang/String;
.line 1293
invoke-virtual {p1}, Landroid/os/Parcel;->readFloat()F
move-result v0
iput v0, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->progress:F
.line 1294
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
.line 1295
invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->imageAssetsFolder:Ljava/lang/String;
.line 1296
invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I
move-result v0
iput v0, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->repeatMode:I
.line 1297
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;Lcom/airbnb/lottie/LottieAnimationView$1;)V
.locals 0
.line 1277
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
.line 1287
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
.line 1302
invoke-super {p0, p1, p2}, Landroid/view/View$BaseSavedState;->writeToParcel(Landroid/os/Parcel;I)V
iget-object p2, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->animationName:Ljava/lang/String;
.line 1303
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
iget p2, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->progress:F
.line 1304
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeFloat(F)V
iget-boolean p2, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->isAnimating:Z
.line 1305
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
iget-object p2, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->imageAssetsFolder:Ljava/lang/String;
.line 1306
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
iget p2, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->repeatMode:I
.line 1307
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
iget p0, p0, Lcom/airbnb/lottie/LottieAnimationView$SavedState;->repeatCount:I
.line 1308
invoke-virtual {p1, p0}, Landroid/os/Parcel;->writeInt(I)V
return-void
.end method