d.smali

.class final Landroid/support/v4/e/d;
.super Ljava/lang/Object;
.source "TextDirectionHeuristicsCompat.java"

# interfaces
.implements Landroid/support/v4/e/f;


# static fields
.field static final rO:Landroid/support/v4/e/d;


# instance fields
.field private final rN:Z


# direct methods
.method static constructor <clinit>()V
    .registers 2

    .prologue
    .line 235
    new-instance v0, Landroid/support/v4/e/d;

    const/4 v1, 0x1

    invoke-direct {v0, v1}, Landroid/support/v4/e/d;-><init>(Z)V

    sput-object v0, Landroid/support/v4/e/d;->rO:Landroid/support/v4/e/d;

    .line 236
    new-instance v0, Landroid/support/v4/e/d;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Landroid/support/v4/e/d;-><init>(Z)V

    return-void
.end method

.method private constructor <init>(Z)V
    .registers 2

    .prologue
    .line 231
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 232
    iput-boolean p1, p0, Landroid/support/v4/e/d;->rN:Z

    .line 233
    return-void
.end method


# virtual methods
.method public final b(Ljava/lang/CharSequence;I)I
    .registers 8

    .prologue
    const/4 v1, 0x1

    const/4 v2, 0x0

    .line 206
    move v3, v2

    move v0, v2

    .line 207
    :goto_4
    if-ge v3, p2, :cond_26

    .line 208
    invoke-interface {p1, v3}, Ljava/lang/CharSequence;->charAt(I)C

    move-result v4

    invoke-static {v4}, Ljava/lang/Character;->getDirectionality(C)B

    move-result v4

    invoke-static {v4}, Landroid/support/v4/e/c;->x(I)I

    move-result v4

    packed-switch v4, :pswitch_data_30

    .line 207
    :goto_15
    add-int/lit8 v3, v3, 0x1

    goto :goto_4

    .line 210
    :pswitch_18
    iget-boolean v0, p0, Landroid/support/v4/e/d;->rN:Z

    if-eqz v0, :cond_1e

    move v1, v2

    .line 228
    :cond_1d
    :goto_1d
    return v1

    :cond_1e
    move v0, v1

    .line 214
    goto :goto_15

    .line 216
    :pswitch_20
    iget-boolean v0, p0, Landroid/support/v4/e/d;->rN:Z

    if-eqz v0, :cond_1d

    move v0, v1

    .line 219
    goto :goto_15

    .line 225
    :cond_26
    if-eqz v0, :cond_2e

    .line 226
    iget-boolean v0, p0, Landroid/support/v4/e/d;->rN:Z

    if-nez v0, :cond_1d

    move v1, v2

    goto :goto_1d

    .line 228
    :cond_2e
    const/4 v1, 0x2

    goto :goto_1d

    .line 208
    :pswitch_data_30
    .packed-switch 0x0
        :pswitch_18
        :pswitch_20
    .end packed-switch
.end method