1<?xml version="1.0" encoding="UTF-8"?> 2<issues format="6" by="lint 8.9.0-alpha06" type="baseline" client="gradle" dependencies="false" name="AGP (8.9.0-alpha06)" variant="all" version="8.9.0-alpha06"> 3 4 <issue 5 id="NewApi" 6 message="Call requires API level 23 (current min is 21): `android.view.View#setForeground`" 7 errorLine1=" foreground = GraphicsContextHostDrawable(graphicsContext, block)" 8 errorLine2=" ~"> 9 <location 10 file="src/androidInstrumentedTest/kotlin/androidx/compose/ui/graphics/layer/AndroidGraphicsLayerTest.kt"/> 11 </issue> 12 13 <issue 14 id="PrimitiveInCollection" 15 message="method drawPoints has parameter points with type List<Offset>: replace with LongList" 16 errorLine1=" override fun drawPoints(pointMode: PointMode, points: List<Offset>, paint: Paint) {" 17 errorLine2=" ~~~~~~~~~~~~"> 18 <location 19 file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidCanvas.android.kt"/> 20 </issue> 21 22 <issue 23 id="PrimitiveInCollection" 24 message="method drawPoints has parameter points with type List<Offset>: replace with LongList" 25 errorLine1=" private fun drawPoints(points: List<Offset>, paint: Paint) {" 26 errorLine2=" ~~~~~~~~~~~~"> 27 <location 28 file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidCanvas.android.kt"/> 29 </issue> 30 31 <issue 32 id="PrimitiveInCollection" 33 message="method drawLines has parameter points with type List<Offset>: replace with LongList" 34 errorLine1=" private fun drawLines(points: List<Offset>, paint: Paint, stepBy: Int) {" 35 errorLine2=" ~~~~~~~~~~~~"> 36 <location 37 file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidCanvas.android.kt"/> 38 </issue> 39 40 <issue 41 id="PrimitiveInCollection" 42 message="method ActualLinearGradientShader has parameter colors with type List<Color>: replace with LongList" 43 errorLine1=" colors: List<Color>," 44 errorLine2=" ~~~~~~~~~~~"> 45 <location 46 file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> 47 </issue> 48 49 <issue 50 id="PrimitiveInCollection" 51 message="method ActualLinearGradientShader has parameter colorStops with type List<Float>: replace with FloatList" 52 errorLine1=" colorStops: List<Float>?," 53 errorLine2=" ~~~~~~~~~~~~"> 54 <location 55 file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> 56 </issue> 57 58 <issue 59 id="PrimitiveInCollection" 60 message="method ActualRadialGradientShader has parameter colors with type List<Color>: replace with LongList" 61 errorLine1=" colors: List<Color>," 62 errorLine2=" ~~~~~~~~~~~"> 63 <location 64 file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> 65 </issue> 66 67 <issue 68 id="PrimitiveInCollection" 69 message="method ActualRadialGradientShader has parameter colorStops with type List<Float>: replace with FloatList" 70 errorLine1=" colorStops: List<Float>?," 71 errorLine2=" ~~~~~~~~~~~~"> 72 <location 73 file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> 74 </issue> 75 76 <issue 77 id="PrimitiveInCollection" 78 message="method ActualSweepGradientShader has parameter colors with type List<Color>: replace with LongList" 79 errorLine1=" colors: List<Color>," 80 errorLine2=" ~~~~~~~~~~~"> 81 <location 82 file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> 83 </issue> 84 85 <issue 86 id="PrimitiveInCollection" 87 message="method ActualSweepGradientShader has parameter colorStops with type List<Float>: replace with FloatList" 88 errorLine1=" colorStops: List<Float>?" 89 errorLine2=" ~~~~~~~~~~~~"> 90 <location 91 file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> 92 </issue> 93 94 <issue 95 id="PrimitiveInCollection" 96 message="method countTransparentColors has parameter colors with type List<Color>: replace with LongList" 97 errorLine1="internal fun countTransparentColors(colors: List<Color>): Int {" 98 errorLine2=" ~~~~~~~~~~~"> 99 <location 100 file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> 101 </issue> 102 103 <issue 104 id="PrimitiveInCollection" 105 message="method makeTransparentColors has parameter colors with type List<Color>: replace with LongList" 106 errorLine1="internal fun makeTransparentColors(colors: List<Color>, numTransparentColors: Int): IntArray {" 107 errorLine2=" ~~~~~~~~~~~"> 108 <location 109 file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> 110 </issue> 111 112 <issue 113 id="PrimitiveInCollection" 114 message="method makeTransparentStops has parameter stops with type List<Float>: replace with FloatList" 115 errorLine1=" stops: List<Float>?," 116 errorLine2=" ~~~~~~~~~~~~"> 117 <location 118 file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> 119 </issue> 120 121 <issue 122 id="PrimitiveInCollection" 123 message="method makeTransparentStops has parameter colors with type List<Color>: replace with LongList" 124 errorLine1=" colors: List<Color>," 125 errorLine2=" ~~~~~~~~~~~"> 126 <location 127 file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> 128 </issue> 129 130 <issue 131 id="PrimitiveInCollection" 132 message="method validateColorStops has parameter colorStops with type List<Float>: replace with FloatList" 133 errorLine1="private fun validateColorStops(colors: List<Color>, colorStops: List<Float>?) {" 134 errorLine2=" ~~~~~~~~~~~~"> 135 <location 136 file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> 137 </issue> 138 139 <issue 140 id="PrimitiveInCollection" 141 message="method validateColorStops has parameter colors with type List<Color>: replace with LongList" 142 errorLine1="private fun validateColorStops(colors: List<Color>, colorStops: List<Float>?) {" 143 errorLine2=" ~~~~~~~~~~~"> 144 <location 145 file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> 146 </issue> 147 148 <issue 149 id="PrimitiveInCollection" 150 message="method linearGradient has parameter colors with type List<Color>: replace with LongList" 151 errorLine1=" colors: List<Color>," 152 errorLine2=" ~~~~~~~~~~~"> 153 <location 154 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> 155 </issue> 156 157 <issue 158 id="PrimitiveInCollection" 159 message="method horizontalGradient has parameter colors with type List<Color>: replace with LongList" 160 errorLine1=" colors: List<Color>," 161 errorLine2=" ~~~~~~~~~~~"> 162 <location 163 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> 164 </issue> 165 166 <issue 167 id="PrimitiveInCollection" 168 message="method verticalGradient has parameter colors with type List<Color>: replace with LongList" 169 errorLine1=" colors: List<Color>," 170 errorLine2=" ~~~~~~~~~~~"> 171 <location 172 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> 173 </issue> 174 175 <issue 176 id="PrimitiveInCollection" 177 message="method radialGradient has parameter colors with type List<Color>: replace with LongList" 178 errorLine1=" colors: List<Color>," 179 errorLine2=" ~~~~~~~~~~~"> 180 <location 181 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> 182 </issue> 183 184 <issue 185 id="PrimitiveInCollection" 186 message="method sweepGradient has parameter colors with type List<Color>: replace with LongList" 187 errorLine1=" fun sweepGradient(colors: List<Color>, center: Offset = Offset.Unspecified): Brush =" 188 errorLine2=" ~~~~~~~~~~~"> 189 <location 190 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> 191 </issue> 192 193 <issue 194 id="PrimitiveInCollection" 195 message="constructor LinearGradient has parameter colors with type List<Color>: replace with LongList" 196 errorLine1=" private val colors: List<Color>," 197 errorLine2=" ~~~~~~~~~~~"> 198 <location 199 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> 200 </issue> 201 202 <issue 203 id="PrimitiveInCollection" 204 message="field colors with type List<Color>: replace with LongList" 205 errorLine1=" private val colors: List<Color>," 206 errorLine2=" ~~~~~~~~~~~"> 207 <location 208 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> 209 </issue> 210 211 <issue 212 id="PrimitiveInCollection" 213 message="constructor LinearGradient has parameter stops with type List<Float>: replace with FloatList" 214 errorLine1=" private val stops: List<Float>? = null," 215 errorLine2=" ~~~~~~~~~~~~"> 216 <location 217 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> 218 </issue> 219 220 <issue 221 id="PrimitiveInCollection" 222 message="field stops with type List<Float>: replace with FloatList" 223 errorLine1=" private val stops: List<Float>? = null," 224 errorLine2=" ~~~~~~~~~~~~"> 225 <location 226 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> 227 </issue> 228 229 <issue 230 id="PrimitiveInCollection" 231 message="constructor RadialGradient has parameter colors with type List<Color>: replace with LongList" 232 errorLine1=" private val colors: List<Color>," 233 errorLine2=" ~~~~~~~~~~~"> 234 <location 235 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> 236 </issue> 237 238 <issue 239 id="PrimitiveInCollection" 240 message="field colors with type List<Color>: replace with LongList" 241 errorLine1=" private val colors: List<Color>," 242 errorLine2=" ~~~~~~~~~~~"> 243 <location 244 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> 245 </issue> 246 247 <issue 248 id="PrimitiveInCollection" 249 message="constructor RadialGradient has parameter stops with type List<Float>: replace with FloatList" 250 errorLine1=" private val stops: List<Float>? = null," 251 errorLine2=" ~~~~~~~~~~~~"> 252 <location 253 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> 254 </issue> 255 256 <issue 257 id="PrimitiveInCollection" 258 message="field stops with type List<Float>: replace with FloatList" 259 errorLine1=" private val stops: List<Float>? = null," 260 errorLine2=" ~~~~~~~~~~~~"> 261 <location 262 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> 263 </issue> 264 265 <issue 266 id="PrimitiveInCollection" 267 message="constructor SweepGradient has parameter colors with type List<Color>: replace with LongList" 268 errorLine1=" private val colors: List<Color>," 269 errorLine2=" ~~~~~~~~~~~"> 270 <location 271 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> 272 </issue> 273 274 <issue 275 id="PrimitiveInCollection" 276 message="field colors with type List<Color>: replace with LongList" 277 errorLine1=" private val colors: List<Color>," 278 errorLine2=" ~~~~~~~~~~~"> 279 <location 280 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> 281 </issue> 282 283 <issue 284 id="PrimitiveInCollection" 285 message="constructor SweepGradient has parameter stops with type List<Float>: replace with FloatList" 286 errorLine1=" private val stops: List<Float>? = null" 287 errorLine2=" ~~~~~~~~~~~~"> 288 <location 289 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> 290 </issue> 291 292 <issue 293 id="PrimitiveInCollection" 294 message="field stops with type List<Float>: replace with FloatList" 295 errorLine1=" private val stops: List<Float>? = null" 296 errorLine2=" ~~~~~~~~~~~~"> 297 <location 298 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> 299 </issue> 300 301 <issue 302 id="PrimitiveInCollection" 303 message="method drawPoints has parameter points with type List<Offset>: replace with LongList" 304 errorLine1=" fun drawPoints(pointMode: PointMode, points: List<Offset>, paint: Paint)" 305 errorLine2=" ~~~~~~~~~~~~"> 306 <location 307 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Canvas.kt"/> 308 </issue> 309 310 <issue 311 id="PrimitiveInCollection" 312 message="method drawPoints has parameter points with type List<Offset>: replace with LongList" 313 errorLine1=" points: List<Offset>," 314 errorLine2=" ~~~~~~~~~~~~"> 315 <location 316 file="src/commonMain/kotlin/androidx/compose/ui/graphics/drawscope/CanvasDrawScope.kt"/> 317 </issue> 318 319 <issue 320 id="PrimitiveInCollection" 321 message="method drawPoints has parameter points with type List<Offset>: replace with LongList" 322 errorLine1=" points: List<Offset>," 323 errorLine2=" ~~~~~~~~~~~~"> 324 <location 325 file="src/commonMain/kotlin/androidx/compose/ui/graphics/drawscope/CanvasDrawScope.kt"/> 326 </issue> 327 328 <issue 329 id="PrimitiveInCollection" 330 message="method drawPoints has parameter points with type List<Offset>: replace with LongList" 331 errorLine1=" points: List<Offset>," 332 errorLine2=" ~~~~~~~~~~~~"> 333 <location 334 file="src/commonMain/kotlin/androidx/compose/ui/graphics/drawscope/DrawScope.kt"/> 335 </issue> 336 337 <issue 338 id="PrimitiveInCollection" 339 message="method drawPoints has parameter points with type List<Offset>: replace with LongList" 340 errorLine1=" points: List<Offset>," 341 errorLine2=" ~~~~~~~~~~~~"> 342 <location 343 file="src/commonMain/kotlin/androidx/compose/ui/graphics/drawscope/DrawScope.kt"/> 344 </issue> 345 346 <issue 347 id="PrimitiveInCollection" 348 message="method drawPoints has parameter points with type List<Offset>: replace with LongList" 349 errorLine1=" override fun drawPoints(pointMode: PointMode, points: List<Offset>, paint: Paint) {" 350 errorLine2=" ~~~~~~~~~~~~"> 351 <location 352 file="src/commonMain/kotlin/androidx/compose/ui/graphics/drawscope/EmptyCanvas.kt"/> 353 </issue> 354 355 <issue 356 id="PrimitiveInCollection" 357 message="method LinearGradientShader has parameter colors with type List<Color>: replace with LongList" 358 errorLine1=" colors: List<Color>," 359 errorLine2=" ~~~~~~~~~~~"> 360 <location 361 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> 362 </issue> 363 364 <issue 365 id="PrimitiveInCollection" 366 message="method LinearGradientShader has parameter colorStops with type List<Float>: replace with FloatList" 367 errorLine1=" colorStops: List<Float>? = null," 368 errorLine2=" ~~~~~~~~~~~~"> 369 <location 370 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> 371 </issue> 372 373 <issue 374 id="PrimitiveInCollection" 375 message="method ActualLinearGradientShader has parameter colors with type List<Color>: replace with LongList" 376 errorLine1=" colors: List<Color>," 377 errorLine2=" ~~~~~~~~~~~"> 378 <location 379 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> 380 </issue> 381 382 <issue 383 id="PrimitiveInCollection" 384 message="method ActualLinearGradientShader has parameter colorStops with type List<Float>: replace with FloatList" 385 errorLine1=" colorStops: List<Float>?," 386 errorLine2=" ~~~~~~~~~~~~"> 387 <location 388 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> 389 </issue> 390 391 <issue 392 id="PrimitiveInCollection" 393 message="method RadialGradientShader has parameter colors with type List<Color>: replace with LongList" 394 errorLine1=" colors: List<Color>," 395 errorLine2=" ~~~~~~~~~~~"> 396 <location 397 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> 398 </issue> 399 400 <issue 401 id="PrimitiveInCollection" 402 message="method RadialGradientShader has parameter colorStops with type List<Float>: replace with FloatList" 403 errorLine1=" colorStops: List<Float>? = null," 404 errorLine2=" ~~~~~~~~~~~~"> 405 <location 406 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> 407 </issue> 408 409 <issue 410 id="PrimitiveInCollection" 411 message="method ActualRadialGradientShader has parameter colors with type List<Color>: replace with LongList" 412 errorLine1=" colors: List<Color>," 413 errorLine2=" ~~~~~~~~~~~"> 414 <location 415 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> 416 </issue> 417 418 <issue 419 id="PrimitiveInCollection" 420 message="method ActualRadialGradientShader has parameter colorStops with type List<Float>: replace with FloatList" 421 errorLine1=" colorStops: List<Float>?," 422 errorLine2=" ~~~~~~~~~~~~"> 423 <location 424 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> 425 </issue> 426 427 <issue 428 id="PrimitiveInCollection" 429 message="method SweepGradientShader has parameter colors with type List<Color>: replace with LongList" 430 errorLine1=" colors: List<Color>," 431 errorLine2=" ~~~~~~~~~~~"> 432 <location 433 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> 434 </issue> 435 436 <issue 437 id="PrimitiveInCollection" 438 message="method SweepGradientShader has parameter colorStops with type List<Float>: replace with FloatList" 439 errorLine1=" colorStops: List<Float>? = null" 440 errorLine2=" ~~~~~~~~~~~~"> 441 <location 442 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> 443 </issue> 444 445 <issue 446 id="PrimitiveInCollection" 447 message="method ActualSweepGradientShader has parameter colors with type List<Color>: replace with LongList" 448 errorLine1=" colors: List<Color>," 449 errorLine2=" ~~~~~~~~~~~"> 450 <location 451 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> 452 </issue> 453 454 <issue 455 id="PrimitiveInCollection" 456 message="method ActualSweepGradientShader has parameter colorStops with type List<Float>: replace with FloatList" 457 errorLine1=" colorStops: List<Float>?," 458 errorLine2=" ~~~~~~~~~~~~"> 459 <location 460 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> 461 </issue> 462 463 <issue 464 id="PrimitiveInCollection" 465 message="constructor Vertices has parameter positions with type List<Offset>: replace with LongList" 466 errorLine1=" positions: List<Offset>," 467 errorLine2=" ~~~~~~~~~~~~"> 468 <location 469 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Vertices.kt"/> 470 </issue> 471 472 <issue 473 id="PrimitiveInCollection" 474 message="constructor Vertices has parameter textureCoordinates with type List<Offset>: replace with LongList" 475 errorLine1=" textureCoordinates: List<Offset>," 476 errorLine2=" ~~~~~~~~~~~~"> 477 <location 478 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Vertices.kt"/> 479 </issue> 480 481 <issue 482 id="PrimitiveInCollection" 483 message="constructor Vertices has parameter colors with type List<Color>: replace with LongList" 484 errorLine1=" colors: List<Color>," 485 errorLine2=" ~~~~~~~~~~~"> 486 <location 487 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Vertices.kt"/> 488 </issue> 489 490 <issue 491 id="PrimitiveInCollection" 492 message="constructor Vertices has parameter indices with type List<Integer>: replace with IntList" 493 errorLine1=" indices: List<Int>" 494 errorLine2=" ~~~~~~~~~"> 495 <location 496 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Vertices.kt"/> 497 </issue> 498 499 <issue 500 id="PrimitiveInCollection" 501 message="method encodeColorList has parameter colors with type List<Color>: replace with LongList" 502 errorLine1=" private fun encodeColorList(colors: List<Color>): IntArray {" 503 errorLine2=" ~~~~~~~~~~~"> 504 <location 505 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Vertices.kt"/> 506 </issue> 507 508 <issue 509 id="PrimitiveInCollection" 510 message="method encodePointList has parameter points with type List<Offset>: replace with LongList" 511 errorLine1=" private fun encodePointList(points: List<Offset>): FloatArray {" 512 errorLine2=" ~~~~~~~~~~~~"> 513 <location 514 file="src/commonMain/kotlin/androidx/compose/ui/graphics/Vertices.kt"/> 515 </issue> 516 517</issues> 518