Home
last modified time | relevance | path

Searched refs:c1 (Results 1 – 3 of 3) sorted by relevance

/compose/animation/animation-core/src/commonMain/kotlin/androidx/compose/animation/core/
DSpringEstimation.kt136 val c1 = p0 in estimateUnderDamped() constant
137 val c2 = (v0 - r * c1) / firstRootImaginary in estimateUnderDamped()
138 val c = sqrt(c1 * c1 + c2 * c2) in estimateUnderDamped()
154 val c1 = p0 in estimateCriticallyDamped() constant
155 val c2 = v0 - r * c1 in estimateCriticallyDamped()
159 val t1 = ln(abs(delta / c1)) / r in estimateCriticallyDamped()
178 val tInflection = -(r * c1 + c2) / (r * c2) in estimateCriticallyDamped()
179 val xInflection = c1 * exp(r * tInflection) + c2 * tInflection * exp(r * tInflection) in estimateCriticallyDamped()
189 if (c2 < 0 && c1 > 0) { in estimateCriticallyDamped()
202 tCurr = -(2.0 / r) - (c1 / c2) in estimateCriticallyDamped()
[all …]
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/node/
DNodeChainTests.kt150 val (a1, b1, c1) = reusableModifiers("a", "b", "c") in testReused() constant
153 .withModifiers(a1, b1, c1) in testReused()
164 val c1 = modifierC() in testSimple() constant
166 assert(areObjectsOfSameType(c1, c2)) in testSimple()
169 .withModifiers(a1, b1, c1) in testSimple()
/compose/integration-tests/hero/hero-common/hero-common-implementation/src/main/java/androidx/compose/integration/hero/common/implementation/
DGradientBitmap.kt76 val c1 = cs[hash.mod(5)] in gradientColorsFor() constant
79 return intArrayOf(c1, c2) in gradientColorsFor()