196 lines
3.5 KiB
Smali
196 lines
3.5 KiB
Smali
.class public final Lcom/camerakit/b/c;
|
|
.super Ljava/lang/Object;
|
|
.source "CameraSize.kt"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Comparable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Ljava/lang/Comparable<",
|
|
"Lcom/camerakit/b/c;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final height:I
|
|
|
|
.field public final width:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(II)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput p1, p0, Lcom/camerakit/b/c;->width:I
|
|
|
|
iput p2, p0, Lcom/camerakit/b/c;->height:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final cb()I
|
|
.locals 2
|
|
|
|
iget v0, p0, Lcom/camerakit/b/c;->width:I
|
|
|
|
iget v1, p0, Lcom/camerakit/b/c;->height:I
|
|
|
|
mul-int v0, v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final synthetic compareTo(Ljava/lang/Object;)I
|
|
.locals 2
|
|
|
|
check-cast p1, Lcom/camerakit/b/c;
|
|
|
|
const-string v0, "other"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget v0, p0, Lcom/camerakit/b/c;->width:I
|
|
|
|
iget v1, p0, Lcom/camerakit/b/c;->height:I
|
|
|
|
mul-int v0, v0, v1
|
|
|
|
iget v1, p1, Lcom/camerakit/b/c;->width:I
|
|
|
|
iget p1, p1, Lcom/camerakit/b/c;->height:I
|
|
|
|
mul-int v1, v1, p1
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
if-gez v0, :cond_1
|
|
|
|
const/4 p1, -0x1
|
|
|
|
return p1
|
|
|
|
:cond_1
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final equals(Ljava/lang/Object;)Z
|
|
.locals 4
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eq p0, p1, :cond_3
|
|
|
|
instance-of v1, p1, Lcom/camerakit/b/c;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
check-cast p1, Lcom/camerakit/b/c;
|
|
|
|
iget v1, p0, Lcom/camerakit/b/c;->width:I
|
|
|
|
iget v3, p1, Lcom/camerakit/b/c;->width:I
|
|
|
|
if-ne v1, v3, :cond_0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-eqz v1, :cond_2
|
|
|
|
iget v1, p0, Lcom/camerakit/b/c;->height:I
|
|
|
|
iget p1, p1, Lcom/camerakit/b/c;->height:I
|
|
|
|
if-ne v1, p1, :cond_1
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 p1, 0x0
|
|
|
|
:goto_1
|
|
if-eqz p1, :cond_2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
return v2
|
|
|
|
:cond_3
|
|
:goto_2
|
|
return v0
|
|
.end method
|
|
|
|
.method public final hashCode()I
|
|
.locals 2
|
|
|
|
iget v0, p0, Lcom/camerakit/b/c;->width:I
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v1, p0, Lcom/camerakit/b/c;->height:I
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "CameraSize(width="
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget v1, p0, Lcom/camerakit/b/c;->width:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", height="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Lcom/camerakit/b/c;->height:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ")"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|