| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 8.8.0-alpha01" type="baseline" client="gradle" dependencies="false" name="AGP (8.8.0-alpha01)" variant="all" version="8.8.0-alpha01"> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(10)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/test/ComposeUiTest.android.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(10)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/test/android/WindowCapture.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field MouseAsTouchEvents with type List<Integer>: replace with IntList" |
| errorLine1="private val MouseAsTouchEvents = listOf(ACTION_DOWN, ACTION_MOVE, ACTION_UP)" |
| errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/test/AndroidInputDispatcher.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable absoluteHistoricalTimes with type List<? extends Long>: replace with LongList" |
| errorLine1=" val absoluteHistoricalTimes = relativeHistoricalTimes.map { currentTime + it }" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/test/AndroidInputDispatcher.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method enqueueTouchEvent has parameter pointerIds with type List<Integer>: replace with IntList" |
| errorLine1=" pointerIds: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/test/AndroidInputDispatcher.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method enqueueTouchEvent has parameter eventTimes with type List<Long>: replace with LongList" |
| errorLine1=" eventTimes: List<Long>," |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/test/AndroidInputDispatcher.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method enqueueTouchMoves has parameter relativeHistoricalTimes with type List<Long>: replace with LongList" |
| errorLine1=" relativeHistoricalTimes: List<Long>," |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/InputDispatcher.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method enqueueMoves has parameter relativeHistoricalTimes with type List<Long>: replace with LongList" |
| errorLine1=" relativeHistoricalTimes: List<Long>," |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/InputDispatcher.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field lastPositions with type Map<Integer, Offset>: replace with IntLongMap" |
| errorLine1=" val lastPositions = mutableMapOf(Pair(pointerId, startPosition))" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/InputDispatcher.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<Integer, Offset> of getLastPositions: replace with IntLongMap" |
| errorLine1=" val lastPositions = mutableMapOf(Pair(pointerId, startPosition))" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/InputDispatcher.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field pressedButtons with type Set<Integer>: replace with IntSet" |
| errorLine1=" val pressedButtons: MutableSet<Int> = mutableSetOf()" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/InputDispatcher.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Set<Integer> of getPressedButtons: replace with IntSet" |
| errorLine1=" val pressedButtons: MutableSet<Int> = mutableSetOf()" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/InputDispatcher.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field downKeys with type HashSet<Key>: replace with LongSet" |
| errorLine1=" private val downKeys: HashSet<Key> = hashSetOf()" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/InputDispatcher.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method withKeysDown has parameter keys with type List<Key>: replace with LongList" |
| errorLine1="fun KeyInjectionScope.withKeysDown(keys: List<Key>, block: KeyInjectionScope.() -> Unit) {" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/KeyInjectionScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method withKeysToggled has parameter keys with type List<Key>: replace with LongList" |
| errorLine1="fun KeyInjectionScope.withKeysToggled(keys: List<Key>, block: KeyInjectionScope.() -> Unit) {" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/KeyInjectionScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method pressKeys has parameter keys with type List<Key>: replace with LongList" |
| errorLine1="private fun KeyInjectionScope.pressKeys(keys: List<Key>) =" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/KeyInjectionScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field nodeIds with type List<Integer>: replace with IntList" |
| errorLine1=" private var nodeIds: List<Int>? = null" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/SemanticsNodeInteraction.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method moveWithHistoryMultiPointer has parameter relativeHistoricalTimes with type List<Long>: replace with LongList" |
| errorLine1=" relativeHistoricalTimes: List<Long>," |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/TouchInjectionScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method moveWithHistory has parameter relativeHistoricalTimes with type List<Long>: replace with LongList" |
| errorLine1=" relativeHistoricalTimes: List<Long>," |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/TouchInjectionScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method moveWithHistory has parameter historicalCoordinates with type List<Offset>: replace with LongList" |
| errorLine1=" historicalCoordinates: List<Offset>," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/TouchInjectionScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method swipe has parameter keyTimes with type List<Long>: replace with LongList" |
| errorLine1=" keyTimes: List<Long> = emptyList()" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/TouchInjectionScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method multiTouchSwipe has parameter keyTimes with type List<Long>: replace with LongList" |
| errorLine1=" keyTimes: List<Long> = emptyList()" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/test/TouchInjectionScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method isMonotonicBetween has parameter $this$isMonotonicBetween with type List<Float>: replace with FloatList" |
| errorLine1="fun List<Float>.isMonotonicBetween(a: Float, b: Float, tolerance: Float = 1e-3f) {" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/androidCommonTest/kotlin/androidx/compose/ui/test/util/Verifications.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method isMonotonicBetween has parameter $this$isMonotonicBetween with type List<Float>: replace with FloatList" |
| errorLine1="fun List<Float>.isMonotonicBetween(a: Float, b: Float, tolerance: Float = 1e-3f) {" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/androidCommonTest/kotlin/androidx/compose/ui/test/util/Verifications.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method assertSame has parameter $this$assertSame with type List<Float>: replace with FloatList" |
| errorLine1="fun List<Float>.assertSame(tolerance: Float = 0f) {" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/androidCommonTest/kotlin/androidx/compose/ui/test/util/Verifications.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method assertSame has parameter $this$assertSame with type List<Float>: replace with FloatList" |
| errorLine1="fun List<Float>.assertSame(tolerance: Float = 0f) {" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/androidCommonTest/kotlin/androidx/compose/ui/test/util/Verifications.kt"/> |
| </issue> |
| |
| </issues> |