Home
last modified time | relevance | path

Searched refs:endValue (Results 1 – 25 of 42) sorted by relevance

12

/external/lottie/lottie/src/main/java/com/airbnb/lottie/value/
DLottieInterpolatedValue.java9 private final T endValue; field in LottieInterpolatedValue
12 LottieInterpolatedValue(T startValue, T endValue) { in LottieInterpolatedValue() argument
13 this(startValue, endValue, new LinearInterpolator()); in LottieInterpolatedValue()
16 LottieInterpolatedValue(T startValue, T endValue, Interpolator interpolator) { in LottieInterpolatedValue() argument
18 this.endValue = endValue; in LottieInterpolatedValue()
24 return interpolateValue(this.startValue, this.endValue, progress); in getValue()
27 abstract T interpolateValue(T startValue, T endValue, float progress); in interpolateValue() argument
DLottieInterpolatedPointValue.java12 public LottieInterpolatedPointValue(PointF startValue, PointF endValue) { in LottieInterpolatedPointValue() argument
13 super(startValue, endValue); in LottieInterpolatedPointValue()
16 …public LottieInterpolatedPointValue(PointF startValue, PointF endValue, Interpolator interpolator)… in LottieInterpolatedPointValue() argument
17 super(startValue, endValue, interpolator); in LottieInterpolatedPointValue()
20 @Override PointF interpolateValue(PointF startValue, PointF endValue, float progress) { in interpolateValue() argument
22 MiscUtils.lerp(startValue.x, endValue.x, progress), in interpolateValue()
23 MiscUtils.lerp(startValue.y, endValue.y, progress) in interpolateValue()
DLottieInterpolatedIntegerValue.java10 public LottieInterpolatedIntegerValue(Integer startValue, Integer endValue) { in LottieInterpolatedIntegerValue() argument
11 super(startValue, endValue); in LottieInterpolatedIntegerValue()
14 …public LottieInterpolatedIntegerValue(Integer startValue, Integer endValue, Interpolator interpola… in LottieInterpolatedIntegerValue() argument
15 super(startValue, endValue, interpolator); in LottieInterpolatedIntegerValue()
18 @Override Integer interpolateValue(Integer startValue, Integer endValue, float progress) { in interpolateValue() argument
19 return MiscUtils.lerp(startValue, endValue, progress); in interpolateValue()
DLottieInterpolatedFloatValue.java10 public LottieInterpolatedFloatValue(Float startValue, Float endValue) { in LottieInterpolatedFloatValue() argument
11 super(startValue, endValue); in LottieInterpolatedFloatValue()
14 public LottieInterpolatedFloatValue(Float startValue, Float endValue, Interpolator interpolator) { in LottieInterpolatedFloatValue() argument
15 super(startValue, endValue, interpolator); in LottieInterpolatedFloatValue()
18 @Override Float interpolateValue(Float startValue, Float endValue, float progress) { in interpolateValue() argument
19 return MiscUtils.lerp(startValue, endValue, progress); in interpolateValue()
DKeyframe.java16 @Nullable public T endValue; field in Keyframe
37 @Nullable T startValue, @Nullable T endValue, in Keyframe() argument
41 this.endValue = endValue; in Keyframe()
53 endValue = value; in Keyframe()
109 endValueFloat = (float) (Float) endValue; in getEndValueFloat()
129 endValueInt = (int) (Integer) endValue; in getEndValueInt()
136 ", endValue=" + endValue + in toString()
DLottieFrameInfo.java13 private T endValue; field in LottieFrameInfo
23 T endValue, in set() argument
31 this.endValue = endValue; in set()
51 return endValue; in getEndValue()
DLottieValueCallback.java53 T endValue, in getValueInternal() argument
63 endValue, in getValueInternal()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/animation/keyframe/
DPathKeyframe.java17 super(composition, keyframe.startValue, keyframe.endValue, keyframe.interpolator, in PathKeyframe()
26 boolean equals = endValue != null && startValue != null && in createPath()
27 startValue.equals(endValue.x, endValue.y); in createPath()
29 if (endValue != null && !equals) { in createPath()
30 path = Utils.createPath(startValue, endValue, pointKeyFrame.pathCp1, pointKeyFrame.pathCp2); in createPath()
DIntegerKeyframeAnimation.java23 if (keyframe.startValue == null || keyframe.endValue == null) { in getIntValue()
30 keyframe.startValue, keyframe.endValue, in getIntValue()
DFloatKeyframeAnimation.java22 if (keyframe.startValue == null || keyframe.endValue == null) { in getFloatValue()
29 keyframe.startValue, keyframe.endValue, in getFloatValue()
DPointKeyframeAnimation.java17 if (keyframe.startValue == null || keyframe.endValue == null) { in getValue()
22 PointF endPoint = keyframe.endValue; in getValue()
DColorKeyframeAnimation.java24 if (keyframe.startValue == null || keyframe.endValue == null) { in getIntValue()
28 int endColor = keyframe.endValue; in getIntValue()
DScaleKeyframeAnimation.java18 if (keyframe.startValue == null || keyframe.endValue == null) { in getValue()
22 ScaleXY endTransform = keyframe.endValue; in getValue()
DGradientColorKeyframeAnimation.java19 gradientColor.lerp(keyframe.startValue, keyframe.endValue, keyframeProgress); in getValue()
DShapeKeyframeAnimation.java21 ShapeData endShapeData = keyframe.endValue; in getValue()
DPathKeyframeAnimation.java30 pathKeyframe.startValue, pathKeyframe.endValue, getLinearCurrentKeyframeProgress(), in getValue()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGeneratedPluralSamples.java56 private long endValue; field in GeneratedPluralSamples.Range
71 endValue = end.getIntegerValue() * offset + end.getDecimalDigits(); in Range()
72 if (startValue < 0 || endValue < 0) { in Range()
79 endValue = other.endValue; in Range()
91 return endValue == o.endValue ? 0 : endValue < o.endValue ? -1 : 1; in compareTo()
106 Status status = startValue <= newValue && newValue <= endValue ? Status.inside
107 : endValue + 1 == newValue ? Status.rightBefore
110 endValue = newValue; // just extend it
118 if (startValue != endValue) {
119 … b.append(startValue + 1 == endValue ? SEQUENCE_SEPARATOR : RANGE_SEPARATOR).append(endValue);
[all …]
/external/skqp/src/gpu/gradients/
DGrSingleIntervalGradientColorizer.cpp51 const SkPMColor4f& endValue = _outer.end(); in onSetData() local
52 if (fEndPrev != endValue) { in onSetData()
53 fEndPrev = endValue; in onSetData()
54 pdman.set4fv(fEndVar, 1, endValue.vec()); in onSetData()
/external/skia/src/gpu/gradients/generated/
DGrSingleIntervalGradientColorizer.cpp55 const SkPMColor4f& endValue = _outer.end; in onSetData() local
56 if (endPrev != endValue) { in onSetData()
57 endPrev = endValue; in onSetData()
58 pdman.set4fv(endVar, 1, endValue.vec()); in onSetData()
/external/jsilver/src/com/google/clearsilver/jsilver/functions/string/
DSliceFunction.java40 Value endValue = args[2]; in execute() local
43 int end = endValue.asNumber(); in execute()
65 || startValue.isPartiallyEscaped() || endValue.isPartiallyEscaped()); in execute()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/parser/
DKeyframesParser.java70 if (keyframe.endValue == null && nextKeyframe.startValue != null) { in setEndFrames()
71 keyframe.endValue = nextKeyframe.startValue; in setEndFrames()
78 … if ((lastKeyframe.startValue == null || lastKeyframe.endValue == null) && keyframes.size() > 1) { in setEndFrames()
DKeyframeParser.java84 T endValue = null; in parseKeyframe() local
102 endValue = valueParser.parse(reader, scale); in parseKeyframe()
126 endValue = startValue; in parseKeyframe()
176 new Keyframe<>(composition, startValue, endValue, interpolator, startFrame, null); in parseKeyframe()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/animation/content/
DBaseStrokeContent.java218 float endValue = Math.min((endLength - totalLength) / length, 1); in applyTrimPath() local
219 Utils.applyTrimPathIfNeeded(trimPathPath, startValue, endValue, 0); in applyTrimPath()
234 float endValue; in applyTrimPath() local
236 endValue = 1f; in applyTrimPath()
238 endValue = (endLength - currentLength) / length; in applyTrimPath()
240 Utils.applyTrimPathIfNeeded(trimPathPath, startValue, endValue, 0); in applyTrimPath()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/utils/
DUtils.java110 Path path, float startValue, float endValue, float offsetValue) { in applyTrimPathIfNeeded() argument
115 if (startValue == 1f && endValue == 0f) { in applyTrimPathIfNeeded()
119 if (length < 1f || Math.abs(endValue - startValue - 1) < .01) { in applyTrimPathIfNeeded()
124 float end = length * endValue; in applyTrimPathIfNeeded()
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/
DDynamicActivity.kt77 var endY = frameInfo.endValue.y in <lambda>()

12