Searched refs:targetOffset (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/ |
D | DraggableHandler.kt | 362 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 …]
|
D | UserActionDistanceScopeImpl.kt | 31 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()
|
D | Element.kt | 86 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()
|
D | SceneTransitionLayout.kt | 158 fun ElementKey.targetOffset(scene: SceneKey): Offset? in scene() method
|
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/material/ |
D | Swipeable.kt | 169 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/ |
D | AnimatedNavGraphBuilder.kt | 65 targetOffset = offsetFunc, in <lambda>() 79 targetOffset = offsetFunc, in <lambda>()
|
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/transformation/ |
D | AnchoredTranslate.kt | 51 return anchor.sceneStates[scene]?.targetOffset?.takeIf { it.isSpecified } in transform()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/transitions/ |
D | FromShadeToQuickSettingsTransition.kt | 27 Notifications.Elements.NotificationScrim.targetOffset(Scenes.Shade)?.y in TransitionBuilder()
|
D | ToShadeTransition.kt | 50 return Notifications.Elements.NotificationScrim.targetOffset(Scenes.Shade)?.y ?: 0f in toShadeTransition()
|
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/ |
D | SwipeToSceneTest.kt | 552 val fooOffset = TestElements.Foo.targetOffset(SceneB) ?: return 0f in <lambda>()
|