Home
last modified time | relevance | path

Searched refs:value2 (Results 1 – 15 of 15) sorted by relevance

/compose/animation/animation-core/src/androidInstrumentedTest/kotlin/androidx/compose/animation/core/
DDurationScaleTransitionTest.kt46 var value2 = -1f in childTransitionWithDurationScale() variable
65 value2 = animatedValue2 in childTransitionWithDurationScale()
73 assertThat(value2).isEqualTo(-1f) // not set until withChild = true in childTransitionWithDurationScale()
77 assertThat(value2).isEqualTo(-1f) // not set until withChild = true in childTransitionWithDurationScale()
81 assertThat(value2).isEqualTo(0f) in childTransitionWithDurationScale()
86 assertThat(value2).isWithin(0.1f).of(500f) in childTransitionWithDurationScale()
88 assertThat(value2).isEqualTo(1000f) in childTransitionWithDurationScale()
104 var value2 = -1f in childTransitionWithDurationScaleSeekableTransition() variable
125 value2 = animatedValue2 in childTransitionWithDurationScaleSeekableTransition()
136 assertThat(value2).isEqualTo(-1f) // not set until withChild = true in childTransitionWithDurationScaleSeekableTransition()
[all …]
DTransitionTest.kt474 var value2 = 0f in <lambda>() variable
488 value2 = in <lambda>()
508 assertEquals(0f, value2, 0f) in <lambda>()
514 assertEquals(0f, value2, 0f) in <lambda>()
520 assertEquals(100f, value2, 0.1f) in <lambda>()
526 assertEquals(1000f, value2, 0f) in <lambda>()
533 assertEquals(1000f, value2, 0f) in <lambda>()
544 assertTrue(value2 < prevValue2) in <lambda>()
545 prevValue2 = value2 in <lambda>()
551 assertTrue(value2 < prevValue2) in <lambda>()
/compose/runtime/runtime/src/commonMain/kotlin/androidx/compose/runtime/changelist/
DOperations.kt386 value2: Int in <lambda>()
400 intArgs[base + parameter2] = value2 in <lambda>()
407 value2: Int, in <lambda>()
424 intArgs[base + parameter2] = value2 in <lambda>()
444 value2: U in <lambda>()
458 objectArgs[base + parameter2.offset] = value2 in <lambda>()
465 value2: U, in <lambda>()
485 objectArgs[base + parameter2.offset] = value2 in <lambda>()
493 value2: U, in <lambda>()
517 objectArgs[base + parameter2.offset] = value2 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
104 value = value2, in noActionSpecified_triggersDefaultCallback()
173 val (value1, value2, value3) = List(3) { TextFieldValue("Placeholder Text") } in callingPerformDefaultAction_triggersDefaultImplementation() constant
190 value = value2, in callingPerformDefaultAction_triggersDefaultImplementation()
268 val (value1, value2) = List(2) { TextFieldValue("Placeholder Text") } in triggeringDifferentDefaultKeyboardAction_thanTheActionClickedOnTheSoftwareKeyboard() constant
294 value = value2, in triggeringDifferentDefaultKeyboardAction_thanTheActionClickedOnTheSoftwareKeyboard()
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/input/
DTextInputServiceAndroidOnStateUpdateTest.kt148 val value2 = value1.copy(composition = null) in onUpdateState_updateSelectionCalled_whenCompositionIsDifferentFromState() constant
149 textInputService.updateState(oldValue = value2, newValue = value2) in onUpdateState_updateSelectionCalled_whenCompositionIsDifferentFromState()
153 .updateSelection(eq(value2.selection.min), eq(value2.selection.max), eq(-1), eq(-1)) in onUpdateState_updateSelectionCalled_whenCompositionIsDifferentFromState()
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/input/internal/
DLegacyTextInputMethodRequestOnStateUpdateTest.kt147 val value2 = value1.copy(composition = null) in onUpdateState_updateSelectionCalled_whenCompositionIsDifferentFromState() constant
148 textInputService.updateState(oldValue = value2, newValue = value2) in onUpdateState_updateSelectionCalled_whenCompositionIsDifferentFromState()
152 .updateSelection(eq(value2.selection.min), eq(value2.selection.max), eq(-1), eq(-1)) in onUpdateState_updateSelectionCalled_whenCompositionIsDifferentFromState()
/compose/animation/animation/src/androidUnitTest/kotlin/androidx/compose/animation/
DConverterTest.kt117 val value2 = Random.nextFloat() in testDpConverter() constant
118 assertEquals(Dp.VectorConverter.convertToVector(value2.dp), AnimationVector1D(value2)) in testDpConverter()
/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.kt74 val value2 = 2 in <lambda>() constant
82 registryToSave2.registerProvider(SaveKey) { value2 } in <lambda>()
94 assertEquals(value2, restoredValue2) in <lambda>()
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/modifier/
DModifierLocalMultiLayoutNodeTest.kt222 val value2 = "Value2" in modifierLocalProviderValueChanged() constant
228 if (useFirstValue) value1 else value2 in modifierLocalProviderValueChanged()
239 rule.runOnIdle { assertThat(readString).isEqualTo(value2) } in modifierLocalProviderValueChanged()
DModifierLocalSameLayoutNodeTest.kt304 val value2 = "Value2" in modifierLocalProviderValueChanged() constant
310 if (useFirstValue) value1 else value2 in modifierLocalProviderValueChanged()
320 rule.runOnIdle { assertThat(readString).isEqualTo(value2) } in modifierLocalProviderValueChanged()
/compose/runtime/runtime/src/commonMain/kotlin/androidx/compose/runtime/external/kotlinx/collections/immutable/implementations/immutableMap/
DTrieNode.kt286 … keyHash2: Int, key2: K, value2: V, shift: Int, owner: MutabilityOwnership?): TrieNode<K, 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/runtime/runtime/src/nonEmulatorCommonTest/kotlin/androidx/compose/runtime/
DMovableContentTests.kt604 fun MockViewValidator.value2() { in <lambda>() method
622 this.value2() in <lambda>()
628 this.value2() in <lambda>()
638 this.value2() in <lambda>()
/compose/runtime/runtime/src/nonEmulatorCommonTest/kotlin/androidx/compose/runtime/snapshots/
DSnapshotTests.kt632 val value2 = boxInt(1) in <lambda>() constant
638 snapshot1.enter { state.value = value2 } in <lambda>()
639 snapshot2.enter { state.value = value2 } in <lambda>()
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/layout/
DSubcomposeLayoutTest.kt1234 val value2 = local.current in <lambda>() constant
1237 .requiredSize(if (value2) 50.dp else 100.dp) in <lambda>()