1<?xml version="1.0" encoding="UTF-8"?> 2<issues format="6" by="lint 8.10.0-alpha04" type="baseline" client="gradle" dependencies="false" name="AGP (8.10.0-alpha04)" variant="all" version="8.10.0-alpha04"> 3 4 <issue 5 id="BanInlineOptIn" 6 message="Inline functions cannot opt into experimental APIs." 7 errorLine1="inline fun ConstraintLayout(" 8 errorLine2=" ~~~~~~~~~~~~~~~~"> 9 <location 10 file="src/androidMain/kotlin/androidx/constraintlayout/compose/ConstraintLayout.kt"/> 11 </issue> 12 13 <issue 14 id="BanInlineOptIn" 15 message="Inline functions cannot opt into experimental APIs." 16 errorLine1="inline fun <T> MotionCarouselScope.itemsWithProperties(" 17 errorLine2=" ~~~~~~~~~~~~~~~~~~~"> 18 <location 19 file="src/androidMain/kotlin/androidx/constraintlayout/compose/MotionCarousel.kt"/> 20 </issue> 21 22 <issue 23 id="ComposableLambdaParameterNaming" 24 message="Composable lambda parameter should be named `content`" 25 errorLine1="fun ItemHolder(i: Int, slotPrefix: String, showSlot: Boolean, function: @Composable () -> Unit) {" 26 errorLine2=" ~~~~~~~~"> 27 <location 28 file="src/androidMain/kotlin/androidx/constraintlayout/compose/MotionCarousel.kt"/> 29 </issue> 30 31 <issue 32 id="ComposableNaming" 33 message="Composable functions that return Unit should start with an uppercase letter" 34 errorLine1=" fun BoxScope.drawDebugBounds(forcedScaleFactor: Float) {" 35 errorLine2=" ~~~~~~~~~~~~~~~"> 36 <location 37 file="src/androidMain/kotlin/androidx/constraintlayout/compose/ConstraintLayout.kt"/> 38 </issue> 39 40 <issue 41 id="ComposableNaming" 42 message="Composable functions that return Unit should start with an uppercase letter" 43 errorLine1=" fun createDesignElements() {" 44 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 45 <location 46 file="src/androidMain/kotlin/androidx/constraintlayout/compose/ConstraintLayout.kt"/> 47 </issue> 48 49 <issue 50 id="ComposableNaming" 51 message="Composable functions that return Unit should start with an uppercase letter" 52 errorLine1=" private fun gridComposableGapTest(" 53 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 54 <location 55 file="src/androidInstrumentedTest/kotlin/androidx/constraintlayout/compose/GridDslTest.kt"/> 56 </issue> 57 58 <issue 59 id="ComposableNaming" 60 message="Composable functions that return Unit should start with an uppercase letter" 61 errorLine1=" private fun gridComposableTest(" 62 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 63 <location 64 file="src/androidInstrumentedTest/kotlin/androidx/constraintlayout/compose/GridTest.kt"/> 65 </issue> 66 67 <issue 68 id="ComposableNaming" 69 message="Composable functions that return Unit should start with an uppercase letter" 70 errorLine1=" private fun gridComposableGapTest(" 71 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 72 <location 73 file="src/androidInstrumentedTest/kotlin/androidx/constraintlayout/compose/GridTest.kt"/> 74 </issue> 75 76 <issue 77 id="PrimitiveInCollection" 78 message="method setAnchors$constraintlayout_compose has parameter anchors with type Map<Float, ? extends T>: replace with FloatObjectMap" 79 errorLine1=" internal var anchors by mutableStateOf(emptyMap<Float, T>())" 80 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 81 <location 82 file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> 83 </issue> 84 85 <issue 86 id="PrimitiveInCollection" 87 message="return type Map<Float, T> of getAnchors$constraintlayout_compose: replace with FloatObjectMap" 88 errorLine1=" internal var anchors by mutableStateOf(emptyMap<Float, T>())" 89 errorLine2=" ~~~~~~~"> 90 <location 91 file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> 92 </issue> 93 94 <issue 95 id="PrimitiveInCollection" 96 message="method ensureInit$constraintlayout_compose has parameter newAnchors with type Map<Float, ? extends T>: replace with FloatObjectMap" 97 errorLine1=" internal fun ensureInit(newAnchors: Map<Float, T>) {" 98 errorLine2=" ~~~~~~~~~~~~~"> 99 <location 100 file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> 101 </issue> 102 103 <issue 104 id="PrimitiveInCollection" 105 message="method processNewAnchors$constraintlayout_compose has parameter newAnchors with type Map<Float, ? extends T>: replace with FloatObjectMap" 106 errorLine1=" internal suspend fun processNewAnchors(oldAnchors: Map<Float, T>, newAnchors: Map<Float, T>) {" 107 errorLine2=" ~~~~~~~~~~~~~"> 108 <location 109 file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> 110 </issue> 111 112 <issue 113 id="PrimitiveInCollection" 114 message="method processNewAnchors$constraintlayout_compose has parameter oldAnchors with type Map<Float, ? extends T>: replace with FloatObjectMap" 115 errorLine1=" internal suspend fun processNewAnchors(oldAnchors: Map<Float, T>, newAnchors: Map<Float, T>) {" 116 errorLine2=" ~~~~~~~~~~~~~"> 117 <location 118 file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> 119 </issue> 120 121 <issue 122 id="PrimitiveInCollection" 123 message="variable bounds with type List<? extends Float>: replace with FloatList" 124 errorLine1=" val bounds = findBounds(offset.floatValue, anchors.keys)" 125 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 126 <location 127 file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> 128 </issue> 129 130 <issue 131 id="PrimitiveInCollection" 132 message="method carouselSwipeable has parameter anchors with type Map<Float, ? extends T>: replace with FloatObjectMap" 133 errorLine1=" anchors: Map<Float, T>," 134 errorLine2=" ~~~~~~~~~~~~~"> 135 <location 136 file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> 137 </issue> 138 139 <issue 140 id="PrimitiveInCollection" 141 message="variable oldAnchors with type Map<Float, ? extends T>: replace with FloatObjectMap" 142 errorLine1=" val oldAnchors = state.anchors" 143 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 144 <location 145 file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> 146 </issue> 147 148 <issue 149 id="PrimitiveInCollection" 150 message="method findBounds has parameter anchors with type Set<Float>: replace with FloatSet" 151 errorLine1="private fun findBounds(offset: Float, anchors: Set<Float>): List<Float> {" 152 errorLine2=" ~~~~~~~~~~"> 153 <location 154 file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> 155 </issue> 156 157 <issue 158 id="PrimitiveInCollection" 159 message="return type List<Float> of findBounds: replace with FloatList" 160 errorLine1="private fun findBounds(offset: Float, anchors: Set<Float>): List<Float> {" 161 errorLine2=" ~~~~~~~~~~~"> 162 <location 163 file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> 164 </issue> 165 166 <issue 167 id="PrimitiveInCollection" 168 message="method computeTarget has parameter anchors with type Set<Float>: replace with FloatSet" 169 errorLine1=" anchors: Set<Float>," 170 errorLine2=" ~~~~~~~~~~"> 171 <location 172 file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> 173 </issue> 174 175 <issue 176 id="PrimitiveInCollection" 177 message="variable bounds with type List<? extends Float>: replace with FloatList" 178 errorLine1=" val bounds = findBounds(offset, anchors)" 179 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 180 <location 181 file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> 182 </issue> 183 184 <issue 185 id="PrimitiveInCollection" 186 message="method getOffset has parameter $this$getOffset with type Map<Float, ? extends T>: replace with FloatObjectMap" 187 errorLine1="private fun <T> Map<Float, T>.getOffset(state: T): Float? {" 188 errorLine2=" ~~~~~~~~~~~~~"> 189 <location 190 file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> 191 </issue> 192 193 <issue 194 id="PrimitiveInCollection" 195 message="method resistanceConfig has parameter anchors with type Set<Float>: replace with FloatSet" 196 errorLine1=" anchors: Set<Float>," 197 errorLine2=" ~~~~~~~~~~"> 198 <location 199 file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> 200 </issue> 201 202 <issue 203 id="PrimitiveInCollection" 204 message="field overridedVariables with type HashMap<String, Float>: replace with ObjectFloatMap" 205 errorLine1=" private val overridedVariables = HashMap<String, Float>()" 206 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 207 <location 208 file="src/androidMain/kotlin/androidx/constraintlayout/compose/JSONConstraintSet.kt"/> 209 </issue> 210 211 <issue 212 id="PrimitiveInCollection" 213 message="variable anchors with type Map<Float, ? extends String>: replace with FloatObjectMap" 214 errorLine1=" val anchors =" 215 errorLine2=" ^"> 216 <location 217 file="src/androidMain/kotlin/androidx/constraintlayout/compose/MotionCarousel.kt"/> 218 </issue> 219 220</issues> 221