.class final Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleQueue$AllocationNode; .super Ljava/lang/Object; .source "SourceFile" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleQueue; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "AllocationNode" .end annotation # instance fields .field public allocation:Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/Allocation; .annotation build Landroidx/annotation/Nullable; .end annotation .end field .field public final endPosition:J .field public next:Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleQueue$AllocationNode; .annotation build Landroidx/annotation/Nullable; .end annotation .end field .field public final startPosition:J .field public wasInitialized:Z # direct methods .method public constructor (JI)V .locals 2 .line 488 invoke-direct {p0}, Ljava/lang/Object;->()V iput-wide p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleQueue$AllocationNode;->startPosition:J int-to-long v0, p3 add-long/2addr p1, v0 iput-wide p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleQueue$AllocationNode;->endPosition:J return-void .end method # virtual methods .method public final clear()Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleQueue$AllocationNode; .locals 2 const/4 v0, 0x0 iput-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleQueue$AllocationNode;->allocation:Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/Allocation; iget-object v1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleQueue$AllocationNode;->next:Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleQueue$AllocationNode; iput-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleQueue$AllocationNode;->next:Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleQueue$AllocationNode; return-object v1 .end method .method public final initialize(Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/Allocation;Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleQueue$AllocationNode;)V .locals 0 iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleQueue$AllocationNode;->allocation:Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/Allocation; iput-object p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleQueue$AllocationNode;->next:Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleQueue$AllocationNode; const/4 p1, 0x1 iput-boolean p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleQueue$AllocationNode;->wasInitialized:Z return-void .end method .method public final translateOffset(J)I .locals 2 iget-wide v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleQueue$AllocationNode;->startPosition:J sub-long/2addr p1, v0 long-to-int p1, p1 iget-object p2, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/source/SampleQueue$AllocationNode;->allocation:Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/Allocation; .line 502 iget p2, p2, Lcom/mbridge/msdk/playercommon/exoplayer2/upstream/Allocation;->offset:I add-int/2addr p1, p2 return p1 .end method