package m;

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 X {

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

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

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

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

    static {
        try {
            Class cls = Integer.TYPE;
            Class cls2 = Boolean.TYPE;
            Class cls3 = Float.TYPE;
            Method declaredMethod = AbsListView.class.getDeclaredMethod("positionSelector", cls, View.class, cls2, cls3, cls3);
            f9101a = declaredMethod;
            declaredMethod.setAccessible(true);
            Method declaredMethod2 = AdapterView.class.getDeclaredMethod("setSelectedPositionInt", cls);
            f9102b = declaredMethod2;
            declaredMethod2.setAccessible(true);
            Method declaredMethod3 = AdapterView.class.getDeclaredMethod("setNextSelectedPositionInt", cls);
            f9103c = declaredMethod3;
            declaredMethod3.setAccessible(true);
            f9104d = true;
        } catch (NoSuchMethodException e2) {
            e2.printStackTrace();
        }
    }
}
