Home
last modified time | relevance | path

Searched refs:calls (Results 1 – 17 of 17) sorted by relevance

/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/input/
DFakeInputMethodManager.kt27 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 …]
DTextFieldDragAndDropTest.kt213 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/
DReceiveContentTest.kt512 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/
DSuspiciousModifierThenDetector.kt38 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
DModifierDeclarationDetector.kt38 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/
Dremoving-call-groups-for-non-skippable-functions.md5calls 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…
53calls `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…
Dhow-compose-works.md3 …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…
Dmovable-content.md298 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/
DRememberInCompositionDetector.kt35 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>()
DAutoboxingStateCreationDetector.kt37 import org.jetbrains.kotlin.analysis.api.calls.singleFunctionCallOrNull in <lambda>()
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/modifier/
DModifierLocalSameLayoutNodeTest.kt483 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/
DInspectableTests.kt368 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/
DAndroidDragAndDropTest.kt424 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/
DAndroidTextPaintTest.kt171 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/
Dcompose-api-guidelines.md244 …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…
Dcompose-component-api-guidelines.md737 * 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/
Dandroid_a11y_implementation_notes.md244 where it calls `getBoundsOnScreen` on the focused View at draw time.