package x;

import v.C2967A0;

/* JADX INFO: renamed from: x.c1, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C3152c1 implements G0 {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ C3167h1 f25760a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ C3158e1 f25761b;

    public C3152c1(C3167h1 c3167h1, C3158e1 c3158e1) {
        this.f25760a = c3167h1;
        this.f25761b = c3158e1;
    }

    @Override // x.G0
    public final float a(float f6) {
        float fAbs = Math.abs(f6);
        C3167h1 c3167h1 = this.f25760a;
        if (fAbs != 0.0f && !((Boolean) c3167h1.f25816h.invoke()).booleanValue()) {
            throw new C2967A0("The fling animation was cancelled", 0);
        }
        return c3167h1.d(c3167h1.g(this.f25761b.a(2, c3167h1.e(c3167h1.h(f6)))));
    }
}
