Home
last modified time | relevance | path

Searched refs:minFrame (Results 1 – 6 of 6) sorted by relevance

/external/lottie/lottie/src/main/java/com/airbnb/lottie/utils/
DLottieValueAnimator.java25 private float minFrame = Integer.MIN_VALUE; field in LottieValueAnimator
130 minFrame = Integer.MIN_VALUE;
141 (int) Math.max(this.minFrame, composition.getStartFrame()),
161 public void setMinFrame(int minFrame) {
162 setMinAndMaxFrames(minFrame, (int) maxFrame);
166 setMinAndMaxFrames(minFrame, maxFrame);
169 public void setMinAndMaxFrames(float minFrame, float maxFrame) {
170 if (minFrame > maxFrame) {
171 …egalArgumentException(String.format("minFrame (%s) must be <= maxFrame (%s)", minFrame, maxFrame));
175 this.minFrame = MiscUtils.clamp(minFrame, compositionMinFrame, compositionMaxFrame);
[all …]
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/
DPlayerViewModel.kt28 val minFrame: Int = 0, constant in com.airbnb.lottie.samples.PlayerState
50 … copy(composition = Success(it), minFrame = it.startFrame.toInt(), maxFrame = it.endFrame.toInt()) in fetchAnimation()
94 fun setMinFrame(minFrame: Int) = setState { in <lambda>()
95 copy(minFrame = Math.max(minFrame, composition()?.startFrame?.toInt() ?: 0)) in <lambda>()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/
DLottieDrawable.java454 public void setMinFrame(final int minFrame) {
459 setMinFrame(minFrame);
464 animator.setMinFrame(minFrame);
631 public void setMinAndMaxFrame(final int minFrame, final int maxFrame) {
636 setMinAndMaxFrame(minFrame, maxFrame);
642 animator.setMinAndMaxFrames(minFrame, maxFrame + 0.99f);
DLottieAnimationView.java639 public void setMinAndMaxFrame(int minFrame, int maxFrame) { in setMinAndMaxFrame() argument
640 lottieDrawable.setMinAndMaxFrame(minFrame, maxFrame); in setMinAndMaxFrame()
/external/lottie/
DCHANGELOG.md113 * Prevented minFrame from being larger than maxFrame.
166 * Fixed a bug that would ignore setting minFrame to 0 before the composition was set (#820).
216 * More accurately handles setFrame/getFrame/minFrame/maxFrame APIs. There were cases where they
/external/angle/src/libANGLE/renderer/metal/
Dmtl_utils.mm76 static const size_t minFrame = var ? std::atoi(var) : 0;
78 return minFrame;