| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 8.4.0-alpha09" type="baseline" client="gradle" dependencies="false" name="AGP (8.4.0-alpha09)" variant="all" version="8.4.0-alpha09"> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(sleepTime)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/input/pointer/AndroidPointerInputTest.kt"/> |
| </issue> |
| |
| <issue |
| id="ExperimentalPropertyAnnotation" |
| message="This property does not have all required annotations to correctly mark it as experimental." |
| errorLine1=" @InternalComposeUiApi" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/platform/ComposeView.android.kt"/> |
| </issue> |
| |
| <issue |
| id="ExperimentalPropertyAnnotation" |
| message="This property does not have all required annotations to correctly mark it as experimental." |
| errorLine1=" @ExperimentalComposeUiApi" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsProperties.kt"/> |
| </issue> |
| |
| <issue |
| id="ExperimentalPropertyAnnotation" |
| message="This property does not have all required annotations to correctly mark it as experimental." |
| errorLine1=" @get:ExperimentalComposeUiApi" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/platform/WindowInfo.kt"/> |
| </issue> |
| |
| <issue |
| id="ExperimentalPropertyAnnotation" |
| message="This property does not have all required annotations to correctly mark it as experimental." |
| errorLine1=" @get:ExperimentalComposeUiApi" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/platform/WindowInfo.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field children with type Map<Integer, AutofillNode>: replace with IntObjectMap" |
| errorLine1=" val children: MutableMap<Int, AutofillNode> = mutableMapOf()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/autofill/AutofillTree.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<Integer, AutofillNode> of getChildren: replace with IntObjectMap" |
| errorLine1=" val children: MutableMap<Int, AutofillNode> = mutableMapOf()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/autofill/AutofillTree.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable deltas with type List<? extends Offset>: replace with LongList" |
| errorLine1=" val deltas = items.fastZipWithNext { el1, el2 ->" |
| errorLine2=" ^"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/platform/accessibility/CollectionInfo.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<LayoutNode, Integer> of getMapOfOriginalDepth: replace with ObjectIntMap" |
| errorLine1=" private val mapOfOriginalDepth by lazy(LazyThreadSafetyMode.NONE) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/node/DepthSortedSet.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<HapticFeedbackType> of values: replace with IntList" |
| errorLine1=" fun values(): List<HapticFeedbackType> = listOf(LongPress, TextHandleMove)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/hapticfeedback/HapticFeedbackType.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field alignmentLineMap with type Map<AlignmentLine, Integer>: replace with ObjectIntMap" |
| errorLine1=" private val alignmentLineMap: MutableMap<AlignmentLine, Int> = hashMapOf()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/node/LayoutNodeAlignmentLines.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<AlignmentLine, Integer> of getLastCalculation: replace with ObjectIntMap" |
| errorLine1=" fun getLastCalculation(): Map<AlignmentLine, Int> = alignmentLineMap" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/node/LayoutNodeAlignmentLines.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<AlignmentLine, Integer> of getAlignmentLinesMap: replace with ObjectIntMap" |
| errorLine1=" protected abstract val NodeCoordinator.alignmentLinesMap: Map<AlignmentLine, Int>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/node/LayoutNodeAlignmentLines.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<AlignmentLine, Integer> of calculateAlignmentLines: replace with ObjectIntMap" |
| errorLine1=" fun calculateAlignmentLines(): Map<AlignmentLine, Int>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/node/LayoutNodeLayoutDelegate.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field oldAlignmentLines with type Map<AlignmentLine, Integer>: replace with ObjectIntMap" |
| errorLine1=" private var oldAlignmentLines: MutableMap<AlignmentLine, Int>? = null" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/node/LookaheadDelegate.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field cachedAlignmentLinesMap with type Map<AlignmentLine, Integer>: replace with ObjectIntMap" |
| errorLine1=" protected val cachedAlignmentLinesMap = mutableMapOf<AlignmentLine, Int>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/node/LookaheadDelegate.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<AlignmentLine, Integer> of getCachedAlignmentLinesMap: replace with ObjectIntMap" |
| errorLine1=" protected val cachedAlignmentLinesMap = mutableMapOf<AlignmentLine, Int>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/node/LookaheadDelegate.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<AlignmentLine, Integer> of getAlignmentLines: replace with ObjectIntMap" |
| errorLine1=" val alignmentLines: Map<AlignmentLine, Int>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/layout/MeasureResult.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method layout has parameter alignmentLines with type Map<AlignmentLine, Integer>: replace with ObjectIntMap" |
| errorLine1=" alignmentLines: Map<AlignmentLine, Int> = emptyMap()," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/layout/MeasureScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field oldAlignmentLines with type Map<AlignmentLine, Integer>: replace with ObjectIntMap" |
| errorLine1=" private var oldAlignmentLines: MutableMap<AlignmentLine, Int>? = null" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/node/NodeCoordinator.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable alignmentLines with type Map<AlignmentLine, ? extends Integer>: replace with ObjectIntMap" |
| errorLine1=" val alignmentLines = coordinator._measureResult?.alignmentLines" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/node/NodeCoordinator.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<Integer, SemanticsNode> of getAllSemanticsNodesToMap: replace with IntObjectMap" |
| errorLine1="): Map<Int, SemanticsNode> {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsOwner.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable nodes with type Map<Integer, SemanticsNode>: replace with IntObjectMap" |
| errorLine1=" val nodes = mutableMapOf<Int, SemanticsNode>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsOwner.kt"/> |
| </issue> |
| |
| </issues> |