Rabbit-R1/android (non root)/smali/smali_classes2/androidx/media3/extractor/SeekPoint.smali
2024-05-21 17:08:36 -04:00

165 lines
3.4 KiB
Smali

.class public final Landroidx/media3/extractor/SeekPoint;
.super Ljava/lang/Object;
.source "SeekPoint.java"
# static fields
.field public static final START:Landroidx/media3/extractor/SeekPoint;
# instance fields
.field public final position:J
.field public final timeUs:J
# direct methods
.method static constructor <clinit>()V
.locals 3
.line 26
new-instance v0, Landroidx/media3/extractor/SeekPoint;
const-wide/16 v1, 0x0
invoke-direct {v0, v1, v2, v1, v2}, Landroidx/media3/extractor/SeekPoint;-><init>(JJ)V
sput-object v0, Landroidx/media3/extractor/SeekPoint;->START:Landroidx/media3/extractor/SeekPoint;
return-void
.end method
.method public constructor <init>(JJ)V
.locals 0
.line 38
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-wide p1, p0, Landroidx/media3/extractor/SeekPoint;->timeUs:J
iput-wide p3, p0, Landroidx/media3/extractor/SeekPoint;->position:J
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 6
const/4 v0, 0x1
if-ne p0, p1, :cond_0
return v0
:cond_0
const/4 v1, 0x0
if-eqz p1, :cond_3
.line 53
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v3
if-eq v2, v3, :cond_1
goto :goto_1
.line 56
:cond_1
check-cast p1, Landroidx/media3/extractor/SeekPoint;
iget-wide v2, p0, Landroidx/media3/extractor/SeekPoint;->timeUs:J
.line 57
iget-wide v4, p1, Landroidx/media3/extractor/SeekPoint;->timeUs:J
cmp-long v2, v2, v4
if-nez v2, :cond_2
iget-wide v2, p0, Landroidx/media3/extractor/SeekPoint;->position:J
iget-wide p0, p1, Landroidx/media3/extractor/SeekPoint;->position:J
cmp-long p0, v2, p0
if-nez p0, :cond_2
goto :goto_0
:cond_2
move v0, v1
:goto_0
return v0
:cond_3
:goto_1
return v1
.end method
.method public hashCode()I
.locals 3
iget-wide v0, p0, Landroidx/media3/extractor/SeekPoint;->timeUs:J
long-to-int v0, v0
mul-int/lit8 v0, v0, 0x1f
iget-wide v1, p0, Landroidx/media3/extractor/SeekPoint;->position:J
long-to-int p0, v1
add-int/2addr v0, p0
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 3
.line 45
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "[timeUs="
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-wide v1, p0, Landroidx/media3/extractor/SeekPoint;->timeUs:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
move-result-object v0
const-string v1, ", position="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-wide v1, p0, Landroidx/media3/extractor/SeekPoint;->position:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
move-result-object p0
const-string v0, "]"
invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)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