Home
last modified time | relevance | path

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

12

/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/customization/ui/viewmodel/
DCustomizationPickerViewModelTest.kt117 collectLastValue(underTest.lockScreenTab)()?.onClicked?.invoke() in setInitialScreen - home screen - but lock screen already selected from before()
140 homeScreenTab()?.onClicked?.invoke() in switching to the home screen()
154 homeScreenTab()?.onClicked?.invoke() in switching to the home screen and back to the lock screen()
155 lockScreenTab()?.onClicked?.invoke() in switching to the home screen and back to the lock screen()
168 oldHomeScreenTab()?.onClicked?.invoke() in restores saved state()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/binder/
DSetWallpaperButtonBinder.kt44 viewModel.onSetWallpaperButtonClicked.collect { onClicked -> in <lambda>() method
46 if (onClicked != null) { in <lambda>()
47 { onClicked.invoke() } in <lambda>()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/clock/ui/viewmodel/
DClockSettingsViewModelTest.kt111 tabs()?.get(1)?.onClicked?.invoke() in <lambda>()
126 val option0OnClicked = collectLastValue(observedClockColorOptions()!![0].onClicked) in <lambda>()
131 val option1OnClickedBefore = collectLastValue(observedClockColorOptions()!![1].onClicked) in <lambda>()
136 val option1OnClickedAfter = collectLastValue(observedClockColorOptions()!![1].onClicked) in <lambda>()
166 val option1OnClicked = collectLastValue(observedClockColorOptions()!![1].onClicked) in <lambda>()
206 val option1OnClicked = collectLastValue(observedClockColorOptions()!![1].onClicked) in <lambda>()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/picker/quickaffordance/ui/viewmodel/
DKeyguardQuickAffordancePickerViewModelTest.kt171 slots()?.get(KeyguardQuickAffordanceSlots.SLOT_ID_BOTTOM_END)?.onClicked?.invoke() in <lambda>()
221 slots()?.get(KeyguardQuickAffordanceSlots.SLOT_ID_BOTTOM_END)?.onClicked?.invoke() in <lambda>()
226 slots()?.get(KeyguardQuickAffordanceSlots.SLOT_ID_BOTTOM_START)?.onClicked?.invoke() in <lambda>()
289 dialog()?.buttons?.get(1)?.onClicked?.invoke() in <lambda>()
344 slots()?.get(KeyguardQuickAffordanceSlots.SLOT_ID_BOTTOM_END)?.onClicked?.invoke() in <lambda>()
403 slots()?.get(KeyguardQuickAffordanceSlots.SLOT_ID_BOTTOM_END)?.onClicked?.invoke() in <lambda>()
437 val onClickedFlow = affordances()?.get(index)?.onClicked in <lambda>()
442 onClickedOrNull?.let { onClicked -> onClicked() } in <lambda>() method
/packages/apps/ThemePicker/src/com/android/customization/picker/color/ui/binder/
DColorSectionViewBinder.kt117 item.onClicked.collect { onClicked -> in <lambda>() method
119 if (onClicked != null) { in <lambda>()
120 View.OnClickListener { onClicked.invoke() } in <lambda>()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DAppsRowItemData.java70 protected abstract void onClicked(); in onClicked() method in AppsRowItemData
88 protected void onClicked() { in onClicked() method in AppsRowItemData.AppData
109 protected void onClicked() { in onClicked() method in AppsRowItemData.RootData
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/option/ui/binder/
DOptionItemBinder.kt177 viewModel.onClicked.collect { onClicked -> in <lambda>() method
179 if (onClicked != null) { in <lambda>()
180 View.OnClickListener { onClicked.invoke() } in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/adapter/
DClockSettingsTabAdapter.kt58 if (item.onClicked != null) { in onBindViewHolder()
59 View.OnClickListener { item.onClicked.invoke() } in onBindViewHolder()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/binder/
DCustomizationPickerTabsBinder.kt64 lockScreenTabViewModel.onClicked?.invoke() in <lambda>()
66 homeScreenTabViewModel.onClicked?.invoke() in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/quickaffordance/ui/viewmodel/
DKeyguardQuickAffordancePickerViewModel.kt168 onClicked = flowOf(null), in <lambda>()
174 onClicked = in <lambda>()
249 onClicked = in <lambda>()
400 onClicked = { in <lambda>()
422 onClicked = onSelected, in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/settings/ui/binder/
DColorContrastSectionViewBinder.kt39 onClicked: () -> Unit, in <lambda>()
41 view.setOnClickListener { onClicked() } in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/quickaffordance/ui/adapter/
DSlotTabAdapter.kt59 if (item.onClicked != null) { in onBindViewHolder()
60 View.OnClickListener { item.onClicked.invoke() } in onBindViewHolder()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/viewmodel/
DClockSettingsViewModel.kt171 onClicked = in <lambda>()
242 onClicked = in <lambda>()
280 onClicked = in <lambda>()
290 onClicked = in <lambda>()
DClockSettingsTabViewModel.kt27 val onClicked: (() -> Unit)?, constant in com.android.customization.picker.clock.ui.viewmodel.ClockSettingsTabViewModel
/packages/apps/ThemePicker/src/com/android/customization/picker/quickaffordance/ui/binder/
DKeyguardQuickAffordanceSectionViewBinder.kt40 onClicked: () -> Unit, in <lambda>()
42 view.setOnClickListener { onClicked() } in <lambda>()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/notifications/ui/viewmodel/
DNotificationSectionViewModelTest.kt87 underTest.onClicked() in toggles back and forth()
90 underTest.onClicked() in toggles back and forth()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDevicePreferenceTest.java130 mPreference.onClicked(); in onClicked_deviceConnected_shouldLogBluetoothDisconnectEvent()
141 mPreference.onClicked(); in onClicked_deviceBonded_shouldLogBluetoothConnectEvent()
154 mPreference.onClicked(); in onClicked_deviceNotBonded_shouldLogBluetoothPairEvent()
170 mPreference.onClicked(); in onClicked_deviceNotBonded_shouldLogBluetoothPairEventAndPairWithoutNameEvent()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/viewmodel/
DCustomizationPickerViewModel.kt82 onClicked = in <lambda>()
98 onClicked = in <lambda>()
DCustomizationPickerTabViewModel.kt23 val onClicked: (() -> Unit)?, constant in com.android.wallpaper.picker.customization.ui.viewmodel.CustomizationPickerTabViewModel
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/common/dialog/ui/viewbinder/
DDialogViewBinder.kt110 onClicked = { in <lambda>()
111 buttonViewModel.onClicked?.invoke() in <lambda>()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/picker/color/ui/viewmodel/
DColorPickerViewModelTest.kt236 val onClickedFlow = colorOptions()?.get(index)?.onClicked in <lambda>()
241 onClickedOrNull?.let { onClicked -> onClicked() } in <lambda>() method
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/ui/viewmodel/
DActionChipViewModel.kt28 val onClicked: () -> Unit, constant in com.android.intentresolver.contentpreview.payloadtoggle.ui.viewmodel.ActionChipViewModel
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/category/ui/viewmodel/
DTileViewModel.kt22 class TileViewModel(val thumbAsset: Asset?, val text: String, val onClicked: (() -> Unit)? = null) constant in com.android.wallpaper.picker.category.ui.viewmodel.TileViewModel
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/common/button/ui/viewmodel/
DButtonViewModel.kt25 val onClicked: (() -> Unit)? = null, constant in com.android.wallpaper.picker.common.button.ui.viewmodel.ButtonViewModel
/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/
DActionRow.kt33 val onClicked: Runnable, constant in com.android.intentresolver.widget.ActionRow.Action

12