package com.airbnb.lottie.animation.keyframe; import android.graphics.Path; import com.airbnb.lottie.animation.content.ShapeModifierContent; import com.airbnb.lottie.model.content.ShapeData; import com.airbnb.lottie.utils.MiscUtils; import com.airbnb.lottie.value.Keyframe; import java.util.List; /* loaded from: classes.dex */ public class ShapeKeyframeAnimation extends BaseKeyframeAnimation { private List shapeModifiers; private final Path tempPath; private final ShapeData tempShapeData; public ShapeKeyframeAnimation(List> list) { super(list); this.tempShapeData = new ShapeData(); this.tempPath = new Path(); } /* JADX WARN: Can't rename method to resolve collision */ @Override // com.airbnb.lottie.animation.keyframe.BaseKeyframeAnimation public Path getValue(Keyframe keyframe, float f) { this.tempShapeData.interpolateBetween(keyframe.startValue, keyframe.endValue, f); ShapeData shapeData = this.tempShapeData; List list = this.shapeModifiers; if (list != null) { for (int size = list.size() - 1; size >= 0; size--) { shapeData = this.shapeModifiers.get(size).modifyShape(shapeData); } } MiscUtils.getPathFromData(shapeData, this.tempPath); return this.tempPath; } public void setShapeModifiers(List list) { this.shapeModifiers = list; } }