package X6FRs_4.JZJr_16;

import android.annotation.SuppressLint;
import android.util.Log;
import android.view.View;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
/* compiled from: ViewUtilsApi22.java */
/* loaded from: classes.dex */
public class O3zP_37 extends Fv6VRig_36 {

    /* renamed from: IFxWkV_5  reason: collision with root package name */
    public static Method f3136IFxWkV_5;

    /* renamed from: IFxWkV_5  reason: collision with other field name */
    public static boolean f587IFxWkV_5;

    @SuppressLint({"PrivateApi"})
    public final void IFxWkV_5() {
        if (f587IFxWkV_5) {
            return;
        }
        try {
            Method declaredMethod = View.class.getDeclaredMethod("setLeftTopRightBottom", Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
            f3136IFxWkV_5 = declaredMethod;
            declaredMethod.setAccessible(true);
        } catch (NoSuchMethodException e) {
            Log.i("ViewUtilsApi22", "Failed to retrieve setLeftTopRightBottom method", e);
        }
        f587IFxWkV_5 = true;
    }

    @Override // X6FRs_4.JZJr_16.QNpr_38
    public void KQgRr5e_0(View view, int i, int i2, int i3, int i4) {
        IFxWkV_5();
        Method method = f3136IFxWkV_5;
        if (method != null) {
            try {
                method.invoke(view, Integer.valueOf(i), Integer.valueOf(i2), Integer.valueOf(i3), Integer.valueOf(i4));
            } catch (IllegalAccessException unused) {
            } catch (InvocationTargetException e) {
                throw new RuntimeException(e.getCause());
            }
        }
    }
}
