2019-07-24 11:27:29 +00:00
|
|
|
.class public Lorg/webrtc/Size;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "Size.java"
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public height:I
|
|
|
|
|
|
|
|
.field public width:I
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(II)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
iput p1, p0, Lorg/webrtc/Size;->width:I
|
|
|
|
|
|
|
|
iput p2, p0, Lorg/webrtc/Size;->height:I
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
instance-of v0, p1, Lorg/webrtc/Size;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
check-cast p1, Lorg/webrtc/Size;
|
|
|
|
|
|
|
|
iget v0, p0, Lorg/webrtc/Size;->width:I
|
|
|
|
|
|
|
|
iget v2, p1, Lorg/webrtc/Size;->width:I
|
|
|
|
|
|
|
|
if-ne v0, v2, :cond_1
|
|
|
|
|
|
|
|
iget v0, p0, Lorg/webrtc/Size;->height:I
|
|
|
|
|
|
|
|
iget p1, p1, Lorg/webrtc/Size;->height:I
|
|
|
|
|
|
|
|
if-ne v0, p1, :cond_1
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v1, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public hashCode()I
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget v0, p0, Lorg/webrtc/Size;->width:I
|
|
|
|
|
|
|
|
const v1, 0x10001
|
|
|
|
|
|
|
|
mul-int v0, v0, v1
|
|
|
|
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
|
|
|
|
iget v1, p0, Lorg/webrtc/Size;->height:I
|
|
|
|
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
|
|
|
iget v1, p0, Lorg/webrtc/Size;->width:I
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, "x"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget v1, p0, Lorg/webrtc/Size;->height:I
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|