| /compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/input/ |
| D | FakeInputMethodManager.kt | 27 private val calls = mutableListOf<String>() constant 30 assertThat(calls.removeFirstKt()).isEqualTo(description) in expectCall() 34 assertThat(calls).isEmpty() in expectNoMoreCalls() 38 calls.clear() in resetCalls() 42 calls += "restartInput" in restartInput() 46 calls += "showSoftInput" in showSoftInput() 50 calls += "hideSoftInput" in hideSoftInput() 54 calls += "updateExtractedText" in updateExtractedText() 63 calls += in updateSelection() 69 calls += "updateCursorAnchorInfo" in updateCursorAnchorInfo() [all …]
|
| D | TextFieldDragAndDropTest.kt | 213 val calls = mutableListOf<String>() in <lambda>() constant 229 calls += "start" in <lambda>() 233 calls += "end" in <lambda>() 237 calls += "enter" in <lambda>() 241 calls += "exit" in <lambda>() 247 calls += "receive" in <lambda>() 265 assertThat(calls).isEqualTo(listOf("start", "enter")) in <lambda>() 268 assertThat(calls).isEqualTo(listOf("start", "enter", "end")) in <lambda>() 269 calls.clear() in <lambda>() 275 assertThat(calls).isEqualTo(listOf("start", "enter")) in <lambda>() [all …]
|
| /compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/content/ |
| D | ReceiveContentTest.kt | 512 val calls = mutableListOf<String>() in <lambda>() constant 521 calls += "enter" in <lambda>() 525 calls += "exit" in <lambda>() 531 calls += "receive" in <lambda>() 553 rule.runOnIdle { assertThat(calls).isEqualTo(listOf("enter", "exit", "enter", "receive")) } in <lambda>() 559 val calls = mutableListOf<String>() in <lambda>() constant 568 calls += "enter-1" in <lambda>() 572 calls += "exit-1" in <lambda>() 588 calls += "enter-2" in <lambda>() 592 calls += "exit-2" in <lambda>() [all …]
|
| /compose/ui/ui-lint/src/main/java/androidx/compose/ui/lint/ |
| D | SuspiciousModifierThenDetector.kt | 38 import org.jetbrains.kotlin.analysis.api.calls.KtCall 39 import org.jetbrains.kotlin.analysis.api.calls.KtCallableMemberCall 40 import org.jetbrains.kotlin.analysis.api.calls.KtCompoundAccessCall 41 import org.jetbrains.kotlin.analysis.api.calls.KtImplicitReceiverValue 42 import org.jetbrains.kotlin.analysis.api.calls.singleCallOrNull
|
| D | ModifierDeclarationDetector.kt | 38 import org.jetbrains.kotlin.analysis.api.calls.KtCall 39 import org.jetbrains.kotlin.analysis.api.calls.KtCallableMemberCall 40 import org.jetbrains.kotlin.analysis.api.calls.KtImplicitReceiverValue 41 import org.jetbrains.kotlin.analysis.api.calls.singleCallOrNull
|
| /compose/runtime/design/ |
| D | removing-call-groups-for-non-skippable-functions.md | 5 …calls must generate a group to ensure the correctness of the application. These groups were inform… 7 …trol-flow groups but the implication of how this affects the need for all calls to have groups was… 37 …e creates two independent trees. The dotted lines and boxes represent the calls to remember made b… 42 To allow for adjacent calls, originally (in pre-alpha) Compose added another key, the call site key… 49 At first sight this doesn't appear to disambiguate calls to `A` and `B`. It is ensured, however, by… 53 …calls `remember` then each `A` in the graph above must return a unique value when it is recomposed… 57 To see this, let's reorganize the tree along the lines of flow of control, instead of calls. 63 As the calls to A and B are unconditional (otherwise they would have a flow-control group around th… 71 Since the order of the calls is fixed, the call groups are no longer necessary to address the tree,… 100 …d the call that generated a layout node. As Box, Column, and Row are such calls as they are non-re…
|
| D | how-compose-works.md | 3 …It is passed as an implicit parameter to every `@Composable` function and calls are inserted to Co… 20 …ing composable functions from some root composable function. The function calls, at runtime, form … 44 … functions as they are executed that includes the results of the previous calls to `remember`, for… 69 The job of the compiler plugin is to transform `@Composable` calls and inject the calls into the ru… 74 ##### Example: Positional Memoization runtime calls 125 …oup()` requests the composer to skip the group end of `B`'s group which includes both calls to `A`. 180 ##### Example: A and B with parameters, positional memoization, skipping and restarting calls. 244 The sequence of calls used to produce this table are, 389 …. It is the responsibility of the compiler plugin to generate the runtime calls necessary to ensur… 412 …of the content generated by all calls to `Counter()`. Using duplicate keys in order preserves the…
|
| D | movable-content.md | 298 calls of movable content to be used as transitionary images. For example, multiple calls
|
| /compose/runtime/runtime-lint/src/main/java/androidx/compose/runtime/lint/ |
| D | RememberInCompositionDetector.kt | 35 import org.jetbrains.kotlin.analysis.api.calls.KtSimpleVariableAccess in <lambda>() 36 import org.jetbrains.kotlin.analysis.api.calls.KtSimpleVariableAccessCall in <lambda>() 37 import org.jetbrains.kotlin.analysis.api.calls.singleVariableAccessCall in <lambda>() 38 import org.jetbrains.kotlin.analysis.api.calls.symbol in <lambda>()
|
| D | AutoboxingStateCreationDetector.kt | 37 import org.jetbrains.kotlin.analysis.api.calls.singleFunctionCallOrNull in <lambda>()
|
| /compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/modifier/ |
| D | ModifierLocalSameLayoutNodeTest.kt | 483 var calls = 0 in modifierLocalCallsOnce() variable 491 calls++ in modifierLocalCallsOnce() 496 calls = 0 in modifierLocalCallsOnce() 500 rule.runOnIdle { assertThat(calls).isEqualTo(1) } in modifierLocalCallsOnce()
|
| /compose/ui/ui-tooling-data/src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/data/ |
| D | InspectableTests.kt | 368 val calls = in <lambda>() constant 381 assertTrue(calls.contains("Column")) in <lambda>() 382 assertTrue(calls.contains("Text")) in <lambda>() 383 assertTrue(calls.contains("Button")) in <lambda>()
|
| /compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/draganddrop/ |
| D | AndroidDragAndDropTest.kt | 424 val calls = mutableListOf<String>() in <lambda>() constant 425 acceptingParentBottomStartDropTarget.onEntered = { calls += "enter-parent" } in <lambda>() 426 acceptingParentBottomStartDropTarget.onExited = { calls += "exit-parent" } in <lambda>() 427 acceptingInnerBottomStartDropTarget.onEntered = { calls += "enter-child" } in <lambda>() 428 acceptingInnerBottomStartDropTarget.onExited = { calls += "exit-child" } in <lambda>() 456 Truth.assertThat(calls) in <lambda>()
|
| /compose/ui/ui-text/src/androidInstrumentedTest/kotlin/androidx/compose/ui/text/platform/ |
| D | AndroidTextPaintTest.kt | 171 var calls = 0 in setShaderBrush_with_specified_size() variable 177 calls++ in setShaderBrush_with_specified_size() 187 assertThat(calls).isEqualTo(1) in setShaderBrush_with_specified_size()
|
| /compose/docs/ |
| D | compose-api-guidelines.md | 244 …ion by the Compose compiler plugin such that the Compose runtime may skip calls to functions that … 276 …he shape of calling code and prevents interactions with other declarative calls that come before i…
|
| D | compose-component-api-guidelines.md | 737 * Default expression does not contain private/internal calls. This allows users that wrap/extend …
|
| /compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/accessibility/ |
| D | android_a11y_implementation_notes.md | 244 where it calls `getBoundsOnScreen` on the focused View at draw time.
|