package p3; import android.graphics.drawable.Drawable; import android.view.View; /* loaded from: classes2.dex */ public abstract class h { static d a(int i10) { return i10 != 0 ? i10 != 1 ? b() : new e() : new j(); } static d b() { return new j(); } static f c() { return new f(); } public static void d(View view, float f10) { Drawable background = view.getBackground(); if (background instanceof g) { ((g) background).Q(f10); } } public static void e(View view) { Drawable background = view.getBackground(); if (background instanceof g) { f(view, (g) background); } } public static void f(View view, g gVar) { if (gVar.L()) { gVar.U(com.google.android.material.internal.g.b(view)); } } }