Home
last modified time | relevance | path

Searched refs:Keyframe (Results 1 – 25 of 60) sorted by relevance

123

/external/lottie/lottie/src/main/java/com/airbnb/lottie/animation/keyframe/
DBaseKeyframeAnimation.java8 import com.airbnb.lottie.value.Keyframe;
36 BaseKeyframeAnimation(List<? extends Keyframe<K>> keyframes) { in BaseKeyframeAnimation()
73 protected Keyframe<K> getCurrentKeyframe() { in getCurrentKeyframe()
75 final Keyframe<K> keyframe = keyframesWrapper.getCurrentKeyframe(); in getCurrentKeyframe()
89 Keyframe<K> keyframe = getCurrentKeyframe(); in getLinearCurrentKeyframeProgress()
103 Keyframe<K> keyframe = getCurrentKeyframe(); in getInterpolatedCurrentKeyframeProgress()
133 final Keyframe<K> keyframe = getCurrentKeyframe(); in getValue()
158 abstract A getValue(Keyframe<K> keyframe, float keyframeProgress); in getValue()
160 private static <T> KeyframesWrapper<T> wrap(List<? extends Keyframe<T>> keyframes) { in wrap()
175 Keyframe<T> getCurrentKeyframe(); in getCurrentKeyframe()
[all …]
DIntegerKeyframeAnimation.java3 import com.airbnb.lottie.value.Keyframe;
10 public IntegerKeyframeAnimation(List<Keyframe<Integer>> keyframes) { in IntegerKeyframeAnimation()
15 Integer getValue(Keyframe<Integer> keyframe, float keyframeProgress) { in getValue()
22 int getIntValue(Keyframe<Integer> keyframe, float keyframeProgress) { in getIntValue()
DFloatKeyframeAnimation.java3 import com.airbnb.lottie.value.Keyframe;
10 public FloatKeyframeAnimation(List<Keyframe<Float>> keyframes) { in FloatKeyframeAnimation()
14 @Override Float getValue(Keyframe<Float> keyframe, float keyframeProgress) { in getValue()
21 float getFloatValue(Keyframe<Float> keyframe, float keyframeProgress) { in getFloatValue()
DPathKeyframe.java8 import com.airbnb.lottie.value.Keyframe;
11 public class PathKeyframe extends Keyframe<PointF> {
14 private final Keyframe<PointF> pointKeyFrame;
16 public PathKeyframe(LottieComposition composition, Keyframe<PointF> keyframe) { in PathKeyframe()
DColorKeyframeAnimation.java5 import com.airbnb.lottie.value.Keyframe;
11 public ColorKeyframeAnimation(List<Keyframe<Integer>> keyframes) { in ColorKeyframeAnimation()
16 Integer getValue(Keyframe<Integer> keyframe, float keyframeProgress) { in getValue()
23 public int getIntValue(Keyframe<Integer> keyframe, float keyframeProgress) { in getIntValue()
DTextKeyframeAnimation.java3 import com.airbnb.lottie.value.Keyframe;
9 public TextKeyframeAnimation(List<Keyframe<DocumentData>> keyframes) { in TextKeyframeAnimation()
13 @Override DocumentData getValue(Keyframe<DocumentData> keyframe, float keyframeProgress) { in getValue()
DGradientColorKeyframeAnimation.java3 import com.airbnb.lottie.value.Keyframe;
11 public GradientColorKeyframeAnimation(List<Keyframe<GradientColor>> keyframes) { in GradientColorKeyframeAnimation()
18 @Override GradientColor getValue(Keyframe<GradientColor> keyframe, float keyframeProgress) { in getValue()
DShapeKeyframeAnimation.java5 import com.airbnb.lottie.value.Keyframe;
15 public ShapeKeyframeAnimation(List<Keyframe<ShapeData>> keyframes) { in ShapeKeyframeAnimation()
19 @Override public Path getValue(Keyframe<ShapeData> keyframe, float keyframeProgress) { in getValue()
DSplitDimensionPathKeyframeAnimation.java5 import com.airbnb.lottie.value.Keyframe;
17 super(Collections.<Keyframe<PointF>>emptyList()); in SplitDimensionPathKeyframeAnimation()
38 @Override PointF getValue(Keyframe<PointF> keyframe, float keyframeProgress) { in getValue()
DPointKeyframeAnimation.java5 import com.airbnb.lottie.value.Keyframe;
12 public PointKeyframeAnimation(List<Keyframe<PointF>> keyframes) { in PointKeyframeAnimation()
16 @Override public PointF getValue(Keyframe<PointF> keyframe, float keyframeProgress) { in getValue()
DValueCallbackKeyframeAnimation.java4 import com.airbnb.lottie.value.Keyframe;
20 super(Collections.<Keyframe<K>>emptyList()); in ValueCallbackKeyframeAnimation()
44 @Override A getValue(Keyframe<K> keyframe, float keyframeProgress) { in getValue()
DScaleKeyframeAnimation.java3 import com.airbnb.lottie.value.Keyframe;
13 public ScaleKeyframeAnimation(List<Keyframe<ScaleXY>> keyframes) { in ScaleKeyframeAnimation()
17 @Override public ScaleXY getValue(Keyframe<ScaleXY> keyframe, float keyframeProgress) { in getValue()
DPathKeyframeAnimation.java7 import com.airbnb.lottie.value.Keyframe;
17 public PathKeyframeAnimation(List<? extends Keyframe<PointF>> keyframes) { in PathKeyframeAnimation()
21 @Override public PointF getValue(Keyframe<PointF> keyframe, float keyframeProgress) { in getValue()
DKeyframeAnimation.java3 import com.airbnb.lottie.value.Keyframe;
8 KeyframeAnimation(List<? extends Keyframe<T>> keyframes) { in KeyframeAnimation()
/external/skia/modules/skottie/src/animator/
DKeyframeAnimator.h28 struct Keyframe { struct
68 KeyframeAnimator(std::vector<Keyframe> kfs, std::vector<SkCubicMap> cms) in KeyframeAnimator() argument
74 Keyframe::Value vrec0, vrec1;
85 const Keyframe* kf0;
86 const Keyframe* kf1;
102 const std::vector<Keyframe> fKFs; // Keyframe records, one per AE/Lottie keyframe.
119 Keyframe::Value*) = 0;
123 std::vector<Keyframe> fKFs; // Keyframe records, one per AE/Lottie keyframe.
DKeyframeAnimator.cpp36 if (fCurrentSegment.kf0->mapping == Keyframe::kConstantMapping) { in getLERPInfo()
80 if (seg.kf0->mapping >= Keyframe::kCubicIndexOffset) { in compute_weight()
82 const auto mapper_index = SkToSizeT(seg.kf0->mapping - Keyframe::kCubicIndexOffset); in compute_weight()
127 const auto parse_value = [&](const skjson::ObjectValue& jkf, size_t i, Keyframe::Value* v) { in parseKeyframes()
156 Keyframe::Value v; in parseKeyframes()
171 prev_kf.mapping = Keyframe::kConstantMapping; in parseKeyframes()
201 return Keyframe::kConstantMapping; in parseMapping()
208 return Keyframe::kLinearMapping; in parseMapping()
219 return SkToU32(fCMs.size()) - 1 + Keyframe::kCubicIndexOffset; in parseMapping()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/parser/
DKeyframesParser.java6 import com.airbnb.lottie.value.Keyframe;
19 static <T> List<Keyframe<T>> parse(JsonReader reader, in parse()
22 List<Keyframe<T>> keyframes = new ArrayList<>(); in parse()
63 public static <T> void setEndFrames(List<? extends Keyframe<T>> keyframes) { in setEndFrames()
67 Keyframe<T> keyframe = keyframes.get(i); in setEndFrames()
68 Keyframe<T> nextKeyframe = keyframes.get(i + 1); in setEndFrames()
77 Keyframe<?> lastKeyframe = keyframes.get(size - 1); in setEndFrames()
DLayerParser.java8 import com.airbnb.lottie.value.Keyframe;
59 bounds.width(), bounds.height(), null, null, Collections.<Keyframe<Float>>emptyList(), in parse()
243 List<Keyframe<Float>> inOutKeyframes = new ArrayList<>(); in parse()
246 Keyframe<Float> preKeyframe = new Keyframe<>(composition, 0f, 0f, null, 0f, inFrame); in parse()
252 Keyframe<Float> visibleKeyframe = in parse()
253 new Keyframe<>(composition, 1f, 1f, null, inFrame, outFrame); in parse()
256 Keyframe<Float> outKeyframe = new Keyframe<>( in parse()
DKeyframeParser.java12 import com.airbnb.lottie.value.Keyframe;
64 static <T> Keyframe<T> parse(JsonReader reader, LottieComposition composition, in parse()
78 private static <T> Keyframe<T> parseKeyframe(LottieComposition composition, JsonReader reader, in parseKeyframe()
175 Keyframe<T> keyframe = in parseKeyframe()
176 new Keyframe<>(composition, startValue, endValue, interpolator, startFrame, null); in parseKeyframe()
182 private static <T> Keyframe<T> parseStaticValue(JsonReader reader, in parseStaticValue()
185 return new Keyframe<>(value); in parseStaticValue()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/model/animatable/
DBaseAnimatableValue.java5 import com.airbnb.lottie.value.Keyframe;
12 final List<Keyframe<V>> keyframes;
18 this(Collections.singletonList(new Keyframe<>(value))); in BaseAnimatableValue()
21 BaseAnimatableValue(List<Keyframe<V>> keyframes) { in BaseAnimatableValue()
25 public List<Keyframe<V>> getKeyframes() { in getKeyframes()
DAnimatablePathValue.java5 import com.airbnb.lottie.value.Keyframe;
14 private final List<Keyframe<PointF>> keyframes;
20 keyframes = Collections.singletonList(new Keyframe<>(new PointF(0, 0))); in AnimatablePathValue()
23 public AnimatablePathValue(List<Keyframe<PointF>> keyframes) { in AnimatablePathValue()
28 public List<Keyframe<PointF>> getKeyframes() { in getKeyframes()
DAnimatableValue.java4 import com.airbnb.lottie.value.Keyframe;
9 List<Keyframe<K>> getKeyframes(); in getKeyframes()
DAnimatableTextFrame.java3 import com.airbnb.lottie.value.Keyframe;
11 public AnimatableTextFrame(List<Keyframe<DocumentData>> keyframes) { in AnimatableTextFrame()
DAnimatableIntegerValue.java3 import com.airbnb.lottie.value.Keyframe;
15 public AnimatableIntegerValue(List<Keyframe<Integer>> keyframes) { in AnimatableIntegerValue()
DAnimatableFloatValue.java3 import com.airbnb.lottie.value.Keyframe;
15 public AnimatableFloatValue(List<Keyframe<Float>> keyframes) { in AnimatableFloatValue()

123