mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-27 09:32:27 -06:00
105 lines
2.3 KiB
Smali
105 lines
2.3 KiB
Smali
.class public Landroidx/media3/common/FrameInfo;
|
|
.super Ljava/lang/Object;
|
|
.source "FrameInfo.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/media3/common/FrameInfo$Builder;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final height:I
|
|
|
|
.field public final offsetToAddUs:J
|
|
|
|
.field public final pixelWidthHeightRatio:F
|
|
|
|
.field public final width:I
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>(IIFJ)V
|
|
.locals 5
|
|
|
|
.line 114
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-lez p1, :cond_0
|
|
|
|
move v2, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v2, v1
|
|
|
|
.line 115
|
|
:goto_0
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
const-string v4, "width must be positive, but is: "
|
|
|
|
invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v2, v3}, Landroidx/media3/common/util/Assertions;->checkArgument(ZLjava/lang/Object;)V
|
|
|
|
if-lez p2, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move v0, v1
|
|
|
|
.line 116
|
|
:goto_1
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "height must be positive, but is: "
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v0, v1}, Landroidx/media3/common/util/Assertions;->checkArgument(ZLjava/lang/Object;)V
|
|
|
|
iput p1, p0, Landroidx/media3/common/FrameInfo;->width:I
|
|
|
|
iput p2, p0, Landroidx/media3/common/FrameInfo;->height:I
|
|
|
|
iput p3, p0, Landroidx/media3/common/FrameInfo;->pixelWidthHeightRatio:F
|
|
|
|
iput-wide p4, p0, Landroidx/media3/common/FrameInfo;->offsetToAddUs:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method synthetic constructor <init>(IIFJLandroidx/media3/common/FrameInfo$1;)V
|
|
.locals 0
|
|
|
|
.line 25
|
|
invoke-direct/range {p0 .. p5}, Landroidx/media3/common/FrameInfo;-><init>(IIFJ)V
|
|
|
|
return-void
|
|
.end method
|