Home
last modified time | relevance | path

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

/compose/ui/ui-test/src/commonMain/kotlin/androidx/compose/ui/test/
DVelocityPathFinder.kt94 startPosition: Offset, in VelocityPathFinder()
100 ImpulseVelocityPathFinder(startPosition, endPosition, endVelocity, durationMillis) in VelocityPathFinder()
102 LsqVelocityPathFinder(startPosition, endPosition, endVelocity, durationMillis) in VelocityPathFinder()
107 private val startPosition: Offset, constant in androidx.compose.ui.test.ImpulseVelocityPathFinder
118 val delta = endPosition - startPosition
132 val x = calculateOffsetForTime(vx, startPosition.x, endPosition.x, time) in calculateOffsetForTime()
133 val y = calculateOffsetForTime(vy, startPosition.y, endPosition.y, time) in calculateOffsetForTime()
301 private val startPosition: Offset, constant in androidx.compose.ui.test.LsqVelocityPathFinder
311 val delta = endPosition - startPosition
325 val x = calculateOffsetForTime(vx, startPosition.x, endPosition.x, time) in calculateOffsetForTime()
[all …]
DInputDispatcher.kt754 internal class PartialGesture(val downTime: Long, startPosition: Offset, pointerId: Int) {
755 val lastPositions = mutableMapOf(Pair(pointerId, startPosition))
/compose/ui/ui-test/src/androidInstrumentedTest/kotlin/androidx/compose/ui/test/actions/
DScrollToTest.kt70 val startPosition: StartPosition, constant in androidx.compose.ui.test.actions.ScrollToTest.TestConfig
81 ViewportSize.SmallerThanItem -> startPosition.smallViewportOffset
82 ViewportSize.BiggerThenItem -> startPosition.bigViewportOffset
114 for (startPosition in StartPosition.values()) { in toString() method
119 startPosition in toString()
131 startPosition: StartPosition in toString()
134 val expectScrolling = startPosition.expectScrolling in toString()
138 when (startPosition) { in toString()
162 startPosition, in toString()
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/
DHandwritingTestUtils.kt151 val startPosition = visibleSize.center.toOffset() in performStylusHandwriting() constant
152 down(startPosition) in performStylusHandwriting()
153 moveTo(startPosition + Offset(viewConfiguration.handwritingSlop * 2, 0f)) in performStylusHandwriting()
176 val startPosition = visibleSize.center.toOffset() in performStylusLongPressAndDrag() constant
178 val position = startPosition + Offset(viewConfiguration.handwritingSlop * 2, 0f) in performStylusLongPressAndDrag()
/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/
DSelectionRegistrarImpl.kt175 startPosition: Offset, in <lambda>()
182 startPosition, in <lambda>()
DSelectionRegistrar.kt79 startPosition: Offset, in subscribe()
/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/modifiers/
DSelectionController.kt201 startPosition = startPoint, in SelectionRegistrar()
309 startPosition = downPosition, in SelectionRegistrar()
/compose/ui/ui-test/src/androidInstrumentedTest/kotlin/androidx/compose/ui/test/injectionscope/touch/
DVelocityPathFinderTest.kt124 startPosition = Offset.Zero, in testWithoutExpectedError()
161 startPosition = Offset.Zero, in testWithExpectedError()
DVelocityPathFinderCalculateDurationTest.kt210 startPosition = Offset.Zero, in testWithoutExpectedError()
/compose/material/material/src/commonMain/kotlin/androidx/compose/material/
DTextField.kt1027 val startPosition = in placeWithLabel() constant
1037 val distance = startPosition - labelEndPosition in placeWithLabel()
1038 val positionY = startPosition - (distance * animationProgress).roundToInt() in placeWithLabel()