Home
last modified time | relevance | path

Searched refs:minFrame (Results 1 – 11 of 11) 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>()
DPlayerFragment.kt128 … viewModel.selectSubscribe(PlayerState::minFrame, PlayerState::maxFrame) { minFrame, maxFrame -> in <lambda>() method
129 animationView.setMinAndMaxFrame(minFrame, maxFrame) in <lambda>()
132 … minFrameView.setText(resources.getString(R.string.min_frame, animationView.minFrame.toInt())) in <lambda>()
361 minFrameView.setText(animationView.minFrame.toInt().toString()) 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/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/
DLottieTest.kt777 drawable.frame = drawable.minFrame.toInt() in <lambda>()
787 drawable.frame = drawable.minFrame.toInt() in <lambda>()
792 drawable.frame = drawable.minFrame.toInt() in <lambda>()
/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;
/external/rust/crates/libsqlite3-sys/sqlite3/
Dsqlite3.c59863 u32 minFrame; /* Ignore wal frames before this one */
62205 pWal->minFrame = AtomicLoad(&pInfo->nBackfill)+1;
62395 pWal->minFrame = 1;
62482 iMinHash = walFramePage(pWal->minFrame);
62498 if( iFrame<=iLast && iFrame>=pWal->minFrame && sLoc.aPgno[iH]==pgno ){
62517 assert( pWal->bShmUnreliable || pWal->minFrame>0 );
62518 for(iTest=iLast; iTest>=pWal->minFrame && iTest>0; iTest--){
/external/sqlite/dist/orig/
Dsqlite3.c59779 u32 minFrame; /* Ignore wal frames before this one */
62061 pWal->minFrame = AtomicLoad(&pInfo->nBackfill)+1;
62251 pWal->minFrame = 1;
62338 iMinHash = walFramePage(pWal->minFrame);
62354 if( iFrame<=iLast && iFrame>=pWal->minFrame && sLoc.aPgno[iH]==pgno ){
62373 assert( pWal->bShmUnreliable || pWal->minFrame>0 );
62374 for(iTest=iLast; iTest>=pWal->minFrame && iTest>0; iTest--){
/external/sqlite/dist/
Dsqlite3.c59795 u32 minFrame; /* Ignore wal frames before this one */
62077 pWal->minFrame = AtomicLoad(&pInfo->nBackfill)+1;
62267 pWal->minFrame = 1;
62354 iMinHash = walFramePage(pWal->minFrame);
62370 if( iFrame<=iLast && iFrame>=pWal->minFrame && sLoc.aPgno[iH]==pgno ){
62389 assert( pWal->bShmUnreliable || pWal->minFrame>0 );
62390 for(iTest=iLast; iTest>=pWal->minFrame && iTest>0; iTest--){