| <?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 < 29)" |
| errorLine1=" isRenderNodeCompatible && 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 < 28)" |
| errorLine1=" Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1 &&" |
| 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<Offset>: replace with LongList" |
| errorLine1=" override fun drawPoints(pointMode: PointMode, points: List<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<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="internal fun makeTransparentColors(colors: List<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<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=" fun sweepGradient(colors: List<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<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/CanvasDrawScope.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/CanvasDrawScope.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 drawPoints has parameter points with type List<Offset>: replace with LongList" |
| errorLine1=" override fun drawPoints(pointMode: PointMode, points: List<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<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> |
| |
| </issues> |