mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-27 09:32:27 -06:00
271 lines
5.6 KiB
Smali
271 lines
5.6 KiB
Smali
.class public final Landroidx/media3/container/Mp4LocationData;
|
|
.super Ljava/lang/Object;
|
|
.source "Mp4LocationData.java"
|
|
|
|
# interfaces
|
|
.implements Landroidx/media3/common/Metadata$Entry;
|
|
|
|
|
|
# static fields
|
|
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroid/os/Parcelable$Creator<",
|
|
"Landroidx/media3/container/Mp4LocationData;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field public final latitude:F
|
|
|
|
.field public final longitude:F
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 93
|
|
new-instance v0, Landroidx/media3/container/Mp4LocationData$1;
|
|
|
|
invoke-direct {v0}, Landroidx/media3/container/Mp4LocationData$1;-><init>()V
|
|
|
|
sput-object v0, Landroidx/media3/container/Mp4LocationData;->CREATOR:Landroid/os/Parcelable$Creator;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(FF)V
|
|
.locals 2
|
|
|
|
.line 42
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/high16 v0, -0x3d4c0000 # -90.0f
|
|
|
|
cmpl-float v0, p1, v0
|
|
|
|
if-ltz v0, :cond_0
|
|
|
|
const/high16 v0, 0x42b40000 # 90.0f
|
|
|
|
cmpg-float v0, p1, v0
|
|
|
|
if-gtz v0, :cond_0
|
|
|
|
const/high16 v0, -0x3ccc0000 # -180.0f
|
|
|
|
cmpl-float v0, p2, v0
|
|
|
|
if-ltz v0, :cond_0
|
|
|
|
const/high16 v0, 0x43340000 # 180.0f
|
|
|
|
cmpg-float v0, p2, v0
|
|
|
|
if-gtz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
const-string v1, "Invalid latitude or longitude"
|
|
|
|
.line 43
|
|
invoke-static {v0, v1}, Landroidx/media3/common/util/Assertions;->checkArgument(ZLjava/lang/Object;)V
|
|
|
|
iput p1, p0, Landroidx/media3/container/Mp4LocationData;->latitude:F
|
|
|
|
iput p2, p0, Landroidx/media3/container/Mp4LocationData;->longitude:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>(Landroid/os/Parcel;)V
|
|
.locals 1
|
|
|
|
.line 50
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 51
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readFloat()F
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/media3/container/Mp4LocationData;->latitude:F
|
|
|
|
.line 52
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readFloat()F
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/media3/container/Mp4LocationData;->longitude:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method synthetic constructor <init>(Landroid/os/Parcel;Landroidx/media3/container/Mp4LocationData$1;)V
|
|
.locals 0
|
|
|
|
.line 30
|
|
invoke-direct {p0, p1}, Landroidx/media3/container/Mp4LocationData;-><init>(Landroid/os/Parcel;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.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
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 60
|
|
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 63
|
|
:cond_1
|
|
check-cast p1, Landroidx/media3/container/Mp4LocationData;
|
|
|
|
iget v2, p0, Landroidx/media3/container/Mp4LocationData;->latitude:F
|
|
|
|
.line 64
|
|
iget v3, p1, Landroidx/media3/container/Mp4LocationData;->latitude:F
|
|
|
|
cmpl-float v2, v2, v3
|
|
|
|
if-nez v2, :cond_2
|
|
|
|
iget p0, p0, Landroidx/media3/container/Mp4LocationData;->longitude:F
|
|
|
|
iget p1, p1, Landroidx/media3/container/Mp4LocationData;->longitude:F
|
|
|
|
cmpl-float p0, p0, p1
|
|
|
|
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 2
|
|
|
|
iget v0, p0, Landroidx/media3/container/Mp4LocationData;->latitude:F
|
|
|
|
.line 70
|
|
invoke-static {v0}, Lcom/google/common/primitives/Floats;->hashCode(F)I
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0x20f
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget p0, p0, Landroidx/media3/container/Mp4LocationData;->longitude:F
|
|
|
|
.line 71
|
|
invoke-static {p0}, Lcom/google/common/primitives/Floats;->hashCode(F)I
|
|
|
|
move-result p0
|
|
|
|
add-int/2addr v1, p0
|
|
|
|
return v1
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 77
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "xyz: latitude="
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget v1, p0, Landroidx/media3/container/Mp4LocationData;->latitude:F
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, ", longitude="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget p0, p0, Landroidx/media3/container/Mp4LocationData;->longitude:F
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(F)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
|
|
|
|
iget p2, p0, Landroidx/media3/container/Mp4LocationData;->latitude:F
|
|
|
|
.line 89
|
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeFloat(F)V
|
|
|
|
iget p0, p0, Landroidx/media3/container/Mp4LocationData;->longitude:F
|
|
|
|
.line 90
|
|
invoke-virtual {p1, p0}, Landroid/os/Parcel;->writeFloat(F)V
|
|
|
|
return-void
|
|
.end method
|