mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
129 lines
3.2 KiB
Smali
129 lines
3.2 KiB
Smali
.class public final Landroidx/media3/common/FrameInfo$Builder;
|
|
.super Ljava/lang/Object;
|
|
.source "FrameInfo.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/media3/common/FrameInfo;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Builder"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private height:I
|
|
|
|
.field private offsetToAddUs:J
|
|
|
|
.field private pixelWidthHeightRatio:F
|
|
|
|
.field private width:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(II)V
|
|
.locals 0
|
|
|
|
.line 41
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput p1, p0, Landroidx/media3/common/FrameInfo$Builder;->width:I
|
|
|
|
iput p2, p0, Landroidx/media3/common/FrameInfo$Builder;->height:I
|
|
|
|
const/high16 p1, 0x3f800000 # 1.0f
|
|
|
|
iput p1, p0, Landroidx/media3/common/FrameInfo$Builder;->pixelWidthHeightRatio:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroidx/media3/common/FrameInfo;)V
|
|
.locals 2
|
|
|
|
.line 48
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 49
|
|
iget v0, p1, Landroidx/media3/common/FrameInfo;->width:I
|
|
|
|
iput v0, p0, Landroidx/media3/common/FrameInfo$Builder;->width:I
|
|
|
|
.line 50
|
|
iget v0, p1, Landroidx/media3/common/FrameInfo;->height:I
|
|
|
|
iput v0, p0, Landroidx/media3/common/FrameInfo$Builder;->height:I
|
|
|
|
.line 51
|
|
iget v0, p1, Landroidx/media3/common/FrameInfo;->pixelWidthHeightRatio:F
|
|
|
|
iput v0, p0, Landroidx/media3/common/FrameInfo$Builder;->pixelWidthHeightRatio:F
|
|
|
|
.line 52
|
|
iget-wide v0, p1, Landroidx/media3/common/FrameInfo;->offsetToAddUs:J
|
|
|
|
iput-wide v0, p0, Landroidx/media3/common/FrameInfo$Builder;->offsetToAddUs:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public build()Landroidx/media3/common/FrameInfo;
|
|
.locals 8
|
|
|
|
.line 94
|
|
new-instance v7, Landroidx/media3/common/FrameInfo;
|
|
|
|
iget v1, p0, Landroidx/media3/common/FrameInfo$Builder;->width:I
|
|
|
|
iget v2, p0, Landroidx/media3/common/FrameInfo$Builder;->height:I
|
|
|
|
iget v3, p0, Landroidx/media3/common/FrameInfo$Builder;->pixelWidthHeightRatio:F
|
|
|
|
iget-wide v4, p0, Landroidx/media3/common/FrameInfo$Builder;->offsetToAddUs:J
|
|
|
|
const/4 v6, 0x0
|
|
|
|
move-object v0, v7
|
|
|
|
invoke-direct/range {v0 .. v6}, Landroidx/media3/common/FrameInfo;-><init>(IIFJLandroidx/media3/common/FrameInfo$1;)V
|
|
|
|
return-object v7
|
|
.end method
|
|
|
|
.method public setHeight(I)Landroidx/media3/common/FrameInfo$Builder;
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/media3/common/FrameInfo$Builder;->height:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setOffsetToAddUs(J)Landroidx/media3/common/FrameInfo$Builder;
|
|
.locals 0
|
|
|
|
iput-wide p1, p0, Landroidx/media3/common/FrameInfo$Builder;->offsetToAddUs:J
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setPixelWidthHeightRatio(F)Landroidx/media3/common/FrameInfo$Builder;
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/media3/common/FrameInfo$Builder;->pixelWidthHeightRatio:F
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setWidth(I)Landroidx/media3/common/FrameInfo$Builder;
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/media3/common/FrameInfo$Builder;->width:I
|
|
|
|
return-object p0
|
|
.end method
|