802 lines
14 KiB
Smali
802 lines
14 KiB
Smali
.class public final Lf/i/a/b/e1/r/a;
|
|
.super Lf/i/a/b/e1/c;
|
|
.source "Tx3gDecoder.java"
|
|
|
|
|
|
# instance fields
|
|
.field public final n:Lf/i/a/b/i1/t;
|
|
|
|
.field public o:Z
|
|
|
|
.field public p:I
|
|
|
|
.field public q:I
|
|
|
|
.field public r:Ljava/lang/String;
|
|
|
|
.field public s:F
|
|
|
|
.field public t:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/util/List;)V
|
|
.locals 6
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"[B>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "Tx3gDecoder"
|
|
|
|
invoke-direct {p0, v0}, Lf/i/a/b/e1/c;-><init>(Ljava/lang/String;)V
|
|
|
|
new-instance v0, Lf/i/a/b/i1/t;
|
|
|
|
invoke-direct {v0}, Lf/i/a/b/i1/t;-><init>()V
|
|
|
|
iput-object v0, p0, Lf/i/a/b/e1/r/a;->n:Lf/i/a/b/i1/t;
|
|
|
|
const v0, 0x3f59999a # 0.85f
|
|
|
|
const-string v1, "sans-serif"
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
move-result v3
|
|
|
|
const/4 v4, 0x1
|
|
|
|
if-ne v3, v4, :cond_4
|
|
|
|
invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, [B
|
|
|
|
array-length v3, v3
|
|
|
|
const/16 v5, 0x30
|
|
|
|
if-eq v3, v5, :cond_0
|
|
|
|
invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, [B
|
|
|
|
array-length v3, v3
|
|
|
|
const/16 v5, 0x35
|
|
|
|
if-ne v3, v5, :cond_4
|
|
|
|
:cond_0
|
|
invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, [B
|
|
|
|
const/16 v3, 0x18
|
|
|
|
aget-byte v5, p1, v3
|
|
|
|
iput v5, p0, Lf/i/a/b/e1/r/a;->p:I
|
|
|
|
const/16 v5, 0x1a
|
|
|
|
aget-byte v5, p1, v5
|
|
|
|
and-int/lit16 v5, v5, 0xff
|
|
|
|
shl-int/lit8 v3, v5, 0x18
|
|
|
|
const/16 v5, 0x1b
|
|
|
|
aget-byte v5, p1, v5
|
|
|
|
and-int/lit16 v5, v5, 0xff
|
|
|
|
shl-int/lit8 v5, v5, 0x10
|
|
|
|
or-int/2addr v3, v5
|
|
|
|
const/16 v5, 0x1c
|
|
|
|
aget-byte v5, p1, v5
|
|
|
|
and-int/lit16 v5, v5, 0xff
|
|
|
|
shl-int/lit8 v5, v5, 0x8
|
|
|
|
or-int/2addr v3, v5
|
|
|
|
const/16 v5, 0x1d
|
|
|
|
aget-byte v5, p1, v5
|
|
|
|
and-int/lit16 v5, v5, 0xff
|
|
|
|
or-int/2addr v3, v5
|
|
|
|
iput v3, p0, Lf/i/a/b/e1/r/a;->q:I
|
|
|
|
array-length v3, p1
|
|
|
|
const/16 v5, 0x2b
|
|
|
|
sub-int/2addr v3, v5
|
|
|
|
invoke-static {p1, v5, v3}, Lf/i/a/b/i1/c0;->s([BII)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v5, "Serif"
|
|
|
|
invoke-virtual {v5, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
const-string v1, "serif"
|
|
|
|
:cond_1
|
|
iput-object v1, p0, Lf/i/a/b/e1/r/a;->r:Ljava/lang/String;
|
|
|
|
const/16 v1, 0x19
|
|
|
|
aget-byte v1, p1, v1
|
|
|
|
mul-int/lit8 v1, v1, 0x14
|
|
|
|
iput v1, p0, Lf/i/a/b/e1/r/a;->t:I
|
|
|
|
aget-byte v1, p1, v2
|
|
|
|
and-int/lit8 v1, v1, 0x20
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
const/4 v2, 0x1
|
|
|
|
:cond_2
|
|
iput-boolean v2, p0, Lf/i/a/b/e1/r/a;->o:Z
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
const/16 v0, 0xa
|
|
|
|
aget-byte v0, p1, v0
|
|
|
|
and-int/lit16 v0, v0, 0xff
|
|
|
|
shl-int/lit8 v0, v0, 0x8
|
|
|
|
const/16 v1, 0xb
|
|
|
|
aget-byte p1, p1, v1
|
|
|
|
and-int/lit16 p1, p1, 0xff
|
|
|
|
or-int/2addr p1, v0
|
|
|
|
int-to-float p1, p1
|
|
|
|
iget v0, p0, Lf/i/a/b/e1/r/a;->t:I
|
|
|
|
int-to-float v0, v0
|
|
|
|
div-float/2addr p1, v0
|
|
|
|
iput p1, p0, Lf/i/a/b/e1/r/a;->s:F
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const v1, 0x3f733333 # 0.95f
|
|
|
|
invoke-static {p1, v0, v1}, Lf/i/a/b/i1/c0;->k(FFF)F
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lf/i/a/b/e1/r/a;->s:F
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
iput v0, p0, Lf/i/a/b/e1/r/a;->s:F
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
iput v2, p0, Lf/i/a/b/e1/r/a;->p:I
|
|
|
|
const/4 p1, -0x1
|
|
|
|
iput p1, p0, Lf/i/a/b/e1/r/a;->q:I
|
|
|
|
iput-object v1, p0, Lf/i/a/b/e1/r/a;->r:Ljava/lang/String;
|
|
|
|
iput-boolean v2, p0, Lf/i/a/b/e1/r/a;->o:Z
|
|
|
|
iput v0, p0, Lf/i/a/b/e1/r/a;->s:F
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static k(Z)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lcom/google/android/exoplayer2/text/SubtitleDecoderException;
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
new-instance p0, Lcom/google/android/exoplayer2/text/SubtitleDecoderException;
|
|
|
|
const-string v0, "Unexpected subtitle format."
|
|
|
|
invoke-direct {p0, v0}, Lcom/google/android/exoplayer2/text/SubtitleDecoderException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static l(Landroid/text/SpannableStringBuilder;IIIII)V
|
|
.locals 5
|
|
|
|
if-eq p1, p2, :cond_7
|
|
|
|
or-int/lit8 p2, p5, 0x21
|
|
|
|
and-int/lit8 p5, p1, 0x1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
const/4 p5, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p5, 0x0
|
|
|
|
:goto_0
|
|
and-int/lit8 v2, p1, 0x2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v2, 0x0
|
|
|
|
:goto_1
|
|
if-eqz p5, :cond_3
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
new-instance v3, Landroid/text/style/StyleSpan;
|
|
|
|
const/4 v4, 0x3
|
|
|
|
invoke-direct {v3, v4}, Landroid/text/style/StyleSpan;-><init>(I)V
|
|
|
|
invoke-virtual {p0, v3, p3, p4, p2}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
new-instance v3, Landroid/text/style/StyleSpan;
|
|
|
|
invoke-direct {v3, v1}, Landroid/text/style/StyleSpan;-><init>(I)V
|
|
|
|
invoke-virtual {p0, v3, p3, p4, p2}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
if-eqz v2, :cond_4
|
|
|
|
new-instance v3, Landroid/text/style/StyleSpan;
|
|
|
|
const/4 v4, 0x2
|
|
|
|
invoke-direct {v3, v4}, Landroid/text/style/StyleSpan;-><init>(I)V
|
|
|
|
invoke-virtual {p0, v3, p3, p4, p2}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
:cond_4
|
|
:goto_2
|
|
and-int/lit8 p1, p1, 0x4
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
goto :goto_3
|
|
|
|
:cond_5
|
|
const/4 v1, 0x0
|
|
|
|
:goto_3
|
|
if-eqz v1, :cond_6
|
|
|
|
new-instance p1, Landroid/text/style/UnderlineSpan;
|
|
|
|
invoke-direct {p1}, Landroid/text/style/UnderlineSpan;-><init>()V
|
|
|
|
invoke-virtual {p0, p1, p3, p4, p2}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
:cond_6
|
|
if-nez v1, :cond_7
|
|
|
|
if-nez p5, :cond_7
|
|
|
|
if-nez v2, :cond_7
|
|
|
|
new-instance p1, Landroid/text/style/StyleSpan;
|
|
|
|
invoke-direct {p1, v0}, Landroid/text/style/StyleSpan;-><init>(I)V
|
|
|
|
invoke-virtual {p0, p1, p3, p4, p2}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
:cond_7
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public j([BIZ)Lf/i/a/b/e1/e;
|
|
.locals 18
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lcom/google/android/exoplayer2/text/SubtitleDecoderException;
|
|
}
|
|
.end annotation
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
iget-object v1, v0, Lf/i/a/b/e1/r/a;->n:Lf/i/a/b/i1/t;
|
|
|
|
move-object/from16 v2, p1
|
|
|
|
iput-object v2, v1, Lf/i/a/b/i1/t;->a:[B
|
|
|
|
move/from16 v2, p2
|
|
|
|
iput v2, v1, Lf/i/a/b/i1/t;->c:I
|
|
|
|
const/4 v2, 0x0
|
|
|
|
iput v2, v1, Lf/i/a/b/i1/t;->b:I
|
|
|
|
invoke-virtual {v1}, Lf/i/a/b/i1/t;->a()I
|
|
|
|
move-result v3
|
|
|
|
const/4 v4, 0x1
|
|
|
|
const/4 v5, 0x2
|
|
|
|
if-lt v3, v5, :cond_0
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v3, 0x0
|
|
|
|
:goto_0
|
|
invoke-static {v3}, Lf/i/a/b/e1/r/a;->k(Z)V
|
|
|
|
invoke-virtual {v1}, Lf/i/a/b/i1/t;->v()I
|
|
|
|
move-result v3
|
|
|
|
const/16 v6, 0x8
|
|
|
|
if-nez v3, :cond_1
|
|
|
|
const-string v1, ""
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
invoke-virtual {v1}, Lf/i/a/b/i1/t;->a()I
|
|
|
|
move-result v7
|
|
|
|
if-lt v7, v5, :cond_3
|
|
|
|
iget-object v7, v1, Lf/i/a/b/i1/t;->a:[B
|
|
|
|
iget v8, v1, Lf/i/a/b/i1/t;->b:I
|
|
|
|
aget-byte v9, v7, v8
|
|
|
|
and-int/lit16 v9, v9, 0xff
|
|
|
|
shl-int/2addr v9, v6
|
|
|
|
add-int/2addr v8, v4
|
|
|
|
aget-byte v7, v7, v8
|
|
|
|
and-int/lit16 v7, v7, 0xff
|
|
|
|
or-int/2addr v7, v9
|
|
|
|
int-to-char v7, v7
|
|
|
|
const v8, 0xfeff
|
|
|
|
if-eq v7, v8, :cond_2
|
|
|
|
const v8, 0xfffe
|
|
|
|
if-ne v7, v8, :cond_3
|
|
|
|
:cond_2
|
|
const-string v7, "UTF-16"
|
|
|
|
invoke-static {v7}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-virtual {v1, v3, v7}, Lf/i/a/b/i1/t;->o(ILjava/nio/charset/Charset;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
const-string v7, "UTF-8"
|
|
|
|
invoke-static {v7}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-virtual {v1, v3, v7}, Lf/i/a/b/i1/t;->o(ILjava/nio/charset/Charset;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
:goto_1
|
|
invoke-virtual {v1}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_4
|
|
|
|
sget-object v1, Lf/i/a/b/e1/r/b;->e:Lf/i/a/b/e1/r/b;
|
|
|
|
return-object v1
|
|
|
|
:cond_4
|
|
new-instance v3, Landroid/text/SpannableStringBuilder;
|
|
|
|
invoke-direct {v3, v1}, Landroid/text/SpannableStringBuilder;-><init>(Ljava/lang/CharSequence;)V
|
|
|
|
iget v8, v0, Lf/i/a/b/e1/r/a;->p:I
|
|
|
|
const/4 v9, 0x0
|
|
|
|
const/4 v10, 0x0
|
|
|
|
invoke-virtual {v3}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result v11
|
|
|
|
const/high16 v12, 0xff0000
|
|
|
|
move-object v7, v3
|
|
|
|
invoke-static/range {v7 .. v12}, Lf/i/a/b/e1/r/a;->l(Landroid/text/SpannableStringBuilder;IIIII)V
|
|
|
|
iget v1, v0, Lf/i/a/b/e1/r/a;->q:I
|
|
|
|
const/4 v7, -0x1
|
|
|
|
invoke-virtual {v3}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result v8
|
|
|
|
const v9, 0xff0021
|
|
|
|
if-eq v1, v7, :cond_5
|
|
|
|
and-int/lit16 v7, v1, 0xff
|
|
|
|
shl-int/lit8 v7, v7, 0x18
|
|
|
|
ushr-int/2addr v1, v6
|
|
|
|
or-int/2addr v1, v7
|
|
|
|
new-instance v7, Landroid/text/style/ForegroundColorSpan;
|
|
|
|
invoke-direct {v7, v1}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V
|
|
|
|
invoke-virtual {v3, v7, v2, v8, v9}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
:cond_5
|
|
iget-object v1, v0, Lf/i/a/b/e1/r/a;->r:Ljava/lang/String;
|
|
|
|
invoke-virtual {v3}, Landroid/text/SpannableStringBuilder;->length()I
|
|
|
|
move-result v7
|
|
|
|
const-string v8, "sans-serif"
|
|
|
|
if-eq v1, v8, :cond_6
|
|
|
|
new-instance v8, Landroid/text/style/TypefaceSpan;
|
|
|
|
invoke-direct {v8, v1}, Landroid/text/style/TypefaceSpan;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v3, v8, v2, v7, v9}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
:cond_6
|
|
iget v1, v0, Lf/i/a/b/e1/r/a;->s:F
|
|
|
|
:goto_2
|
|
iget-object v7, v0, Lf/i/a/b/e1/r/a;->n:Lf/i/a/b/i1/t;
|
|
|
|
invoke-virtual {v7}, Lf/i/a/b/i1/t;->a()I
|
|
|
|
move-result v7
|
|
|
|
if-lt v7, v6, :cond_d
|
|
|
|
iget-object v7, v0, Lf/i/a/b/e1/r/a;->n:Lf/i/a/b/i1/t;
|
|
|
|
iget v13, v7, Lf/i/a/b/i1/t;->b:I
|
|
|
|
invoke-virtual {v7}, Lf/i/a/b/i1/t;->e()I
|
|
|
|
move-result v14
|
|
|
|
iget-object v7, v0, Lf/i/a/b/e1/r/a;->n:Lf/i/a/b/i1/t;
|
|
|
|
invoke-virtual {v7}, Lf/i/a/b/i1/t;->e()I
|
|
|
|
move-result v7
|
|
|
|
const v8, 0x7374796c
|
|
|
|
if-ne v7, v8, :cond_a
|
|
|
|
iget-object v7, v0, Lf/i/a/b/e1/r/a;->n:Lf/i/a/b/i1/t;
|
|
|
|
invoke-virtual {v7}, Lf/i/a/b/i1/t;->a()I
|
|
|
|
move-result v7
|
|
|
|
if-lt v7, v5, :cond_7
|
|
|
|
const/4 v7, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_7
|
|
const/4 v7, 0x0
|
|
|
|
:goto_3
|
|
invoke-static {v7}, Lf/i/a/b/e1/r/a;->k(Z)V
|
|
|
|
iget-object v7, v0, Lf/i/a/b/e1/r/a;->n:Lf/i/a/b/i1/t;
|
|
|
|
invoke-virtual {v7}, Lf/i/a/b/i1/t;->v()I
|
|
|
|
move-result v15
|
|
|
|
const/4 v12, 0x0
|
|
|
|
:goto_4
|
|
if-ge v12, v15, :cond_c
|
|
|
|
iget-object v7, v0, Lf/i/a/b/e1/r/a;->n:Lf/i/a/b/i1/t;
|
|
|
|
invoke-virtual {v7}, Lf/i/a/b/i1/t;->a()I
|
|
|
|
move-result v8
|
|
|
|
const/16 v9, 0xc
|
|
|
|
if-lt v8, v9, :cond_8
|
|
|
|
const/4 v8, 0x1
|
|
|
|
goto :goto_5
|
|
|
|
:cond_8
|
|
const/4 v8, 0x0
|
|
|
|
:goto_5
|
|
invoke-static {v8}, Lf/i/a/b/e1/r/a;->k(Z)V
|
|
|
|
invoke-virtual {v7}, Lf/i/a/b/i1/t;->v()I
|
|
|
|
move-result v11
|
|
|
|
invoke-virtual {v7}, Lf/i/a/b/i1/t;->v()I
|
|
|
|
move-result v10
|
|
|
|
invoke-virtual {v7, v5}, Lf/i/a/b/i1/t;->D(I)V
|
|
|
|
invoke-virtual {v7}, Lf/i/a/b/i1/t;->q()I
|
|
|
|
move-result v8
|
|
|
|
invoke-virtual {v7, v4}, Lf/i/a/b/i1/t;->D(I)V
|
|
|
|
invoke-virtual {v7}, Lf/i/a/b/i1/t;->e()I
|
|
|
|
move-result v9
|
|
|
|
iget v7, v0, Lf/i/a/b/e1/r/a;->p:I
|
|
|
|
const/16 v16, 0x0
|
|
|
|
move/from16 v17, v7
|
|
|
|
move-object v7, v3
|
|
|
|
move v2, v9
|
|
|
|
move/from16 v9, v17
|
|
|
|
move/from16 p2, v10
|
|
|
|
move v10, v11
|
|
|
|
move v4, v11
|
|
|
|
move/from16 v11, p2
|
|
|
|
move/from16 v17, v12
|
|
|
|
move/from16 v12, v16
|
|
|
|
invoke-static/range {v7 .. v12}, Lf/i/a/b/e1/r/a;->l(Landroid/text/SpannableStringBuilder;IIIII)V
|
|
|
|
iget v7, v0, Lf/i/a/b/e1/r/a;->q:I
|
|
|
|
if-eq v2, v7, :cond_9
|
|
|
|
and-int/lit16 v7, v2, 0xff
|
|
|
|
shl-int/lit8 v7, v7, 0x18
|
|
|
|
ushr-int/lit8 v2, v2, 0x8
|
|
|
|
or-int/2addr v2, v7
|
|
|
|
new-instance v7, Landroid/text/style/ForegroundColorSpan;
|
|
|
|
invoke-direct {v7, v2}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V
|
|
|
|
const/16 v2, 0x21
|
|
|
|
move/from16 v8, p2
|
|
|
|
invoke-virtual {v3, v7, v4, v8, v2}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V
|
|
|
|
:cond_9
|
|
add-int/lit8 v12, v17, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v4, 0x1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_a
|
|
const v2, 0x74626f78
|
|
|
|
if-ne v7, v2, :cond_c
|
|
|
|
iget-boolean v2, v0, Lf/i/a/b/e1/r/a;->o:Z
|
|
|
|
if-eqz v2, :cond_c
|
|
|
|
iget-object v1, v0, Lf/i/a/b/e1/r/a;->n:Lf/i/a/b/i1/t;
|
|
|
|
invoke-virtual {v1}, Lf/i/a/b/i1/t;->a()I
|
|
|
|
move-result v1
|
|
|
|
if-lt v1, v5, :cond_b
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_6
|
|
|
|
:cond_b
|
|
const/4 v1, 0x0
|
|
|
|
:goto_6
|
|
invoke-static {v1}, Lf/i/a/b/e1/r/a;->k(Z)V
|
|
|
|
iget-object v1, v0, Lf/i/a/b/e1/r/a;->n:Lf/i/a/b/i1/t;
|
|
|
|
invoke-virtual {v1}, Lf/i/a/b/i1/t;->v()I
|
|
|
|
move-result v1
|
|
|
|
int-to-float v1, v1
|
|
|
|
iget v2, v0, Lf/i/a/b/e1/r/a;->t:I
|
|
|
|
int-to-float v2, v2
|
|
|
|
div-float/2addr v1, v2
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const v4, 0x3f733333 # 0.95f
|
|
|
|
invoke-static {v1, v2, v4}, Lf/i/a/b/i1/c0;->k(FFF)F
|
|
|
|
move-result v1
|
|
|
|
:cond_c
|
|
iget-object v2, v0, Lf/i/a/b/e1/r/a;->n:Lf/i/a/b/i1/t;
|
|
|
|
add-int/2addr v13, v14
|
|
|
|
invoke-virtual {v2, v13}, Lf/i/a/b/i1/t;->C(I)V
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v4, 0x1
|
|
|
|
goto/16 :goto_2
|
|
|
|
:cond_d
|
|
new-instance v11, Lf/i/a/b/e1/r/b;
|
|
|
|
new-instance v12, Lf/i/a/b/e1/b;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const v8, -0x800001
|
|
|
|
const/high16 v9, -0x80000000
|
|
|
|
const v10, -0x800001
|
|
|
|
move-object v2, v12
|
|
|
|
move v5, v1
|
|
|
|
invoke-direct/range {v2 .. v10}, Lf/i/a/b/e1/b;-><init>(Ljava/lang/CharSequence;Landroid/text/Layout$Alignment;FIIFIF)V
|
|
|
|
invoke-direct {v11, v12}, Lf/i/a/b/e1/r/b;-><init>(Lf/i/a/b/e1/b;)V
|
|
|
|
return-object v11
|
|
.end method
|