1<?xml version="1.0" encoding="UTF-8"?> 2<issues format="6" by="lint 8.10.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (8.10.0-alpha07)" variant="all" version="8.10.0-alpha07"> 3 4 <issue 5 id="ComposableNaming" 6 message="Composable functions with a return type should start with a lowercase letter" 7 errorLine1="private fun FilledButton(" 8 errorLine2=" ~~~~~~~~~~~~"> 9 <location 10 file="src/androidTest/kotlin/androidx/wear/compose/material3/ButtonTest.kt"/> 11 </issue> 12 13 <issue 14 id="ComposableNaming" 15 message="Composable functions with a return type should start with a lowercase letter" 16 errorLine1="private fun FilledTonalButton(" 17 errorLine2=" ~~~~~~~~~~~~~~~~~"> 18 <location 19 file="src/androidTest/kotlin/androidx/wear/compose/material3/ButtonTest.kt"/> 20 </issue> 21 22 <issue 23 id="ComposableNaming" 24 message="Composable functions with a return type should start with a lowercase letter" 25 errorLine1="private fun FilledVariantButton(" 26 errorLine2=" ~~~~~~~~~~~~~~~~~~~"> 27 <location 28 file="src/androidTest/kotlin/androidx/wear/compose/material3/ButtonTest.kt"/> 29 </issue> 30 31 <issue 32 id="ComposableNaming" 33 message="Composable functions with a return type should start with a lowercase letter" 34 errorLine1="private fun OutlinedButton(status: Status): Color {" 35 errorLine2=" ~~~~~~~~~~~~~~"> 36 <location 37 file="src/androidTest/kotlin/androidx/wear/compose/material3/ButtonTest.kt"/> 38 </issue> 39 40 <issue 41 id="ComposableNaming" 42 message="Composable functions with a return type should start with a lowercase letter" 43 errorLine1="private fun ChildButton(status: Status): Color {" 44 errorLine2=" ~~~~~~~~~~~"> 45 <location 46 file="src/androidTest/kotlin/androidx/wear/compose/material3/ButtonTest.kt"/> 47 </issue> 48 49 <issue 50 id="ComposableNaming" 51 message="Composable functions with a return type should start with a lowercase letter" 52 errorLine1="private fun ThreeSlotFilledButton(status: Status): ThreeSlotButtonColors {" 53 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 54 <location 55 file="src/androidTest/kotlin/androidx/wear/compose/material3/ButtonTest.kt"/> 56 </issue> 57 58 <issue 59 id="ComposableNaming" 60 message="Composable functions with a return type should start with a lowercase letter" 61 errorLine1="private fun ThreeSlotFilledTonalButton(status: Status): ThreeSlotButtonColors {" 62 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 63 <location 64 file="src/androidTest/kotlin/androidx/wear/compose/material3/ButtonTest.kt"/> 65 </issue> 66 67 <issue 68 id="ComposableNaming" 69 message="Composable functions with a return type should start with a lowercase letter" 70 errorLine1="private fun ThreeSlotOutlinedButton(status: Status): ThreeSlotButtonColors {" 71 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 72 <location 73 file="src/androidTest/kotlin/androidx/wear/compose/material3/ButtonTest.kt"/> 74 </issue> 75 76 <issue 77 id="ComposableNaming" 78 message="Composable functions with a return type should start with a lowercase letter" 79 errorLine1="private fun ThreeSlotChildButton(status: Status): ThreeSlotButtonColors {" 80 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 81 <location 82 file="src/androidTest/kotlin/androidx/wear/compose/material3/ButtonTest.kt"/> 83 </issue> 84 85 <issue 86 id="ComposableNaming" 87 message="Composable functions that return Unit should start with an uppercase letter" 88 errorLine1=" private fun sampleFilledIconButton(enabled: Boolean, isCompact: Boolean) {" 89 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 90 <location 91 file="src/androidTest/kotlin/androidx/wear/compose/material3/IconButtonScreenshotTest.kt"/> 92 </issue> 93 94 <issue 95 id="ComposableNaming" 96 message="Composable functions that return Unit should start with an uppercase letter" 97 errorLine1=" private fun sampleFilledTonalIconButton(enabled: Boolean, isCompact: Boolean) {" 98 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 99 <location 100 file="src/androidTest/kotlin/androidx/wear/compose/material3/IconButtonScreenshotTest.kt"/> 101 </issue> 102 103 <issue 104 id="ComposableNaming" 105 message="Composable functions that return Unit should start with an uppercase letter" 106 errorLine1=" private fun sampleOutlinedIconButton(" 107 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 108 <location 109 file="src/androidTest/kotlin/androidx/wear/compose/material3/IconButtonScreenshotTest.kt"/> 110 </issue> 111 112 <issue 113 id="ComposableNaming" 114 message="Composable functions that return Unit should start with an uppercase letter" 115 errorLine1=" private fun sampleIconButton(" 116 errorLine2=" ~~~~~~~~~~~~~~~~"> 117 <location 118 file="src/androidTest/kotlin/androidx/wear/compose/material3/IconButtonScreenshotTest.kt"/> 119 </issue> 120 121 <issue 122 id="ComposableNaming" 123 message="Composable functions that return Unit should start with an uppercase letter" 124 errorLine1=" private fun sampleIconToggleButton(" 125 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 126 <location 127 file="src/androidTest/kotlin/androidx/wear/compose/material3/IconToggleButtonScreenshotTest.kt"/> 128 </issue> 129 130 <issue 131 id="ComposableNaming" 132 message="Composable functions that return Unit should start with an uppercase letter" 133 errorLine1=" private fun PickerGroupScope.addPickerColumns(count: Int, selectedColumn: Int) =" 134 errorLine2=" ~~~~~~~~~~~~~~~~"> 135 <location 136 file="src/androidTest/kotlin/androidx/wear/compose/material3/PickerGroupTest.kt"/> 137 </issue> 138 139 <issue 140 id="ComposableNaming" 141 message="Composable functions that return Unit should start with an uppercase letter" 142 errorLine1=" private fun PickerGroupScope.addPickerColumnWithTag(" 143 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 144 <location 145 file="src/androidTest/kotlin/androidx/wear/compose/material3/PickerGroupTest.kt"/> 146 </issue> 147 148 <issue 149 id="ComposableNaming" 150 message="Composable functions that return Unit should start with an uppercase letter" 151 errorLine1=" private fun sampleRadioButton(" 152 errorLine2=" ~~~~~~~~~~~~~~~~~"> 153 <location 154 file="src/androidTest/kotlin/androidx/wear/compose/material3/RadioButtonScreenshotTest.kt"/> 155 </issue> 156 157 <issue 158 id="ComposableNaming" 159 message="Composable functions that return Unit should start with an uppercase letter" 160 errorLine1=" private fun sampleSplitRadioButton(" 161 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 162 <location 163 file="src/androidTest/kotlin/androidx/wear/compose/material3/RadioButtonScreenshotTest.kt"/> 164 </issue> 165 166 <issue 167 id="ComposableNaming" 168 message="Composable functions that return Unit should start with an uppercase letter" 169 errorLine1=" private fun sampleFilledTextButton(enabled: Boolean) {" 170 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 171 <location 172 file="src/androidTest/kotlin/androidx/wear/compose/material3/TextButtonScreenshotTest.kt"/> 173 </issue> 174 175 <issue 176 id="ComposableNaming" 177 message="Composable functions that return Unit should start with an uppercase letter" 178 errorLine1=" private fun sampleFilledTonalTextButton(enabled: Boolean) {" 179 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 180 <location 181 file="src/androidTest/kotlin/androidx/wear/compose/material3/TextButtonScreenshotTest.kt"/> 182 </issue> 183 184 <issue 185 id="ComposableNaming" 186 message="Composable functions that return Unit should start with an uppercase letter" 187 errorLine1=" private fun sampleOutlinedTextButton(enabled: Boolean) {" 188 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 189 <location 190 file="src/androidTest/kotlin/androidx/wear/compose/material3/TextButtonScreenshotTest.kt"/> 191 </issue> 192 193 <issue 194 id="ComposableNaming" 195 message="Composable functions that return Unit should start with an uppercase letter" 196 errorLine1=" private fun sampleTextButton(" 197 errorLine2=" ~~~~~~~~~~~~~~~~"> 198 <location 199 file="src/androidTest/kotlin/androidx/wear/compose/material3/TextButtonScreenshotTest.kt"/> 200 </issue> 201 202 <issue 203 id="ComposableNaming" 204 message="Composable functions that return Unit should start with an uppercase letter" 205 errorLine1=" private fun sampleText() {" 206 errorLine2=" ~~~~~~~~~~"> 207 <location 208 file="src/androidTest/kotlin/androidx/wear/compose/material3/TextScreenshotTest.kt"/> 209 </issue> 210 211 <issue 212 id="ComposableNaming" 213 message="Composable functions that return Unit should start with an uppercase letter" 214 errorLine1=" private fun sampleTextToggleButton(" 215 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 216 <location 217 file="src/androidTest/kotlin/androidx/wear/compose/material3/TextToggleButtonScreenshotTest.kt"/> 218 </issue> 219 220 <issue 221 id="ComposableNaming" 222 message="Composable functions that return Unit should start with an uppercase letter" 223 errorLine1=" private fun sampleCheckboxButton(" 224 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 225 <location 226 file="src/androidTest/kotlin/androidx/wear/compose/material3/ToggleButtonScreenshotTest.kt"/> 227 </issue> 228 229 <issue 230 id="ComposableNaming" 231 message="Composable functions that return Unit should start with an uppercase letter" 232 errorLine1=" private fun sampleSplitCheckboxButton(" 233 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 234 <location 235 file="src/androidTest/kotlin/androidx/wear/compose/material3/ToggleButtonScreenshotTest.kt"/> 236 </issue> 237 238 <issue 239 id="ComposableNaming" 240 message="Composable functions that return Unit should start with an uppercase letter" 241 errorLine1=" private fun sampleSwitchButton(" 242 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 243 <location 244 file="src/androidTest/kotlin/androidx/wear/compose/material3/ToggleButtonScreenshotTest.kt"/> 245 </issue> 246 247 <issue 248 id="ComposableNaming" 249 message="Composable functions that return Unit should start with an uppercase letter" 250 errorLine1=" private fun sampleSplitSwitchButton(" 251 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 252 <location 253 file="src/androidTest/kotlin/androidx/wear/compose/material3/ToggleButtonScreenshotTest.kt"/> 254 </issue> 255 256 <issue 257 id="LocalContextConfigurationRead" 258 message="Reading Configuration using LocalContext.current.resources.configuration" 259 errorLine1=" originalContext.resources.configuration.updateFrom(fixedScreenSizeConfiguration)" 260 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 261 <location 262 file="src/androidTest/kotlin/androidx/wear/compose/material3/Material3Test.kt"/> 263 </issue> 264 265 <issue 266 id="LocalContextConfigurationRead" 267 message="Reading Configuration using LocalContext.current.resources.configuration" 268 errorLine1=" val screenSize = LocalContext.current.resources.configuration.smallestScreenWidthDp" 269 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 270 <location 271 file="src/androidTest/kotlin/androidx/wear/compose/material3/TimeTextScreenshotTest.kt"/> 272 </issue> 273 274 <issue 275 id="ModifierParameter" 276 message="Modifier parameter should be the first optional parameter" 277 errorLine1=" modifier: Modifier = Modifier," 278 errorLine2=" ~~~~~~~~"> 279 <location 280 file="src/androidTest/kotlin/androidx/wear/compose/material3/IconButtonScreenshotTest.kt"/> 281 </issue> 282 283 <issue 284 id="ModifierParameter" 285 message="Modifier parameter should be the first optional parameter" 286 errorLine1=" modifier: Modifier = Modifier," 287 errorLine2=" ~~~~~~~~"> 288 <location 289 file="src/androidTest/kotlin/androidx/wear/compose/material3/IconButtonScreenshotTest.kt"/> 290 </issue> 291 292 <issue 293 id="ModifierParameter" 294 message="Modifier parameter should be the first optional parameter" 295 errorLine1=" modifier: Modifier = Modifier," 296 errorLine2=" ~~~~~~~~"> 297 <location 298 file="src/androidTest/kotlin/androidx/wear/compose/material3/IconToggleButtonScreenshotTest.kt"/> 299 </issue> 300 301 <issue 302 id="ModifierParameter" 303 message="Modifier parameter should be the first optional parameter" 304 errorLine1=" modifier: Modifier = Modifier," 305 errorLine2=" ~~~~~~~~"> 306 <location 307 file="src/androidTest/kotlin/androidx/wear/compose/material3/TextButtonScreenshotTest.kt"/> 308 </issue> 309 310 <issue 311 id="ModifierParameter" 312 message="Modifier parameter should be the first optional parameter" 313 errorLine1=" modifier: Modifier = Modifier," 314 errorLine2=" ~~~~~~~~"> 315 <location 316 file="src/androidTest/kotlin/androidx/wear/compose/material3/TextToggleButtonScreenshotTest.kt"/> 317 </issue> 318 319 <issue 320 id="UnrememberedMutableState" 321 message="Creating a state object during composition without using `remember`" 322 errorLine1=" mutableStateOf(progress)" 323 errorLine2=" ~~~~~~~~~~~~~~"> 324 <location 325 file="src/androidTest/kotlin/androidx/wear/compose/material3/IconButtonScreenshotTest.kt"/> 326 </issue> 327 328 <issue 329 id="UnrememberedMutableState" 330 message="Creating a state object during composition without using `remember`" 331 errorLine1=" mutableStateOf(progress)" 332 errorLine2=" ~~~~~~~~~~~~~~"> 333 <location 334 file="src/androidTest/kotlin/androidx/wear/compose/material3/IconButtonScreenshotTest.kt"/> 335 </issue> 336 337 <issue 338 id="AutoboxingStateValueProperty" 339 message="Assigning `value` will cause an autoboxing operation. Use `floatValue` to avoid unnecessary allocations." 340 errorLine1=" { progress.value }," 341 errorLine2=" ~~~~~"> 342 <location 343 file="src/androidTest/kotlin/androidx/wear/compose/material3/AnimatedStateTest.kt"/> 344 </issue> 345 346 <issue 347 id="AutoboxingStateValueProperty" 348 message="Assigning `value` will cause an autoboxing operation. Use `floatValue` to avoid unnecessary allocations." 349 errorLine1=" smoothProgress = rememberAnimatedStateOf({ progress.value }, snap())" 350 errorLine2=" ~~~~~"> 351 <location 352 file="src/androidTest/kotlin/androidx/wear/compose/material3/AnimatedStateTest.kt"/> 353 </issue> 354 355 <issue 356 id="AutoboxingStateValueProperty" 357 message="Assigning `value` will cause an autoboxing operation. Use `floatValue` to avoid unnecessary allocations." 358 errorLine1=" LaunchedEffect(Unit) { progress.value = 1f }" 359 errorLine2=" ~~~~~"> 360 <location 361 file="src/androidTest/kotlin/androidx/wear/compose/material3/AnimatedStateTest.kt"/> 362 </issue> 363 364 <issue 365 id="AutoboxingStateValueProperty" 366 message="Assigning `value` will cause an autoboxing operation. Use `floatValue` to avoid unnecessary allocations." 367 errorLine1=" { progress.value }," 368 errorLine2=" ~~~~~"> 369 <location 370 file="src/androidTest/kotlin/androidx/wear/compose/material3/AnimatedStateTest.kt"/> 371 </issue> 372 373 <issue 374 id="AutoboxingStateValueProperty" 375 message="Assigning `value` will cause an autoboxing operation. Use `floatValue` to avoid unnecessary allocations." 376 errorLine1=" progress = { progress.value }," 377 errorLine2=" ~~~~~"> 378 <location 379 file="src/androidTest/kotlin/androidx/wear/compose/material3/LinearProgressIndicatorScreenshotTest.kt"/> 380 </issue> 381 382 <issue 383 id="AutoboxingStateValueProperty" 384 message="Assigning `value` will cause an autoboxing operation. Use `floatValue` to avoid unnecessary allocations." 385 errorLine1=" rule.runOnIdle { progress.value = 1f }" 386 errorLine2=" ~~~~~"> 387 <location 388 file="src/androidTest/kotlin/androidx/wear/compose/material3/LinearProgressIndicatorScreenshotTest.kt"/> 389 </issue> 390 391 <issue 392 id="AutoboxingStateValueProperty" 393 message="Assigning `value` will cause an autoboxing operation. Use `longValue` to avoid unnecessary allocations." 394 errorLine1=" frameMillis.value += timeToAdd" 395 errorLine2=" ~~~~~"> 396 <location 397 file="src/androidTest/kotlin/androidx/wear/compose/material3/PlaceholderTest.kt"/> 398 </issue> 399 400 <issue 401 id="AutoboxingStateValueProperty" 402 message="Assigning `value` will cause an autoboxing operation. Use `longValue` to avoid unnecessary allocations." 403 errorLine1=" frameMillis.value += PLACEHOLDER_SHIMMER_DURATION_MS" 404 errorLine2=" ~~~~~"> 405 <location 406 file="src/androidTest/kotlin/androidx/wear/compose/material3/PlaceholderTest.kt"/> 407 </issue> 408 409 <issue 410 id="AutoboxingStateValueProperty" 411 message="Assigning `value` will cause an autoboxing operation. Use `longValue` to avoid unnecessary allocations." 412 errorLine1=" frameMillis.value = currentTime" 413 errorLine2=" ~~~~~"> 414 <location 415 file="src/androidTest/kotlin/androidx/wear/compose/material3/PlaceholderTest.kt"/> 416 </issue> 417 418 <issue 419 id="AutoboxingStateValueProperty" 420 message="Assigning `value` will cause an autoboxing operation. Use `floatValue` to avoid unnecessary allocations." 421 errorLine1=" progress = { progress.value }," 422 errorLine2=" ~~~~~"> 423 <location 424 file="src/androidTest/kotlin/androidx/wear/compose/material3/ProgressIndicatorScreenshotTest.kt"/> 425 </issue> 426 427 <issue 428 id="AutoboxingStateValueProperty" 429 message="Assigning `value` will cause an autoboxing operation. Use `floatValue` to avoid unnecessary allocations." 430 errorLine1=" rule.runOnIdle { progress.value = 1f }" 431 errorLine2=" ~~~~~"> 432 <location 433 file="src/androidTest/kotlin/androidx/wear/compose/material3/ProgressIndicatorScreenshotTest.kt"/> 434 </issue> 435 436 <issue 437 id="AutoboxingStateValueProperty" 438 message="Assigning `value` will cause an autoboxing operation. Use `floatValue` to avoid unnecessary allocations." 439 errorLine1=" progress = { progress.value }," 440 errorLine2=" ~~~~~"> 441 <location 442 file="src/androidTest/kotlin/androidx/wear/compose/material3/ProgressIndicatorScreenshotTest.kt"/> 443 </issue> 444 445 <issue 446 id="AutoboxingStateValueProperty" 447 message="Assigning `value` will cause an autoboxing operation. Use `floatValue` to avoid unnecessary allocations." 448 errorLine1=" rule.runOnIdle { progress.value = 1f }" 449 errorLine2=" ~~~~~"> 450 <location 451 file="src/androidTest/kotlin/androidx/wear/compose/material3/ProgressIndicatorScreenshotTest.kt"/> 452 </issue> 453 454</issues> 455