package r3;

import android.annotation.SuppressLint;
import android.graphics.Matrix;
import android.view.View;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

/* JADX INFO: loaded from: classes.dex */
public abstract class q0 extends o0 {

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public static boolean f32409e = true;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public static boolean f32410f = true;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public static boolean f32411g = true;

    public void d(View view, Matrix matrix) {
        if (f32410f) {
            try {
                p0.b(view, matrix);
            } catch (NoSuchMethodError unused) {
                f32410f = false;
            }
        }
    }

    public void e(View view, Matrix matrix) {
        if (f32411g) {
            try {
                p0.c(view, matrix);
            } catch (NoSuchMethodError unused) {
                f32411g = false;
            }
        }
    }

    @Override // r3.o0
    @SuppressLint({"NewApi"})
    public void setAnimationMatrix(@NonNull View view, @Nullable Matrix matrix) {
        if (f32409e) {
            try {
                p0.a(view, matrix);
            } catch (NoSuchMethodError unused) {
                f32409e = false;
            }
        }
    }
}
