Searched refs:sharedValue (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/ |
D | AnimateSharedAsState.kt | 274 val sharedValue = valueMap.getOrPut(element) { SharedValue(type) } as SharedValue<T, *> in animateSharedValueAsState() constant 275 val targetValues = sharedValue.targetValues in animateSharedValueAsState() 283 if (targetValues.isEmpty() && valueMap[element] === sharedValue) { in animateSharedValueAsState() 300 sharedValue<T, Any>(layoutImpl, key, element).targetValues[scene] = value in animateSharedValueAsState() 308 private fun <T, Delta> sharedValue( in sharedValue() method 352 val sharedValue = sharedValue<T, Delta>(layoutImpl, key, element) in value() constant 353 val transition = transition(sharedValue) in value() 355 valueOrNull(sharedValue, transition) in value() 359 ?: sharedValue[scene] in value() 361 val interruptedValue = computeInterruptedValue(sharedValue, transition, value) in value() [all …]
|