| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 8.2.0-beta01" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-beta01)" variant="all" version="8.2.0-beta01"> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method drawPoints has parameter points with type List<Offset>: replace with LongList" |
| errorLine1=" private fun drawPoints(points: List<Offset>, paint: Paint) {" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidCanvas.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method drawLines has parameter points with type List<Offset>: replace with LongList" |
| errorLine1=" private fun drawLines(points: List<Offset>, paint: Paint, stepBy: Int) {" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidCanvas.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method ActualLinearGradientShader has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method ActualLinearGradientShader has parameter colorStops with type List<Float>: replace with FloatList" |
| errorLine1=" colorStops: List<Float>?," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method ActualRadialGradientShader has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method ActualRadialGradientShader has parameter colorStops with type List<Float>: replace with FloatList" |
| errorLine1=" colorStops: List<Float>?," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method ActualSweepGradientShader has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method ActualSweepGradientShader has parameter colorStops with type List<Float>: replace with FloatList" |
| errorLine1=" colorStops: List<Float>?" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method countTransparentColors has parameter colors with type List<Color>: replace with LongList" |
| errorLine1="internal fun countTransparentColors(colors: List<Color>): Int {" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method makeTransparentColors has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method makeTransparentStops has parameter stops with type List<Float>: replace with FloatList" |
| errorLine1=" stops: List<Float>?," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method makeTransparentStops has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method validateColorStops has parameter colorStops with type List<Float>: replace with FloatList" |
| errorLine1="private fun validateColorStops(colors: List<Color>, colorStops: List<Float>?) {" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method validateColorStops has parameter colors with type List<Color>: replace with LongList" |
| errorLine1="private fun validateColorStops(colors: List<Color>, colorStops: List<Float>?) {" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidShader.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method linearGradient has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method horizontalGradient has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method verticalGradient has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method radialGradient has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method sweepGradient has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor LinearGradient has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" private val colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field colors with type List<Color>: replace with LongList" |
| errorLine1=" private val colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor LinearGradient has parameter stops with type List<Float>: replace with FloatList" |
| errorLine1=" private val stops: List<Float>? = null," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field stops with type List<Float>: replace with FloatList" |
| errorLine1=" private val stops: List<Float>? = null," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor RadialGradient has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" private val colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field colors with type List<Color>: replace with LongList" |
| errorLine1=" private val colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor RadialGradient has parameter stops with type List<Float>: replace with FloatList" |
| errorLine1=" private val stops: List<Float>? = null," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field stops with type List<Float>: replace with FloatList" |
| errorLine1=" private val stops: List<Float>? = null," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor SweepGradient has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" private val colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field colors with type List<Color>: replace with LongList" |
| errorLine1=" private val colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor SweepGradient has parameter stops with type List<Float>: replace with FloatList" |
| errorLine1=" private val stops: List<Float>? = null" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field stops with type List<Float>: replace with FloatList" |
| errorLine1=" private val stops: List<Float>? = null" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method drawPoints has parameter points with type List<Offset>: replace with LongList" |
| errorLine1=" fun drawPoints(pointMode: PointMode, points: List<Offset>, paint: Paint)" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Canvas.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method drawPoints has parameter points with type List<Offset>: replace with LongList" |
| errorLine1=" points: List<Offset>," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/drawscope/DrawScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method drawPoints has parameter points with type List<Offset>: replace with LongList" |
| errorLine1=" points: List<Offset>," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/drawscope/DrawScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method LinearGradientShader has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method LinearGradientShader has parameter colorStops with type List<Float>: replace with FloatList" |
| errorLine1=" colorStops: List<Float>? = null," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method ActualLinearGradientShader has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method ActualLinearGradientShader has parameter colorStops with type List<Float>: replace with FloatList" |
| errorLine1=" colorStops: List<Float>?," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method RadialGradientShader has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method RadialGradientShader has parameter colorStops with type List<Float>: replace with FloatList" |
| errorLine1=" colorStops: List<Float>? = null," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method ActualRadialGradientShader has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method ActualRadialGradientShader has parameter colorStops with type List<Float>: replace with FloatList" |
| errorLine1=" colorStops: List<Float>?," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method SweepGradientShader has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method SweepGradientShader has parameter colorStops with type List<Float>: replace with FloatList" |
| errorLine1=" colorStops: List<Float>? = null" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method ActualSweepGradientShader has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method ActualSweepGradientShader has parameter colorStops with type List<Float>: replace with FloatList" |
| errorLine1=" colorStops: List<Float>?," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Shader.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor Vertices has parameter positions with type List<Offset>: replace with LongList" |
| errorLine1=" positions: List<Offset>," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Vertices.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor Vertices has parameter textureCoordinates with type List<Offset>: replace with LongList" |
| errorLine1=" textureCoordinates: List<Offset>," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Vertices.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor Vertices has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" colors: List<Color>," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Vertices.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor Vertices has parameter indices with type List<Integer>: replace with IntList" |
| errorLine1=" indices: List<Int>" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Vertices.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method encodeColorList has parameter colors with type List<Color>: replace with LongList" |
| errorLine1=" private fun encodeColorList(colors: List<Color>): IntArray {" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Vertices.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method encodePointList has parameter points with type List<Offset>: replace with LongList" |
| errorLine1=" private fun encodePointList(points: List<Offset>): FloatArray {" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Vertices.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<Double, Double> of 'getOetf'." |
| errorLine1=" val oetf: (Double) -> Double = { x ->" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/colorspace/Rgb.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<Double, Double> of 'getEotf'." |
| errorLine1=" val eotf: (Double) -> Double = { x ->" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/colorspace/Rgb.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor Rgb has parameter 'oetf' with type Function1<? super Double, Double>." |
| errorLine1=" oetf: (Double) -> Double," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/colorspace/Rgb.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor Rgb has parameter 'eotf' with type Function1<? super Double, Double>." |
| errorLine1=" eotf: (Double) -> Double" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/colorspace/Rgb.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor Rgb has parameter 'oetf' with type Function1<? super Double, Double>." |
| errorLine1=" oetf: (Double) -> Double," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/colorspace/Rgb.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor Rgb has parameter 'eotf' with type Function1<? super Double, Double>." |
| errorLine1=" eotf: (Double) -> Double," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/colorspace/Rgb.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'outOfBounds' with type Function1<? super Integer, ? extends Boolean>." |
| errorLine1=" val outOfBounds: (Int) -> Boolean = { it < 0 || it >= positions.size }" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/ui/graphics/Vertices.kt"/> |
| </issue> |
| |
| </issues> |