607 lines
18 KiB
Java
607 lines
18 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.view.MotionEvent;
|
||
|
import android.view.VelocityTracker;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewConfiguration;
|
||
|
import android.view.ViewGroup;
|
||
|
import android.view.animation.Interpolator;
|
||
|
import android.widget.OverScroller;
|
||
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||
|
import java.util.Arrays;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class OSb {
|
||
|
private static final Interpolator e = new Interpolator() { // from class: o.OSb.4
|
||
|
@Override // android.animation.TimeInterpolator
|
||
|
public final float getInterpolation(float f) {
|
||
|
float f2 = f - 1.0f;
|
||
|
return (f2 * f2 * f2 * f2 * f2) + 1.0f;
|
||
|
}
|
||
|
};
|
||
|
public int b;
|
||
|
private final IeS c;
|
||
|
public int d;
|
||
|
private int[] f;
|
||
|
private final int g;
|
||
|
private View h;
|
||
|
private int i;
|
||
|
private int[] j;
|
||
|
private int[] k;
|
||
|
private float[] l;
|
||
|
private float[] m;
|
||
|
private float[] n;
|
||
|
|
||
|
/* renamed from: o, reason: collision with root package name */
|
||
|
private float[] f8304o;
|
||
|
private int p;
|
||
|
private float q;
|
||
|
private boolean r;
|
||
|
private float s;
|
||
|
private final ViewGroup t;
|
||
|
private OverScroller w;
|
||
|
private VelocityTracker x;
|
||
|
private int y;
|
||
|
private int a = -1;
|
||
|
private final Runnable u = new Runnable(this) { // from class: o.OSb.1
|
||
|
final OSb e;
|
||
|
|
||
|
{
|
||
|
this.e = this;
|
||
|
}
|
||
|
|
||
|
@Override // java.lang.Runnable
|
||
|
public final void run() {
|
||
|
this.e.a(0);
|
||
|
}
|
||
|
};
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public static abstract class IeS {
|
||
|
public int a(View view) {
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
public int b(View view, int i) {
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
public void b(int i) {
|
||
|
}
|
||
|
|
||
|
public void c(View view, float f, float f2) {
|
||
|
}
|
||
|
|
||
|
public void c(View view, int i, int i2) {
|
||
|
}
|
||
|
|
||
|
public abstract boolean c(View view, int i);
|
||
|
|
||
|
public int d() {
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
public void d(View view, int i) {
|
||
|
}
|
||
|
|
||
|
public int e(View view, int i) {
|
||
|
return 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static OSb xm_(ViewGroup viewGroup, IeS ieS) {
|
||
|
return new OSb(viewGroup.getContext(), viewGroup, ieS);
|
||
|
}
|
||
|
|
||
|
private OSb(Context context, ViewGroup viewGroup, IeS ieS) {
|
||
|
if (viewGroup == null) {
|
||
|
throw new IllegalArgumentException("Parent view may not be null");
|
||
|
}
|
||
|
if (ieS == null) {
|
||
|
throw new IllegalArgumentException("Callback may not be null");
|
||
|
}
|
||
|
this.t = viewGroup;
|
||
|
this.c = ieS;
|
||
|
ViewConfiguration viewConfiguration = ViewConfiguration.get(context);
|
||
|
int i = (int) ((context.getResources().getDisplayMetrics().density * 20.0f) + 0.5f);
|
||
|
this.g = i;
|
||
|
this.i = i;
|
||
|
this.d = viewConfiguration.getScaledTouchSlop();
|
||
|
this.s = viewConfiguration.getScaledMaximumFlingVelocity();
|
||
|
this.q = viewConfiguration.getScaledMinimumFlingVelocity();
|
||
|
this.w = new OverScroller(context, e);
|
||
|
}
|
||
|
|
||
|
public final void a(View view, int i) {
|
||
|
if (view.getParent() != this.t) {
|
||
|
StringBuilder sb = new StringBuilder("captureChildView: parameter must be a descendant of the ViewDragHelper's tracked parent view (");
|
||
|
sb.append(this.t);
|
||
|
sb.append(")");
|
||
|
throw new IllegalArgumentException(sb.toString());
|
||
|
}
|
||
|
this.h = view;
|
||
|
this.a = i;
|
||
|
this.c.d(view, i);
|
||
|
a(1);
|
||
|
}
|
||
|
|
||
|
private void e() {
|
||
|
this.a = -1;
|
||
|
float[] fArr = this.m;
|
||
|
if (fArr != null) {
|
||
|
Arrays.fill(fArr, BitmapDescriptorFactory.HUE_RED);
|
||
|
Arrays.fill(this.n, BitmapDescriptorFactory.HUE_RED);
|
||
|
Arrays.fill(this.l, BitmapDescriptorFactory.HUE_RED);
|
||
|
Arrays.fill(this.f8304o, BitmapDescriptorFactory.HUE_RED);
|
||
|
Arrays.fill(this.k, 0);
|
||
|
Arrays.fill(this.f, 0);
|
||
|
Arrays.fill(this.j, 0);
|
||
|
this.p = 0;
|
||
|
}
|
||
|
VelocityTracker velocityTracker = this.x;
|
||
|
if (velocityTracker != null) {
|
||
|
velocityTracker.recycle();
|
||
|
this.x = null;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final boolean a(View view, int i, int i2) {
|
||
|
this.h = view;
|
||
|
this.a = -1;
|
||
|
boolean e2 = e(i, i2, 0, 0);
|
||
|
if (!e2 && this.b == 0 && this.h != null) {
|
||
|
this.h = null;
|
||
|
}
|
||
|
return e2;
|
||
|
}
|
||
|
|
||
|
public final boolean c(int i, int i2) {
|
||
|
if (!this.r) {
|
||
|
throw new IllegalStateException("Cannot settleCapturedViewAt outside of a call to Callback#onViewReleased");
|
||
|
}
|
||
|
return e(i, i2, (int) this.x.getXVelocity(this.a), (int) this.x.getYVelocity(this.a));
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Removed duplicated region for block: B:15:0x0060 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:18:0x0068 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:21:0x006b */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:22:0x0063 */
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
private boolean e(int r10, int r11, int r12, int r13) {
|
||
|
/*
|
||
|
r9 = this;
|
||
|
android.view.View r0 = r9.h
|
||
|
int r2 = r0.getLeft()
|
||
|
android.view.View r0 = r9.h
|
||
|
int r3 = r0.getTop()
|
||
|
int r4 = r10 - r2
|
||
|
int r5 = r11 - r3
|
||
|
r10 = 0
|
||
|
if (r4 != 0) goto L1e
|
||
|
if (r5 != 0) goto L1e
|
||
|
android.widget.OverScroller r11 = r9.w
|
||
|
r11.abortAnimation()
|
||
|
r9.a(r10)
|
||
|
return r10
|
||
|
L1e:
|
||
|
android.view.View r11 = r9.h
|
||
|
float r0 = r9.q
|
||
|
int r0 = (int) r0
|
||
|
float r1 = r9.s
|
||
|
int r1 = (int) r1
|
||
|
int r6 = java.lang.Math.abs(r12)
|
||
|
if (r6 >= r0) goto L2e
|
||
|
r12 = r10
|
||
|
goto L35
|
||
|
L2e:
|
||
|
if (r6 <= r1) goto L35
|
||
|
if (r12 > 0) goto L34
|
||
|
int r12 = -r1
|
||
|
goto L35
|
||
|
L34:
|
||
|
r12 = r1
|
||
|
L35:
|
||
|
float r0 = r9.q
|
||
|
int r0 = (int) r0
|
||
|
float r1 = r9.s
|
||
|
int r1 = (int) r1
|
||
|
int r6 = java.lang.Math.abs(r13)
|
||
|
if (r6 >= r0) goto L43
|
||
|
L41:
|
||
|
r13 = r10
|
||
|
goto L4a
|
||
|
L43:
|
||
|
if (r6 <= r1) goto L4a
|
||
|
if (r13 > 0) goto L49
|
||
|
int r10 = -r1
|
||
|
goto L41
|
||
|
L49:
|
||
|
r13 = r1
|
||
|
L4a:
|
||
|
int r10 = java.lang.Math.abs(r4)
|
||
|
int r0 = java.lang.Math.abs(r5)
|
||
|
int r1 = java.lang.Math.abs(r12)
|
||
|
int r6 = java.lang.Math.abs(r13)
|
||
|
int r7 = r1 + r6
|
||
|
int r8 = r10 + r0
|
||
|
if (r12 == 0) goto L63
|
||
|
float r10 = (float) r1
|
||
|
float r1 = (float) r7
|
||
|
goto L65
|
||
|
L63:
|
||
|
float r10 = (float) r10
|
||
|
float r1 = (float) r8
|
||
|
L65:
|
||
|
float r10 = r10 / r1
|
||
|
if (r13 == 0) goto L6b
|
||
|
float r0 = (float) r6
|
||
|
float r1 = (float) r7
|
||
|
goto L6d
|
||
|
L6b:
|
||
|
float r0 = (float) r0
|
||
|
float r1 = (float) r8
|
||
|
L6d:
|
||
|
float r0 = r0 / r1
|
||
|
o.OSb$IeS r1 = r9.c
|
||
|
int r11 = r1.a(r11)
|
||
|
int r11 = r9.b(r4, r12, r11)
|
||
|
o.OSb$IeS r12 = r9.c
|
||
|
int r12 = r12.d()
|
||
|
int r12 = r9.b(r5, r13, r12)
|
||
|
float r11 = (float) r11
|
||
|
float r11 = r11 * r10
|
||
|
float r10 = (float) r12
|
||
|
float r10 = r10 * r0
|
||
|
float r11 = r11 + r10
|
||
|
int r6 = (int) r11
|
||
|
android.widget.OverScroller r1 = r9.w
|
||
|
r1.startScroll(r2, r3, r4, r5, r6)
|
||
|
r10 = 2
|
||
|
r9.a(r10)
|
||
|
r10 = 1
|
||
|
return r10
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.OSb.e(int, int, int, int):boolean");
|
||
|
}
|
||
|
|
||
|
private int b(int i, int i2, int i3) {
|
||
|
int abs;
|
||
|
if (i == 0) {
|
||
|
return 0;
|
||
|
}
|
||
|
float width = this.t.getWidth() / 2;
|
||
|
float sin = (float) Math.sin((Math.min(1.0f, Math.abs(i) / r0) - 0.5f) * 0.47123894f);
|
||
|
int abs2 = Math.abs(i2);
|
||
|
if (abs2 > 0) {
|
||
|
abs = Math.round(Math.abs((width + (sin * width)) / abs2) * 1000.0f) << 2;
|
||
|
} else {
|
||
|
abs = (int) (((Math.abs(i) / i3) + 1.0f) * 256.0f);
|
||
|
}
|
||
|
return Math.min(abs, 600);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:17:0x0058, code lost:
|
||
|
|
||
|
if (r0 == false) goto L19;
|
||
|
*/
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
public final boolean c() {
|
||
|
/*
|
||
|
r7 = this;
|
||
|
int r0 = r7.b
|
||
|
r1 = 2
|
||
|
if (r0 != r1) goto L61
|
||
|
android.widget.OverScroller r0 = r7.w
|
||
|
boolean r0 = r0.computeScrollOffset()
|
||
|
android.widget.OverScroller r2 = r7.w
|
||
|
int r2 = r2.getCurrX()
|
||
|
android.widget.OverScroller r3 = r7.w
|
||
|
int r3 = r3.getCurrY()
|
||
|
android.view.View r4 = r7.h
|
||
|
int r4 = r4.getLeft()
|
||
|
int r4 = r2 - r4
|
||
|
android.view.View r5 = r7.h
|
||
|
int r5 = r5.getTop()
|
||
|
int r5 = r3 - r5
|
||
|
if (r4 == 0) goto L2e
|
||
|
android.view.View r6 = r7.h
|
||
|
androidx.core.view.ViewCompat.e(r6, r4)
|
||
|
L2e:
|
||
|
if (r5 == 0) goto L35
|
||
|
android.view.View r6 = r7.h
|
||
|
androidx.core.view.ViewCompat.d(r6, r5)
|
||
|
L35:
|
||
|
if (r4 != 0) goto L39
|
||
|
if (r5 == 0) goto L40
|
||
|
L39:
|
||
|
o.OSb$IeS r4 = r7.c
|
||
|
android.view.View r5 = r7.h
|
||
|
r4.c(r5, r2, r3)
|
||
|
L40:
|
||
|
if (r0 == 0) goto L58
|
||
|
android.widget.OverScroller r4 = r7.w
|
||
|
int r4 = r4.getFinalX()
|
||
|
if (r2 != r4) goto L58
|
||
|
android.widget.OverScroller r2 = r7.w
|
||
|
int r2 = r2.getFinalY()
|
||
|
if (r3 != r2) goto L58
|
||
|
android.widget.OverScroller r0 = r7.w
|
||
|
r0.abortAnimation()
|
||
|
goto L5a
|
||
|
L58:
|
||
|
if (r0 != 0) goto L61
|
||
|
L5a:
|
||
|
android.view.ViewGroup r0 = r7.t
|
||
|
java.lang.Runnable r2 = r7.u
|
||
|
r0.post(r2)
|
||
|
L61:
|
||
|
int r0 = r7.b
|
||
|
if (r0 != r1) goto L67
|
||
|
r0 = 1
|
||
|
goto L68
|
||
|
L67:
|
||
|
r0 = 0
|
||
|
L68:
|
||
|
return r0
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.OSb.c():boolean");
|
||
|
}
|
||
|
|
||
|
private void b(float f, float f2) {
|
||
|
this.r = true;
|
||
|
this.c.c(this.h, f, f2);
|
||
|
this.r = false;
|
||
|
if (this.b == 1) {
|
||
|
a(0);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
private void a(float f, float f2, int i) {
|
||
|
float[] fArr = this.m;
|
||
|
if (fArr == null || fArr.length <= i) {
|
||
|
int i2 = i + 1;
|
||
|
float[] fArr2 = new float[i2];
|
||
|
float[] fArr3 = new float[i2];
|
||
|
float[] fArr4 = new float[i2];
|
||
|
float[] fArr5 = new float[i2];
|
||
|
int[] iArr = new int[i2];
|
||
|
int[] iArr2 = new int[i2];
|
||
|
int[] iArr3 = new int[i2];
|
||
|
if (fArr != null) {
|
||
|
System.arraycopy(fArr, 0, fArr2, 0, fArr.length);
|
||
|
float[] fArr6 = this.n;
|
||
|
System.arraycopy(fArr6, 0, fArr3, 0, fArr6.length);
|
||
|
float[] fArr7 = this.l;
|
||
|
System.arraycopy(fArr7, 0, fArr4, 0, fArr7.length);
|
||
|
float[] fArr8 = this.f8304o;
|
||
|
System.arraycopy(fArr8, 0, fArr5, 0, fArr8.length);
|
||
|
int[] iArr4 = this.k;
|
||
|
System.arraycopy(iArr4, 0, iArr, 0, iArr4.length);
|
||
|
int[] iArr5 = this.f;
|
||
|
System.arraycopy(iArr5, 0, iArr2, 0, iArr5.length);
|
||
|
int[] iArr6 = this.j;
|
||
|
System.arraycopy(iArr6, 0, iArr3, 0, iArr6.length);
|
||
|
}
|
||
|
this.m = fArr2;
|
||
|
this.n = fArr3;
|
||
|
this.l = fArr4;
|
||
|
this.f8304o = fArr5;
|
||
|
this.k = iArr;
|
||
|
this.f = iArr2;
|
||
|
this.j = iArr3;
|
||
|
}
|
||
|
float[] fArr9 = this.m;
|
||
|
this.l[i] = f;
|
||
|
fArr9[i] = f;
|
||
|
float[] fArr10 = this.n;
|
||
|
this.f8304o[i] = f2;
|
||
|
fArr10[i] = f2;
|
||
|
int[] iArr7 = this.k;
|
||
|
int i3 = (int) f;
|
||
|
int i4 = (int) f2;
|
||
|
int i5 = i3 < this.t.getLeft() + this.i ? 1 : 0;
|
||
|
if (i4 < this.t.getTop() + this.i) {
|
||
|
i5 |= 4;
|
||
|
}
|
||
|
if (i3 > this.t.getRight() - this.i) {
|
||
|
i5 |= 2;
|
||
|
}
|
||
|
if (i4 > this.t.getBottom() - this.i) {
|
||
|
i5 |= 8;
|
||
|
}
|
||
|
iArr7[i] = i5;
|
||
|
this.p |= 1 << i;
|
||
|
}
|
||
|
|
||
|
private void xn_(MotionEvent motionEvent) {
|
||
|
int pointerCount = motionEvent.getPointerCount();
|
||
|
for (int i = 0; i < pointerCount; i++) {
|
||
|
int pointerId = motionEvent.getPointerId(i);
|
||
|
if ((this.p & (1 << pointerId)) != 0) {
|
||
|
float x = motionEvent.getX(i);
|
||
|
float y = motionEvent.getY(i);
|
||
|
this.l[pointerId] = x;
|
||
|
this.f8304o[pointerId] = y;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
final void a(int i) {
|
||
|
this.t.removeCallbacks(this.u);
|
||
|
if (this.b != i) {
|
||
|
this.b = i;
|
||
|
this.c.b(i);
|
||
|
if (this.b == 0) {
|
||
|
this.h = null;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
private boolean d(View view, int i) {
|
||
|
if (view == this.h && this.a == i) {
|
||
|
return true;
|
||
|
}
|
||
|
if (view == null || !this.c.c(view, i)) {
|
||
|
return false;
|
||
|
}
|
||
|
this.a = i;
|
||
|
a(view, i);
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:51:0x00d4, code lost:
|
||
|
|
||
|
if (r12 != r11) goto L52;
|
||
|
*/
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
public final boolean xp_(android.view.MotionEvent r17) {
|
||
|
/*
|
||
|
Method dump skipped, instructions count: 290
|
||
|
To view this dump add '--comments-level debug' option
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.OSb.xp_(android.view.MotionEvent):boolean");
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:33:0x0063, code lost:
|
||
|
|
||
|
if (r10.a == (-1)) goto L36;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:34:0x0069, code lost:
|
||
|
|
||
|
d();
|
||
|
*/
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
public final void xo_(android.view.MotionEvent r11) {
|
||
|
/*
|
||
|
Method dump skipped, instructions count: 428
|
||
|
To view this dump add '--comments-level debug' option
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.OSb.xo_(android.view.MotionEvent):void");
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
/* JADX WARN: Type inference failed for: r0v15 */
|
||
|
/* JADX WARN: Type inference failed for: r0v16 */
|
||
|
/* JADX WARN: Type inference failed for: r0v4 */
|
||
|
/* JADX WARN: Type inference failed for: r0v6 */
|
||
|
/* JADX WARN: Type inference failed for: r0v7 */
|
||
|
private void b(float f, float f2, int i) {
|
||
|
boolean d = d(f, f2, i, 1);
|
||
|
boolean z = d;
|
||
|
if (d(f2, f, i, 4)) {
|
||
|
z = (d ? 1 : 0) | 4;
|
||
|
}
|
||
|
boolean z2 = z;
|
||
|
if (d(f, f2, i, 2)) {
|
||
|
z2 = (z ? 1 : 0) | 2;
|
||
|
}
|
||
|
?? r0 = z2;
|
||
|
if (d(f2, f, i, 8)) {
|
||
|
r0 = (z2 ? 1 : 0) | 8;
|
||
|
}
|
||
|
if (r0 != 0) {
|
||
|
int[] iArr = this.f;
|
||
|
iArr[i] = iArr[i] | r0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
private boolean d(float f, float f2, int i, int i2) {
|
||
|
float abs = Math.abs(f);
|
||
|
float abs2 = Math.abs(f2);
|
||
|
if ((this.k[i] & i2) != i2 || (this.y & i2) == 0 || (this.j[i] & i2) == i2) {
|
||
|
return false;
|
||
|
}
|
||
|
int i3 = this.f[i];
|
||
|
if ((i3 & i2) == i2) {
|
||
|
return false;
|
||
|
}
|
||
|
int i4 = this.d;
|
||
|
float f3 = i4;
|
||
|
return (abs > f3 || abs2 > f3) && (i3 & i2) == 0 && abs > ((float) i4);
|
||
|
}
|
||
|
|
||
|
private boolean b(View view, float f, float f2) {
|
||
|
if (view == null) {
|
||
|
return false;
|
||
|
}
|
||
|
boolean z = this.c.a(view) > 0;
|
||
|
boolean z2 = this.c.d() > 0;
|
||
|
if (!z || !z2) {
|
||
|
return z ? Math.abs(f) > ((float) this.d) : z2 && Math.abs(f2) > ((float) this.d);
|
||
|
}
|
||
|
int i = this.d;
|
||
|
return (f * f) + (f2 * f2) > ((float) (i * i));
|
||
|
}
|
||
|
|
||
|
private void d() {
|
||
|
this.x.computeCurrentVelocity(1000, this.s);
|
||
|
float xVelocity = this.x.getXVelocity(this.a);
|
||
|
float f = this.q;
|
||
|
float f2 = this.s;
|
||
|
float abs = Math.abs(xVelocity);
|
||
|
float f3 = BitmapDescriptorFactory.HUE_RED;
|
||
|
if (abs < f) {
|
||
|
xVelocity = 0.0f;
|
||
|
} else if (abs > f2) {
|
||
|
xVelocity = xVelocity <= BitmapDescriptorFactory.HUE_RED ? -f2 : f2;
|
||
|
}
|
||
|
float yVelocity = this.x.getYVelocity(this.a);
|
||
|
float f4 = this.q;
|
||
|
float f5 = this.s;
|
||
|
float abs2 = Math.abs(yVelocity);
|
||
|
if (abs2 >= f4) {
|
||
|
if (abs2 > f5) {
|
||
|
if (yVelocity <= BitmapDescriptorFactory.HUE_RED) {
|
||
|
yVelocity = -f5;
|
||
|
} else {
|
||
|
f3 = f5;
|
||
|
}
|
||
|
}
|
||
|
f3 = yVelocity;
|
||
|
}
|
||
|
b(xVelocity, f3);
|
||
|
}
|
||
|
|
||
|
private View d(int i, int i2) {
|
||
|
for (int childCount = this.t.getChildCount() - 1; childCount >= 0; childCount--) {
|
||
|
View childAt = this.t.getChildAt(childCount);
|
||
|
if (i >= childAt.getLeft() && i < childAt.getRight() && i2 >= childAt.getTop() && i2 < childAt.getBottom()) {
|
||
|
return childAt;
|
||
|
}
|
||
|
}
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
private void d(int i) {
|
||
|
float[] fArr = this.m;
|
||
|
if (fArr != null) {
|
||
|
int i2 = this.p;
|
||
|
int i3 = 1 << i;
|
||
|
if ((i3 & i2) == 0) {
|
||
|
return;
|
||
|
}
|
||
|
fArr[i] = 0.0f;
|
||
|
this.n[i] = 0.0f;
|
||
|
this.l[i] = 0.0f;
|
||
|
this.f8304o[i] = 0.0f;
|
||
|
this.k[i] = 0;
|
||
|
this.f[i] = 0;
|
||
|
this.j[i] = 0;
|
||
|
this.p = (~i3) & i2;
|
||
|
}
|
||
|
}
|
||
|
}
|