NetMirror.apk
Download file
package com.facebook.react.views.scroll;
import android.view.MotionEvent;
import android.view.VelocityTracker;
/* JADX INFO: loaded from: classes.dex */
public final class m {
/* JADX INFO: renamed from: a, reason: collision with root package name */
private VelocityTracker f7896a;
/* JADX INFO: renamed from: b, reason: collision with root package name */
private float f7897b;
/* JADX INFO: renamed from: c, reason: collision with root package name */
private float f7898c;
public final void a(MotionEvent motionEvent) {
D2.h.f(motionEvent, "ev");
if (this.f7896a == null) {
this.f7896a = VelocityTracker.obtain();
}
VelocityTracker velocityTracker = this.f7896a;
if (velocityTracker != null) {
velocityTracker.addMovement(motionEvent);
int action = motionEvent.getAction() & 255;
if (action == 1 || action == 3) {
velocityTracker.computeCurrentVelocity(1);
this.f7897b = velocityTracker.getXVelocity();
this.f7898c = velocityTracker.getYVelocity();
velocityTracker.recycle();
this.f7896a = null;
}
}
}
public final float b() {
return this.f7897b;
}
public final float c() {
return this.f7898c;
}
}
⚠️ This content was hidden by an advertisement filtering extension in your browser. Please disable it and reload the page to access the decompiled content.
We only display one small text ad to keep this service free. Here's what it looks like:
Read the Docs for Business: You write the docs. We do the rest.
Try it today!Ad by EthicalAds
Download file