| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 8.6.0-beta01" type="baseline" client="gradle" dependencies="false" name="AGP (8.6.0-beta01)" variant="all" version="8.6.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 <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$constraintlayout_compose has parameter anchors with type Map<Float, ? extends T>: replace with FloatObjectMap" |
| errorLine1=" internal var anchors by mutableStateOf(emptyMap<Float, T>())" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<Float, T> of getAnchors$constraintlayout_compose: replace with FloatObjectMap" |
| errorLine1=" internal var anchors by mutableStateOf(emptyMap<Float, T>())" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method ensureInit$constraintlayout_compose has parameter newAnchors with type Map<Float, ? extends T>: replace with FloatObjectMap" |
| errorLine1=" internal fun ensureInit(newAnchors: Map<Float, T>) {" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method processNewAnchors$constraintlayout_compose has parameter newAnchors with type Map<Float, ? extends T>: replace with FloatObjectMap" |
| errorLine1=" internal suspend fun processNewAnchors(oldAnchors: Map<Float, T>, newAnchors: Map<Float, T>) {" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method processNewAnchors$constraintlayout_compose has parameter oldAnchors with type Map<Float, ? extends T>: replace with FloatObjectMap" |
| errorLine1=" internal suspend fun processNewAnchors(oldAnchors: Map<Float, T>, newAnchors: Map<Float, T>) {" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable bounds with type List<? 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<Float, ? extends T>: replace with FloatObjectMap" |
| errorLine1=" anchors: Map<Float, T>," |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable oldAnchors with type Map<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<Float>: replace with FloatSet" |
| errorLine1="private fun findBounds(offset: Float, anchors: Set<Float>): List<Float> {" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<Float> of findBounds: replace with FloatList" |
| errorLine1="private fun findBounds(offset: Float, anchors: Set<Float>): List<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<Float>: replace with FloatSet" |
| errorLine1=" anchors: Set<Float>," |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable bounds with type List<? 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<Float, ? extends T>: replace with FloatObjectMap" |
| errorLine1="private fun <T> Map<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<Float>: replace with FloatSet" |
| errorLine1=" anchors: Set<Float>," |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field overridedVariables with type HashMap<String, Float>: replace with ObjectFloatMap" |
| errorLine1=" private val overridedVariables = HashMap<String, Float>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/constraintlayout/compose/JSONConstraintSet.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable anchors with type Map<Float, ? extends String>: replace with FloatObjectMap" |
| errorLine1=" val anchors =" |
| errorLine2=" ^"> |
| <location |
| file="src/androidMain/kotlin/androidx/constraintlayout/compose/MotionCarousel.kt"/> |
| </issue> |
| |
| </issues> |