Home
last modified time | relevance | path

Searched refs:Unit (Results 1 – 25 of 930) sorted by relevance

12345678910>>...38

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/
DMediaCommonViewModel.kt24 abstract val onAdded: (MediaCommonViewModel) -> Unit
25 abstract val onRemoved: (Boolean) -> Unit
26 abstract val onUpdated: (MediaCommonViewModel) -> Unit
32 override val onAdded: (MediaCommonViewModel) -> Unit,
33 override val onRemoved: (Boolean) -> Unit,
34 override val onUpdated: (MediaCommonViewModel) -> Unit,
42 override val onAdded: (MediaCommonViewModel) -> Unit,
43 override val onRemoved: (Boolean) -> Unit,
44 override val onUpdated: (MediaCommonViewModel) -> Unit,
DMediaPlayerViewModel.kt41 val onClicked: (Expandable) -> Unit,
42 val onLongClicked: () -> Unit,
43 val onSeek: () -> Unit,
44 val onBindSeekbar: (SeekBarViewModel) -> Unit,
/frameworks/base/packages/SystemUI/compose/scene/tests/utils/src/com/android/compose/animation/scene/
DTestTransition.kt48 fun before(builder: TransitionTestAssertionScope.() -> Unit) in <lambda>()
60 fun at(timestamp: Long, builder: TransitionTestAssertionScope.() -> Unit) in <lambda>()
67 fun after(builder: TransitionTestAssertionScope.() -> Unit) in <lambda>()
89 fromSceneContent: @Composable SceneScope.() -> Unit, in onElement()
90 toSceneContent: @Composable SceneScope.() -> Unit, in onElement()
91 transition: TransitionBuilder.() -> Unit, in onElement()
95 builder: TransitionTestBuilder.() -> Unit, in onElement()
118 val timeSeriesCapture: TimeSeriesCaptureScope<SemanticsNodeInteractionsProvider>.() -> Unit
132 fromSceneContent: @Composable SceneScope.() -> Unit, in MotionTestRule()
133 toSceneContent: @Composable SceneScope.() -> Unit, in MotionTestRule()
[all …]
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/util/
DAnimatorExtensions.kt28 crossinline action: (animator: Animator) -> Unit in doOnEnd()
38 crossinline action: (animator: Animator) -> Unit in doOnEnd()
48 crossinline action: (animator: Animator) -> Unit in doOnEnd()
57 crossinline action: (animator: Animator) -> Unit in doOnEnd()
66 crossinline onEnd: (animator: Animator) -> Unit = {}, in doOnEnd()
67 crossinline onStart: (animator: Animator) -> Unit = {}, in <lambda>()
68 crossinline onCancel: (animator: Animator) -> Unit = {}, in <lambda>()
69 crossinline onRepeat: (animator: Animator) -> Unit = {} in <lambda>()
/frameworks/native/include/ftl/
Dunit.h25 constexpr struct Unit { struct
28 constexpr bool operator==(Unit, Unit) {
32 constexpr bool operator!=(Unit, Unit) {
51 Unit operator()(Args&&... args) { in operator()
73 struct UnitToVoid<Unit> {
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/
DBiometricHandler.kt114 openMoreOptionsPage: () -> Unit, in <lambda>()
115 sendDataToProvider: (EntryInfo, BiometricPrompt.AuthenticationResult?, BiometricError?) -> Unit, in <lambda>()
116 onCancelFlowAndFinish: () -> Unit, in <lambda>()
117 onIllegalStateAndFinish: (String) -> Unit, in <lambda>()
119 onBiometricPromptStateChange: (BiometricPromptState) -> Unit, in <lambda>()
120 onBiometricFailureFallback: (BiometricFlowType) -> Unit, in <lambda>()
162 openMoreOptionsPage: () -> Unit, in runBiometricFlowForCreate()
163 sendDataToProvider: (EntryInfo, BiometricPrompt.AuthenticationResult?, BiometricError?) -> Unit, in runBiometricFlowForCreate()
164 onCancelFlowAndFinish: () -> Unit, in runBiometricFlowForCreate()
165 onIllegalStateAndFinish: (String) -> Unit, in runBiometricFlowForCreate()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/touchpad/tutorial/ui/view/
DTutorialSelectionScreen.kt42 onBackTutorialClicked: () -> Unit, in TutorialSelectionScreen()
43 onHomeTutorialClicked: () -> Unit, in TutorialSelectionScreen()
44 onActionKeyTutorialClicked: () -> Unit, in TutorialSelectionScreen()
45 onDoneButtonClicked: () -> Unit, in TutorialSelectionScreen()
70 onBackTutorialClicked: () -> Unit, in TutorialSelectionButtons()
71 onHomeTutorialClicked: () -> Unit, in TutorialSelectionButtons()
72 onActionKeyTutorialClicked: () -> Unit, in TutorialSelectionButtons()
104 onClick: () -> Unit, in TutorialButton()
119 private fun DoneButton(onDoneButtonClicked: () -> Unit, modifier: Modifier = Modifier) { in DoneButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DIpcSerializer.kt55 private val channel = Channel<Pair<CompletableDeferred<Unit>, Job>>()
65 start.complete(Unit) in process()
79 val start = CompletableDeferred(Unit) in runSerialized()
80 val finish = CompletableDeferred(Unit) in runSerialized()
88 finish.complete(Unit) in runSerialized()
/frameworks/base/packages/CredentialManager/wear/src/com/android/credentialmanager/ui/components/
DCredentialsScreenChip.kt46 onClick: () -> Unit, in CredentialsScreenChip()
76 onClick: () -> Unit, in CredentialsScreenChip()
77 text: @Composable () -> Unit, in CredentialsScreenChip()
84 val labelParam: (@Composable RowScope.() -> Unit) = in CredentialsScreenChip()
89 val secondaryLabelParam: (@Composable RowScope.() -> Unit)? = in CredentialsScreenChip()
111 val iconParam: (@Composable BoxScope.() -> Unit)? = in CredentialsScreenChip()
147 fun SignInOptionsChip(onClick: () -> Unit) { in SignInOptionsChip()
162 fun ContinueChip(onClick: () -> Unit) { in ContinueChip()
182 fun DismissChip(onClick: () -> Unit) { in DismissChip()
191 onClick: () -> Unit in LockedProviderChip()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/
DGuestUserInteractor.kt87 suspendCancellableCoroutine<Unit> { continuation -> in <lambda>()
91 continuation.resumeWith(Result.success(Unit)) in <lambda>()
107 showDialog: (ShowDialogRequestModel) -> Unit, in <lambda>()
108 dismissDialog: () -> Unit, in <lambda>()
109 selectUser: (userId: Int) -> Unit, in <lambda>()
124 showDialog: (ShowDialogRequestModel) -> Unit, in <lambda>()
125 dismissDialog: () -> Unit, in <lambda>()
126 switchUser: (userId: Int) -> Unit, in <lambda>()
190 showDialog: (ShowDialogRequestModel) -> Unit, in <lambda>()
191 dismissDialog: () -> Unit, in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/common/ui/data/repository/
DFakeConfigurationRepository.kt34 MutableSharedFlow<Unit>(
38 override val onAnyConfigurationChange: Flow<Unit> = _onAnyConfigurationChange.asSharedFlow()
41 MutableSharedFlow<Unit>(replay = 1, onBufferOverflow = BufferOverflow.DROP_OLDEST)
42 override val onConfigurationChange: Flow<Unit> = _onConfigurationChange.asSharedFlow()
55 _onAnyConfigurationChange.tryEmit(Unit) in onAnyConfigurationChange()
59 _onConfigurationChange.tryEmit(Unit) in onConfigurationChange()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/createflow/
DCreateCredentialComponents.kt246 onBackCreationSelectionButtonSelected: () -> Unit, in MoreOptionsSelectionCard()
247 onOptionSelected: (ActiveEntry) -> Unit, in MoreOptionsSelectionCard()
248 onDisabledProvidersSelected: () -> Unit, in MoreOptionsSelectionCard()
249 onRemoteEntrySelected: (EntryInfo) -> Unit, in MoreOptionsSelectionCard()
250 onLog: @Composable (UiEventEnum) -> Unit, in MoreOptionsSelectionCard()
251 customTopAppBar: (@Composable() () -> Unit)? = null in MoreOptionsSelectionCard()
320 onIllegalScreenState: (String) -> Unit, in NonDefaultUsageConfirmationCard()
321 onLaunchSettings: () -> Unit, in NonDefaultUsageConfirmationCard()
322 onUseOnceSelected: () -> Unit, in NonDefaultUsageConfirmationCard()
323 onLog: @Composable (UiEventEnum) -> Unit, in NonDefaultUsageConfirmationCard()
[all …]
/frameworks/base/cmds/idmap2/idmap2/
DCommands.h25 android::idmap2::Result<android::idmap2::Unit> Create(const std::vector<std::string>& args);
26 android::idmap2::Result<android::idmap2::Unit> CreateMultiple(const std::vector<std::string>& args);
27 android::idmap2::Result<android::idmap2::Unit> Dump(const std::vector<std::string>& args);
28 android::idmap2::Result<android::idmap2::Unit> Lookup(const std::vector<std::string>& args);
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/getflow/
DGetCredentialComponents.kt249 onCancelFlowAndFinish: () -> Unit,
250 onIllegalStateAndFinish: (String) -> Unit,
251 onMoreOptionSelected: () -> Unit,
259 ) -> Unit,
260 fallbackToOriginalFlow: (BiometricFlowType) -> Unit,
262 onBiometricPromptStateChange: (BiometricPromptState) -> Unit,
264 onLog: @Composable (UiEventEnum) -> Unit,
298 onEntrySelected: (EntryInfo) -> Unit, in PrimarySelectionCard()
299 onConfirm: () -> Unit, in PrimarySelectionCard()
300 onMoreOptionSelected: () -> Unit, in PrimarySelectionCard()
[all …]
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
DEntryLogger.kt29 fun logEntryEvent(): (event: LogEvent, extraData: Bundle) -> Unit { in <lambda>()
42 fun wrapOnClickWithLog(onClick: (() -> Unit)?): (() -> Unit)? { in wrapOnClickWithLog()
52 fun wrapOnSwitchWithLog(onSwitch: ((checked: Boolean) -> Unit)?): ((checked: Boolean) -> Unit)? { in wrapOnSwitchWithLog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DConfigurationControllerExt.kt26 val ConfigurationController.onDensityOrFontScaleChanged: Flow<Unit>
31 trySend(Unit) in <lambda>()
43 val ConfigurationController.onThemeChanged: Flow<Unit>
48 trySend(Unit) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/animation/
DMetadataAnimationHandler.kt34 private var postExitUpdate: (() -> Unit)? = null
35 private var postEnterUpdate: (() -> Unit)? = null
41 fun setNext(targetData: Any, postExit: () -> Unit, postEnter: () -> Unit): Boolean { in setNext()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/settings/
DSettingsProxyExt.kt33 ): Flow<Unit> { in <lambda>()
38 trySend(Unit) in <lambda>()
51 ): Flow<Unit> { in <lambda>()
56 trySend(Unit) in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/dialog/ui/composable/
DAlertDialogContent.kt53 title: @Composable () -> Unit, in <lambda>()
54 content: @Composable () -> Unit, in <lambda>()
56 icon: (@Composable () -> Unit)? = null, in <lambda>()
57 positiveButton: (@Composable () -> Unit)? = null, in <lambda>()
58 negativeButton: (@Composable () -> Unit)? = null, in <lambda>()
59 neutralButton: (@Composable () -> Unit)? = null, in <lambda>()
116 positiveButton: (@Composable () -> Unit)?, in AlertDialogButtons()
117 negativeButton: (@Composable () -> Unit)?, in AlertDialogButtons()
118 neutralButton: (@Composable () -> Unit)?, in AlertDialogButtons()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/util/
DMediaViewModelListUpdateCallback.kt26 private val onAdded: (MediaCommonViewModel, Int) -> Unit,
27 private val onUpdated: (MediaCommonViewModel) -> Unit,
28 private val onRemoved: (MediaCommonViewModel) -> Unit,
29 private val onMoved: (MediaCommonViewModel, Int, Int) -> Unit,
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardDismissInteractor.kt54 private val biometricAuthenticatedRequestDismissKeyguard: Flow<Unit> = in <lambda>()
61 private val onTrustGrantedRequestDismissKeyguard: Flow<Unit> = in <lambda>()
83 private val primaryAuthenticated: Flow<Unit> = in <lambda>()
93 private val userRequestedBouncerWhenAlreadyAuthenticated: Flow<Unit> = in <lambda>()
116 val dismissKeyguardRequestWithImmediateDismissAction: Flow<Unit> = in <lambda>()
124 val dismissKeyguardRequestWithoutImmediateDismissAction: Flow<Unit> = in <lambda>()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/
DPlatformButtons.kt41 onClick: () -> Unit, in PlatformButton()
46 content: @Composable RowScope.() -> Unit, in PlatformButton()
61 onClick: () -> Unit, in PlatformOutlinedButton()
67 content: @Composable RowScope.() -> Unit, in PlatformOutlinedButton()
83 onClick: () -> Unit, in PlatformTextButton()
87 content: @Composable RowScope.() -> Unit, in PlatformTextButton()
100 onClick: () -> Unit, in PlatformIconButton()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/
DNotificationScrimNestedScrollConnection.kt33 snapScrimOffset: (Float) -> Unit, in <lambda>()
34 animateScrimOffset: (Float) -> Unit, in <lambda>()
40 onStart: (Float) -> Unit = {}, in <lambda>()
41 onStop: (Float) -> Unit = {}, in <lambda>()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DTransitionDsl.kt29 fun transitions(builder: SceneTransitionsBuilder.() -> Unit): SceneTransitions { in transitions()
62 builder: TransitionBuilder.() -> Unit = {}, in to()
82 builder: TransitionBuilder.() -> Unit = {}, in from()
95 builder: OverscrollBuilder.() -> Unit = {}, in overscroll()
125 builder: PropertyTransformationBuilder.() -> Unit, in fractionRange()
167 builder: PropertyTransformationBuilder.() -> Unit, in fractionRange()
183 fun reversed(builder: TransitionBuilder.() -> Unit) in fractionRange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/domain/interactor/
DBouncerInteractor.kt64 private val _onIncorrectBouncerInput = MutableSharedFlow<Unit>() in <lambda>()
65 val onIncorrectBouncerInput: SharedFlow<Unit> = _onIncorrectBouncerInput in <lambda>()
84 private val _onImeHiddenByUser = MutableSharedFlow<Unit>() in <lambda>()
86 val onImeHiddenByUser: SharedFlow<Unit> = _onImeHiddenByUser in <lambda>()
89 val onLockoutStarted: Flow<Unit> = in <lambda>()
174 _onIncorrectBouncerInput.emit(Unit) in <lambda>()
193 _onImeHiddenByUser.emit(Unit) in <lambda>()

12345678910>>...38