package ij;

import android.graphics.Typeface;

/* loaded from: classes3.dex */
public final class a extends f {

    /* renamed from: a, reason: collision with root package name */
    private final Typeface f23318a;

    /* renamed from: b, reason: collision with root package name */
    private final InterfaceC0494a f23319b;

    /* renamed from: c, reason: collision with root package name */
    private boolean f23320c;

    /* renamed from: ij.a$a, reason: collision with other inner class name */
    /* loaded from: classes3.dex */
    public interface InterfaceC0494a {
        void a(Typeface typeface);
    }

    public a(InterfaceC0494a interfaceC0494a, Typeface typeface) {
        this.f23318a = typeface;
        this.f23319b = interfaceC0494a;
    }

    private void d(Typeface typeface) {
        if (this.f23320c) {
            return;
        }
        this.f23319b.a(typeface);
    }

    @Override // ij.f
    public void a(int i10) {
        d(this.f23318a);
    }

    @Override // ij.f
    public void b(Typeface typeface, boolean z10) {
        d(typeface);
    }

    public void c() {
        this.f23320c = true;
    }
}
