1<?xml version="1.0" encoding="UTF-8"?> 2<issues format="6" by="lint 8.10.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (8.10.0-alpha07)" variant="all" version="8.10.0-alpha07"> 3 4 <issue 5 id="BanThreadSleep" 6 message="Uses Thread.sleep()" 7 errorLine1=" Thread.sleep(250)" 8 errorLine2=" ~~~~~"> 9 <location 10 file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/ComposeViewAdapterTest.kt"/> 11 </issue> 12 13 <issue 14 id="BanThreadSleep" 15 message="Uses Thread.sleep()" 16 errorLine1=" Thread.sleep(200)" 17 errorLine2=" ~~~~~"> 18 <location 19 file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/ComposeViewAdapterTest.kt"/> 20 </issue> 21 22 <issue 23 id="UnusedContentLambdaTargetStateParameter" 24 message="Target state parameter `it` is not used" 25 errorLine1=" rule.addAnimations(search) { AnimatedContent(1.dp) {} }" 26 errorLine2=" ~~"> 27 <location 28 file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/animation/clock/TransitionClockTest.kt"/> 29 </issue> 30 31 <issue 32 id="UnusedContentLambdaTargetStateParameter" 33 message="Target state parameter `it` is not used" 34 errorLine1=" rule.addAnimations(search) { AnimatedContent(1.dp) {} }" 35 errorLine2=" ~~"> 36 <location 37 file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/animation/clock/TransitionClockTest.kt"/> 38 </issue> 39 40 <issue 41 id="UnusedContentLambdaTargetStateParameter" 42 message="Target state parameter `it` is not used" 43 errorLine1=" rule.addAnimations(search) { AnimatedContent(targetState = 1.dp) {} }" 44 errorLine2=" ~~"> 45 <location 46 file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/animation/clock/TransitionClockTest.kt"/> 47 </issue> 48 49 <issue 50 id="UnusedTransitionTargetStateParameter" 51 message="Target state parameter `it` is not used" 52 errorLine1=" ) {" 53 errorLine2=" ^"> 54 <location 55 file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/animation/clock/TransitionClockTest.kt"/> 56 </issue> 57 58 <issue 59 id="UnusedTransitionTargetStateParameter" 60 message="Target state parameter `it` is not used" 61 errorLine1=" ) {" 62 errorLine2=" ^"> 63 <location 64 file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/animation/clock/TransitionClockTest.kt"/> 65 </issue> 66 67 <issue 68 id="UnusedTransitionTargetStateParameter" 69 message="Target state parameter `it` is not used" 70 errorLine1=" ) {" 71 errorLine2=" ^"> 72 <location 73 file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/animation/clock/TransitionClockTest.kt"/> 74 </issue> 75 76 <issue 77 id="UnusedTransitionTargetStateParameter" 78 message="Target state parameter `it` is not used" 79 errorLine1=" ) {" 80 errorLine2=" ^"> 81 <location 82 file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/animation/clock/TransitionClockTest.kt"/> 83 </issue> 84 85 <issue 86 id="UnusedTransitionTargetStateParameter" 87 message="Target state parameter `it` is not used" 88 errorLine1=" ) {" 89 errorLine2=" ^"> 90 <location 91 file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/animation/clock/TransitionClockTest.kt"/> 92 </issue> 93 94 <issue 95 id="PrimitiveInCollection" 96 message="method setClockTimes has parameter animationTimeMillis with type Map<ComposeAnimation, Long>: replace with ObjectLongMap" 97 errorLine1=" fun setClockTimes(animationTimeMillis: Map<ComposeAnimation, Long>) {" 98 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 99 <location 100 file="src/androidMain/kotlin/androidx/compose/ui/tooling/animation/PreviewAnimationClock.android.kt"/> 101 </issue> 102 103 <issue 104 id="PrimitiveInCollection" 105 message="field states with type Set<Integer>: replace with IntSet" 106 errorLine1=" override val states = emptySet<Int>()" 107 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 108 <location 109 file="src/androidMain/kotlin/androidx/compose/ui/tooling/animation/UnsupportedComposeAnimation.android.kt"/> 110 </issue> 111 112 <issue 113 id="PrimitiveInCollection" 114 message="variable values with type Map<Long, ? extends T>: replace with LongObjectMap" 115 errorLine1=" val values: Map<Long, T> by lazy {" 116 errorLine2=" ~~~~~~~~~~~~"> 117 <location 118 file="src/androidMain/kotlin/androidx/compose/ui/tooling/animation/clock/Utils.android.kt"/> 119 </issue> 120 121 <issue 122 id="PrimitiveInCollection" 123 message="variable values with type Map<Long, T>: replace with LongObjectMap" 124 errorLine1=" val values: MutableMap<Long, T> = mutableMapOf()" 125 errorLine2=" ~~~~~~~~~~~~~~~~~~~"> 126 <location 127 file="src/androidMain/kotlin/androidx/compose/ui/tooling/animation/clock/Utils.android.kt"/> 128 </issue> 129 130 <issue 131 id="PrimitiveInCollection" 132 message="variable values with type Map<Long, ? extends T>: replace with LongObjectMap" 133 errorLine1=" val values: Map<Long, T> by lazy {" 134 errorLine2=" ~~~~~~~~~~~~"> 135 <location 136 file="src/androidMain/kotlin/androidx/compose/ui/tooling/animation/clock/Utils.android.kt"/> 137 </issue> 138 139 <issue 140 id="PrimitiveInCollection" 141 message="variable values with type Map<Long, T>: replace with LongObjectMap" 142 errorLine1=" val values: MutableMap<Long, T> = mutableMapOf()" 143 errorLine2=" ~~~~~~~~~~~~~~~~~~~"> 144 <location 145 file="src/androidMain/kotlin/androidx/compose/ui/tooling/animation/clock/Utils.android.kt"/> 146 </issue> 147 148 <issue 149 id="UseOfNonLambdaOffsetOverload" 150 message="State backed values should use the lambda overload of Modifier.offset" 151 errorLine1=" Modifier.padding(size).offset(offset.dp).pointerInput(Unit) {" 152 errorLine2=" ~~~~~~"> 153 <location 154 file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/TestAnimationPreview.kt"/> 155 </issue> 156 157 <issue 158 id="UseOfNonLambdaOffsetOverload" 159 message="State backed values should use the lambda overload of Modifier.offset" 160 errorLine1=" Modifier.padding(size).offset(offset.dp).pointerInput(Unit) {" 161 errorLine2=" ~~~~~~"> 162 <location 163 file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/TestAnimationPreview.kt"/> 164 </issue> 165 166 <issue 167 id="UseOfNonLambdaOffsetOverload" 168 message="State backed values should use the lambda overload of Modifier.offset" 169 errorLine1=" Box(Modifier.offset(offset?.dp ?: 1.dp))" 170 errorLine2=" ~~~~~~"> 171 <location 172 file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/TestAnimationPreview.kt"/> 173 </issue> 174 175</issues> 176