blob: 8db6152bd0a5465cf8764a11e65b1937c260b511 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.13.0-alpha01" type="baseline" client="gradle" dependencies="false" name="AGP (8.13.0-alpha01)" variant="all" version="8.13.0-alpha01">
<issue
id="BanThreadSleep"
message="Uses Thread.sleep()"
errorLine1=" Thread.sleep(250)"
errorLine2=" ~~~~~">
<location
file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/ComposeViewAdapterTest.kt"/>
</issue>
<issue
id="BanThreadSleep"
message="Uses Thread.sleep()"
errorLine1=" Thread.sleep(200)"
errorLine2=" ~~~~~">
<location
file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/ComposeViewAdapterTest.kt"/>
</issue>
<issue
id="UnusedContentLambdaTargetStateParameter"
message="Target state parameter `it` is not used"
errorLine1=" rule.addAnimations(search) { AnimatedContent(1.dp) {} }"
errorLine2=" ~~">
<location
file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/animation/clock/TransitionClockTest.kt"/>
</issue>
<issue
id="UnusedContentLambdaTargetStateParameter"
message="Target state parameter `it` is not used"
errorLine1=" rule.addAnimations(search) { AnimatedContent(1.dp) {} }"
errorLine2=" ~~">
<location
file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/animation/clock/TransitionClockTest.kt"/>
</issue>
<issue
id="UnusedContentLambdaTargetStateParameter"
message="Target state parameter `it` is not used"
errorLine1=" rule.addAnimations(search) { AnimatedContent(targetState = 1.dp) {} }"
errorLine2=" ~~">
<location
file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/animation/clock/TransitionClockTest.kt"/>
</issue>
<issue
id="UnusedTransitionTargetStateParameter"
message="Target state parameter `it` is not used"
errorLine1=" ) {"
errorLine2=" ^">
<location
file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/animation/clock/TransitionClockTest.kt"/>
</issue>
<issue
id="UnusedTransitionTargetStateParameter"
message="Target state parameter `it` is not used"
errorLine1=" ) {"
errorLine2=" ^">
<location
file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/animation/clock/TransitionClockTest.kt"/>
</issue>
<issue
id="UnusedTransitionTargetStateParameter"
message="Target state parameter `it` is not used"
errorLine1=" ) {"
errorLine2=" ^">
<location
file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/animation/clock/TransitionClockTest.kt"/>
</issue>
<issue
id="UnusedTransitionTargetStateParameter"
message="Target state parameter `it` is not used"
errorLine1=" ) {"
errorLine2=" ^">
<location
file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/animation/clock/TransitionClockTest.kt"/>
</issue>
<issue
id="UnusedTransitionTargetStateParameter"
message="Target state parameter `it` is not used"
errorLine1=" ) {"
errorLine2=" ^">
<location
file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/animation/clock/TransitionClockTest.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="method setClockTimes has parameter animationTimeMillis with type Map&lt;ComposeAnimation, Long>: replace with ObjectLongMap"
errorLine1=" fun setClockTimes(animationTimeMillis: Map&lt;ComposeAnimation, Long>) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/ui/tooling/animation/PreviewAnimationClock.android.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="field states with type Set&lt;Integer>: replace with IntSet"
errorLine1=" override val states = emptySet&lt;Int>()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/ui/tooling/animation/UnsupportedComposeAnimation.android.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="variable values with type Map&lt;Long, ? extends T>: replace with LongObjectMap"
errorLine1=" val values: Map&lt;Long, T> by lazy {"
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/ui/tooling/animation/clock/Utils.android.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="variable values with type Map&lt;Long, T>: replace with LongObjectMap"
errorLine1=" val values: MutableMap&lt;Long, T> = mutableMapOf()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/ui/tooling/animation/clock/Utils.android.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="variable values with type Map&lt;Long, ? extends T>: replace with LongObjectMap"
errorLine1=" val values: Map&lt;Long, T> by lazy {"
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/ui/tooling/animation/clock/Utils.android.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="variable values with type Map&lt;Long, T>: replace with LongObjectMap"
errorLine1=" val values: MutableMap&lt;Long, T> = mutableMapOf()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/ui/tooling/animation/clock/Utils.android.kt"/>
</issue>
<issue
id="UseOfNonLambdaOffsetOverload"
message="State backed values should use the lambda overload of Modifier.offset"
errorLine1=" Modifier.padding(size).offset(offset.dp).pointerInput(Unit) {"
errorLine2=" ~~~~~~">
<location
file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/TestAnimationPreview.kt"/>
</issue>
<issue
id="UseOfNonLambdaOffsetOverload"
message="State backed values should use the lambda overload of Modifier.offset"
errorLine1=" Modifier.padding(size).offset(offset.dp).pointerInput(Unit) {"
errorLine2=" ~~~~~~">
<location
file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/TestAnimationPreview.kt"/>
</issue>
<issue
id="UseOfNonLambdaOffsetOverload"
message="State backed values should use the lambda overload of Modifier.offset"
errorLine1=" Box(Modifier.offset(offset?.dp ?: 1.dp))"
errorLine2=" ~~~~~~">
<location
file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/TestAnimationPreview.kt"/>
</issue>
</issues>