NetMirror.apk
Download file
package androidx.core.widget;
import android.content.Context;
import android.os.Build;
import android.util.AttributeSet;
import android.widget.EdgeEffect;
/* JADX INFO: loaded from: classes.dex */
public final class d {
/* JADX INFO: renamed from: a, reason: collision with root package name */
private final EdgeEffect f4737a;
static class a {
static void a(EdgeEffect edgeEffect, float f3, float f4) {
edgeEffect.onPull(f3, f4);
}
}
private static class b {
public static EdgeEffect a(Context context, AttributeSet attributeSet) {
try {
return new EdgeEffect(context, attributeSet);
} catch (Throwable unused) {
return new EdgeEffect(context);
}
}
public static float b(EdgeEffect edgeEffect) {
try {
return edgeEffect.getDistance();
} catch (Throwable unused) {
return 0.0f;
}
}
public static float c(EdgeEffect edgeEffect, float f3, float f4) {
try {
return edgeEffect.onPullDistance(f3, f4);
} catch (Throwable unused) {
edgeEffect.onPull(f3, f4);
return 0.0f;
}
}
}
@Deprecated
public d(Context context) {
this.f4737a = new EdgeEffect(context);
}
public static EdgeEffect a(Context context, AttributeSet attributeSet) {
return Build.VERSION.SDK_INT >= 31 ? b.a(context, attributeSet) : new EdgeEffect(context);
}
public static float b(EdgeEffect edgeEffect) {
if (Build.VERSION.SDK_INT >= 31) {
return b.b(edgeEffect);
}
return 0.0f;
}
public static void c(EdgeEffect edgeEffect, float f3, float f4) {
a.a(edgeEffect, f3, f4);
}
public static float d(EdgeEffect edgeEffect, float f3, float f4) {
if (Build.VERSION.SDK_INT >= 31) {
return b.c(edgeEffect, f3, f4);
}
c(edgeEffect, f3, f4);
return f3;
}
}
⚠️ 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