granularity level: instruction
.class Landroidx/core/text/TextDirectionHeuristicsCompat$FirstStrong;
.super Ljava/lang/Object;
.source "TextDirectionHeuristicsCompat.java"
.implements Landroidx/core/text/TextDirectionHeuristicsCompat$TextDirectionAlgorithm;
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/text/TextDirectionHeuristicsCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0xa
name = "FirstStrong"
.end annotation
.field static final INSTANCE:Landroidx/core/text/TextDirectionHeuristicsCompat$FirstStrong;
.method static constructor <clinit>()V
.locals 1
new-instance v0, Landroidx/core/text/TextDirectionHeuristicsCompat$FirstStrong;
invoke-direct {v0}, Landroidx/core/text/TextDirectionHeuristicsCompat$FirstStrong;-><init>()V
sput-object v0, Landroidx/core/text/TextDirectionHeuristicsCompat$FirstStrong;->INSTANCE:Landroidx/core/text/TextDirectionHeuristicsCompat$FirstStrong;
return-void
.end method
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public checkRtl(Ljava/lang/CharSequence;II)I
.locals 2
add-int/2addr p3, p2
const/4 v0, 0x2
const/4 v1, 0x2
:goto_0
if-ge p2, p3, :cond_0
if-ne v1, v0, :cond_0
invoke-interface {p1, p2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v1
invoke-static {v1}, Ljava/lang/Character;->getDirectionality(C)B
move-result v1
invoke-static {v1}, Landroidx/core/text/TextDirectionHeuristicsCompat;->isRtlTextOrFormat(I)I
move-result v1
add-int/lit8 p2, p2, 0x1
goto :goto_0
:cond_0
return v1
.end method