Rabbit-R1/original r1/smali/smali_classes2/androidx/media3/common/MediaItem$ClippingConfiguration$Builder.smali
2024-05-21 17:08:36 -04:00

241 lines
6.7 KiB
Smali

.class public final Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;
.super Ljava/lang/Object;
.source "MediaItem.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/media3/common/MediaItem$ClippingConfiguration;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Builder"
.end annotation
# instance fields
.field private endPositionMs:J
.field private relativeToDefaultPosition:Z
.field private relativeToLiveWindow:Z
.field private startPositionMs:J
.field private startsAtKeyFrame:Z
# direct methods
.method public constructor <init>()V
.locals 2
.line 1800
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-wide/high16 v0, -0x8000000000000000L
iput-wide v0, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->endPositionMs:J
return-void
.end method
.method private constructor <init>(Landroidx/media3/common/MediaItem$ClippingConfiguration;)V
.locals 2
.line 1804
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 1805
iget-wide v0, p1, Landroidx/media3/common/MediaItem$ClippingConfiguration;->startPositionMs:J
iput-wide v0, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->startPositionMs:J
.line 1806
iget-wide v0, p1, Landroidx/media3/common/MediaItem$ClippingConfiguration;->endPositionMs:J
iput-wide v0, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->endPositionMs:J
.line 1807
iget-boolean v0, p1, Landroidx/media3/common/MediaItem$ClippingConfiguration;->relativeToLiveWindow:Z
iput-boolean v0, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->relativeToLiveWindow:Z
.line 1808
iget-boolean v0, p1, Landroidx/media3/common/MediaItem$ClippingConfiguration;->relativeToDefaultPosition:Z
iput-boolean v0, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->relativeToDefaultPosition:Z
.line 1809
iget-boolean p1, p1, Landroidx/media3/common/MediaItem$ClippingConfiguration;->startsAtKeyFrame:Z
iput-boolean p1, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->startsAtKeyFrame:Z
return-void
.end method
.method synthetic constructor <init>(Landroidx/media3/common/MediaItem$ClippingConfiguration;Landroidx/media3/common/MediaItem$1;)V
.locals 0
.line 1792
invoke-direct {p0, p1}, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;-><init>(Landroidx/media3/common/MediaItem$ClippingConfiguration;)V
return-void
.end method
.method static synthetic access$3800(Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;)J
.locals 2
.line 1792
iget-wide v0, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->startPositionMs:J
return-wide v0
.end method
.method static synthetic access$3900(Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;)J
.locals 2
.line 1792
iget-wide v0, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->endPositionMs:J
return-wide v0
.end method
.method static synthetic access$4000(Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;)Z
.locals 0
.line 1792
iget-boolean p0, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->relativeToLiveWindow:Z
return p0
.end method
.method static synthetic access$4100(Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;)Z
.locals 0
.line 1792
iget-boolean p0, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->relativeToDefaultPosition:Z
return p0
.end method
.method static synthetic access$4200(Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;)Z
.locals 0
.line 1792
iget-boolean p0, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->startsAtKeyFrame:Z
return p0
.end method
# virtual methods
.method public build()Landroidx/media3/common/MediaItem$ClippingConfiguration;
.locals 0
.line 1871
invoke-virtual {p0}, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->buildClippingProperties()Landroidx/media3/common/MediaItem$ClippingProperties;
move-result-object p0
return-object p0
.end method
.method public buildClippingProperties()Landroidx/media3/common/MediaItem$ClippingProperties;
.locals 2
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1880
new-instance v0, Landroidx/media3/common/MediaItem$ClippingProperties;
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Landroidx/media3/common/MediaItem$ClippingProperties;-><init>(Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;Landroidx/media3/common/MediaItem$1;)V
return-object v0
.end method
.method public setEndPositionMs(J)Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;
.locals 2
const-wide/high16 v0, -0x8000000000000000L
cmp-long v0, p1, v0
if-eqz v0, :cond_1
const-wide/16 v0, 0x0
cmp-long v0, p1, v0
if-ltz v0, :cond_0
goto :goto_0
:cond_0
const/4 v0, 0x0
goto :goto_1
:cond_1
:goto_0
const/4 v0, 0x1
.line 1830
:goto_1
invoke-static {v0}, Landroidx/media3/common/util/Assertions;->checkArgument(Z)V
iput-wide p1, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->endPositionMs:J
return-object p0
.end method
.method public setRelativeToDefaultPosition(Z)Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;
.locals 0
iput-boolean p1, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->relativeToDefaultPosition:Z
return-object p0
.end method
.method public setRelativeToLiveWindow(Z)Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;
.locals 0
iput-boolean p1, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->relativeToLiveWindow:Z
return-object p0
.end method
.method public setStartPositionMs(J)Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;
.locals 2
const-wide/16 v0, 0x0
cmp-long v0, p1, v0
if-ltz v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
.line 1818
:goto_0
invoke-static {v0}, Landroidx/media3/common/util/Assertions;->checkArgument(Z)V
iput-wide p1, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->startPositionMs:J
return-object p0
.end method
.method public setStartsAtKeyFrame(Z)Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;
.locals 0
iput-boolean p1, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->startsAtKeyFrame:Z
return-object p0
.end method