You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.5 KiB
53 lines
1.5 KiB
package p032k0;
|
|
|
|
import android.widget.ListView;
|
|
|
|
/* renamed from: k0.t */
|
|
/* loaded from: classes.dex */
|
|
public class C1332t extends AbstractView$OnTouchListenerC1276a {
|
|
|
|
/* renamed from: v */
|
|
public final ListView f3004v;
|
|
|
|
public C1332t(ListView listView) {
|
|
super(listView);
|
|
this.f3004v = listView;
|
|
}
|
|
|
|
@Override // p032k0.AbstractView$OnTouchListenerC1276a
|
|
/* renamed from: a */
|
|
public boolean mo1604a(int i) {
|
|
return false;
|
|
}
|
|
|
|
@Override // p032k0.AbstractView$OnTouchListenerC1276a
|
|
/* renamed from: b */
|
|
public boolean mo1603b(int i) {
|
|
ListView listView = this.f3004v;
|
|
int count = listView.getCount();
|
|
if (count == 0) {
|
|
return false;
|
|
}
|
|
int childCount = listView.getChildCount();
|
|
int firstVisiblePosition = listView.getFirstVisiblePosition();
|
|
int i2 = firstVisiblePosition + childCount;
|
|
if (i > 0) {
|
|
if (i2 >= count && listView.getChildAt(childCount - 1).getBottom() <= listView.getHeight()) {
|
|
return false;
|
|
}
|
|
} else if (i >= 0) {
|
|
return false;
|
|
} else {
|
|
if (firstVisiblePosition <= 0 && listView.getChildAt(0).getTop() >= 0) {
|
|
return false;
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
|
|
@Override // p032k0.AbstractView$OnTouchListenerC1276a
|
|
/* renamed from: j */
|
|
public void mo1602j(int i, int i2) {
|
|
C1338w.m1596a(this.f3004v, i2);
|
|
}
|
|
} |