mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 09:02:34 -06:00
186 lines
3.9 KiB
Smali
186 lines
3.9 KiB
Smali
.class public final Landroidx/media3/container/XmpData;
|
|
.super Ljava/lang/Object;
|
|
.source "XmpData.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/XmpData;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field public final data:[B
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 74
|
|
new-instance v0, Landroidx/media3/container/XmpData$1;
|
|
|
|
invoke-direct {v0}, Landroidx/media3/container/XmpData$1;-><init>()V
|
|
|
|
sput-object v0, Landroidx/media3/container/XmpData;->CREATOR:Landroid/os/Parcelable$Creator;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>(Landroid/os/Parcel;)V
|
|
.locals 0
|
|
|
|
.line 36
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 37
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->createByteArray()[B
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Landroidx/media3/common/util/Util;->castNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, [B
|
|
|
|
iput-object p1, p0, Landroidx/media3/container/XmpData;->data:[B
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method synthetic constructor <init>(Landroid/os/Parcel;Landroidx/media3/container/XmpData$1;)V
|
|
.locals 0
|
|
|
|
.line 28
|
|
invoke-direct {p0, p1}, Landroidx/media3/container/XmpData;-><init>(Landroid/os/Parcel;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>([B)V
|
|
.locals 0
|
|
|
|
.line 32
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/media3/container/XmpData;->data:[B
|
|
|
|
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 2
|
|
|
|
if-ne p0, p1, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 45
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v1
|
|
|
|
if-eq v0, v1, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
iget-object p0, p0, Landroidx/media3/container/XmpData;->data:[B
|
|
|
|
.line 49
|
|
check-cast p1, Landroidx/media3/container/XmpData;
|
|
|
|
iget-object p1, p1, Landroidx/media3/container/XmpData;->data:[B
|
|
|
|
invoke-static {p0, p1}, Ljava/util/Arrays;->equals([B[B)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_2
|
|
:goto_0
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/media3/container/XmpData;->data:[B
|
|
|
|
.line 54
|
|
invoke-static {p0}, Ljava/util/Arrays;->hashCode([B)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 59
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "XMP: "
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object p0, p0, Landroidx/media3/container/XmpData;->data:[B
|
|
|
|
invoke-static {p0}, Landroidx/media3/common/util/Util;->toHexString([B)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {v0, p0}, 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
|
|
|
|
.method public writeToParcel(Landroid/os/Parcel;I)V
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/media3/container/XmpData;->data:[B
|
|
|
|
.line 71
|
|
invoke-virtual {p1, p0}, Landroid/os/Parcel;->writeByteArray([B)V
|
|
|
|
return-void
|
|
.end method
|