package l;

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

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

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

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

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

    static {
        try {
            Class cls = Integer.TYPE;
            Class cls2 = Float.TYPE;
            Method declaredMethod = AbsListView.class.getDeclaredMethod("positionSelector", cls, View.class, Boolean.TYPE, cls2, cls2);
            f29833a = declaredMethod;
            declaredMethod.setAccessible(true);
            Method declaredMethod2 = AdapterView.class.getDeclaredMethod("setSelectedPositionInt", cls);
            f29834b = declaredMethod2;
            declaredMethod2.setAccessible(true);
            Method declaredMethod3 = AdapterView.class.getDeclaredMethod("setNextSelectedPositionInt", cls);
            f29835c = declaredMethod3;
            declaredMethod3.setAccessible(true);
            f29836d = true;
        } catch (NoSuchMethodException e10) {
            e10.printStackTrace();
        }
    }
}
