blob: 4ce24bc0822e9f60bda778279d1597bf912c436c [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="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&lt;Integer> of calculateLazyLayoutPinnedIndices: replace with IntList"
errorLine1="): List&lt;Int> {"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/tv/foundation/lazy/list/LazyBeyondBoundsModifier.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="variable pinnedItems with type List&lt;Integer>: replace with IntList"
errorLine1=" val pinnedItems = mutableListOf&lt;Int>()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/tv/foundation/lazy/list/LazyBeyondBoundsModifier.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="variable pinnedItems with type List&lt;? 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&lt;Integer> of calculateCrossAxisCellSizes: replace with IntList"
errorLine1=" fun Density.calculateCrossAxisCellSizes(availableSize: Int, spacing: Int): List&lt;Int>"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridDsl.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="return type List&lt;Integer> of calculateCellsCrossAxisSizeImpl: replace with IntList"
errorLine1="): List&lt;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&lt;Integer>: replace with IntList"
errorLine1=" pinnedItems: List&lt;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&lt;Integer>: replace with IntList"
errorLine1=" pinnedItems: List&lt;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&lt;TvGridItemSpan>: replace with LongList"
errorLine1=" spans: List&lt;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&lt;TvGridItemSpan>: replace with LongList"
errorLine1=" private val spans: List&lt;TvGridItemSpan>,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridMeasuredLine.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="field spans with type List&lt;TvGridItemSpan>: replace with LongList"
errorLine1=" private val spans: List&lt;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&lt;TvGridItemSpan>: replace with LongList"
errorLine1=" class LineConfiguration(val firstItemIndex: Int, val spans: List&lt;TvGridItemSpan>)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="field spans with type List&lt;TvGridItemSpan>: replace with LongList"
errorLine1=" class LineConfiguration(val firstItemIndex: Int, val spans: List&lt;TvGridItemSpan>)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="return type List&lt;TvGridItemSpan> of getSpans: replace with LongList"
errorLine1=" class LineConfiguration(val firstItemIndex: Int, val spans: List&lt;TvGridItemSpan>)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="field cachedBucket with type List&lt;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&lt;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&lt;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&lt;TvGridItemSpan>: replace with LongList"
errorLine1=" val spans = mutableListOf&lt;TvGridItemSpan>()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="field map with type Map&lt;Object, Integer>: replace with ObjectIntMap"
errorLine1=" private val map: Map&lt;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&lt;? 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&lt;Integer>: replace with IntList"
errorLine1=" headerIndexes: List&lt;Int>,"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/tv/foundation/lazy/list/LazyListHeaders.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="return type List&lt;Integer> of getHeaderIndexes: replace with IntList"
errorLine1=" val headerIndexes: List&lt;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&lt;Integer>: replace with IntList"
errorLine1=" headerIndexes: List&lt;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&lt;Integer>: replace with IntList"
errorLine1=" pinnedItems: List&lt;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&lt;Integer>: replace with IntList"
errorLine1=" pinnedItems: List&lt;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&lt;Integer>: replace with IntList"
errorLine1=" pinnedItems: List&lt;Int>"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/tv/foundation/lazy/list/LazyListMeasure.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="field _headerIndexes with type List&lt;Integer>: replace with IntList"
errorLine1=" private var _headerIndexes: MutableList&lt;Int>? = null"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/tv/foundation/lazy/list/TvLazyListIntervalContent.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="return type List&lt;Integer> of getHeaderIndexes: replace with IntList"
errorLine1=" val headerIndexes: List&lt;Int> get() = _headerIndexes ?: emptyList()"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/tv/foundation/lazy/list/TvLazyListIntervalContent.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="variable vard55442a7 with type List&lt;Integer>: replace with IntList"
errorLine1=" val headerIndexes: List&lt;Int> get() = _headerIndexes ?: emptyList()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/tv/foundation/lazy/list/TvLazyListIntervalContent.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="variable headersIndexes with type List&lt;Integer>: replace with IntList"
errorLine1=" val headersIndexes = _headerIndexes ?: mutableListOf&lt;Int>().also {"
errorLine2=" ^">
<location
file="src/main/java/androidx/tv/foundation/lazy/list/TvLazyListIntervalContent.kt"/>
</issue>
<issue
id="PrimitiveInCollection"
message="variable vard554f0be with type List&lt;Integer>: replace with IntList"
errorLine1=" val headersIndexes = _headerIndexes ?: mutableListOf&lt;Int>().also {"
errorLine2=" ^">
<location
file="src/main/java/androidx/tv/foundation/lazy/list/TvLazyListIntervalContent.kt"/>
</issue>
</issues>