Home
last modified time | relevance | path

Searched refs:onClicked (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/viewmodel/
DActionButtonViewModel.kt24 val onClicked: (() -> Unit)?, constant in com.android.systemui.screenshot.ui.viewmodel.ActionButtonViewModel
34 onClicked: (() -> Unit)?
36 ActionButtonViewModel(appearance, getId(), true, showDuringEntrance, onClicked)
40 onClicked: (() -> Unit)?
41 ): ActionButtonViewModel = withNextId(appearance, showDuringEntrance = true, onClicked)
DScreenshotViewModel.kt67 onClicked: (() -> Unit) in addAction()
71 ActionButtonViewModel.withNextId(actionAppearance, showDuringEntrance, onClicked) in addAction()
87 actionList[index].onClicked in setActionVisibility()
105 actionList[index].onClicked in updateActionAppearance()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DPinBouncer.kt107 onClicked = viewModel::onPinButtonClicked, in <lambda>()
121 onClicked = viewModel::onBackspaceButtonClicked, in <lambda>()
130 onClicked = viewModel::onPinButtonClicked, in <lambda>()
143 onClicked = viewModel::onAuthenticateButtonClicked, in <lambda>()
154 onClicked: (Int) -> Unit, in DigitButton()
159 onClicked = { onClicked(digit) }, in DigitButton()
185 onClicked: () -> Unit, in ActionButton()
205 onClicked = onClicked, in ActionButton()
228 onClicked: () -> Unit, in PinPadButton()
314 onTap = { onClicked() }, in PinPadButton()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ui/viewmodel/
DScreenshotViewModelTest.kt43 assertThat(added.onClicked).isEqualTo(onclick) in testAddAction()
63 assertThat(remaining.onClicked).isEqualTo(onclick) in testRemoveAction()
77 assertThat(updated.onClicked).isEqualTo(onclick) in testUpdateActionAppearance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/
DMediaRecommendationsViewModel.kt97 private fun onClicked( in <lambda>() method
172 onClicked = { expandable, index -> in <lambda>()
173 onClicked( in <lambda>()
199 onClicked = { expandable -> in <lambda>()
200 onClicked( in <lambda>()
DMediaOutputSwitcherViewModel.kt31 val onClicked: (Expandable) -> Unit, constant in com.android.systemui.media.controls.ui.viewmodel.MediaOutputSwitcherViewModel
DMediaRecsCardViewModel.kt27 val onClicked: (Expandable) -> Unit, constant in com.android.systemui.media.controls.ui.viewmodel.MediaRecsCardViewModel
DMediaActionViewModel.kt34 val onClicked: (Int) -> Unit, constant in com.android.systemui.media.controls.ui.viewmodel.MediaActionViewModel
DMediaRecViewModel.kt35 val onClicked: ((Expandable, Int) -> Unit), constant in com.android.systemui.media.controls.ui.viewmodel.MediaRecViewModel
DMediaPlayerViewModel.kt41 val onClicked: (Expandable) -> Unit, constant in com.android.systemui.media.controls.ui.viewmodel.MediaPlayerViewModel
DMediaControlViewModel.kt144 onClicked = { expandable -> in <lambda>()
215 onClicked = { expandable -> in <lambda>()
331 onClicked = { id -> in <lambda>()
351 onClicked = { id -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/binder/
DUserViewBinder.kt41 if (viewModel.onClicked != null) { in bind()
42 view.setOnClickListener { viewModel.onClicked.invoke() } in bind()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityButtonController.java164 handler.post(() -> callback.onClicked(this)); in dispatchAccessibilityButtonClicked()
204 public void onClicked(AccessibilityButtonController controller) {} in onClicked() method in AccessibilityButtonController.AccessibilityButtonCallback
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/binder/
DActionButtonViewBinder.kt54 if (viewModel.onClicked != null) { in bind()
55 view.setOnClickListener { viewModel.onClicked.invoke() } in bind()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/viewmodel/
DUserActionViewModel.kt32 val onClicked: () -> Unit, constant in com.android.systemui.user.ui.viewmodel.UserActionViewModel
DUserViewModel.kt35 val onClicked: (() -> Unit)?, constant in com.android.systemui.user.ui.viewmodel.UserViewModel
DUserSwitcherViewModel.kt151 onClicked = createOnSelectedCallback(model), in <lambda>()
178 onClicked = { in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/shade/ui/composable/
DOverlayShade.kt81 Scrim(onClicked = viewModel::onScrimClicked) in SceneScope()
97 onClicked: () -> Unit, in Scrim()
106 .clickable(onClick = onClicked, interactionSource = null, indication = null) in Scrim()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardQuickAffordanceViewModel.kt29 val onClicked: (OnClickedParameters) -> Unit = {}, in <lambda>() constant in com.android.systemui.keyguard.ui.viewmodel.KeyguardQuickAffordanceViewModel
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DLongScreenshotActivity.java150 mSave.setOnClickListener(this::onClicked); in onCreate()
151 mCancel.setOnClickListener(this::onClicked); in onCreate()
152 mEdit.setOnClickListener(this::onClicked); in onCreate()
153 mShare.setOnClickListener(this::onClicked); in onCreate()
384 private void onClicked(View v) { in onClicked() method in LongScreenshotActivity
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardQuickAffordanceViewBinder.kt277 viewModel.onClicked( in <lambda>()
300 viewModel.onClicked( in <lambda>()
DKeyguardQuickAffordanceOnTouchListener.kt125 viewModel.onClicked( in dispatchClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/
DMediaRecommendationsViewBinder.kt85 viewModel.onClicked(Expandable.fromView(it)) in <lambda>()
176 mediaRecViewModel.onClicked.invoke(Expandable.fromView(it), index) in <lambda>()
DMediaControlViewBinder.kt125 viewModel.onClicked(Expandable.fromView(player)) in <lambda>()
192 viewModel.onClicked.invoke(Expandable.fromView(viewHolder.seamlessButton)) in <lambda>()
352 actionViewModel.onClicked.invoke(it.id) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/
DBouncerViewModel.kt114 onClick = user.onClicked ?: {}, in <lambda>()
121 onClick = action.onClicked, in <lambda>()

12