blob: 11712b724b6e29c1ced70e53d88bae893e49e7e0 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.3.0-beta01" type="baseline" client="gradle" dependencies="false" name="AGP (8.3.0-beta01)" variant="all" version="8.3.0-beta01">
<issue
id="BanInlineOptIn"
message="Inline functions cannot opt into experimental APIs."
errorLine1="inline fun ConstraintLayout("
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/constraintlayout/compose/ConstraintLayout.kt"/>
</issue>
<issue
id="BanInlineOptIn"
message="Inline functions cannot opt into experimental APIs."
errorLine1="inline fun &lt;T> MotionCarouselScope.itemsWithProperties("
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/constraintlayout/compose/MotionCarousel.kt"/>
</issue>
<issue
id="ComposableLambdaParameterNaming"
message="Composable lambda parameter should be named `content`"
errorLine1="fun ItemHolder(i: Int, slotPrefix: String, showSlot: Boolean, function: @Composable () -> Unit) {"
errorLine2=" ~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/constraintlayout/compose/MotionCarousel.kt"/>
</issue>
<issue
id="ComposableNaming"
message="Composable functions that return Unit should start with an uppercase letter"
errorLine1=" fun BoxScope.drawDebugBounds(forcedScaleFactor: Float) {"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/constraintlayout/compose/ConstraintLayout.kt"/>
</issue>
<issue
id="ComposableNaming"
message="Composable functions that return Unit should start with an uppercase letter"
errorLine1=" fun createDesignElements() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/constraintlayout/compose/ConstraintLayout.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="method setAnchors$lint_module has parameter &lt;set-?> with type Map&lt;Float, ? extends T>: replace with FloatObjectMap"
errorLine1=" internal var anchors by mutableStateOf(emptyMap&lt;Float, T>())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="return type Map&lt;Float, T> of getAnchors$lint_module: replace with FloatObjectMap"
errorLine1=" internal var anchors by mutableStateOf(emptyMap&lt;Float, T>())"
errorLine2=" ~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="method ensureInit$lint_module has parameter newAnchors with type Map&lt;Float, ? extends T>: replace with FloatObjectMap"
errorLine1=" internal fun ensureInit(newAnchors: Map&lt;Float, T>) {"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="method processNewAnchors$lint_module has parameter oldAnchors with type Map&lt;Float, ? extends T>: replace with FloatObjectMap"
errorLine1=" oldAnchors: Map&lt;Float, T>,"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="method processNewAnchors$lint_module has parameter newAnchors with type Map&lt;Float, ? extends T>: replace with FloatObjectMap"
errorLine1=" newAnchors: Map&lt;Float, T>"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="variable bounds with type List&lt;? extends Float>: replace with FloatList"
errorLine1=" val bounds = findBounds(offset.floatValue, anchors.keys)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="method carouselSwipeable has parameter anchors with type Map&lt;Float, ? extends T>: replace with FloatObjectMap"
errorLine1=" anchors: Map&lt;Float, T>,"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="variable oldAnchors with type Map&lt;Float, ? extends T>: replace with FloatObjectMap"
errorLine1=" val oldAnchors = state.anchors"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="method findBounds has parameter anchors with type Set&lt;Float>: replace with FloatSet"
errorLine1=" anchors: Set&lt;Float>"
errorLine2=" ~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="return type List&lt;Float> of findBounds: replace with FloatList"
errorLine1="): List&lt;Float> {"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="method computeTarget has parameter anchors with type Set&lt;Float>: replace with FloatSet"
errorLine1=" anchors: Set&lt;Float>,"
errorLine2=" ~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="variable bounds with type List&lt;? extends Float>: replace with FloatList"
errorLine1=" val bounds = findBounds(offset, anchors)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="method getOffset has parameter $this$getOffset with type Map&lt;Float, ? extends T>: replace with FloatObjectMap"
errorLine1="private fun &lt;T> Map&lt;Float, T>.getOffset(state: T): Float? {"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="method resistanceConfig has parameter anchors with type Set&lt;Float>: replace with FloatSet"
errorLine1=" anchors: Set&lt;Float>,"
errorLine2=" ~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="field overridedVariables with type HashMap&lt;String, Float>: replace with ObjectFloatMap"
errorLine1=" private val overridedVariables = HashMap&lt;String, Float>()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/constraintlayout/compose/JSONConstraintSet.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="variable anchors with type Map&lt;Float, ? extends String>: replace with FloatObjectMap"
errorLine1=" val anchors = if (currentIndex == 0) {"
errorLine2=" ^">
<location
file="src/androidMain/kotlin/androidx/constraintlayout/compose/MotionCarousel.kt"/>
</issue>
</issues>