Searched refs:snapTo (Results 1 – 6 of 6) sorted by relevance
231 fun snapTo(newPosition: Float) { in snapTo() method239 snapTo(restingPosition) in snapToRestingPosition()275 snapTo(restingPosition) in updateRestingPosition()376 scalePivotX.snapTo(backgroundWidth.pos / 2) in popScale()389 backgroundAlpha.snapTo(1f) in resetStretch()390 verticalTranslation.snapTo(0f) in resetStretch()391 scale.snapTo(1f) in resetStretch()
234 .collect { shouldCollapse -> if (shouldCollapse) scrimOffset.snapTo(0f) } in NotificationScrollingStack()244 scrimOffset.snapTo((scrimOffset.value - delta).coerceAtLeast(minOffset)) in NotificationScrollingStack()263 snapScrimOffset = { value -> coroutineScope.launch { scrimOffset.snapTo(value) } }, in NotificationScrollingStack()
194 offsetAnimatable.snapTo(it) in VolumePanelRadioButtonBar()
187 line.snapTo(1f) in <lambda>()
458 entryWidth.snapTo(0.dp) in <lambda>()
306 suspend fun snapTo(targetValue: T) { in snapTo() method