blob: 2fce94459b83d195f95ea2440f862b18597d0226 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.13.0-alpha01" type="baseline" client="gradle" dependencies="false" name="AGP (8.13.0-alpha01)" variant="all" version="8.13.0-alpha01">
<issue
id="ObsoleteSdkInt"
message="Unnecessary; `Build.VERSION.SDK_INT >= Build.VERSION_CODES.M` is always true here (`SDK_INT` ≥ 23 and &lt; 29)"
errorLine1=" isRenderNodeCompatible &amp;&amp; Build.VERSION.SDK_INT >= Build.VERSION_CODES.M"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidGraphicsContext.android.kt"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; `Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1` is always true here (`SDK_INT` ≥ 23 and &lt; 28)"
errorLine1=" Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1 &amp;&amp;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/ui/graphics/layer/AndroidGraphicsLayer.android.kt"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; `SDK_INT` is always >= 23"
errorLine1="@RequiresApi(Build.VERSION_CODES.M)"
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/ui/graphics/layer/GraphicsLayerV23.android.kt"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; `SDK_INT` is always >= 23"
errorLine1="@RequiresApi(Build.VERSION_CODES.M)"
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/ui/graphics/layer/GraphicsLayerV23.android.kt"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; `SDK_INT` is always >= 23"
errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/ui/graphics/layer/GraphicsViewLayer.android.kt"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; `SDK_INT` is always >= 23"
errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/ui/graphics/layer/GraphicsViewLayer.android.kt"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; `SDK_INT` is always >= 22"
errorLine1="@RequiresApi(Build.VERSION_CODES.LOLLIPOP_MR1)"
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/ui/graphics/layer/LayerSnapshot.android.kt"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; `SDK_INT` is always >= 23"
errorLine1="@RequiresApi(Build.VERSION_CODES.M)"
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/ui/graphics/layer/LayerSnapshot.android.kt"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; `SDK_INT` is always >= 22"
errorLine1=" @RequiresApi(Build.VERSION_CODES.LOLLIPOP_MR1)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/ui/graphics/layer/LayerSnapshot.android.kt"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; `SDK_INT` is always >= 23"
errorLine1=" return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/ui/graphics/layer/LayerSnapshot.android.kt"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; `SDK_INT` is always >= 23"
errorLine1=" return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/ui/graphics/layer/LayerSnapshot.android.kt"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; `Build.VERSION.SDK_INT == Build.VERSION_CODES.LOLLIPOP_MR1` is never true here"
errorLine1=" } else if (Build.VERSION.SDK_INT == Build.VERSION_CODES.LOLLIPOP_MR1) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/ui/graphics/layer/LayerSnapshot.android.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="method drawPoints has parameter points with type List&lt;Offset>: replace with LongList"
errorLine1=" override fun drawPoints(pointMode: PointMode, 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 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="internal fun makeTransparentColors(colors: List&lt;Color>, numTransparentColors: Int): IntArray {"
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=" fun sweepGradient(colors: List&lt;Color>, center: Offset = Offset.Unspecified): Brush ="
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/CanvasDrawScope.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/CanvasDrawScope.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 drawPoints has parameter points with type List&lt;Offset>: replace with LongList"
errorLine1=" override fun drawPoints(pointMode: PointMode, points: List&lt;Offset>, paint: Paint) {"
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/commonMain/kotlin/androidx/compose/ui/graphics/drawscope/EmptyCanvas.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>
</issues>