e$b.smali
.class public Lf/b/b/b/q1/t/e$b;
.super Ljava/lang/Object;
.source ""
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lf/b/b/b/q1/t/e;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "b"
.end annotation
# instance fields
.field private a:J
.field private b:J
.field private c:Ljava/lang/CharSequence;
.field private d:I
.field private e:F
.field private f:I
.field private g:I
.field private h:F
.field private i:I
.field private j:F
# direct methods
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
invoke-virtual {p0}, Lf/b/b/b/q1/t/e$b;->g()V
return-void
.end method
.method private static b(FI)F
.registers 5
const/high16 v0, 0x3f800000 # 1.0f
const v1, -0x800001
cmpl-float v2, p0, v1
if-eqz v2, :cond_15
if-nez p1, :cond_15
const/4 v2, 0x0
cmpg-float v2, p0, v2
if-ltz v2, :cond_14
cmpl-float v2, p0, v0
if-lez v2, :cond_15
:cond_14
return v0
:cond_15
cmpl-float v2, p0, v1
if-eqz v2, :cond_1a
return p0
:cond_1a
if-nez p1, :cond_1d
return v0
:cond_1d
return v1
.end method
.method private static c(I)Landroid/text/Layout$Alignment;
.registers 3
const/4 v0, 0x1
if-eq p0, v0, :cond_2f
const/4 v0, 0x2
if-eq p0, v0, :cond_2c
const/4 v0, 0x3
if-eq p0, v0, :cond_29
const/4 v0, 0x4
if-eq p0, v0, :cond_2f
const/4 v0, 0x5
if-eq p0, v0, :cond_29
const/16 v0, 0x22
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1, v0}, Ljava/lang/StringBuilder;-><init>(I)V
const-string v0, "Unknown textAlignment: "
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
const-string v0, "WebvttCueBuilder"
invoke-static {v0, p0}, Lf/b/b/b/s1/r;->h(Ljava/lang/String;Ljava/lang/String;)V
const/4 p0, 0x0
return-object p0
:cond_29
sget-object p0, Landroid/text/Layout$Alignment;->ALIGN_OPPOSITE:Landroid/text/Layout$Alignment;
return-object p0
:cond_2c
sget-object p0, Landroid/text/Layout$Alignment;->ALIGN_CENTER:Landroid/text/Layout$Alignment;
return-object p0
:cond_2f
sget-object p0, Landroid/text/Layout$Alignment;->ALIGN_NORMAL:Landroid/text/Layout$Alignment;
return-object p0
.end method
.method private static d(IF)F
.registers 4
const/high16 v0, 0x3f800000 # 1.0f
if-eqz p0, :cond_24
const/4 v1, 0x1
if-eq p0, v1, :cond_15
const/4 v0, 0x2
if-ne p0, v0, :cond_b
return p1
:cond_b
new-instance p1, Ljava/lang/IllegalStateException;
invoke-static {p0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object p0
invoke-direct {p1, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_15
const/high16 p0, 0x3f000000 # 0.5f
const/high16 v1, 0x40000000 # 2.0f
cmpg-float p0, p1, p0
if-gtz p0, :cond_20
mul-float p1, p1, v1
return p1
:cond_20
sub-float/2addr v0, p1
mul-float v0, v0, v1
return v0
:cond_24
sub-float/2addr v0, p1
return v0
.end method
.method private static e(I)F
.registers 2
const/4 v0, 0x4
if-eq p0, v0, :cond_c
const/4 v0, 0x5
if-eq p0, v0, :cond_9
const/high16 p0, 0x3f000000 # 0.5f
return p0
:cond_9
const/high16 p0, 0x3f800000 # 1.0f
return p0
:cond_c
const/4 p0, 0x0
return p0
.end method
.method private static f(I)I
.registers 3
const/4 v0, 0x1
if-eq p0, v0, :cond_f
const/4 v1, 0x3
if-eq p0, v1, :cond_d
const/4 v1, 0x4
if-eq p0, v1, :cond_f
const/4 v1, 0x5
if-eq p0, v1, :cond_d
return v0
:cond_d
const/4 p0, 0x2
return p0
:cond_f
const/4 p0, 0x0
return p0
.end method
# virtual methods
.method public a()Lf/b/b/b/q1/t/e;
.registers 16
iget v0, p0, Lf/b/b/b/q1/t/e$b;->e:F
iget v1, p0, Lf/b/b/b/q1/t/e$b;->f:I
invoke-static {v0, v1}, Lf/b/b/b/q1/t/e$b;->b(FI)F
move-result v0
iput v0, p0, Lf/b/b/b/q1/t/e$b;->e:F
iget v0, p0, Lf/b/b/b/q1/t/e$b;->h:F
const v1, -0x800001
cmpl-float v0, v0, v1
if-nez v0, :cond_1b
iget v0, p0, Lf/b/b/b/q1/t/e$b;->d:I
invoke-static {v0}, Lf/b/b/b/q1/t/e$b;->e(I)F
move-result v0
iput v0, p0, Lf/b/b/b/q1/t/e$b;->h:F
:cond_1b
iget v0, p0, Lf/b/b/b/q1/t/e$b;->i:I
const/high16 v1, -0x80000000
if-ne v0, v1, :cond_29
iget v0, p0, Lf/b/b/b/q1/t/e$b;->d:I
invoke-static {v0}, Lf/b/b/b/q1/t/e$b;->f(I)I
move-result v0
iput v0, p0, Lf/b/b/b/q1/t/e$b;->i:I
:cond_29
iget v0, p0, Lf/b/b/b/q1/t/e$b;->j:F
iget v1, p0, Lf/b/b/b/q1/t/e$b;->i:I
iget v2, p0, Lf/b/b/b/q1/t/e$b;->h:F
invoke-static {v1, v2}, Lf/b/b/b/q1/t/e$b;->d(IF)F
move-result v1
invoke-static {v0, v1}, Ljava/lang/Math;->min(FF)F
move-result v0
iput v0, p0, Lf/b/b/b/q1/t/e$b;->j:F
new-instance v0, Lf/b/b/b/q1/t/e;
iget-wide v2, p0, Lf/b/b/b/q1/t/e$b;->a:J
iget-wide v4, p0, Lf/b/b/b/q1/t/e$b;->b:J
iget-object v1, p0, Lf/b/b/b/q1/t/e$b;->c:Ljava/lang/CharSequence;
invoke-static {v1}, Lf/b/b/b/s1/e;->e(Ljava/lang/Object;)Ljava/lang/Object;
move-object v6, v1
check-cast v6, Ljava/lang/CharSequence;
iget v1, p0, Lf/b/b/b/q1/t/e$b;->d:I
invoke-static {v1}, Lf/b/b/b/q1/t/e$b;->c(I)Landroid/text/Layout$Alignment;
move-result-object v7
iget v8, p0, Lf/b/b/b/q1/t/e$b;->e:F
iget v9, p0, Lf/b/b/b/q1/t/e$b;->f:I
iget v10, p0, Lf/b/b/b/q1/t/e$b;->g:I
iget v11, p0, Lf/b/b/b/q1/t/e$b;->h:F
iget v12, p0, Lf/b/b/b/q1/t/e$b;->i:I
iget v13, p0, Lf/b/b/b/q1/t/e$b;->j:F
const/4 v14, 0x0
move-object v1, v0
invoke-direct/range {v1 .. v14}, Lf/b/b/b/q1/t/e;-><init>(JJLjava/lang/CharSequence;Landroid/text/Layout$Alignment;FIIFIFLf/b/b/b/q1/t/e$a;)V
return-object v0
.end method
.method public g()V
.registers 3
const-wide/16 v0, 0x0
iput-wide v0, p0, Lf/b/b/b/q1/t/e$b;->a:J
iput-wide v0, p0, Lf/b/b/b/q1/t/e$b;->b:J
const/4 v0, 0x0
iput-object v0, p0, Lf/b/b/b/q1/t/e$b;->c:Ljava/lang/CharSequence;
const/4 v0, 0x2
iput v0, p0, Lf/b/b/b/q1/t/e$b;->d:I
const v0, -0x800001
iput v0, p0, Lf/b/b/b/q1/t/e$b;->e:F
const/4 v1, 0x1
iput v1, p0, Lf/b/b/b/q1/t/e$b;->f:I
const/4 v1, 0x0
iput v1, p0, Lf/b/b/b/q1/t/e$b;->g:I
iput v0, p0, Lf/b/b/b/q1/t/e$b;->h:F
const/high16 v0, -0x80000000
iput v0, p0, Lf/b/b/b/q1/t/e$b;->i:I
const/high16 v0, 0x3f800000 # 1.0f
iput v0, p0, Lf/b/b/b/q1/t/e$b;->j:F
return-void
.end method
.method public h(J)Lf/b/b/b/q1/t/e$b;
.registers 3
iput-wide p1, p0, Lf/b/b/b/q1/t/e$b;->b:J
return-object p0
.end method
.method public i(F)Lf/b/b/b/q1/t/e$b;
.registers 2
iput p1, p0, Lf/b/b/b/q1/t/e$b;->e:F
return-object p0
.end method
.method public j(I)Lf/b/b/b/q1/t/e$b;
.registers 2
iput p1, p0, Lf/b/b/b/q1/t/e$b;->g:I
return-object p0
.end method
.method public k(I)Lf/b/b/b/q1/t/e$b;
.registers 2
iput p1, p0, Lf/b/b/b/q1/t/e$b;->f:I
return-object p0
.end method
.method public l(F)Lf/b/b/b/q1/t/e$b;
.registers 2
iput p1, p0, Lf/b/b/b/q1/t/e$b;->h:F
return-object p0
.end method
.method public m(I)Lf/b/b/b/q1/t/e$b;
.registers 2
iput p1, p0, Lf/b/b/b/q1/t/e$b;->i:I
return-object p0
.end method
.method public n(J)Lf/b/b/b/q1/t/e$b;
.registers 3
iput-wide p1, p0, Lf/b/b/b/q1/t/e$b;->a:J
return-object p0
.end method
.method public o(Ljava/lang/CharSequence;)Lf/b/b/b/q1/t/e$b;
.registers 2
iput-object p1, p0, Lf/b/b/b/q1/t/e$b;->c:Ljava/lang/CharSequence;
return-object p0
.end method
.method public p(I)Lf/b/b/b/q1/t/e$b;
.registers 2
iput p1, p0, Lf/b/b/b/q1/t/e$b;->d:I
return-object p0
.end method
.method public q(F)Lf/b/b/b/q1/t/e$b;
.registers 2
iput p1, p0, Lf/b/b/b/q1/t/e$b;->j:F
return-object p0
.end method