Home
last modified time | relevance | path

Searched refs:animationView (Results 1 – 13 of 13) sorted by relevance

/external/lottie/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/
DLottieTest.kt219 val animationView = animationViewPool.acquire() in <lambda>() constant
221 animationView.setFailureListener { semaphore.release() } in <lambda>()
222 animationView.setFallbackResource(R.drawable.ic_close) in <lambda>()
223 animationView.setAnimationFromJson("Not Valid Json", null) in <lambda>()
225animationView.layoutParams = FrameLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGro… in <lambda>()
226 animationView.scale = 1f in <lambda>()
227 animationView.scaleType = ImageView.ScaleType.FIT_CENTER in <lambda>()
230 val animationViewContainer = animationView.parent as ViewGroup in <lambda>()
233 val bitmap = bitmapPool.acquire(animationView.width, animationView.height) in <lambda>()
235 animationView.draw(canvas) in <lambda>()
[all …]
DFragmentVisibilityTests.kt73 … val animationView = requireView().findViewById<LottieAnimationView>(R.id.animation_view) in <lambda>() constant
74 animationView.pauseAnimation() in <lambda>()
75 IdlingRegistry.getInstance().register(LottieIdlingResource(animationView)) in <lambda>()
105 lateinit var animationView: LottieAnimationView in <lambda>() variable in com.airbnb.lottie.samples.FragmentVisibilityTests.testDoesntStopOnPause.TestFragment
111 animationView = view.findViewById<LottieAnimationView>(R.id.animation_view) in <lambda>()
112 IdlingRegistry.getInstance().register(LottieIdlingResource(animationView)) in <lambda>()
123 assertTrue(fragment.animationView.isAnimating) in <lambda>()
130 lateinit var animationView: LottieAnimationView in <lambda>() variable in com.airbnb.lottie.samples.FragmentVisibilityTests.testStopsWhenLaunchingAnotherActivity.TestFragment
138 animationView = view.findViewById<LottieAnimationView>(R.id.animation_view) in <lambda>()
139 animationView.addAnimatorListener(animationListener) in <lambda>()
[all …]
DLottieIdlingAnimationResource.kt8 class LottieIdlingAnimationResource(animationView: LottieAnimationView?, private val name: String =…
11 animationView?.addAnimatorListener(object : AnimatorListenerAdapter() {
19 animationView.removeAllAnimatorListeners() in onAnimationEnd()
26 private var isIdle = animationView?.isAnimating?.not() ?: true
DLottieIdlingResource.kt7 class LottieIdlingResource(animationView: LottieAnimationView? = null, private val name: String = "…
10 if (animationView != null) {
11 animationView.addLottieOnCompositionLoadedListener { in <lambda>()
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/
DPlayerFragment.kt84 animationView.performanceTracker?.logRenderTimes() in <lambda>()
91 animationView.performanceTracker?.logRenderTimes() in <lambda>()
112 animationView.setFontAssetDelegate(object : FontAssetDelegate() { in <lambda>()
129 animationView.setMinAndMaxFrame(minFrame, maxFrame) in <lambda>()
132 … minFrameView.setText(resources.getString(R.string.min_frame, animationView.minFrame.toInt())) in <lambda>()
134 … maxFrameView.setText(resources.getString(R.string.max_frame, animationView.maxFrame.toInt())) in <lambda>()
153 animationView.setBackgroundResource(if (it) R.drawable.outline else 0) in <lambda>()
157 val renderMode = if (animationView.layerType == View.LAYER_TYPE_HARDWARE) { in <lambda>()
162 animationView.setRenderMode(renderMode) in <lambda>()
163 … hardwareAccelerationToggle.isActivated = animationView.layerType == View.LAYER_TYPE_HARDWARE in <lambda>()
[all …]
DDynamicActivity.kt47 animationView.addLottieOnCompositionLoadedListener { _ -> in <lambda>()
48 animationView.resolveKeyPath(KeyPath("**")).forEach { in <lambda>()
52 animationView.setFailureListener { /* do nothing */ } in <lambda>()
60 animationView.addValueCallback(KeyPath("LeftArmWave"), in <lambda>()
69 animationView.addValueCallback(shirt, LottieProperty.COLOR) { COLORS[colorIndex] } in <lambda>()
70 animationView.addValueCallback(leftArm, LottieProperty.COLOR) { COLORS[colorIndex] } in <lambda>()
71 animationView.addValueCallback(rightArm, LottieProperty.COLOR) { COLORS[colorIndex] } in <lambda>()
73 animationView.addValueCallback(KeyPath("Body"), in <lambda>()
DBullseyeActivity.kt20animationView.addValueCallback(KeyPath("First"), LottieProperty.TRANSFORM_POSITION, largeValueCall… in onCreate()
23animationView.addValueCallback(KeyPath("Fourth"), LottieProperty.TRANSFORM_POSITION, mediumValueCa… in onCreate()
26animationView.addValueCallback(KeyPath("Seventh"), LottieProperty.TRANSFORM_POSITION, smallValueCa… in onCreate()
DAppIntroActivity.kt19 private val animationView: LottieAnimationView by lazy { in <lambda>() constant in com.airbnb.lottie.samples.AppIntroActivity
37 rootView.addView(animationView, 0) in <lambda>()
59 animationView.progress = startProgress.lerp(endProgress, positionOffset) in <lambda>()
DSimpleAnimationActivity.kt41 composition?.let { animationView.setComposition(it) } in onCreate()
42 animationView.playAnimation() in onCreate()
DAnimationItemView.kt30 animationView.background = ColorDrawable(animationData.bgColorInt()) in setAnimationData()
33 animationView.setImageUrl(animationData.preview) in setAnimationData()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/
DTextDelegate.java18 @Nullable private final LottieAnimationView animationView; field in TextDelegate
27 animationView = null; in TextDelegate()
32 @SuppressWarnings("NullableProblems") LottieAnimationView animationView) { in TextDelegate()
33 this.animationView = animationView; in TextDelegate()
40 animationView = null; in TextDelegate()
95 if (animationView != null) { in invalidate()
96 animationView.invalidate(); in invalidate()
/external/setupdesign/lottie_loading_layout/src/com/google/android/setupdesign/
DGlifLoadingLayout.java563 LottieAnimationView animationView = findLottieAnimationView(); in addAnimatorListener() local
564 if (animationView != null) { in addAnimatorListener()
565 animationView.addAnimatorListener(listener); in addAnimatorListener()
571 LottieAnimationView animationView = findLottieAnimationView(); in removeAnimatorListener() local
572 if (animationView != null) { in removeAnimatorListener()
573 animationView.removeAnimatorListener(listener); in removeAnimatorListener()
579 LottieAnimationView animationView = findLottieAnimationView(); in removeAllAnimatorListener() local
580 if (animationView != null) { in removeAllAnimatorListener()
581 animationView.removeAllAnimatorListeners(); in removeAllAnimatorListener()
587 LottieAnimationView animationView = findLottieAnimationView(); in addColorCallback() local
[all …]
/external/kotlinx.coroutines/ui/kotlinx-coroutines-android/animation-app/app/src/main/java/org/jetbrains/kotlinx/animation/
DMainActivity.kt20 animationModel.observe(this, animationView) in onCreate()