/external/lottie/lottie/src/main/java/com/airbnb/lottie/model/content/ |
D | ShapeData.java | 8 import com.airbnb.lottie.utils.MiscUtils; 74 setInitialPoint(MiscUtils.lerp(initialPoint1.x, initialPoint2.x, percentage), in interpolateBetween() 75 MiscUtils.lerp(initialPoint1.y, initialPoint2.y, percentage)); in interpolateBetween() 90 MiscUtils.lerp(cp11.x, cp12.x, percentage), MiscUtils.lerp(cp11.y, cp12.y, in interpolateBetween() 93 MiscUtils.lerp(cp21.x, cp22.x, percentage), MiscUtils.lerp(cp21.y, cp22.y, in interpolateBetween() 96 MiscUtils.lerp(vertex1.x, vertex2.x, percentage), MiscUtils.lerp(vertex1.y, vertex2.y, in interpolateBetween()
|
D | GradientColor.java | 4 import com.airbnb.lottie.utils.MiscUtils; 35 positions[i] = MiscUtils.lerp(gc1.positions[i], gc2.positions[i], progress); in lerp()
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/parser/ |
D | ShapeDataParser.java | 8 import com.airbnb.lottie.utils.MiscUtils; 85 PointF shapeCp1 = MiscUtils.addPoints(previousVertex, cp1); in parse() 86 PointF shapeCp2 = MiscUtils.addPoints(vertex, cp2); in parse() 96 PointF shapeCp1 = MiscUtils.addPoints(previousVertex, cp1); in parse() 97 PointF shapeCp2 = MiscUtils.addPoints(vertex, cp2); in parse()
|
D | KeyframeParser.java | 13 import com.airbnb.lottie.utils.MiscUtils; 130 cp1.x = MiscUtils.clamp(cp1.x, -scale, scale); in parseKeyframe() 131 cp1.y = MiscUtils.clamp(cp1.y, -MAX_CP_VALUE, MAX_CP_VALUE); in parseKeyframe() 132 cp2.x = MiscUtils.clamp(cp2.x, -scale, scale); in parseKeyframe() 133 cp2.y = MiscUtils.clamp(cp2.y, -MAX_CP_VALUE, MAX_CP_VALUE); in parseKeyframe()
|
D | GradientColorParser.java | 7 import com.airbnb.lottie.utils.MiscUtils; 143 return (int) (255 * MiscUtils.lerp(opacities[i - 1], opacities[i], progress)); in getOpacityAtPosition()
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/value/ |
D | LottieInterpolatedPointValue.java | 6 import com.airbnb.lottie.utils.MiscUtils; 22 MiscUtils.lerp(startValue.x, endValue.x, progress), in interpolateValue() 23 MiscUtils.lerp(startValue.y, endValue.y, progress) in interpolateValue()
|
D | LottieRelativePointValueCallback.java | 6 import com.airbnb.lottie.utils.MiscUtils; 26 MiscUtils.lerp( in getValue() 30 MiscUtils.lerp( in getValue()
|
D | LottieRelativeIntegerValueCallback.java | 3 import com.airbnb.lottie.utils.MiscUtils; 13 int originalValue = MiscUtils.lerp( in getValue()
|
D | LottieInterpolatedFloatValue.java | 5 import com.airbnb.lottie.utils.MiscUtils; 19 return MiscUtils.lerp(startValue, endValue, progress); in interpolateValue()
|
D | LottieInterpolatedIntegerValue.java | 5 import com.airbnb.lottie.utils.MiscUtils; 19 return MiscUtils.lerp(startValue, endValue, progress); in interpolateValue()
|
D | LottieRelativeFloatValueCallback.java | 5 import com.airbnb.lottie.utils.MiscUtils; 23 float originalValue = MiscUtils.lerp( in getValue()
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/utils/ |
D | LottieValueAnimator.java | 93 boolean ended = !MiscUtils.contains(frame, getMinFrame(), getMaxFrame()); in doFrame() 94 frame = MiscUtils.clamp(frame, getMinFrame(), getMaxFrame()); in doFrame() 156 this.frame = MiscUtils.clamp(frame, getMinFrame(), getMaxFrame()); 175 this.minFrame = MiscUtils.clamp(minFrame, compositionMinFrame, compositionMaxFrame); 176 this.maxFrame = MiscUtils.clamp(maxFrame, compositionMinFrame, compositionMaxFrame); 177 setFrame((int) MiscUtils.clamp(frame, minFrame, maxFrame));
|
D | Utils.java | 134 newStart = MiscUtils.floorMod(newStart, length); in applyTrimPathIfNeeded() 135 newEnd = MiscUtils.floorMod(newEnd, length); in applyTrimPathIfNeeded() 139 newStart = MiscUtils.floorMod(newStart, length); in applyTrimPathIfNeeded() 142 newEnd = MiscUtils.floorMod(newEnd, length); in applyTrimPathIfNeeded()
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/animation/keyframe/ |
D | ScaleKeyframeAnimation.java | 5 import com.airbnb.lottie.utils.MiscUtils; 35 MiscUtils.lerp(startTransform.getScaleX(), endTransform.getScaleX(), keyframeProgress), in getValue() 36 MiscUtils.lerp(startTransform.getScaleY(), endTransform.getScaleY(), keyframeProgress) in getValue()
|
D | ShapeKeyframeAnimation.java | 7 import com.airbnb.lottie.utils.MiscUtils; 24 MiscUtils.getPathFromData(tempShapeData, tempPath); in getValue()
|
D | IntegerKeyframeAnimation.java | 4 import com.airbnb.lottie.utils.MiscUtils; 37 return MiscUtils.lerp(keyframe.getStartValueInt(), keyframe.getEndValueInt(), keyframeProgress); in getIntValue()
|
D | FloatKeyframeAnimation.java | 4 import com.airbnb.lottie.utils.MiscUtils; 36 …return MiscUtils.lerp(keyframe.getStartValueFloat(), keyframe.getEndValueFloat(), keyframeProgress… in getFloatValue()
|
D | ColorKeyframeAnimation.java | 4 import com.airbnb.lottie.utils.MiscUtils; 39 return GammaEvaluator.evaluate(MiscUtils.clamp(keyframeProgress, 0f, 1f), startColor, endColor); in getIntValue()
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/animation/content/ |
D | RepeaterContent.java | 16 import com.airbnb.lottie.utils.MiscUtils; 116 float newAlpha = alpha * MiscUtils.lerp(startOpacity, endOpacity, i / copies); in draw() 131 MiscUtils.resolveKeyPath(keyPath, depth, accumulator, currentPartialKeyPath, this); in resolveKeyPath()
|
D | FillContent.java | 21 import com.airbnb.lottie.utils.MiscUtils; 27 import static com.airbnb.lottie.utils.MiscUtils.clamp; 120 MiscUtils.resolveKeyPath(keyPath, depth, accumulator, currentPartialKeyPath, this); in resolveKeyPath()
|
D | EllipseContent.java | 15 import com.airbnb.lottie.utils.MiscUtils; 121 MiscUtils.resolveKeyPath(keyPath, depth, accumulator, currentPartialKeyPath, this); in resolveKeyPath()
|
D | GradientFillContent.java | 28 import com.airbnb.lottie.utils.MiscUtils; 34 import static com.airbnb.lottie.utils.MiscUtils.clamp; 229 MiscUtils.resolveKeyPath(keyPath, depth, accumulator, currentPartialKeyPath, this); in resolveKeyPath()
|
D | RectangleContent.java | 15 import com.airbnb.lottie.utils.MiscUtils; 160 MiscUtils.resolveKeyPath(keyPath, depth, accumulator, currentPartialKeyPath, this); in resolveKeyPath()
|
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/ |
D | DynamicActivity.kt | 9 import com.airbnb.lottie.utils.MiscUtils in <lambda>() 84 point.set(startX, MiscUtils.lerp(startY, endY, frameInfo.interpolatedKeyframeProgress)) in <lambda>()
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/ |
D | LottieDrawable.java | 34 import com.airbnb.lottie.utils.MiscUtils; 487 …setMinFrame((int) MiscUtils.lerp(composition.getStartFrame(), composition.getEndFrame(), minProgre… 526 …setMaxFrame((int) MiscUtils.lerp(composition.getStartFrame(), composition.getEndFrame(), maxProgre… 662 …setMinAndMaxFrame((int) MiscUtils.lerp(composition.getStartFrame(), composition.getEndFrame(), min… 663 (int) MiscUtils.lerp(composition.getStartFrame(), composition.getEndFrame(), maxProgress)); 753 …animator.setFrame(MiscUtils.lerp(composition.getStartFrame(), composition.getEndFrame(), progress)…
|