Searched refs:c2 (Results 1 – 3 of 3) sorted by relevance
| /compose/animation/animation-core/src/commonMain/kotlin/androidx/compose/animation/core/ |
| D | SpringEstimation.kt | 137 val c2 = (v0 - r * c1) / firstRootImaginary in estimateUnderDamped() constant 138 val c = sqrt(c1 * c1 + c2 * c2) in estimateUnderDamped() 155 val c2 = v0 - r * c1 in estimateCriticallyDamped() constant 163 val guess = ln(abs(delta / c2)) 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() 214 { t -> (c1 + c2 * t) * exp(r * t) + signedDelta }, in estimateCriticallyDamped() 215 { t -> (c2 * (r * t + 1) + c1 * r) * exp(r * t) } in estimateCriticallyDamped() [all …]
|
| /compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/node/ |
| D | NodeChainTests.kt | 151 val (a2, b2, c2) = reusableModifiers("a", "b", "c") in testReused() constant 155 .withModifiers(a2, b2, c2) in testReused() 165 val c2 = modifierC() in testSimple() constant 166 assert(areObjectsOfSameType(c1, c2)) in testSimple() 172 .withModifiers(a2, c2) in testSimple()
|
| /compose/integration-tests/hero/hero-common/hero-common-implementation/src/main/java/androidx/compose/integration/hero/common/implementation/ |
| D | GradientBitmap.kt | 78 val c2 = cs[hash.mod(5)] in gradientColorsFor() constant 79 return intArrayOf(c1, c2) in gradientColorsFor()
|