40 lines
1.1 KiB
Java
40 lines
1.1 KiB
Java
package c.c.a.w.c;
|
|
|
|
import android.graphics.PointF;
|
|
import c.c.a.b0.f;
|
|
import c.c.a.c0.a;
|
|
import c.c.a.c0.c;
|
|
import java.util.List;
|
|
/* compiled from: IntegerKeyframeAnimation */
|
|
public class e extends f<Integer> {
|
|
public e(List<a<Integer>> list) {
|
|
super(list);
|
|
}
|
|
|
|
@Override // c.c.a.w.c.a
|
|
public Object f(a aVar, float f) {
|
|
return Integer.valueOf(j(aVar, f));
|
|
}
|
|
|
|
public int j(a<Integer> aVar, float f) {
|
|
Integer num;
|
|
if (aVar.b == null || aVar.f269c == null) {
|
|
throw new IllegalStateException("Missing values for keyframe.");
|
|
}
|
|
c<A> cVar = this.e;
|
|
if (cVar != 0 && (num = (Integer) cVar.a(aVar.e, aVar.f.floatValue(), aVar.b, aVar.f269c, f, d(), this.d)) != null) {
|
|
return num.intValue();
|
|
}
|
|
if (aVar.i == 784923401) {
|
|
aVar.i = aVar.b.intValue();
|
|
}
|
|
int i = aVar.i;
|
|
if (aVar.j == 784923401) {
|
|
aVar.j = aVar.f269c.intValue();
|
|
}
|
|
int i2 = aVar.j;
|
|
PointF pointF = f.a;
|
|
return (int) ((f * ((float) (i2 - i))) + ((float) i));
|
|
}
|
|
}
|