package com.airbnb.lottie.animation.keyframe; import android.graphics.Path; import com.airbnb.lottie.model.content.Mask; import com.airbnb.lottie.model.content.ShapeData; import java.util.ArrayList; import java.util.List; /* loaded from: classes.dex */ public class MaskKeyframeAnimation { private final List> maskAnimations; private final List masks; private final List> opacityAnimations; public MaskKeyframeAnimation(List list) { this.masks = list; this.maskAnimations = new ArrayList(list.size()); this.opacityAnimations = new ArrayList(list.size()); for (int i = 0; i < list.size(); i++) { this.maskAnimations.add(list.get(i).getMaskPath().createAnimation()); this.opacityAnimations.add(list.get(i).getOpacity().createAnimation()); } } public List> getOpacityAnimations() { return this.opacityAnimations; } public List getMasks() { return this.masks; } public List> getMaskAnimations() { return this.maskAnimations; } }