Home
last modified time | relevance | path

Searched refs:value1 (Results 1 – 14 of 14) sorted by relevance

/compose/animation/animation-core/src/androidInstrumentedTest/kotlin/androidx/compose/animation/core/
DDurationScaleTransitionTest.kt45 var value1 = -1f in childTransitionWithDurationScale() variable
56 value1 = animatedValue1 in childTransitionWithDurationScale()
72 assertThat(value1).isEqualTo(0f) in childTransitionWithDurationScale()
76 assertThat(value1).isWithin(0.1f).of(500f) in childTransitionWithDurationScale()
85 assertThat(value1).isEqualTo(1000f) in childTransitionWithDurationScale()
103 var value1 = -1f in childTransitionWithDurationScaleSeekableTransition() variable
116 value1 = animatedValue1 in childTransitionWithDurationScaleSeekableTransition()
135 assertThat(value1).isEqualTo(0f) in childTransitionWithDurationScaleSeekableTransition()
141 assertThat(value1).isWithin(0.1f).of(500f) in childTransitionWithDurationScaleSeekableTransition()
150 assertThat(value1).isEqualTo(1000f) in childTransitionWithDurationScaleSeekableTransition()
[all …]
DTransitionTest.kt473 var value1 = 0f in <lambda>() variable
482 value1 = in <lambda>()
507 assertEquals(0f, value1, 0f) in <lambda>()
513 assertEquals(0f, value1, 0f) in <lambda>()
519 assertEquals(10f, value1, 0.1f) in <lambda>()
525 assertEquals(110f, value1, 0.1f) in <lambda>()
532 assertEquals(120f, value1, 0.1f) in <lambda>()
542 assertTrue(value1 < prevValue1) in <lambda>()
543 prevValue1 = value1 in <lambda>()
550 assertTrue(value1 < prevValue1) in <lambda>()
/compose/runtime/runtime/src/commonMain/kotlin/androidx/compose/runtime/changelist/
DOperations.kt384 value1: Int, in <lambda>()
399 intArgs[base + parameter1] = value1 in <lambda>()
405 value1: Int, in <lambda>()
423 intArgs[base + parameter1] = value1 in <lambda>()
442 value1: T, in <lambda>()
457 objectArgs[base + parameter1.offset] = value1 in <lambda>()
463 value1: T, in <lambda>()
484 objectArgs[base + parameter1.offset] = value1 in <lambda>()
491 value1: T, in <lambda>()
516 objectArgs[base + parameter1.offset] = value1 in <lambda>()
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/
DDefaultKeyboardActionsTest.kt87 val (value1, value2, value3) = List(3) { TextFieldValue("Placeholder Text") } in noActionSpecified_triggersDefaultCallback() constant
96 value = value1, in noActionSpecified_triggersDefaultCallback()
173 val (value1, value2, value3) = List(3) { TextFieldValue("Placeholder Text") } in callingPerformDefaultAction_triggersDefaultImplementation() constant
182 value = value1, in callingPerformDefaultAction_triggersDefaultImplementation()
268 val (value1, value2) = List(2) { TextFieldValue("Placeholder Text") } in triggeringDifferentDefaultKeyboardAction_thanTheActionClickedOnTheSoftwareKeyboard() constant
275 value = value1, in triggeringDifferentDefaultKeyboardAction_thanTheActionClickedOnTheSoftwareKeyboard()
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/input/
DTextInputServiceAndroidOnStateUpdateTest.kt140 val value1 = TextFieldValue("ab", TextRange(1), TextRange(0, 2)) in onUpdateState_updateSelectionCalled_whenCompositionIsDifferentFromState() constant
141 textInputService.updateState(oldValue = value1, newValue = value1) in onUpdateState_updateSelectionCalled_whenCompositionIsDifferentFromState()
148 val value2 = value1.copy(composition = null) in onUpdateState_updateSelectionCalled_whenCompositionIsDifferentFromState()
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/input/internal/
DLegacyTextInputMethodRequestOnStateUpdateTest.kt139 val value1 = TextFieldValue("ab", TextRange(1), TextRange(0, 2)) in onUpdateState_updateSelectionCalled_whenCompositionIsDifferentFromState() constant
140 textInputService.updateState(oldValue = value1, newValue = value1) in onUpdateState_updateSelectionCalled_whenCompositionIsDifferentFromState()
147 val value2 = value1.copy(composition = null) in onUpdateState_updateSelectionCalled_whenCompositionIsDifferentFromState()
/compose/material3/adaptive/adaptive-layout/src/androidUnitTest/kotlin/androidx/compose/material3/adaptive/layout/
DDelayedSpringSpecTest.kt72 private fun assertValuesAreEqual(value1: Float, value2: Float) { in getDurationNanos()
73 assertThat(value1).isWithin(Tolerance).of(value2) in getDurationNanos()
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/platform/
DDisposableSaveableStateRegistryTest.kt72 val value1 = 1 in <lambda>() constant
78 registryToSave1.registerProvider(SaveKey) { value1 } in <lambda>()
89 assertEquals(value1, restoredValue1) in <lambda>()
/compose/runtime/runtime/src/commonMain/kotlin/androidx/compose/runtime/external/kotlinx/collections/immutable/implementations/immutableMap/
DTrieNode.kt285 private fun makeNode(keyHash1: Int, key1: K, value1: V, in makeNode()
290 return TrieNode(0, 0, arrayOf(key1, value1, key2, value2), owner) in makeNode()
298 arrayOf(key1, value1, key2, value2) in makeNode()
300 arrayOf(key2, value2, key1, value1) in makeNode()
305 …val node = makeNode(keyHash1, key1, value1, keyHash2, key2, value2, shift + LOG_MAX_BRANCHING_FACT… in makeNode()
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/modifier/
DModifierLocalMultiLayoutNodeTest.kt221 val value1 = "Value1" in modifierLocalProviderValueChanged() constant
228 if (useFirstValue) value1 else value2 in modifierLocalProviderValueChanged()
DModifierLocalSameLayoutNodeTest.kt303 val value1 = "Value1" in modifierLocalProviderValueChanged() constant
310 if (useFirstValue) value1 else value2 in modifierLocalProviderValueChanged()
/compose/runtime/runtime/src/nonEmulatorCommonTest/kotlin/androidx/compose/runtime/
DMovableContentTests.kt598 fun MockViewValidator.value1() { in <lambda>() method
620 this.value1() in <lambda>()
632 this.value1() in <lambda>()
637 this.value1() in <lambda>()
/compose/ui/ui-text/src/androidInstrumentedTest/kotlin/androidx/compose/ui/text/
DMultiParagraphIntegrationTest.kt1793 val value1 = "value1" in <lambda>() constant
1798 withAnnotation(tag1, value1) { append("a") } in <lambda>()
1809 .containsExactly(Range(StringAnnotation(value1), 0, 1, tag1)) in <lambda>()
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/layout/
DSubcomposeLayoutTest.kt1233 val value1 = staticLocal.current in <lambda>() constant
1236 Modifier.testTag(if (value1) "dark" else "light") in <lambda>()