Home
last modified time | relevance | path

Searched refs:case (Results 1 – 15 of 15) sorted by relevance

/compose/ui/ui/benchmark/src/androidTest/java/androidx/compose/ui/benchmark/input/pointer/
DComposeOneFingerInputUIOnlyBenchmark.kt155 lateinit var case: ComposeTapTestCase in <lambda>() variable
161 case = getTestCase() in <lambda>()
162 case.expectedLabel = expectedLabel in <lambda>()
221 case.expectedPressCount++ in <lambda>()
222 assertThat(case.actualPressCount).isEqualTo(case.expectedPressCount) in <lambda>()
226 case.expectedMoveCount++ in <lambda>()
227 assertThat(case.actualMoveCount).isEqualTo(case.expectedMoveCount) in <lambda>()
231 assertThat(case.actualMoveCount).isEqualTo(case.expectedMoveCount) in <lambda>()
234 case.expectedReleaseCount++ in <lambda>()
235 assertThat(case.actualReleaseCount).isEqualTo(case.expectedReleaseCount) in <lambda>()
[all …]
DComposeMultiFingerInputUIOnlyBenchmark.kt195 lateinit var case: ComposeTapTestCase in <lambda>() variable
201 case = getTestCase() in <lambda>()
202 case.expectedLabel = expectedLabel in <lambda>()
277 case.expectedPressCount++ in <lambda>()
278 assertThat(case.actualPressCount).isEqualTo(case.expectedPressCount) in <lambda>()
284 case.expectedMoveCount++ in <lambda>()
285 assertThat(case.actualMoveCount).isEqualTo(case.expectedMoveCount) in <lambda>()
289 assertThat(case.actualMoveCount).isEqualTo(case.expectedMoveCount) in <lambda>()
294 case.expectedReleaseCount++ in <lambda>()
295 assertThat(case.actualReleaseCount).isEqualTo(case.expectedReleaseCount) in <lambda>()
[all …]
DComposeTapIntegrationBenchmark.kt87 lateinit var case: ComposeTapTestCase in <lambda>() variable
93 case = getTestCase() in <lambda>()
94 case.expectedLabel = expectedLabel in <lambda>()
125 case.expectedClickCount++ in <lambda>()
126 assertThat(case.actualClickCount).isEqualTo(case.expectedClickCount) in <lambda>()
DComposePreciseFingerTapIntegrationBenchmark.kt93 lateinit var case: ComposeTapTestCase in <lambda>() variable
99 case = getTestCase() in <lambda>()
100 case.expectedLabel = expectedLabel in <lambda>()
193 case.expectedClickCount++ in <lambda>()
194 assertThat(case.actualClickCount).isEqualTo(case.expectedClickCount) in <lambda>()
DComposePreciseStylusTapIntegrationBenchmark.kt97 lateinit var case: ComposeTapTestCase in <lambda>() variable
103 case = getTestCase() in <lambda>()
104 case.expectedLabel = expectedLabel in <lambda>()
197 case.expectedClickCount++ in <lambda>()
198 assertThat(case.actualClickCount).isEqualTo(case.expectedClickCount) in <lambda>()
/compose/foundation/
DCHANGELOG.md8 # `Security`: in case of vulnerabilities
/compose/ui/ui-text/
DCHANGELOG.md8 # `Security`: in case of vulnerabilities
/compose/runtime/runtime/src/nonEmulatorCommonTest/kotlin/androidx/compose/runtime/
DMovableContentTests.kt543 var case by mutableStateOf(0) in <lambda>() variable
553 when (case) { in <lambda>()
617 when (case) { in <lambda>()
682 case = c in <lambda>()
/compose/foundation/foundation/benchmark/src/androidTest/java/androidx/compose/foundation/benchmark/text/empirical/
DREADME.md36 ## Use-case naming
/compose/runtime/design/
Dhow-compose-works.md281 …le would match what is in the old table then nothing has changed. In this case, it isn't until gro…
304 …eate a `Pending` object that contains the remaining groups which, in this case, is just `<ShowEmai…
314 …time is more general and can handle non-key groups moving. As this is the case, to demonstrate how…
320 …a `Pending` object is created and the remaining groups are added. In this case `<ShowName>`, `<Sho…
Dmovable-content.md249 * `-` In the "list recycling" case this can lead to surprising behavior like selection not being
307 mean in such a scenario as the state is not be able to be shared in this case as the state
Dremoving-call-groups-for-non-skippable-functions.md90 … read after a child is entered. The `SlotWriter` would need to handle the case where slots are add…
/compose/docs/
Dcompose-component-api-guidelines.md88 …nto layers or subcomponents. With the benefit of smaller, concise and use case targeted API comes …
196 … define the layouts needed or add any decorations and customisations. The case might be made to no…
288 …utton`) or Module (`WearButton`) prefixes where possible and consider use-case or domain specific …
290 …r names that are derived from the use case first: `ScalingLazyColumn`, `CurvedText`. If impossible…
738 …meter](#nullable-parameter)" section). Absence of the value (null) is a valid default in this case.
817 …iven `param: State<Float>`, there are two better alternatives available, depending on the use case:
1218 * A common use case is to display a badge with navigation bar items.
Dcompose-api-guidelines.md406 … modifier as the final positional parameter to an element call for any given element's common case.
699 …nt to be the source of truth for the data they represent. It is often the case that different team…
/compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/accessibility/
Dandroid_a11y_implementation_notes.md42 merged", which becomes intuitive if you imagine the key use case of a Button contained inside a
311 has today mostly been superceded by other tools, except for one key use case: performance