ShapeEntity$RectArgs.smali
.class public final Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;
.super Lcom/squareup/wire/Message;
.source "ShapeEntity.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/opensource/svgaplayer/proto/ShapeEntity;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "RectArgs"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs$ProtoAdapter_RectArgs;,
Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs$Builder;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/squareup/wire/Message<",
"Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;",
"Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs$Builder;",
">;"
}
.end annotation
# static fields
.field public static final ADAPTER:Lcom/squareup/wire/ProtoAdapter;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/squareup/wire/ProtoAdapter<",
"Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;",
">;"
}
.end annotation
.end field
.field public static final DEFAULT_CORNERRADIUS:Ljava/lang/Float;
.field public static final DEFAULT_HEIGHT:Ljava/lang/Float;
.field public static final DEFAULT_WIDTH:Ljava/lang/Float;
.field public static final DEFAULT_X:Ljava/lang/Float;
.field public static final DEFAULT_Y:Ljava/lang/Float;
.field private static final serialVersionUID:J
# instance fields
.field public final cornerRadius:Ljava/lang/Float;
.annotation runtime Lcom/squareup/wire/WireField;
adapter = "com.squareup.wire.ProtoAdapter#FLOAT"
tag = 0x5
.end annotation
.end field
.field public final height:Ljava/lang/Float;
.annotation runtime Lcom/squareup/wire/WireField;
adapter = "com.squareup.wire.ProtoAdapter#FLOAT"
tag = 0x4
.end annotation
.end field
.field public final width:Ljava/lang/Float;
.annotation runtime Lcom/squareup/wire/WireField;
adapter = "com.squareup.wire.ProtoAdapter#FLOAT"
tag = 0x3
.end annotation
.end field
.field public final x:Ljava/lang/Float;
.annotation runtime Lcom/squareup/wire/WireField;
adapter = "com.squareup.wire.ProtoAdapter#FLOAT"
tag = 0x1
.end annotation
.end field
.field public final y:Ljava/lang/Float;
.annotation runtime Lcom/squareup/wire/WireField;
adapter = "com.squareup.wire.ProtoAdapter#FLOAT"
tag = 0x2
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.registers 1
.line 1
new-instance v0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs$ProtoAdapter_RectArgs;
invoke-direct {v0}, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs$ProtoAdapter_RectArgs;-><init>()V
sput-object v0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->ADAPTER:Lcom/squareup/wire/ProtoAdapter;
const/4 v0, 0x0
.line 2
invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
move-result-object v0
sput-object v0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->DEFAULT_X:Ljava/lang/Float;
.line 3
sput-object v0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->DEFAULT_Y:Ljava/lang/Float;
.line 4
sput-object v0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->DEFAULT_WIDTH:Ljava/lang/Float;
.line 5
sput-object v0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->DEFAULT_HEIGHT:Ljava/lang/Float;
.line 6
sput-object v0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->DEFAULT_CORNERRADIUS:Ljava/lang/Float;
return-void
.end method
.method public constructor <init>(Ljava/lang/Float;Ljava/lang/Float;Ljava/lang/Float;Ljava/lang/Float;Ljava/lang/Float;)V
.registers 13
.line 1
sget-object v6, Lokio/ByteString;->EMPTY:Lokio/ByteString;
move-object v0, p0
move-object v1, p1
move-object v2, p2
move-object v3, p3
move-object v4, p4
move-object v5, p5
invoke-direct/range {v0 .. v6}, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;-><init>(Ljava/lang/Float;Ljava/lang/Float;Ljava/lang/Float;Ljava/lang/Float;Ljava/lang/Float;Lokio/ByteString;)V
return-void
.end method
.method public constructor <init>(Ljava/lang/Float;Ljava/lang/Float;Ljava/lang/Float;Ljava/lang/Float;Ljava/lang/Float;Lokio/ByteString;)V
.registers 8
.line 2
sget-object v0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->ADAPTER:Lcom/squareup/wire/ProtoAdapter;
invoke-direct {p0, v0, p6}, Lcom/squareup/wire/Message;-><init>(Lcom/squareup/wire/ProtoAdapter;Lokio/ByteString;)V
.line 3
iput-object p1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->x:Ljava/lang/Float;
.line 4
iput-object p2, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->y:Ljava/lang/Float;
.line 5
iput-object p3, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->width:Ljava/lang/Float;
.line 6
iput-object p4, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->height:Ljava/lang/Float;
.line 7
iput-object p5, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->cornerRadius:Ljava/lang/Float;
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.registers 6
const/4 v0, 0x1
if-ne p1, p0, :cond_4
return v0
.line 1
:cond_4
instance-of v1, p1, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;
const/4 v2, 0x0
if-nez v1, :cond_a
return v2
.line 2
:cond_a
check-cast p1, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;
.line 3
invoke-virtual {p0}, Lcom/squareup/wire/Message;->unknownFields()Lokio/ByteString;
move-result-object v1
invoke-virtual {p1}, Lcom/squareup/wire/Message;->unknownFields()Lokio/ByteString;
move-result-object v3
invoke-virtual {v1, v3}, Lokio/ByteString;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_4d
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->x:Ljava/lang/Float;
iget-object v3, p1, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->x:Ljava/lang/Float;
.line 4
invoke-static {v1, v3}, Lcom/squareup/wire/internal/Internal;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_4d
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->y:Ljava/lang/Float;
iget-object v3, p1, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->y:Ljava/lang/Float;
.line 5
invoke-static {v1, v3}, Lcom/squareup/wire/internal/Internal;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_4d
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->width:Ljava/lang/Float;
iget-object v3, p1, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->width:Ljava/lang/Float;
.line 6
invoke-static {v1, v3}, Lcom/squareup/wire/internal/Internal;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_4d
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->height:Ljava/lang/Float;
iget-object v3, p1, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->height:Ljava/lang/Float;
.line 7
invoke-static {v1, v3}, Lcom/squareup/wire/internal/Internal;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_4d
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->cornerRadius:Ljava/lang/Float;
iget-object p1, p1, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->cornerRadius:Ljava/lang/Float;
.line 8
invoke-static {v1, p1}, Lcom/squareup/wire/internal/Internal;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_4d
goto :goto_4e
:cond_4d
const/4 v0, 0x0
:goto_4e
return v0
.end method
.method public hashCode()I
.registers 4
.line 1
iget v0, p0, Lcom/squareup/wire/Message;->hashCode:I
if-nez v0, :cond_4e
.line 2
invoke-virtual {p0}, Lcom/squareup/wire/Message;->unknownFields()Lokio/ByteString;
move-result-object v0
invoke-virtual {v0}, Lokio/ByteString;->hashCode()I
move-result v0
mul-int/lit8 v0, v0, 0x25
.line 3
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->x:Ljava/lang/Float;
const/4 v2, 0x0
if-eqz v1, :cond_18
invoke-virtual {v1}, Ljava/lang/Float;->hashCode()I
move-result v1
goto :goto_19
:cond_18
const/4 v1, 0x0
:goto_19
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x25
.line 4
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->y:Ljava/lang/Float;
if-eqz v1, :cond_25
invoke-virtual {v1}, Ljava/lang/Float;->hashCode()I
move-result v1
goto :goto_26
:cond_25
const/4 v1, 0x0
:goto_26
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x25
.line 5
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->width:Ljava/lang/Float;
if-eqz v1, :cond_32
invoke-virtual {v1}, Ljava/lang/Float;->hashCode()I
move-result v1
goto :goto_33
:cond_32
const/4 v1, 0x0
:goto_33
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x25
.line 6
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->height:Ljava/lang/Float;
if-eqz v1, :cond_3f
invoke-virtual {v1}, Ljava/lang/Float;->hashCode()I
move-result v1
goto :goto_40
:cond_3f
const/4 v1, 0x0
:goto_40
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x25
.line 7
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->cornerRadius:Ljava/lang/Float;
if-eqz v1, :cond_4b
invoke-virtual {v1}, Ljava/lang/Float;->hashCode()I
move-result v2
:cond_4b
add-int/2addr v0, v2
.line 8
iput v0, p0, Lcom/squareup/wire/Message;->hashCode:I
:cond_4e
return v0
.end method
.method public newBuilder()Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs$Builder;
.registers 3
.line 2
new-instance v0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs$Builder;
invoke-direct {v0}, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs$Builder;-><init>()V
.line 3
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->x:Ljava/lang/Float;
iput-object v1, v0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs$Builder;->x:Ljava/lang/Float;
.line 4
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->y:Ljava/lang/Float;
iput-object v1, v0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs$Builder;->y:Ljava/lang/Float;
.line 5
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->width:Ljava/lang/Float;
iput-object v1, v0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs$Builder;->width:Ljava/lang/Float;
.line 6
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->height:Ljava/lang/Float;
iput-object v1, v0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs$Builder;->height:Ljava/lang/Float;
.line 7
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->cornerRadius:Ljava/lang/Float;
iput-object v1, v0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs$Builder;->cornerRadius:Ljava/lang/Float;
.line 8
invoke-virtual {p0}, Lcom/squareup/wire/Message;->unknownFields()Lokio/ByteString;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/squareup/wire/Message$Builder;->addUnknownFields(Lokio/ByteString;)Lcom/squareup/wire/Message$Builder;
return-object v0
.end method
.method public bridge synthetic newBuilder()Lcom/squareup/wire/Message$Builder;
.registers 2
.line 1
invoke-virtual {p0}, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->newBuilder()Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs$Builder;
move-result-object v0
return-object v0
.end method
.method public toString()Ljava/lang/String;
.registers 5
.line 1
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
.line 2
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->x:Ljava/lang/Float;
if-eqz v1, :cond_13
const-string v1, ", x="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->x:Ljava/lang/Float;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
.line 3
:cond_13
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->y:Ljava/lang/Float;
if-eqz v1, :cond_21
const-string v1, ", y="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->y:Ljava/lang/Float;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
.line 4
:cond_21
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->width:Ljava/lang/Float;
if-eqz v1, :cond_2f
const-string v1, ", width="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->width:Ljava/lang/Float;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
.line 5
:cond_2f
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->height:Ljava/lang/Float;
if-eqz v1, :cond_3d
const-string v1, ", height="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->height:Ljava/lang/Float;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
.line 6
:cond_3d
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->cornerRadius:Ljava/lang/Float;
if-eqz v1, :cond_4b
const-string v1, ", cornerRadius="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/opensource/svgaplayer/proto/ShapeEntity$RectArgs;->cornerRadius:Ljava/lang/Float;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
:cond_4b
const/4 v1, 0x0
const/4 v2, 0x2
const-string v3, "RectArgs{"
.line 7
invoke-virtual {v0, v1, v2, v3}, Ljava/lang/StringBuilder;->replace(IILjava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
const/16 v1, 0x7d
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method