package com.airbnb.lottie.animation.keyframe; import com.airbnb.lottie.value.Keyframe; import com.airbnb.lottie.value.LottieValueCallback; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import java.util.Collections; /* loaded from: classes.dex */ public class ValueCallbackKeyframeAnimation extends BaseKeyframeAnimation { private final A valueCallbackValue; @Override // com.airbnb.lottie.animation.keyframe.BaseKeyframeAnimation float getEndProgress() { return 1.0f; } public ValueCallbackKeyframeAnimation(LottieValueCallback lottieValueCallback) { this(lottieValueCallback, null); } public ValueCallbackKeyframeAnimation(LottieValueCallback lottieValueCallback, A a) { super(Collections.emptyList()); setValueCallback(lottieValueCallback); this.valueCallbackValue = a; } @Override // com.airbnb.lottie.animation.keyframe.BaseKeyframeAnimation public void setProgress(float f) { this.progress = f; } @Override // com.airbnb.lottie.animation.keyframe.BaseKeyframeAnimation public void notifyListeners() { if (this.valueCallback != null) { super.notifyListeners(); } } @Override // com.airbnb.lottie.animation.keyframe.BaseKeyframeAnimation public A getValue() { LottieValueCallback lottieValueCallback = this.valueCallback; A a = this.valueCallbackValue; return lottieValueCallback.getValueInternal(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, a, a, getProgress(), getProgress(), getProgress()); } @Override // com.airbnb.lottie.animation.keyframe.BaseKeyframeAnimation A getValue(Keyframe keyframe, float f) { return getValue(); } }