Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 33) sorted by relevance

12

/compose/foundation/foundation/src/androidUnitTest/kotlin/androidx/compose/foundation/text/input/internal/
DChangeTrackerTest.kt30 val buffer = SimpleBuffer() in initialInsert() constant
42 val buffer = SimpleBuffer("hello") in deleteAll() constant
54 val buffer = SimpleBuffer("hello world") in multipleDiscontinuousChanges() constant
69 val buffer = SimpleBuffer() in twoAppends() constant
82 val buffer = SimpleBuffer() in threeAppends() constant
96 val buffer = SimpleBuffer("abcd") in replaceWithReversedIndices() constant
108 val buffer = SimpleBuffer("abcd") in multipleAdjacentReplaces_whenPerformedInOrder_replacementsShorter() constant
121 val buffer = SimpleBuffer("abcd") in multipleAdjacentReplaces_whenPerformedInOrder_replacementsLonger() constant
134 val buffer = SimpleBuffer("abcd") in multipleAdjacentReplaces_whenPerformedInReverseOrder_replacementsShorter() constant
147 val buffer = SimpleBuffer("abcd") in multipleAdjacentReplaces_whenPerformedInReverseOrder_replacementsLonger() constant
[all …]
DGapBufferTest.kt129 val buffer = PartialGapBuffer("") in insert_withSubRange_empty_fromHead() constant
139 val buffer = PartialGapBuffer("") in insert_withSubRange_empty_fromTail() constant
149 val buffer = PartialGapBuffer("") in insert_withSubRange_empty_fromMiddle() constant
159 val buffer = PartialGapBuffer("") in insert_withSubRange_singleChar_fromHead() constant
169 val buffer = PartialGapBuffer("") in insert_withSubRange_singleChar_fromTail() constant
179 val buffer = PartialGapBuffer("") in insert_withSubRange_singleChar_fromMiddle() constant
189 val buffer = PartialGapBuffer("") in insert_withSubRange_multipleChars_fromHead() constant
199 val buffer = PartialGapBuffer("") in insert_withSubRange_multipleChars_fromTail() constant
209 val buffer = PartialGapBuffer("") in insert_withSubRange_multipleChars_fromMiddle() constant
219 val buffer = PartialGapBuffer("XYZ") in insert_intoExistingText_withSubRange_empty_fromHead() constant
[all …]
/compose/foundation/foundation/src/androidUnitTest/kotlin/androidx/compose/foundation/text/input/
DTextFieldBufferTest.kt171 val buffer = TextFieldBuffer(TextFieldCharSequence("")) in <lambda>() constant
183 val buffer = TextFieldBuffer(TextFieldCharSequence("hello")) in <lambda>() constant
200 val buffer = TextFieldBuffer(TextFieldCharSequence("")) in <lambda>() constant
212 val buffer = TextFieldBuffer(TextFieldCharSequence("hello")) in <lambda>() constant
231 val buffer = TextFieldBuffer(TextFieldCharSequence("")) in <lambda>() constant
241 val buffer = TextFieldBuffer(TextFieldCharSequence("hello")) in <lambda>() constant
266 val buffer = TextFieldBuffer(TextFieldCharSequence(text)) in <lambda>() constant
279 val buffer = TextFieldBuffer(TextFieldCharSequence(text)) in <lambda>() constant
292 val buffer = TextFieldBuffer(TextFieldCharSequence(text)) in <lambda>() constant
305 val buffer = TextFieldBuffer(TextFieldCharSequence(text)) in <lambda>() constant
[all …]
DAllCapsTransformationTest.kt41 val buffer = TextFieldBuffer(originalValue).apply { append("hello") } in allNewTypedCharacters_convertedToUppercase() constant
53 val buffer = TextFieldBuffer(originalValue).apply { append(" world") } in oldCharacters_areNotConverted() constant
65 val buffer = TextFieldBuffer(originalValue).apply { append("i") } in localeDifference_turkishI() constant
77 var buffer = TextFieldBuffer(originalValue) in multipleEdits() variable
DInputTransformationTest.kt216 val buffer = TextFieldBuffer(originalValue = current, initialValue = proposed) in <lambda>() constant
229 val buffer = TextFieldBuffer(originalValue = current, initialValue = proposed) in <lambda>() constant
242 val buffer = TextFieldBuffer(originalValue = current, initialValue = proposed) in <lambda>() constant
255 val buffer = TextFieldBuffer(originalValue = current, initialValue = proposed) in <lambda>() constant
/compose/ui/ui-text/benchmark/src/androidTest/java/androidx/compose/ui/text/benchmark/input/
DGapBufferBenchmark.kt55 val buffer = runWithMeasurementDisabled { PartialGapBuffer(initText.text) } in toString() constant
64 val buffer = runWithMeasurementDisabled { PartialGapBuffer(initText.text) } in replace10timesContinued() constant
75 val buffer = runWithMeasurementDisabled { PartialGapBuffer(initText.text) } in replace10timesDiscontinued() constant
90 val buffer = runWithMeasurementDisabled { in toStringAfterReplace() constant
/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/input/
DGapBuffer.kt62 private var buffer = initBuffer in toCharArray() variable
223 private var buffer: GapBuffer? = null variable in PartialGapBuffer
230 val buffer = buffer ?: return text.length constant in PartialGapBuffer
247 val buffer = buffer in replace() constant
298 val buffer = buffer ?: return text[index] in get() constant
/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/input/internal/
DGapBuffer.kt35 private var buffer = initBuffer variable
204 private var buffer: GapBuffer? = null variable
211 val buffer = buffer ?: return text.length constant
236 val buffer = buffer in replace() constant
288 val buffer = buffer ?: return text[index] in get() constant
DTransformedTextFieldState.kt514 val buffer = in <lambda>() constant
/compose/runtime/runtime/src/commonMain/kotlin/androidx/compose/runtime/external/kotlinx/collections/immutable/implementations/immutableList/
DUtils.kt24 val buffer = arrayOfNulls<Any?>(MAX_BUFFER_SIZE) in presizedBufferWith() constant
DPersistentVector.kt186 … val buffer = if (root.size == MUTABLE_BUFFER_SIZE) root.copyOf(MAX_BUFFER_SIZE) else root in pullLastBufferFromRoot() constant
286 var buffer = root in bufferFor() variable
298 val buffer = bufferFor(index) in get() constant
DPersistentVectorBuilder.kt92 val buffer = arrayOfNulls<Any?>(MUTABLE_BUFFER_SIZE) in mutableBufferWith() constant
99 val buffer = arrayOfNulls<Any?>(MUTABLE_BUFFER_SIZE) in mutableBuffer() constant
453 var buffer = nextBuffer in shiftLeafBuffers() variable
519 val buffer = bufferFor(index) in get() constant
528 var buffer = root!! in bufferFor() variable
DBufferIterator.kt9 private val buffer: Array<T>, constant in androidx.compose.runtime.external.kotlinx.collections.immutable.implementations.immutableList.BufferIterator
DSmallPersistentVector.kt15 internal class SmallPersistentVector<E>(private val buffer: Array<Any?>) : ImmutableList<E>, Abstra… constant in androidx.compose.runtime.external.kotlinx.collections.immutable.implementations.immutableList.SmallPersistentVector
/compose/runtime/runtime/src/commonMain/kotlin/androidx/compose/runtime/external/kotlinx/collections/immutable/implementations/immutableSet/
DPersistentHashSetIterator.kt81 private var buffer = TrieNode.EMPTY.buffer variable in TrieNodeIterator
/compose/ui/ui-graphics/samples/src/main/java/androidx/compose/ui/graphics/samples/
DImageBitmapSample.kt60 val buffer = IntArray(20 * 10) in ImageBitmapReadPixelsSample() constant
/compose/ui/ui-graphics/src/commonMain/kotlin/androidx/compose/ui/graphics/
DPixelMap.kt37 val buffer: IntArray, constant in androidx.compose.ui.graphics.PixelMap
/compose/runtime/runtime/src/commonMain/kotlin/androidx/compose/runtime/external/kotlinx/collections/immutable/implementations/immutableMap/
DPersistentHashMapContentIterators.kt13 protected var buffer = TrieNode.EMPTY.buffer variable
/compose/ui/ui-text/src/androidUnitTest/kotlin/androidx/compose/ui/text/matchers/
DEditBufferSubject.kt36 internal abstract class GetOperatorWrapper(val buffer: Any) { constant in androidx.compose.ui.text.matchers.GetOperatorWrapper
/compose/foundation/foundation/src/androidUnitTest/kotlin/androidx/compose/foundation/text/input/internal/matchers/
DTextFieldBufferSubject.kt37 internal abstract class GetOperatorWrapper(val buffer: Any) { constant in androidx.compose.foundation.text.input.internal.matchers.GetOperatorWrapper
/compose/ui/ui-text/src/androidUnitTest/kotlin/androidx/compose/ui/text/input/
DGapBufferTest.kt513 val buffer = PartialGapBuffer("ABCD") in replace_throws_whenStartGreaterThanEnd() constant
521 val buffer = PartialGapBuffer("ABCD") in replace_throws_whenStartNegative() constant
/compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/android/
DLayoutHelper.android.kt98 var buffer = tmpBuffer in analyzeBidi() variable
/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/input/
DTextFieldBuffer.kt61 private val buffer = PartialGapBuffer(initialValue) in <lambda>() constant
/compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/text/
DPlatformTextInputAdapterDemo.kt171 val buffer = StringBuilder(initialValue) constant
/compose/ui/ui-test/src/androidInstrumentedTest/kotlin/androidx/compose/ui/test/junit4/
DComposeInFragmentTest.kt128 val buffer = 10f in closingDialogFragmentWhileComposeInputIsProcessing() constant

12