127 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			127 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
.class final Lcom/google/android/exoplayer2/text/webvtt/Mp4WebvttSubtitle;
 | 
						|
.super Ljava/lang/Object;
 | 
						|
.source "Mp4WebvttSubtitle.java"
 | 
						|
 | 
						|
# interfaces
 | 
						|
.implements Lcom/google/android/exoplayer2/text/Subtitle;
 | 
						|
 | 
						|
 | 
						|
# instance fields
 | 
						|
.field private final cues:Ljava/util/List;
 | 
						|
    .annotation system Ldalvik/annotation/Signature;
 | 
						|
        value = {
 | 
						|
            "Ljava/util/List<",
 | 
						|
            "Lcom/google/android/exoplayer2/text/Cue;",
 | 
						|
            ">;"
 | 
						|
        }
 | 
						|
    .end annotation
 | 
						|
.end field
 | 
						|
 | 
						|
 | 
						|
# direct methods
 | 
						|
.method public constructor <init>(Ljava/util/List;)V
 | 
						|
    .locals 0
 | 
						|
    .annotation system Ldalvik/annotation/Signature;
 | 
						|
        value = {
 | 
						|
            "(",
 | 
						|
            "Ljava/util/List<",
 | 
						|
            "Lcom/google/android/exoplayer2/text/Cue;",
 | 
						|
            ">;)V"
 | 
						|
        }
 | 
						|
    .end annotation
 | 
						|
 | 
						|
    .line 1
 | 
						|
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V
 | 
						|
 | 
						|
    .line 2
 | 
						|
    invoke-static {p1}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
 | 
						|
 | 
						|
    move-result-object p1
 | 
						|
 | 
						|
    iput-object p1, p0, Lcom/google/android/exoplayer2/text/webvtt/Mp4WebvttSubtitle;->cues:Ljava/util/List;
 | 
						|
 | 
						|
    return-void
 | 
						|
.end method
 | 
						|
 | 
						|
 | 
						|
# virtual methods
 | 
						|
.method public getCues(J)Ljava/util/List;
 | 
						|
    .locals 2
 | 
						|
    .annotation system Ldalvik/annotation/Signature;
 | 
						|
        value = {
 | 
						|
            "(J)",
 | 
						|
            "Ljava/util/List<",
 | 
						|
            "Lcom/google/android/exoplayer2/text/Cue;",
 | 
						|
            ">;"
 | 
						|
        }
 | 
						|
    .end annotation
 | 
						|
 | 
						|
    const-wide/16 v0, 0x0
 | 
						|
 | 
						|
    cmp-long p1, p1, v0
 | 
						|
 | 
						|
    if-ltz p1, :cond_0
 | 
						|
 | 
						|
    .line 1
 | 
						|
    iget-object p1, p0, Lcom/google/android/exoplayer2/text/webvtt/Mp4WebvttSubtitle;->cues:Ljava/util/List;
 | 
						|
 | 
						|
    goto :goto_0
 | 
						|
 | 
						|
    :cond_0
 | 
						|
    invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
 | 
						|
 | 
						|
    move-result-object p1
 | 
						|
 | 
						|
    :goto_0
 | 
						|
    return-object p1
 | 
						|
.end method
 | 
						|
 | 
						|
.method public getEventTime(I)J
 | 
						|
    .locals 2
 | 
						|
 | 
						|
    if-nez p1, :cond_0
 | 
						|
 | 
						|
    const/4 p1, 0x1
 | 
						|
 | 
						|
    goto :goto_0
 | 
						|
 | 
						|
    :cond_0
 | 
						|
    const/4 p1, 0x0
 | 
						|
 | 
						|
    .line 1
 | 
						|
    :goto_0
 | 
						|
    invoke-static {p1}, Lcom/google/android/exoplayer2/util/Assertions;->checkArgument(Z)V
 | 
						|
 | 
						|
    const-wide/16 v0, 0x0
 | 
						|
 | 
						|
    return-wide v0
 | 
						|
.end method
 | 
						|
 | 
						|
.method public getEventTimeCount()I
 | 
						|
    .locals 1
 | 
						|
 | 
						|
    const/4 v0, 0x1
 | 
						|
 | 
						|
    return v0
 | 
						|
.end method
 | 
						|
 | 
						|
.method public getNextEventTimeIndex(J)I
 | 
						|
    .locals 2
 | 
						|
 | 
						|
    const-wide/16 v0, 0x0
 | 
						|
 | 
						|
    cmp-long p1, p1, v0
 | 
						|
 | 
						|
    if-gez p1, :cond_0
 | 
						|
 | 
						|
    const/4 p1, 0x0
 | 
						|
 | 
						|
    goto :goto_0
 | 
						|
 | 
						|
    :cond_0
 | 
						|
    const/4 p1, -0x1
 | 
						|
 | 
						|
    :goto_0
 | 
						|
    return p1
 | 
						|
.end method
 |