mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 09:02:34 -06:00
754 lines
20 KiB
Smali
754 lines
20 KiB
Smali
.class public final Lcom/rubensousa/dpadrecyclerview/ParentAlignment;
|
|
.super Ljava/lang/Object;
|
|
.source "ParentAlignment.kt"
|
|
|
|
# interfaces
|
|
.implements Landroid/os/Parcelable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/rubensousa/dpadrecyclerview/ParentAlignment$CREATOR;,
|
|
Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000B\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0000\n\u0002\u0010\u0007\n\u0000\n\u0002\u0010\u000b\n\u0002\u0008\u0013\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\u0008\u0004\u0008\u0086\u0008\u0018\u0000 \'2\u00020\u0001:\u0002\'(B\u000f\u0008\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004B7\u0012\u0008\u0008\u0002\u0010\u0005\u001a\u00020\u0006\u0012\u0008\u0008\u0002\u0010\u0007\u001a\u00020\u0008\u0012\u0008\u0008\u0002\u0010\t\u001a\u00020\n\u0012\u0008\u0008\u0002\u0010\u000b\u001a\u00020\u000c\u0012\u0008\u0008\u0002\u0010\r\u001a\u00020\u000c\u00a2\u0006\u0002\u0010\u000eJ\t\u0010\u0017\u001a\u00020\u0006H\u00c6\u0003J\t\u0010\u0018\u001a\u00020\u0008H\u00c6\u0003J\t\u0010\u0019\u001a\u00020\nH\u00c6\u0003J\t\u0010\u001a\u001a\u00020\u000cH\u00c6\u0003J\t\u0010\u001b\u001a\u00020\u000cH\u00c6\u0003J;\u0010\u001c\u001a\u00020\u00002\u0008\u0008\u0002\u0010\u0005\u001a\u00020\u00062\u0008\u0008\u0002\u0010\u0007\u001a\u00020\u00082\u0008\u0008\u0002\u0010\t\u001a\u00020\n2\u0008\u0008\u0002\u0010\u000b\u001a\u00020\u000c2\u0008\u0008\u0002\u0010\r\u001a\u00020\u000cH\u00c6\u0001J\u0008\u0010\u001d\u001a\u00020\u0008H\u0016J\u0013\u0010\u001e\u001a\u00020\u000c2\u0008\u0010\u001f\u001a\u0004\u0018\u00010 H\u00d6\u0003J\t\u0010!\u001a\u00020\u0008H\u00d6\u0001J\t\u0010\"\u001a\u00020#H\u00d6\u0001J\u0018\u0010$\u001a\u00020%2\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010&\u001a\u00020\u0008H\u0016R\u0011\u0010\u0005\u001a\u00020\u0006\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u000f\u0010\u0010R\u0011\u0010\t\u001a\u00020\n\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0011\u0010\u0012R\u0011\u0010\u000b\u001a\u00020\u000c\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u000b\u0010\u0013R\u0011\u0010\u0007\u001a\u00020\u0008\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0014\u0010\u0015R\u0011\u0010\r\u001a\u00020\u000c\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0016\u0010\u0013\u00a8\u0006)"
|
|
}
|
|
d2 = {
|
|
"Lcom/rubensousa/dpadrecyclerview/ParentAlignment;",
|
|
"Landroid/os/Parcelable;",
|
|
"parcel",
|
|
"Landroid/os/Parcel;",
|
|
"(Landroid/os/Parcel;)V",
|
|
"edge",
|
|
"Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;",
|
|
"offset",
|
|
"",
|
|
"fraction",
|
|
"",
|
|
"isFractionEnabled",
|
|
"",
|
|
"preferKeylineOverEdge",
|
|
"(Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;IFZZ)V",
|
|
"getEdge",
|
|
"()Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;",
|
|
"getFraction",
|
|
"()F",
|
|
"()Z",
|
|
"getOffset",
|
|
"()I",
|
|
"getPreferKeylineOverEdge",
|
|
"component1",
|
|
"component2",
|
|
"component3",
|
|
"component4",
|
|
"component5",
|
|
"copy",
|
|
"describeContents",
|
|
"equals",
|
|
"other",
|
|
"",
|
|
"hashCode",
|
|
"toString",
|
|
"",
|
|
"writeToParcel",
|
|
"",
|
|
"flags",
|
|
"CREATOR",
|
|
"Edge",
|
|
"dpadrecyclerview_release"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x9,
|
|
0x0
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final CREATOR:Lcom/rubensousa/dpadrecyclerview/ParentAlignment$CREATOR;
|
|
|
|
|
|
# instance fields
|
|
.field private final edge:Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;
|
|
|
|
.field private final fraction:F
|
|
|
|
.field private final isFractionEnabled:Z
|
|
|
|
.field private final offset:I
|
|
|
|
.field private final preferKeylineOverEdge:Z
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
new-instance v0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment$CREATOR;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lcom/rubensousa/dpadrecyclerview/ParentAlignment$CREATOR;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->CREATOR:Lcom/rubensousa/dpadrecyclerview/ParentAlignment$CREATOR;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 8
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/16 v6, 0x1f
|
|
|
|
const/4 v7, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
invoke-direct/range {v0 .. v7}, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;-><init>(Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;IFZZILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/os/Parcel;)V
|
|
.locals 8
|
|
|
|
const-string v0, "parcel"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 86
|
|
invoke-static {}, Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;->values()[Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I
|
|
|
|
move-result v1
|
|
|
|
aget-object v3, v0, v1
|
|
|
|
.line 87
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I
|
|
|
|
move-result v4
|
|
|
|
.line 88
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readFloat()F
|
|
|
|
move-result v5
|
|
|
|
.line 89
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readByte()B
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
move v6, v1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v6, v2
|
|
|
|
.line 90
|
|
:goto_0
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readByte()B
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
move v7, v1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move v7, v2
|
|
|
|
:goto_1
|
|
move-object v2, p0
|
|
|
|
.line 85
|
|
invoke-direct/range {v2 .. v7}, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;-><init>(Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;IFZZ)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;IFZZ)V
|
|
.locals 1
|
|
|
|
const-string v0, "edge"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 28
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->edge:Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;
|
|
|
|
iput p2, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->offset:I
|
|
|
|
iput p3, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->fraction:F
|
|
|
|
iput-boolean p4, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->isFractionEnabled:Z
|
|
|
|
iput-boolean p5, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->preferKeylineOverEdge:Z
|
|
|
|
const/4 p0, 0x0
|
|
|
|
cmpg-float p0, p0, p3
|
|
|
|
if-gtz p0, :cond_0
|
|
|
|
const/high16 p0, 0x3f800000 # 1.0f
|
|
|
|
cmpg-float p0, p3, p0
|
|
|
|
if-gtz p0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 80
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p1, "fraction must be a value between 0f and 1f"
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;IFZZILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 3
|
|
|
|
and-int/lit8 p7, p6, 0x1
|
|
|
|
if-eqz p7, :cond_0
|
|
|
|
.line 33
|
|
sget-object p1, Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;->MIN_MAX:Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;
|
|
|
|
:cond_0
|
|
and-int/lit8 p7, p6, 0x2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p7, :cond_1
|
|
|
|
move p7, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
move p7, p2
|
|
|
|
:goto_0
|
|
and-int/lit8 p2, p6, 0x4
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
const/high16 p3, 0x3f000000 # 0.5f
|
|
|
|
:cond_2
|
|
move v1, p3
|
|
|
|
and-int/lit8 p2, p6, 0x8
|
|
|
|
const/4 p3, 0x1
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
move v2, p3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
move v2, p4
|
|
|
|
:goto_1
|
|
and-int/lit8 p2, p6, 0x10
|
|
|
|
if-eqz p2, :cond_5
|
|
|
|
.line 65
|
|
sget-object p2, Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;->MAX:Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;
|
|
|
|
if-ne p1, p2, :cond_4
|
|
|
|
move p5, p3
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
move p5, v0
|
|
|
|
:cond_5
|
|
:goto_2
|
|
move v0, p5
|
|
|
|
move-object p2, p0
|
|
|
|
move-object p3, p1
|
|
|
|
move p4, p7
|
|
|
|
move p5, v1
|
|
|
|
move p6, v2
|
|
|
|
move p7, v0
|
|
|
|
.line 28
|
|
invoke-direct/range {p2 .. p7}, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;-><init>(Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;IFZZ)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic copy$default(Lcom/rubensousa/dpadrecyclerview/ParentAlignment;Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;IFZZILjava/lang/Object;)Lcom/rubensousa/dpadrecyclerview/ParentAlignment;
|
|
.locals 3
|
|
|
|
and-int/lit8 p7, p6, 0x1
|
|
|
|
if-eqz p7, :cond_0
|
|
|
|
iget-object p1, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->edge:Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;
|
|
|
|
:cond_0
|
|
and-int/lit8 p7, p6, 0x2
|
|
|
|
if-eqz p7, :cond_1
|
|
|
|
iget p2, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->offset:I
|
|
|
|
:cond_1
|
|
move p7, p2
|
|
|
|
and-int/lit8 p2, p6, 0x4
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
iget p3, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->fraction:F
|
|
|
|
:cond_2
|
|
move v0, p3
|
|
|
|
and-int/lit8 p2, p6, 0x8
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
iget-boolean p4, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->isFractionEnabled:Z
|
|
|
|
:cond_3
|
|
move v1, p4
|
|
|
|
and-int/lit8 p2, p6, 0x10
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
iget-boolean p5, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->preferKeylineOverEdge:Z
|
|
|
|
:cond_4
|
|
move v2, p5
|
|
|
|
move-object p2, p0
|
|
|
|
move-object p3, p1
|
|
|
|
move p4, p7
|
|
|
|
move p5, v0
|
|
|
|
move p6, v1
|
|
|
|
move p7, v2
|
|
|
|
invoke-virtual/range {p2 .. p7}, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->copy(Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;IFZZ)Lcom/rubensousa/dpadrecyclerview/ParentAlignment;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final component1()Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->edge:Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final component2()I
|
|
.locals 0
|
|
|
|
iget p0, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->offset:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public final component3()F
|
|
.locals 0
|
|
|
|
iget p0, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->fraction:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public final component4()Z
|
|
.locals 0
|
|
|
|
iget-boolean p0, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->isFractionEnabled:Z
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public final component5()Z
|
|
.locals 0
|
|
|
|
iget-boolean p0, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->preferKeylineOverEdge:Z
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public final copy(Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;IFZZ)Lcom/rubensousa/dpadrecyclerview/ParentAlignment;
|
|
.locals 6
|
|
|
|
const-string p0, "edge"
|
|
|
|
invoke-static {p1, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v1, p1
|
|
|
|
move v2, p2
|
|
|
|
move v3, p3
|
|
|
|
move v4, p4
|
|
|
|
move v5, p5
|
|
|
|
invoke-direct/range {v0 .. v5}, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;-><init>(Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;IFZZ)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public describeContents()I
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 4
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-ne p0, p1, :cond_0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
instance-of v1, p1, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
return v2
|
|
|
|
:cond_1
|
|
check-cast p1, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;
|
|
|
|
iget-object v1, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->edge:Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;
|
|
|
|
iget-object v3, p1, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->edge:Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;
|
|
|
|
if-eq v1, v3, :cond_2
|
|
|
|
return v2
|
|
|
|
:cond_2
|
|
iget v1, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->offset:I
|
|
|
|
iget v3, p1, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->offset:I
|
|
|
|
if-eq v1, v3, :cond_3
|
|
|
|
return v2
|
|
|
|
:cond_3
|
|
iget v1, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->fraction:F
|
|
|
|
iget v3, p1, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->fraction:F
|
|
|
|
invoke-static {v1, v3}, Ljava/lang/Float;->compare(FF)I
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
return v2
|
|
|
|
:cond_4
|
|
iget-boolean v1, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->isFractionEnabled:Z
|
|
|
|
iget-boolean v3, p1, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->isFractionEnabled:Z
|
|
|
|
if-eq v1, v3, :cond_5
|
|
|
|
return v2
|
|
|
|
:cond_5
|
|
iget-boolean p0, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->preferKeylineOverEdge:Z
|
|
|
|
iget-boolean p1, p1, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->preferKeylineOverEdge:Z
|
|
|
|
if-eq p0, p1, :cond_6
|
|
|
|
return v2
|
|
|
|
:cond_6
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getEdge()Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->edge:Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final getFraction()F
|
|
.locals 0
|
|
|
|
iget p0, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->fraction:F
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public final getOffset()I
|
|
.locals 0
|
|
|
|
iget p0, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->offset:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public final getPreferKeylineOverEdge()Z
|
|
.locals 0
|
|
|
|
iget-boolean p0, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->preferKeylineOverEdge:Z
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->edge:Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;
|
|
|
|
invoke-virtual {v0}, Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v1, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->offset:I
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->hashCode(I)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v1, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->fraction:F
|
|
|
|
invoke-static {v1}, Ljava/lang/Float;->hashCode(F)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-boolean v1, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->isFractionEnabled:Z
|
|
|
|
invoke-static {v1}, Ljava/lang/Boolean;->hashCode(Z)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-boolean p0, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->preferKeylineOverEdge:Z
|
|
|
|
invoke-static {p0}, Ljava/lang/Boolean;->hashCode(Z)I
|
|
|
|
move-result p0
|
|
|
|
add-int/2addr v0, p0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final isFractionEnabled()Z
|
|
.locals 0
|
|
|
|
iget-boolean p0, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->isFractionEnabled:Z
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "ParentAlignment(edge="
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object v1, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->edge:Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, ", offset="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget v1, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->offset:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, ", fraction="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget v1, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->fraction:F
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, ", isFractionEnabled="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget-boolean v1, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->isFractionEnabled:Z
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, ", preferKeylineOverEdge="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget-boolean p0, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->preferKeylineOverEdge:Z
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
const/16 v0, 0x29
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public writeToParcel(Landroid/os/Parcel;I)V
|
|
.locals 0
|
|
|
|
const-string p2, "parcel"
|
|
|
|
invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object p2, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->edge:Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;
|
|
|
|
.line 94
|
|
invoke-virtual {p2}, Lcom/rubensousa/dpadrecyclerview/ParentAlignment$Edge;->ordinal()I
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
iget p2, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->offset:I
|
|
|
|
.line 95
|
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
iget p2, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->fraction:F
|
|
|
|
.line 96
|
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeFloat(F)V
|
|
|
|
iget-boolean p2, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->isFractionEnabled:Z
|
|
|
|
.line 97
|
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeByte(B)V
|
|
|
|
iget-boolean p0, p0, Lcom/rubensousa/dpadrecyclerview/ParentAlignment;->preferKeylineOverEdge:Z
|
|
|
|
.line 98
|
|
invoke-virtual {p1, p0}, Landroid/os/Parcel;->writeByte(B)V
|
|
|
|
return-void
|
|
.end method
|