package n;

import android.view.View;
import android.widget.AbsListView;
import android.widget.AdapterView;
import java.lang.reflect.Method;

/* JADX INFO: loaded from: classes.dex */
public abstract class U {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public static final Method f14789a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public static final Method f14790b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public static final Method f14791c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public static final boolean f14792d;

    static {
        try {
            Class cls = Integer.TYPE;
            Class cls2 = Float.TYPE;
            Method declaredMethod = AbsListView.class.getDeclaredMethod("positionSelector", cls, View.class, Boolean.TYPE, cls2, cls2);
            f14789a = declaredMethod;
            declaredMethod.setAccessible(true);
            Method declaredMethod2 = AdapterView.class.getDeclaredMethod("setSelectedPositionInt", cls);
            f14790b = declaredMethod2;
            declaredMethod2.setAccessible(true);
            Method declaredMethod3 = AdapterView.class.getDeclaredMethod("setNextSelectedPositionInt", cls);
            f14791c = declaredMethod3;
            declaredMethod3.setAccessible(true);
            f14792d = true;
        } catch (NoSuchMethodException e8) {
            e8.printStackTrace();
        }
    }
}
