Home
last modified time | relevance | path

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

/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/
DAnimationItemView.kt28 fun setAnimationData(animationData: AnimationData) { in setAnimationData()
29 args = CompositionArgs(animationData = animationData) in setAnimationData()
30 animationView.background = ColorDrawable(animationData.bgColorInt()) in setAnimationData()
31 titleView.text = animationData.title in setAnimationData()
32 authorView.text = animationData.userInfo?.name ?: context.getString(R.string.anonymous) in setAnimationData()
33 animationView.setImageUrl(animationData.preview) in setAnimationData()
DLottiefilesFragment.kt85 val args = CompositionArgs(animationData = it) in buildModels()
88 animationData(it) in buildModels()
DShowcaseFragment.kt79 … _ -> startActivity(PlayerActivity.intent(requireContext(), CompositionArgs(animationData = it))) } in buildModels()
DPlayerViewModel.kt40 val url = args.url ?: args.animationData?.lottieLink in fetchAnimation()
DPlayerFragment.kt120 args.animationData?.bgColorInt()?.let { in <lambda>()
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/model/
DCompositionArgs.kt15 val animationData: AnimationData? = null constant in com.airbnb.lottie.samples.model.CompositionArgs