| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 8.4.0-alpha09" type="baseline" client="gradle" dependencies="false" name="AGP (8.4.0-alpha09)" variant="all" version="8.4.0-alpha09"> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(5000L)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/tv/foundation/lazy/list/LazyListTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(5000L)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/tv/foundation/lazy/list/LazyListTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(5)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/tv/foundation/lazy/list/LazyScrollTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(5)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/tv/foundation/lazy/grid/LazyScrollTest.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<Integer> of calculateLazyLayoutPinnedIndices: replace with IntList" |
| errorLine1="): List<Int> {" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/list/LazyBeyondBoundsModifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" val pinnedItems = mutableListOf<Int>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/list/LazyBeyondBoundsModifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable pinnedItems with type List<? extends Integer>: replace with IntList" |
| errorLine1=" val pinnedItems = itemProvider.calculateLazyLayoutPinnedIndices(" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGrid.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<Integer> of calculateCrossAxisCellSizes: replace with IntList" |
| errorLine1=" fun Density.calculateCrossAxisCellSizes(availableSize: Int, spacing: Int): List<Int>" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<Integer> of calculateCellsCrossAxisSizeImpl: replace with IntList" |
| errorLine1="): List<Int> {" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method measureLazyGrid has parameter pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedItems: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method calculateExtraItems has parameter pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedItems: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method createLine has parameter spans with type List<TvGridItemSpan>: replace with LongList" |
| errorLine1=" spans: List<TvGridItemSpan>," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor LazyGridMeasuredLine has parameter spans with type List<TvGridItemSpan>: replace with LongList" |
| errorLine1=" private val spans: List<TvGridItemSpan>," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridMeasuredLine.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field spans with type List<TvGridItemSpan>: replace with LongList" |
| errorLine1=" private val spans: List<TvGridItemSpan>," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridMeasuredLine.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor LineConfiguration has parameter spans with type List<TvGridItemSpan>: replace with LongList" |
| errorLine1=" class LineConfiguration(val firstItemIndex: Int, val spans: List<TvGridItemSpan>)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field spans with type List<TvGridItemSpan>: replace with LongList" |
| errorLine1=" class LineConfiguration(val firstItemIndex: Int, val spans: List<TvGridItemSpan>)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<TvGridItemSpan> of getSpans: replace with LongList" |
| errorLine1=" class LineConfiguration(val firstItemIndex: Int, val spans: List<TvGridItemSpan>)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field cachedBucket with type List<Integer>: replace with IntList" |
| errorLine1=" /**" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field previousDefaultSpans with type List<TvGridItemSpan>: replace with LongList" |
| errorLine1=" /**" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<TvGridItemSpan> of getDefaultSpans: replace with LongList" |
| errorLine1=" private fun getDefaultSpans(currentSlotsPerLine: Int) =" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable spans with type List<TvGridItemSpan>: replace with LongList" |
| errorLine1=" val spans = mutableListOf<TvGridItemSpan>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field map with type Map<Object, Integer>: replace with ObjectIntMap" |
| errorLine1=" private val map: Map<Any, Int>" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/layout/LazyLayoutKeyIndexMap.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable pinnedItems with type List<? extends Integer>: replace with IntList" |
| errorLine1=" val pinnedItems = itemProvider.calculateLazyLayoutPinnedIndices(" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/list/LazyList.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method findOrComposeLazyListHeader has parameter headerIndexes with type List<Integer>: replace with IntList" |
| errorLine1=" headerIndexes: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/list/LazyListHeaders.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<Integer> of getHeaderIndexes: replace with IntList" |
| errorLine1=" val headerIndexes: List<Int>" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/list/LazyListItemProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method measureLazyList has parameter headerIndexes with type List<Integer>: replace with IntList" |
| errorLine1=" headerIndexes: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/list/LazyListMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method measureLazyList has parameter pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedItems: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/list/LazyListMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method createItemsAfterList has parameter pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedItems: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/list/LazyListMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method createItemsBeforeList has parameter pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedItems: List<Int>" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/list/LazyListMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field _headerIndexes with type List<Integer>: replace with IntList" |
| errorLine1=" private var _headerIndexes: MutableList<Int>? = null" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/list/TvLazyListIntervalContent.kt"/> |
| </issue> |
| |
| </issues> |