blob: 29ec2f9ccc8515f1f4f753c6ba3ab8b0be380bad [file] [log] [blame]
<?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&lt;Offset>: replace with LongList"
errorLine1=" private fun drawPoints(points: List&lt;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&lt;Offset>: replace with LongList"
errorLine1=" private fun drawLines(points: List&lt;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&lt;Color>: replace with LongList"
errorLine1=" colors: List&lt;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&lt;Float>: replace with FloatList"
errorLine1=" colorStops: List&lt;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&lt;Color>: replace with LongList"
errorLine1=" colors: List&lt;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&lt;Float>: replace with FloatList"
errorLine1=" colorStops: List&lt;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&lt;Color>: replace with LongList"
errorLine1=" colors: List&lt;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&lt;Float>: replace with FloatList"
errorLine1=" colorStops: List&lt;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&lt;Color>: replace with LongList"
errorLine1="internal fun countTransparentColors(colors: List&lt;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&lt;Color>: replace with LongList"
errorLine1=" colors: List&lt;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&lt;Float>: replace with FloatList"
errorLine1=" stops: List&lt;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&lt;Color>: replace with LongList"
errorLine1=" colors: List&lt;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&lt;Float>: replace with FloatList"
errorLine1="private fun validateColorStops(colors: List&lt;Color>, colorStops: List&lt;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&lt;Color>: replace with LongList"
errorLine1="private fun validateColorStops(colors: List&lt;Color>, colorStops: List&lt;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&lt;Color>: replace with LongList"
errorLine1=" colors: List&lt;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&lt;Color>: replace with LongList"
errorLine1=" colors: List&lt;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&lt;Color>: replace with LongList"
errorLine1=" colors: List&lt;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&lt;Color>: replace with LongList"
errorLine1=" colors: List&lt;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&lt;Color>: replace with LongList"
errorLine1=" colors: List&lt;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&lt;Color>: replace with LongList"
errorLine1=" private val colors: List&lt;Color>,"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="field colors with type List&lt;Color>: replace with LongList"
errorLine1=" private val colors: List&lt;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&lt;Float>: replace with FloatList"
errorLine1=" private val stops: List&lt;Float>? = null,"
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="field stops with type List&lt;Float>: replace with FloatList"
errorLine1=" private val stops: List&lt;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&lt;Color>: replace with LongList"
errorLine1=" private val colors: List&lt;Color>,"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="field colors with type List&lt;Color>: replace with LongList"
errorLine1=" private val colors: List&lt;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&lt;Float>: replace with FloatList"
errorLine1=" private val stops: List&lt;Float>? = null,"
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="field stops with type List&lt;Float>: replace with FloatList"
errorLine1=" private val stops: List&lt;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&lt;Color>: replace with LongList"
errorLine1=" private val colors: List&lt;Color>,"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="field colors with type List&lt;Color>: replace with LongList"
errorLine1=" private val colors: List&lt;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&lt;Float>: replace with FloatList"
errorLine1=" private val stops: List&lt;Float>? = null"
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/commonMain/kotlin/androidx/compose/ui/graphics/Brush.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="field stops with type List&lt;Float>: replace with FloatList"
errorLine1=" private val stops: List&lt;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&lt;Offset>: replace with LongList"
errorLine1=" fun drawPoints(pointMode: PointMode, points: List&lt;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&lt;Offset>: replace with LongList"
errorLine1=" points: List&lt;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&lt;Offset>: replace with LongList"
errorLine1=" points: List&lt;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&lt;Color>: replace with LongList"
errorLine1=" colors: List&lt;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&lt;Float>: replace with FloatList"
errorLine1=" colorStops: List&lt;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&lt;Color>: replace with LongList"
errorLine1=" colors: List&lt;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&lt;Float>: replace with FloatList"
errorLine1=" colorStops: List&lt;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&lt;Color>: replace with LongList"
errorLine1=" colors: List&lt;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&lt;Float>: replace with FloatList"
errorLine1=" colorStops: List&lt;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&lt;Color>: replace with LongList"
errorLine1=" colors: List&lt;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&lt;Float>: replace with FloatList"
errorLine1=" colorStops: List&lt;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&lt;Color>: replace with LongList"
errorLine1=" colors: List&lt;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&lt;Float>: replace with FloatList"
errorLine1=" colorStops: List&lt;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&lt;Color>: replace with LongList"
errorLine1=" colors: List&lt;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&lt;Float>: replace with FloatList"
errorLine1=" colorStops: List&lt;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&lt;Offset>: replace with LongList"
errorLine1=" positions: List&lt;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&lt;Offset>: replace with LongList"
errorLine1=" textureCoordinates: List&lt;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&lt;Color>: replace with LongList"
errorLine1=" colors: List&lt;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&lt;Integer>: replace with IntList"
errorLine1=" indices: List&lt;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&lt;Color>: replace with LongList"
errorLine1=" private fun encodeColorList(colors: List&lt;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&lt;Offset>: replace with LongList"
errorLine1=" private fun encodePointList(points: List&lt;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&lt;Double, Double> of &apos;getOetf&apos;."
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&lt;Double, Double> of &apos;getEotf&apos;."
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 &apos;oetf&apos; with type Function1&lt;? 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 &apos;eotf&apos; with type Function1&lt;? 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 &apos;oetf&apos; with type Function1&lt;? 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 &apos;eotf&apos; with type Function1&lt;? 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 &apos;outOfBounds&apos; with type Function1&lt;? super Integer, ? extends Boolean>."
errorLine1=" val outOfBounds: (Int) -> Boolean = { it &lt; 0 || it >= positions.size }"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/commonMain/kotlin/androidx/compose/ui/graphics/Vertices.kt"/>
</issue>
</issues>