package J2;

import android.graphics.Path;

/* JADX INFO: loaded from: classes.dex */
public final class w0 extends x0 {

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public final Path f3472k;
    public final /* synthetic */ B0 l;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public w0(B0 b02, Path path, float f6) {
        super(b02, f6, 0.0f);
        this.l = b02;
        this.f3472k = path;
    }

    @Override // J2.x0, android.support.v4.media.session.b
    public final void E(String str) {
        B0 b02 = this.l;
        if (b02.V()) {
            z0 z0Var = b02.f3156c;
            if (z0Var.f3489b) {
                b02.f3154a.drawTextOnPath(str, this.f3472k, this.f3473h, this.f3474i, z0Var.f3491d);
            }
            z0 z0Var2 = b02.f3156c;
            if (z0Var2.f3490c) {
                b02.f3154a.drawTextOnPath(str, this.f3472k, this.f3473h, this.f3474i, z0Var2.f3492e);
            }
        }
        this.f3473h = b02.f3156c.f3491d.measureText(str) + this.f3473h;
    }
}
