package p;

import android.view.View;
import l.f;

/* JADX INFO: compiled from: ViewTimeCycle.java */
/* JADX INFO: loaded from: classes.dex */
public abstract class e extends f {

    /* JADX INFO: compiled from: ViewTimeCycle.java */
    public static class a extends e {
        @Override // p.e
        public boolean b(View view, float f3, long j3, l.c cVar) {
            return this.f5311h;
        }

        public boolean c(View view, l.c cVar, float f3, long j3, double d3, double d4) {
            view.setRotation(a(f3, j3, view, cVar) + ((float) Math.toDegrees(Math.atan2(d4, d3))));
            return this.f5311h;
        }
    }

    public float a(float f3, long j3, View view, l.c cVar) {
        this.f5304a.c(f3, this.f5310g);
        float[] fArr = this.f5310g;
        float f4 = fArr[1];
        if (f4 == 0.0f) {
            this.f5311h = false;
            return fArr[2];
        }
        if (Float.isNaN(this.f5313j)) {
            throw null;
        }
        this.f5313j = (float) ((((double) this.f5313j) + (((j3 - this.f5312i) * 1.0E-9d) * ((double) f4))) % 1.0d);
        throw null;
    }

    public abstract boolean b(View view, float f3, long j3, l.c cVar);
}
