132 lines
3 KiB
Smali
132 lines
3 KiB
Smali
.class public Lcom/yalantis/ucrop/model/AspectRatio;
|
|
.super Ljava/lang/Object;
|
|
.source "AspectRatio.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/os/Parcelable;
|
|
|
|
|
|
# static fields
|
|
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroid/os/Parcelable$Creator<",
|
|
"Lcom/yalantis/ucrop/model/AspectRatio;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field public final d:Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final e:F
|
|
|
|
.field public final f:F
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
new-instance v0, Lcom/yalantis/ucrop/model/AspectRatio$a;
|
|
|
|
invoke-direct {v0}, Lcom/yalantis/ucrop/model/AspectRatio$a;-><init>()V
|
|
|
|
sput-object v0, Lcom/yalantis/ucrop/model/AspectRatio;->CREATOR:Landroid/os/Parcelable$Creator;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/os/Parcel;)V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/yalantis/ucrop/model/AspectRatio;->d:Ljava/lang/String;
|
|
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readFloat()F
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lcom/yalantis/ucrop/model/AspectRatio;->e:F
|
|
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readFloat()F
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lcom/yalantis/ucrop/model/AspectRatio;->f:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/lang/String;FF)V
|
|
.locals 0
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/yalantis/ucrop/model/AspectRatio;->d:Ljava/lang/String;
|
|
|
|
iput p2, p0, Lcom/yalantis/ucrop/model/AspectRatio;->e:F
|
|
|
|
iput p3, p0, Lcom/yalantis/ucrop/model/AspectRatio;->f:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public describeContents()I
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public p()F
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/yalantis/ucrop/model/AspectRatio;->e:F
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public q()F
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/yalantis/ucrop/model/AspectRatio;->f:F
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public writeToParcel(Landroid/os/Parcel;I)V
|
|
.locals 0
|
|
|
|
iget-object p2, p0, Lcom/yalantis/ucrop/model/AspectRatio;->d:Ljava/lang/String;
|
|
|
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
|
|
|
|
iget p2, p0, Lcom/yalantis/ucrop/model/AspectRatio;->e:F
|
|
|
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeFloat(F)V
|
|
|
|
iget p2, p0, Lcom/yalantis/ucrop/model/AspectRatio;->f:F
|
|
|
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeFloat(F)V
|
|
|
|
return-void
|
|
.end method
|