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(300)"
8        errorLine2="                   ~~~~~">
9        <location
10            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/BottomNavigationScreenshotTest.kt"/>
11    </issue>
12
13    <issue
14        id="BanThreadSleep"
15        message="Uses Thread.sleep()"
16        errorLine1="        Thread.sleep(300)"
17        errorLine2="               ~~~~~">
18        <location
19            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/ButtonScreenshotTest.kt"/>
20    </issue>
21
22    <issue
23        id="BanThreadSleep"
24        message="Uses Thread.sleep()"
25        errorLine1="        Thread.sleep(300)"
26        errorLine2="               ~~~~~">
27        <location
28            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/CheckboxScreenshotTest.kt"/>
29    </issue>
30
31    <issue
32        id="BanThreadSleep"
33        message="Uses Thread.sleep()"
34        errorLine1="        Thread.sleep(300)"
35        errorLine2="               ~~~~~">
36        <location
37            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/FloatingActionButtonScreenshotTest.kt"/>
38    </issue>
39
40    <issue
41        id="BanThreadSleep"
42        message="Uses Thread.sleep()"
43        errorLine1="            Thread.sleep(300)"
44        errorLine2="                   ~~~~~">
45        <location
46            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/NavigationRailScreenshotTest.kt"/>
47    </issue>
48
49    <issue
50        id="BanThreadSleep"
51        message="Uses Thread.sleep()"
52        errorLine1="    Thread.sleep(1)"
53        errorLine2="           ~~~~~">
54        <location
55            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/ObservableThemeTest.kt"/>
56    </issue>
57
58    <issue
59        id="BanThreadSleep"
60        message="Uses Thread.sleep()"
61        errorLine1="        Thread.sleep(300)"
62        errorLine2="               ~~~~~">
63        <location
64            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/RadioButtonScreenshotTest.kt"/>
65    </issue>
66
67    <issue
68        id="BanThreadSleep"
69        message="Uses Thread.sleep()"
70        errorLine1="        Thread.sleep(300)"
71        errorLine2="               ~~~~~">
72        <location
73            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/RadioButtonScreenshotTest.kt"/>
74    </issue>
75
76    <issue
77        id="BanThreadSleep"
78        message="Uses Thread.sleep()"
79        errorLine1="        Thread.sleep(300)"
80        errorLine2="               ~~~~~">
81        <location
82            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/RadioButtonScreenshotTest.kt"/>
83    </issue>
84
85    <issue
86        id="BanThreadSleep"
87        message="Uses Thread.sleep()"
88        errorLine1="        Thread.sleep(300)"
89        errorLine2="               ~~~~~">
90        <location
91            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/SwitchScreenshotTest.kt"/>
92    </issue>
93
94    <issue
95        id="BanThreadSleep"
96        message="Uses Thread.sleep()"
97        errorLine1="        Thread.sleep(300)"
98        errorLine2="               ~~~~~">
99        <location
100            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/SwitchScreenshotTest.kt"/>
101    </issue>
102
103    <issue
104        id="BanThreadSleep"
105        message="Uses Thread.sleep()"
106        errorLine1="        Thread.sleep(300)"
107        errorLine2="               ~~~~~">
108        <location
109            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/SwitchScreenshotTest.kt"/>
110    </issue>
111
112    <issue
113        id="BanThreadSleep"
114        message="Uses Thread.sleep()"
115        errorLine1="            Thread.sleep(300)"
116        errorLine2="                   ~~~~~">
117        <location
118            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/TabScreenshotTest.kt"/>
119    </issue>
120
121    <issue
122        id="UnusedMaterialScaffoldPaddingParameter"
123        message="Content padding parameter it is not used"
124        errorLine1="                Scaffold { Text(&quot;Scaffold body&quot;) }"
125        errorLine2="                         ~~~~~~~~~~~~~~~~~~~~~~~~~">
126        <location
127            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/>
128    </issue>
129
130    <issue
131        id="UnusedMaterialScaffoldPaddingParameter"
132        message="Content padding parameter it is not used"
133        errorLine1="            Scaffold {"
134        errorLine2="                     ^">
135        <location
136            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/>
137    </issue>
138
139    <issue
140        id="UnusedMaterialScaffoldPaddingParameter"
141        message="Content padding parameter it is not used"
142        errorLine1="            ) {"
143        errorLine2="              ^">
144        <location
145            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/>
146    </issue>
147
148    <issue
149        id="UnusedMaterialScaffoldPaddingParameter"
150        message="Content padding parameter it is not used"
151        errorLine1="            ) {"
152        errorLine2="              ^">
153        <location
154            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/>
155    </issue>
156
157    <issue
158        id="UnusedMaterialScaffoldPaddingParameter"
159        message="Content padding parameter it is not used"
160        errorLine1="                ) {"
161        errorLine2="                  ^">
162        <location
163            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/>
164    </issue>
165
166    <issue
167        id="UnusedMaterialScaffoldPaddingParameter"
168        message="Content padding parameter it is not used"
169        errorLine1="                ) {"
170        errorLine2="                  ^">
171        <location
172            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/>
173    </issue>
174
175    <issue
176        id="UnusedMaterialScaffoldPaddingParameter"
177        message="Content padding parameter it is not used"
178        errorLine1="            ) {"
179        errorLine2="              ^">
180        <location
181            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/>
182    </issue>
183
184    <issue
185        id="UnusedMaterialScaffoldPaddingParameter"
186        message="Content padding parameter it is not used"
187        errorLine1="            ) {"
188        errorLine2="              ^">
189        <location
190            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/>
191    </issue>
192
193    <issue
194        id="UnusedMaterialScaffoldPaddingParameter"
195        message="Content padding parameter it is not used"
196        errorLine1="            ) {"
197        errorLine2="              ^">
198        <location
199            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/>
200    </issue>
201
202    <issue
203        id="UnusedMaterialScaffoldPaddingParameter"
204        message="Content padding parameter it is not used"
205        errorLine1="                ) {"
206        errorLine2="                  ^">
207        <location
208            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/>
209    </issue>
210
211    <issue
212        id="UnusedMaterialScaffoldPaddingParameter"
213        message="Content padding parameter it is not used"
214        errorLine1="            ) {"
215        errorLine2="              ^">
216        <location
217            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/>
218    </issue>
219
220    <issue
221        id="UnusedMaterialScaffoldPaddingParameter"
222        message="Content padding parameter it is not used"
223        errorLine1="            ) {"
224        errorLine2="              ^">
225        <location
226            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/>
227    </issue>
228
229    <issue
230        id="UnusedMaterialScaffoldPaddingParameter"
231        message="Content padding parameter it is not used"
232        errorLine1="                ) {"
233        errorLine2="                  ^">
234        <location
235            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/>
236    </issue>
237
238    <issue
239        id="UnusedMaterialScaffoldPaddingParameter"
240        message="Content padding parameter it is not used"
241        errorLine1="                ) {"
242        errorLine2="                  ^">
243        <location
244            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/>
245    </issue>
246
247    <issue
248        id="UnusedMaterialScaffoldPaddingParameter"
249        message="Content padding parameter it is not used"
250        errorLine1="                Scaffold {"
251        errorLine2="                         ^">
252        <location
253            file="src/androidInstrumentedTest/kotlin/androidx/compose/material/ScaffoldTest.kt"/>
254    </issue>
255
256    <issue
257        id="PrimitiveInCollection"
258        message="variable crossAxisSizes with type List&lt;Integer>: replace with IntList"
259        errorLine1="        val crossAxisSizes = mutableListOf&lt;Int>()"
260        errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
261        <location
262            file="src/commonMain/kotlin/androidx/compose/material/AlertDialog.kt"/>
263    </issue>
264
265    <issue
266        id="PrimitiveInCollection"
267        message="variable crossAxisPositions with type List&lt;Integer>: replace with IntList"
268        errorLine1="        val crossAxisPositions = mutableListOf&lt;Int>()"
269        errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
270        <location
271            file="src/commonMain/kotlin/androidx/compose/material/AlertDialog.kt"/>
272    </issue>
273
274    <issue
275        id="PrimitiveInCollection"
276        message="field anchors with type Map&lt;T, Float>: replace with ObjectFloatMap"
277        errorLine1="    internal val anchors = mutableMapOf&lt;T, Float>()"
278        errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
279        <location
280            file="src/commonMain/kotlin/androidx/compose/material/AnchoredDraggable.kt"/>
281    </issue>
282
283    <issue
284        id="PrimitiveInCollection"
285        message="return type Map&lt;T, Float> of getAnchors$material: replace with ObjectFloatMap"
286        errorLine1="    internal val anchors = mutableMapOf&lt;T, Float>()"
287        errorLine2="                 ~~~~~~~">
288        <location
289            file="src/commonMain/kotlin/androidx/compose/material/AnchoredDraggable.kt"/>
290    </issue>
291
292    <issue
293        id="PrimitiveInCollection"
294        message="constructor MapDraggableAnchors has parameter anchors with type Map&lt;T, Float>: replace with ObjectFloatMap"
295        errorLine1="private class MapDraggableAnchors&lt;T>(private val anchors: Map&lt;T, Float>) : DraggableAnchors&lt;T> {"
296        errorLine2="                                                          ~~~~~~~~~~~~~">
297        <location
298            file="src/commonMain/kotlin/androidx/compose/material/AnchoredDraggable.kt"/>
299    </issue>
300
301    <issue
302        id="PrimitiveInCollection"
303        message="field anchors with type Map&lt;T, Float>: replace with ObjectFloatMap"
304        errorLine1="private class MapDraggableAnchors&lt;T>(private val anchors: Map&lt;T, Float>) : DraggableAnchors&lt;T> {"
305        errorLine2="                                                          ~~~~~~~~~~~~~">
306        <location
307            file="src/commonMain/kotlin/androidx/compose/material/AnchoredDraggable.kt"/>
308    </issue>
309
310    <issue
311        id="PrimitiveInCollection"
312        message="method BaselinesOffsetColumn has parameter offsets with type List&lt;Dp>: replace with FloatList"
313        errorLine1="    offsets: List&lt;Dp>,"
314        errorLine2="             ~~~~~~~~">
315        <location
316            file="src/commonMain/kotlin/androidx/compose/material/ListItem.kt"/>
317    </issue>
318
319    <issue
320        id="PrimitiveInCollection"
321        message="variable tickFractions with type List&lt;? extends Float>: replace with FloatList"
322        errorLine1="    val tickFractions = remember(steps) { stepsToTickFractions(steps) }"
323        errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
324        <location
325            file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
326    </issue>
327
328    <issue
329        id="PrimitiveInCollection"
330        message="variable tickFractions with type List&lt;? extends Float>: replace with FloatList"
331        errorLine1="    val tickFractions = remember(steps) { stepsToTickFractions(steps) }"
332        errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
333        <location
334            file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
335    </issue>
336
337    <issue
338        id="PrimitiveInCollection"
339        message="method SliderImpl has parameter tickFractions with type List&lt;Float>: replace with FloatList"
340        errorLine1="    tickFractions: List&lt;Float>,"
341        errorLine2="                   ~~~~~~~~~~~">
342        <location
343            file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
344    </issue>
345
346    <issue
347        id="PrimitiveInCollection"
348        message="method RangeSliderImpl has parameter tickFractions with type List&lt;Float>: replace with FloatList"
349        errorLine1="    tickFractions: List&lt;Float>,"
350        errorLine2="                   ~~~~~~~~~~~">
351        <location
352            file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
353    </issue>
354
355    <issue
356        id="PrimitiveInCollection"
357        message="method Track has parameter tickFractions with type List&lt;Float>: replace with FloatList"
358        errorLine1="    tickFractions: List&lt;Float>,"
359        errorLine2="                   ~~~~~~~~~~~">
360        <location
361            file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
362    </issue>
363
364    <issue
365        id="PrimitiveInCollection"
366        message="method snapValueToTick has parameter tickFractions with type List&lt;Float>: replace with FloatList"
367        errorLine1="    tickFractions: List&lt;Float>,"
368        errorLine2="                   ~~~~~~~~~~~">
369        <location
370            file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
371    </issue>
372
373    <issue
374        id="PrimitiveInCollection"
375        message="return type List&lt;Float> of stepsToTickFractions: replace with FloatList"
376        errorLine1="private fun stepsToTickFractions(steps: Int): List&lt;Float> {"
377        errorLine2="                                              ~~~~~~~~~~~">
378        <location
379            file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
380    </issue>
381
382    <issue
383        id="PrimitiveInCollection"
384        message="variable anchors with type Map&lt;Float, DismissValue>: replace with FloatObjectMap"
385        errorLine1="        val anchors = mutableMapOf(0f to Default)"
386        errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
387        <location
388            file="src/commonMain/kotlin/androidx/compose/material/SwipeToDismiss.kt"/>
389    </issue>
390
391    <issue
392        id="PrimitiveInCollection"
393        message="method setAnchors$material has parameter anchors with type Map&lt;Float, ? extends T>: replace with FloatObjectMap"
394        errorLine1="    internal var anchors by mutableStateOf(emptyMap&lt;Float, T>())"
395        errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
396        <location
397            file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
398    </issue>
399
400    <issue
401        id="PrimitiveInCollection"
402        message="return type Map&lt;Float, T> of getAnchors$material: replace with FloatObjectMap"
403        errorLine1="    internal var anchors by mutableStateOf(emptyMap&lt;Float, T>())"
404        errorLine2="                 ~~~~~~~">
405        <location
406            file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
407    </issue>
408
409    <issue
410        id="PrimitiveInCollection"
411        message="method ensureInit$material has parameter newAnchors with type Map&lt;Float, ? extends T>: replace with FloatObjectMap"
412        errorLine1="    internal fun ensureInit(newAnchors: Map&lt;Float, T>) {"
413        errorLine2="                                        ~~~~~~~~~~~~~">
414        <location
415            file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
416    </issue>
417
418    <issue
419        id="PrimitiveInCollection"
420        message="method processNewAnchors$material has parameter newAnchors with type Map&lt;Float, ? extends T>: replace with FloatObjectMap"
421        errorLine1="    internal suspend fun processNewAnchors(oldAnchors: Map&lt;Float, T>, newAnchors: Map&lt;Float, T>) {"
422        errorLine2="                                                                                  ~~~~~~~~~~~~~">
423        <location
424            file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
425    </issue>
426
427    <issue
428        id="PrimitiveInCollection"
429        message="method processNewAnchors$material has parameter oldAnchors with type Map&lt;Float, ? extends T>: replace with FloatObjectMap"
430        errorLine1="    internal suspend fun processNewAnchors(oldAnchors: Map&lt;Float, T>, newAnchors: Map&lt;Float, T>) {"
431        errorLine2="                                                       ~~~~~~~~~~~~~">
432        <location
433            file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
434    </issue>
435
436    <issue
437        id="PrimitiveInCollection"
438        message="variable bounds with type List&lt;? extends Float>: replace with FloatList"
439        errorLine1="            val bounds = findBounds(offset.value, anchors.keys)"
440        errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
441        <location
442            file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
443    </issue>
444
445    <issue
446        id="PrimitiveInCollection"
447        message="method swipeable has parameter anchors with type Map&lt;Float, ? extends T>: replace with FloatObjectMap"
448        errorLine1="    anchors: Map&lt;Float, T>,"
449        errorLine2="             ~~~~~~~~~~~~~">
450        <location
451            file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
452    </issue>
453
454    <issue
455        id="PrimitiveInCollection"
456        message="variable oldAnchors with type Map&lt;Float, ? extends T>: replace with FloatObjectMap"
457        errorLine1="            val oldAnchors = state.anchors"
458        errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
459        <location
460            file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
461    </issue>
462
463    <issue
464        id="PrimitiveInCollection"
465        message="method findBounds has parameter anchors with type Set&lt;Float>: replace with FloatSet"
466        errorLine1="private fun findBounds(offset: Float, anchors: Set&lt;Float>): List&lt;Float> {"
467        errorLine2="                                               ~~~~~~~~~~">
468        <location
469            file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
470    </issue>
471
472    <issue
473        id="PrimitiveInCollection"
474        message="return type List&lt;Float> of findBounds: replace with FloatList"
475        errorLine1="private fun findBounds(offset: Float, anchors: Set&lt;Float>): List&lt;Float> {"
476        errorLine2="                                                            ~~~~~~~~~~~">
477        <location
478            file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
479    </issue>
480
481    <issue
482        id="PrimitiveInCollection"
483        message="method computeTarget has parameter anchors with type Set&lt;Float>: replace with FloatSet"
484        errorLine1="    anchors: Set&lt;Float>,"
485        errorLine2="             ~~~~~~~~~~">
486        <location
487            file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
488    </issue>
489
490    <issue
491        id="PrimitiveInCollection"
492        message="variable bounds with type List&lt;? extends Float>: replace with FloatList"
493        errorLine1="    val bounds = findBounds(offset, anchors)"
494        errorLine2="    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
495        <location
496            file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
497    </issue>
498
499    <issue
500        id="PrimitiveInCollection"
501        message="method getOffset has parameter $this$getOffset with type Map&lt;Float, ? extends T>: replace with FloatObjectMap"
502        errorLine1="private fun &lt;T> Map&lt;Float, T>.getOffset(state: T): Float? {"
503        errorLine2="                ~~~~~~~~~~~~~">
504        <location
505            file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
506    </issue>
507
508    <issue
509        id="PrimitiveInCollection"
510        message="method resistanceConfig has parameter anchors with type Set&lt;Float>: replace with FloatSet"
511        errorLine1="        anchors: Set&lt;Float>,"
512        errorLine2="                 ~~~~~~~~~~">
513        <location
514            file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
515    </issue>
516
517</issues>
518