Home
last modified time | relevance | path

Searched refs:targetOffset (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DDraggableHandler.kt362 fun animateTo(targetScene: Scene, targetOffset: Float) { in onStop()
378 targetOffset = targetOffset, in onStop()
394 var targetOffset: Float in onStop() variable
405 targetOffset = distance in onStop()
408 targetOffset = 0f in onStop()
418 targetOffset = in onStop()
429 animateTo(targetScene = targetScene, targetOffset = targetOffset) in onStop()
458 animateTo(targetScene = fromScene, targetOffset = 0f) in onStop()
461 animateTo(targetScene = fromScene, targetOffset = 0f) in onStop()
680 targetOffset: Float, in animateOffset()
[all …]
DUserActionDistanceScopeImpl.kt31 override fun ElementKey.targetOffset(scene: SceneKey): Offset? { in targetOffset() method in com.android.compose.animation.scene.ElementStateScopeImpl
32 return layoutImpl.elements[this]?.sceneStates?.get(scene)?.targetOffset.takeIf { in targetOffset()
DElement.kt86 var targetOffset by mutableStateOf(Offset.Unspecified) in <lambda>() variable
273 sceneState.targetOffset = in measure()
327 val targetOffset = in Placeable() constant
333 sceneValue = { it.targetOffset }, in Placeable()
344 value = targetOffset, in Placeable()
DSceneTransitionLayout.kt158 fun ElementKey.targetOffset(scene: SceneKey): Offset? in scene() method
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/material/
DSwipeable.kt169 val targetOffset = if (animationTargetValue != null) { in processNewAnchors() constant
183 animateInternalToOffset(targetOffset, animationSpec) in processNewAnchors()
186 snapInternalToOffset(targetOffset) in processNewAnchors()
188 currentValue = newAnchors.getValue(targetOffset) in processNewAnchors()
308 val targetOffset = anchors.getOffset(targetValue) in snapTo() constant
309 requireNotNull(targetOffset) { in snapTo()
312 snapInternalToOffset(targetOffset) in snapTo()
326 val targetOffset = anchors.getOffset(targetValue) in animateTo() constant
327 requireNotNull(targetOffset) { in animateTo()
330 animateInternalToOffset(targetOffset, anim) in animateTo()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/compose/
DAnimatedNavGraphBuilder.kt65 targetOffset = offsetFunc, in <lambda>()
79 targetOffset = offsetFunc, in <lambda>()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/transformation/
DAnchoredTranslate.kt51 return anchor.sceneStates[scene]?.targetOffset?.takeIf { it.isSpecified } in transform()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/transitions/
DFromShadeToQuickSettingsTransition.kt27 Notifications.Elements.NotificationScrim.targetOffset(Scenes.Shade)?.y in TransitionBuilder()
DToShadeTransition.kt50 return Notifications.Elements.NotificationScrim.targetOffset(Scenes.Shade)?.y ?: 0f in toShadeTransition()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DSwipeToSceneTest.kt552 val fooOffset = TestElements.Foo.targetOffset(SceneB) ?: return 0f in <lambda>()