what-the-bank/sources/com/airbnb/lottie/model/animatable/AnimatableSplitDimensionPat...

34 lines
1.5 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.airbnb.lottie.model.animatable;
import android.graphics.PointF;
import com.airbnb.lottie.animation.keyframe.BaseKeyframeAnimation;
import com.airbnb.lottie.animation.keyframe.SplitDimensionPathKeyframeAnimation;
import com.airbnb.lottie.value.Keyframe;
import java.util.List;
/* loaded from: classes.dex */
public class AnimatableSplitDimensionPathValue implements AnimatableValue<PointF, PointF> {
private final AnimatableFloatValue animatableXDimension;
private final AnimatableFloatValue animatableYDimension;
public AnimatableSplitDimensionPathValue(AnimatableFloatValue animatableFloatValue, AnimatableFloatValue animatableFloatValue2) {
this.animatableXDimension = animatableFloatValue;
this.animatableYDimension = animatableFloatValue2;
}
@Override // com.airbnb.lottie.model.animatable.AnimatableValue
public List<Keyframe<PointF>> getKeyframes() {
throw new UnsupportedOperationException("Cannot call getKeyframes on AnimatableSplitDimensionPathValue.");
}
@Override // com.airbnb.lottie.model.animatable.AnimatableValue
public boolean isStatic() {
return this.animatableXDimension.isStatic() && this.animatableYDimension.isStatic();
}
@Override // com.airbnb.lottie.model.animatable.AnimatableValue
public BaseKeyframeAnimation<PointF, PointF> createAnimation() {
return new SplitDimensionPathKeyframeAnimation(this.animatableXDimension.createAnimation(), this.animatableYDimension.createAnimation());
}
}