package o;

import android.text.StaticLayout;
import android.widget.TextView;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class H8 extends G8 {
    @Override // o.G8, o.I8
    public void a(StaticLayout.Builder builder, TextView textView) {
        builder.setTextDirection(textView.getTextDirectionHeuristic());
    }

    @Override // o.I8
    public boolean b(TextView textView) {
        return textView.isHorizontallyScrollable();
    }
}
