package p055s;

import android.view.View;
import p043o.AbstractC1511f;
import p043o.C1506c;

/* renamed from: s.d */
/* loaded from: classes.dex */
public abstract class AbstractC1609d extends AbstractC1511f {

    /* renamed from: s.d$a */
    /* loaded from: classes.dex */
    public static class C1610a extends AbstractC1609d {
        @Override // p055s.AbstractC1609d
        /* renamed from: b */
        public boolean mo796b(View view, float f, long j, C1506c c1506c) {
            return this.f3358h;
        }

        /* renamed from: c */
        public boolean m795c(View view, C1506c c1506c, float f, long j, double d, double d2) {
            view.setRotation(m797a(f, j, view, c1506c) + ((float) Math.toDegrees(Math.atan2(d2, d))));
            return this.f3358h;
        }
    }

    /* renamed from: a */
    public float m797a(float f, long j, View view, C1506c c1506c) {
        this.f3351a.m1144c(f, this.f3357g);
        float[] fArr = this.f3357g;
        float f2 = fArr[1];
        if (f2 == 0.0f) {
            this.f3358h = false;
            return fArr[2];
        } else if (Float.isNaN(this.f3360j)) {
            throw null;
        } else {
            long j2 = j - this.f3359i;
            double d = this.f3360j;
            double d2 = j2;
            Double.isNaN(d2);
            double d3 = f2;
            Double.isNaN(d3);
            Double.isNaN(d);
            this.f3360j = (float) ((d + ((d2 * 1.0E-9d) * d3)) % 1.0d);
            throw null;
        }
    }

    /* renamed from: b */
    public abstract boolean mo796b(View view, float f, long j, C1506c c1506c);
}