This site requires javascript.
Android Code Search
file:androidx/constraintlayout/compose/MotionSceneScope.kt function:customDistance
search
close
info_outline
more_vert
Result 1 of 1
content_copy
Search Result Root
androidx/platform/frameworks/support
keyboard_arrow_right
Branch
Branch
androidx-main
keyboard_arrow_right
Search Result Path
constraintlayout/constraintlayout-compose/src/androidMain/kotlin/androidx/constraintlayout/compose/
MotionSceneScope.kt
content_copy
Preview
328:
329:
330:
/** Declare a custom Dp [value] addressed by [name]. */
fun
ConstrainScope.
customDistance
(name: String, value: Dp) {
customFloat(name, value.value)
383:
384:
385:
/** Sets the custom Dp [value] at the frame of the current [KeyAttributeScope]. */
fun
KeyAttributeScope.
customDistance
(name: String, value: Dp) {
customPropertiesValue[name] = value.value
chevron_left
1
chevron_right
Results per page
10
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Got it
Help
Open branch androidx-main