Skip to content

Commit

Permalink
Merge branch 'integration-copy/compose/e8e61d6b686/to-jb-main' into j…
Browse files Browse the repository at this point in the history
…b-main
  • Loading branch information
MatkovIvan committed Dec 11, 2024
2 parents f0e9eff + 0818f89 commit d2ad96a
Show file tree
Hide file tree
Showing 521 changed files with 22,763 additions and 4,251 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class TransitionDetectorTest : LintDetectorTest() {
.files(
kotlin(
"""
package foo
package test.foo
import androidx.compose.animation.core.*
import androidx.compose.runtime.*
Expand All @@ -181,22 +181,22 @@ class TransitionDetectorTest : LintDetectorTest() {
.run()
.expect(
"""
src/foo/test.kt:13: Error: Target state parameter it is not used [UnusedTransitionTargetStateParameter]
src/test/foo/test.kt:13: Error: Target state parameter it is not used [UnusedTransitionTargetStateParameter]
transition.animateFloat { if (foo) 1f else 0f }
~~~~~~~~~~~~~~~~~~~~~~~
src/foo/test.kt:14: Error: Target state parameter it is not used [UnusedTransitionTargetStateParameter]
src/test/foo/test.kt:14: Error: Target state parameter it is not used [UnusedTransitionTargetStateParameter]
transition.animateFloat(targetValueByState = { if (foo) 1f else 0f })
~~~~~~~~~~~~~~~~~~~~~~~
src/foo/test.kt:15: Error: Target state parameter param is not used [UnusedTransitionTargetStateParameter]
src/test/foo/test.kt:15: Error: Target state parameter param is not used [UnusedTransitionTargetStateParameter]
transition.animateFloat { param -> if (foo) 1f else 0f }
~~~~~
src/foo/test.kt:16: Error: Target state parameter param is not used [UnusedTransitionTargetStateParameter]
src/test/foo/test.kt:16: Error: Target state parameter param is not used [UnusedTransitionTargetStateParameter]
transition.animateFloat(targetValueByState = { param -> if (foo) 1f else 0f })
~~~~~
src/foo/test.kt:17: Error: Target state parameter _ is not used [UnusedTransitionTargetStateParameter]
src/test/foo/test.kt:17: Error: Target state parameter _ is not used [UnusedTransitionTargetStateParameter]
transition.animateFloat { _ -> if (foo) 1f else 0f }
~
src/foo/test.kt:18: Error: Target state parameter _ is not used [UnusedTransitionTargetStateParameter]
src/test/foo/test.kt:18: Error: Target state parameter _ is not used [UnusedTransitionTargetStateParameter]
transition.animateFloat(targetValueByState = { _ -> if (foo) 1f else 0f })
~
6 errors, 0 warnings
Expand All @@ -210,7 +210,7 @@ src/foo/test.kt:18: Error: Target state parameter _ is not used [UnusedTransitio
.files(
kotlin(
"""
package foo
package test.foo
import androidx.compose.animation.core.*
import androidx.compose.runtime.*
Expand Down Expand Up @@ -246,10 +246,10 @@ src/foo/test.kt:18: Error: Target state parameter _ is not used [UnusedTransitio
.run()
.expect(
"""
src/foo/test.kt:13: Error: Target state parameter it is not used [UnusedTransitionTargetStateParameter]
src/test/foo/test.kt:13: Error: Target state parameter it is not used [UnusedTransitionTargetStateParameter]
transition.animateFloat {
^
src/foo/test.kt:22: Error: Target state parameter param is not used [UnusedTransitionTargetStateParameter]
src/test/foo/test.kt:22: Error: Target state parameter param is not used [UnusedTransitionTargetStateParameter]
transition.animateFloat { param ->
~~~~~
2 errors, 0 warnings
Expand All @@ -263,7 +263,7 @@ src/foo/test.kt:22: Error: Target state parameter param is not used [UnusedTrans
.files(
kotlin(
"""
package foo
package test.foo
import androidx.compose.animation.core.*
import androidx.compose.runtime.*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ public fun <T> keyframesWithSpline(
* Use overload without [periodicBias] parameter for the non-periodic implementation.
*
* A periodic spline is one such that the starting and ending velocities are equal. This makes them
* useful to crete smooth repeatable animations. Such as an infinite pulsating animation:
* useful to create smooth repeatable animations. Such as an infinite pulsating animation:
*
* @sample androidx.compose.animation.core.samples.PeriodicKeyframesWithSplines
*
Expand Down
18 changes: 18 additions & 0 deletions compose/animation/animation-graphics/bcv/native/1.7.0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Klib ABI Dump
// Targets: [linuxX64.linuxx64Stubs]
// Rendering settings:
// - Signature version: 2
// - Show manifest properties: true
// - Show declarations: true

// Library unique name: <androidx.compose.animation:animation-graphics>
final class androidx.compose.animation.graphics.vector/AnimatedImageVector { // androidx.compose.animation.graphics.vector/AnimatedImageVector|null[0]
final object Companion // androidx.compose.animation.graphics.vector/AnimatedImageVector.Companion|null[0]
final val imageVector // androidx.compose.animation.graphics.vector/AnimatedImageVector.imageVector|{}imageVector[0]
final fun <get-imageVector>(): androidx.compose.ui.graphics.vector/ImageVector // androidx.compose.animation.graphics.vector/AnimatedImageVector.imageVector.<get-imageVector>|<get-imageVector>(){}[0]
final val totalDuration // androidx.compose.animation.graphics.vector/AnimatedImageVector.totalDuration|{}totalDuration[0]
final fun <get-totalDuration>(): kotlin/Int // androidx.compose.animation.graphics.vector/AnimatedImageVector.totalDuration.<get-totalDuration>|<get-totalDuration>(){}[0]
}
open annotation class androidx.compose.animation.graphics/ExperimentalAnimationGraphicsApi : kotlin/Annotation { // androidx.compose.animation.graphics/ExperimentalAnimationGraphicsApi|null[0]
constructor <init>() // androidx.compose.animation.graphics/ExperimentalAnimationGraphicsApi.<init>|<init>(){}[0]
}
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ class AnimatedContentDetectorTest : LintDetectorTest() {
.files(
kotlin(
"""
package foo
package test.foo
import androidx.compose.animation.*
import androidx.compose.runtime.*
Expand Down Expand Up @@ -324,76 +324,76 @@ class AnimatedContentDetectorTest : LintDetectorTest() {
)
.run()
.expect(
"""src/foo/test.kt:14: Error: Target state parameter it is not used [UnusedContentLambdaTargetStateParameter]
"""src/test/foo/test.kt:14: Error: Target state parameter it is not used [UnusedContentLambdaTargetStateParameter]
) { if (foo) { /**/ } else { /**/ } }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/foo/test.kt:18: Error: Target state parameter it is not used [UnusedContentLambdaTargetStateParameter]
src/test/foo/test.kt:18: Error: Target state parameter it is not used [UnusedContentLambdaTargetStateParameter]
content = { if (foo) { /**/ } else { /**/ } }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/foo/test.kt:23: Error: Target state parameter param is not used [UnusedContentLambdaTargetStateParameter]
src/test/foo/test.kt:23: Error: Target state parameter param is not used [UnusedContentLambdaTargetStateParameter]
) { param -> if (foo) { /**/ } else { /**/ } }
~~~~~
src/foo/test.kt:27: Error: Target state parameter param is not used [UnusedContentLambdaTargetStateParameter]
src/test/foo/test.kt:27: Error: Target state parameter param is not used [UnusedContentLambdaTargetStateParameter]
content = { param -> if (foo) { /**/ } else { /**/ } }
~~~~~
src/foo/test.kt:32: Error: Target state parameter _ is not used [UnusedContentLambdaTargetStateParameter]
src/test/foo/test.kt:32: Error: Target state parameter _ is not used [UnusedContentLambdaTargetStateParameter]
) { _ -> if (foo) { /**/ } else { /**/ } }
~
src/foo/test.kt:36: Error: Target state parameter _ is not used [UnusedContentLambdaTargetStateParameter]
src/test/foo/test.kt:36: Error: Target state parameter _ is not used [UnusedContentLambdaTargetStateParameter]
content = { _ -> if (foo) { /**/ } else { /**/ } }
~
src/foo/test.kt:40: Error: Target state parameter it is not used [UnusedContentLambdaTargetStateParameter]
src/test/foo/test.kt:40: Error: Target state parameter it is not used [UnusedContentLambdaTargetStateParameter]
) { if (foo) { /**/ } else { /**/ } }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/foo/test.kt:43: Error: Target state parameter it is not used [UnusedContentLambdaTargetStateParameter]
src/test/foo/test.kt:43: Error: Target state parameter it is not used [UnusedContentLambdaTargetStateParameter]
content = { if (foo) { /**/ } else { /**/ } }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/foo/test.kt:47: Error: Target state parameter param is not used [UnusedContentLambdaTargetStateParameter]
src/test/foo/test.kt:47: Error: Target state parameter param is not used [UnusedContentLambdaTargetStateParameter]
) { param -> if (foo) { /**/ } else { /**/ } }
~~~~~
src/foo/test.kt:50: Error: Target state parameter param is not used [UnusedContentLambdaTargetStateParameter]
src/test/foo/test.kt:50: Error: Target state parameter param is not used [UnusedContentLambdaTargetStateParameter]
content = { param -> if (foo) { /**/ } else { /**/ } }
~~~~~
src/foo/test.kt:54: Error: Target state parameter _ is not used [UnusedContentLambdaTargetStateParameter]
src/test/foo/test.kt:54: Error: Target state parameter _ is not used [UnusedContentLambdaTargetStateParameter]
) { _ -> if (foo) { /**/ } else { /**/ } }
~
src/foo/test.kt:57: Error: Target state parameter _ is not used [UnusedContentLambdaTargetStateParameter]
src/test/foo/test.kt:57: Error: Target state parameter _ is not used [UnusedContentLambdaTargetStateParameter]
content = { _ -> if (foo) { /**/ } else { /**/ } }
~
src/foo/test.kt:13: Error: Target state parameter it is not used [UnusedTargetStateInContentKeyLambda]
src/test/foo/test.kt:13: Error: Target state parameter it is not used [UnusedTargetStateInContentKeyLambda]
contentKey = { if (foo) { /**/ } else { /**/ } }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/foo/test.kt:17: Error: Target state parameter it is not used [UnusedTargetStateInContentKeyLambda]
src/test/foo/test.kt:17: Error: Target state parameter it is not used [UnusedTargetStateInContentKeyLambda]
contentKey = { if (foo) { /**/ } else { /**/ } },
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/foo/test.kt:22: Error: Target state parameter param is not used [UnusedTargetStateInContentKeyLambda]
src/test/foo/test.kt:22: Error: Target state parameter param is not used [UnusedTargetStateInContentKeyLambda]
contentKey = { param -> if (foo) { /**/ } else { /**/ } }
~~~~~
src/foo/test.kt:26: Error: Target state parameter param is not used [UnusedTargetStateInContentKeyLambda]
src/test/foo/test.kt:26: Error: Target state parameter param is not used [UnusedTargetStateInContentKeyLambda]
contentKey = { param -> if (foo) { /**/ } else { /**/ } },
~~~~~
src/foo/test.kt:31: Error: Target state parameter _ is not used [UnusedTargetStateInContentKeyLambda]
src/test/foo/test.kt:31: Error: Target state parameter _ is not used [UnusedTargetStateInContentKeyLambda]
contentKey = { _ -> if (foo) { /**/ } else { /**/ } }
~
src/foo/test.kt:35: Error: Target state parameter _ is not used [UnusedTargetStateInContentKeyLambda]
src/test/foo/test.kt:35: Error: Target state parameter _ is not used [UnusedTargetStateInContentKeyLambda]
contentKey = { _ -> if (foo) { /**/ } else { /**/ } },
~
src/foo/test.kt:39: Error: Target state parameter it is not used [UnusedTargetStateInContentKeyLambda]
src/test/foo/test.kt:39: Error: Target state parameter it is not used [UnusedTargetStateInContentKeyLambda]
contentKey = { if (foo) { /**/ } else { /**/ } }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/foo/test.kt:42: Error: Target state parameter it is not used [UnusedTargetStateInContentKeyLambda]
src/test/foo/test.kt:42: Error: Target state parameter it is not used [UnusedTargetStateInContentKeyLambda]
contentKey = { if (foo) { /**/ } else { /**/ } },
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/foo/test.kt:46: Error: Target state parameter param is not used [UnusedTargetStateInContentKeyLambda]
src/test/foo/test.kt:46: Error: Target state parameter param is not used [UnusedTargetStateInContentKeyLambda]
contentKey = { param -> if (foo) { /**/ } else { /**/ } }
~~~~~
src/foo/test.kt:49: Error: Target state parameter param is not used [UnusedTargetStateInContentKeyLambda]
src/test/foo/test.kt:49: Error: Target state parameter param is not used [UnusedTargetStateInContentKeyLambda]
contentKey = { param -> if (foo) { /**/ } else { /**/ } },
~~~~~
src/foo/test.kt:53: Error: Target state parameter _ is not used [UnusedTargetStateInContentKeyLambda]
src/test/foo/test.kt:53: Error: Target state parameter _ is not used [UnusedTargetStateInContentKeyLambda]
contentKey = { _ -> if (foo) { /**/ } else { /**/ } }
~
src/foo/test.kt:56: Error: Target state parameter _ is not used [UnusedTargetStateInContentKeyLambda]
src/test/foo/test.kt:56: Error: Target state parameter _ is not used [UnusedTargetStateInContentKeyLambda]
contentKey = { _ -> if (foo) { /**/ } else { /**/ } },
~
24 errors, 0 warnings"""
Expand All @@ -406,7 +406,7 @@ src/foo/test.kt:56: Error: Target state parameter _ is not used [UnusedTargetSta
.files(
kotlin(
"""
package foo
package test.foo
import androidx.compose.animation.*
import androidx.compose.runtime.*
Expand Down Expand Up @@ -488,28 +488,28 @@ src/foo/test.kt:56: Error: Target state parameter _ is not used [UnusedTargetSta
)
.run()
.expect(
"""src/foo/test.kt:22: Error: Target state parameter it is not used [UnusedContentLambdaTargetStateParameter]
"""src/test/foo/test.kt:22: Error: Target state parameter it is not used [UnusedContentLambdaTargetStateParameter]
) {
^
src/foo/test.kt:39: Error: Target state parameter param is not used [UnusedContentLambdaTargetStateParameter]
src/test/foo/test.kt:39: Error: Target state parameter param is not used [UnusedContentLambdaTargetStateParameter]
) { param ->
~~~~~
src/foo/test.kt:55: Error: Target state parameter it is not used [UnusedContentLambdaTargetStateParameter]
src/test/foo/test.kt:55: Error: Target state parameter it is not used [UnusedContentLambdaTargetStateParameter]
) {
^
src/foo/test.kt:71: Error: Target state parameter param is not used [UnusedContentLambdaTargetStateParameter]
src/test/foo/test.kt:71: Error: Target state parameter param is not used [UnusedContentLambdaTargetStateParameter]
) { param ->
~~~~~
src/foo/test.kt:15: Error: Target state parameter it is not used [UnusedTargetStateInContentKeyLambda]
src/test/foo/test.kt:15: Error: Target state parameter it is not used [UnusedTargetStateInContentKeyLambda]
contentKey = {
^
src/foo/test.kt:34: Error: Target state parameter param is not used [UnusedTargetStateInContentKeyLambda]
src/test/foo/test.kt:34: Error: Target state parameter param is not used [UnusedTargetStateInContentKeyLambda]
contentKey = { param ->
~~~~~
src/foo/test.kt:48: Error: Target state parameter it is not used [UnusedTargetStateInContentKeyLambda]
src/test/foo/test.kt:48: Error: Target state parameter it is not used [UnusedTargetStateInContentKeyLambda]
contentKey = {
^
src/foo/test.kt:66: Error: Target state parameter param is not used [UnusedTargetStateInContentKeyLambda]
src/test/foo/test.kt:66: Error: Target state parameter param is not used [UnusedTargetStateInContentKeyLambda]
contentKey = { param ->
~~~~~
8 errors, 0 warnings"""
Expand All @@ -522,7 +522,7 @@ src/foo/test.kt:66: Error: Target state parameter param is not used [UnusedTarge
.files(
kotlin(
"""
package foo
package test.foo
import androidx.compose.animation.*
import androidx.compose.runtime.*
Expand Down
Loading

0 comments on commit d2ad96a

Please sign in to comment.