Home
last modified time | relevance | path

Searched refs:srcIndex (Results 1 – 2 of 2) sorted by relevance

/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/carousel/
DStrategy.kt328 srcIndex = 0, in getStartKeylineSteps()
350 srcIndex = defaultKeylines.firstNonAnchorIndex, in getStartKeylineSteps()
424 srcIndex = 0, in getEndKeylineSteps()
447 srcIndex = defaultKeylines.lastNonAnchorIndex, in getEndKeylineSteps()
511 srcIndex: Int, in moveKeylineAndCreateShiftedKeylineList()
517 val pivotDir = if (srcIndex > dstIndex) 1 else -1 in moveKeylineAndCreateShiftedKeylineList()
518 val pivotDelta = (from[srcIndex].size - from[srcIndex].cutoff + itemSpacing) * pivotDir in moveKeylineAndCreateShiftedKeylineList()
522 from.toMutableList().move(srcIndex, dstIndex).fastForEach { k -> add(k.size, k.isAnchor) } in moveKeylineAndCreateShiftedKeylineList()
604 private fun MutableList<Keyline>.move(srcIndex: Int, dstIndex: Int): MutableList<Keyline> { in move()
605 val keyline = get(srcIndex) in move()
[all …]
/compose/foundation/foundation/src/androidMain/kotlin/androidx/compose/foundation/text/input/internal/
DToCharArray.android.kt31 for (srcIndex in startIndex until endIndex) { in toCharArray() variable
32 destination[dstIndex++] = this[srcIndex] in toCharArray()