Home
last modified time | relevance | path

Searched refs:clickListener (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogControllerTest.kt96 channel1, appIcon, clickListener) in testPrepareDialogForApp_noExtraChannels()
106 channelDefault, appIcon, clickListener) in testPrepareDialogForApp_onlyDefaultChannel()
130 channel1, appIcon, clickListener) in testPrepareDialogForApp_AddsAllChannelsAllGroups()
140 channel1, appIcon, clickListener) in testApply_demoteChannel()
159 channel1, appIcon, clickListener) in testApply_promoteChannel()
178 channel1, appIcon, clickListener) in testApply_demoteApp()
194 channel1, appIcon, clickListener) in testApply_promoteApp()
252 private val clickListener = object : NotificationInfo.OnSettingsClickListener { constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/screenrecord/ui/viewmodel/
DScreenRecordChipViewModelTest.kt139 val clickListener = ((latest as OngoingActivityChipModel.Shown).onClickListener) in chip_notProjecting_clickListenerShowsDialog() constant
141 clickListener.onClick(chipView) in chip_notProjecting_clickListenerShowsDialog()
160 val clickListener = ((latest as OngoingActivityChipModel.Shown).onClickListener) in chip_projectingEntireScreen_clickListenerShowsDialog() constant
162 clickListener.onClick(chipView) in chip_projectingEntireScreen_clickListenerShowsDialog()
184 val clickListener = ((latest as OngoingActivityChipModel.Shown).onClickListener) in chip_projectingSingleTask_clickListenerShowsDialog() constant
186 clickListener.onClick(chipView) in chip_projectingSingleTask_clickListenerShowsDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGuestResetOrExitSessionReceiver.java234 ExitSessionDialogClickListener clickListener = mClickListenerFactory.create( in create() local
244 clickListener); in create()
249 clickListener); in create()
260 clickListener); in create()
265 clickListener); in create()
270 clickListener); in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/
DSensorUseDialog.kt18 val clickListener: DialogInterface.OnClickListener, constant
68 .sensor_privacy_start_use_dialog_turn_on_button), clickListener)
71 .cancel), clickListener)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/call/ui/viewmodel/
DCallChipViewModelTest.kt141 val clickListener = (latest as OngoingActivityChipModel.Shown).onClickListener in chip_inCall_nullIntent_clickListenerDoesNothing() constant
143 clickListener.onClick(chipView) in chip_inCall_nullIntent_clickListenerDoesNothing()
154 val clickListener = (latest as OngoingActivityChipModel.Shown).onClickListener in chip_inCall_validIntent_clickListenerLaunchesIntent() constant
156 clickListener.onClick(chipView) in chip_inCall_validIntent_clickListenerLaunchesIntent()
/frameworks/base/packages/SettingsLib/EntityHeaderWidgets/src/com/android/settingslib/widget/
DAppEntityInfo.java126 public Builder setOnClickListener(@Nullable View.OnClickListener clickListener) { in setOnClickListener() argument
127 mClickListener = clickListener; in setOnClickListener()
DAppEntitiesHeaderController.java165 @Nullable View.OnClickListener clickListener) { in setHeaderDetailsClickListener()
166 mDetailsOnClickListener = clickListener; in setHeaderDetailsClickListener()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/ui/viewmodel/
DOngoingActivityChipViewModelTest.kt53 val clickListener = in createDialogLaunchOnClickListener_showsDialogOnClick() constant
58 clickListener.onClick(chipView) in createDialogLaunchOnClickListener_showsDialogOnClick()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/screenrecord/ui/view/
DEndScreenRecordingDialogDelegateTest.kt121 val clickListener = argumentCaptor<DialogInterface.OnClickListener>() in positiveButton() constant
127 clickListener.capture() in positiveButton()
133 clickListener.firstValue.onClick(mock<DialogInterface>(), 0) in positiveButton()
/frameworks/base/packages/SettingsLib/BarChartPreference/src/com/android/settingslib/widget/
DBarChartInfo.java156 @Nullable View.OnClickListener clickListener) { in setDetailsOnClickListener()
157 mDetailsOnClickListener = clickListener; in setDetailsOnClickListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DModeSwitchesController.java127 ClickListener clickListener) { in SwitchSupplier() argument
130 mClickListener = clickListener; in SwitchSupplier()
DMagnificationModeSwitch.java102 MagnificationModeSwitch(@UiContext Context context, ClickListener clickListener) { in MagnificationModeSwitch() argument
103 this(context, createView(context), new SfVsyncFrameCallbackProvider(), clickListener); in MagnificationModeSwitch()
108 SfVsyncFrameCallbackProvider sfVsyncFrameProvider, ClickListener clickListener) { in MagnificationModeSwitch() argument
114 mClickListener = clickListener; in MagnificationModeSwitch()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/sharetoapp/ui/view/
DEndShareToAppDialogDelegateTest.kt124 val clickListener = argumentCaptor<DialogInterface.OnClickListener>() in positiveButton() constant
130 clickListener.capture() in positiveButton()
136 clickListener.firstValue.onClick(mock<DialogInterface>(), 0) in positiveButton()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/casttootherdevice/ui/view/
DEndCastToOtherDeviceDialogDelegateTest.kt125 val clickListener = argumentCaptor<DialogInterface.OnClickListener>() in positiveButton() constant
131 clickListener.capture() in positiveButton()
137 clickListener.firstValue.onClick(mock<DialogInterface>(), 0) in positiveButton()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/casttootherdevice/ui/viewmodel/
DCastToOtherDeviceChipViewModelTest.kt176 val clickListener = ((latest as OngoingActivityChipModel.Shown).onClickListener) in chip_entireScreen_clickListenerShowsCastDialog() constant
178 clickListener.onClick(chipView) in chip_entireScreen_clickListenerShowsCastDialog()
199 val clickListener = ((latest as OngoingActivityChipModel.Shown).onClickListener) in chip_singleTask_clickListenerShowsCastDialog() constant
201 clickListener.onClick(chipView) in chip_singleTask_clickListenerShowsCastDialog()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/sharetoapp/ui/viewmodel/
DShareToAppChipViewModelTest.kt179 val clickListener = ((latest as OngoingActivityChipModel.Shown).onClickListener) in chip_entireScreen_clickListenerShowsShareDialog() constant
181 clickListener.onClick(chipView) in chip_entireScreen_clickListenerShowsShareDialog()
201 val clickListener = ((latest as OngoingActivityChipModel.Shown).onClickListener) in chip_singleTask_clickListenerShowsShareDialog() constant
203 clickListener.onClick(chipView) in chip_singleTask_clickListenerShowsShareDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DWalletView.java209 OnClickListener clickListener) { in showEmptyStateView() argument
219 mEmptyStateView.setOnClickListener(clickListener); in showEmptyStateView()
220 mAppButton.setOnClickListener(clickListener); in showEmptyStateView()
/frameworks/base/core/java/com/android/internal/app/
DAbstractMultiProfilePagerAdapter.java314 View.OnClickListener clickListener = null; in showEmptyResolverListEmptyState() local
317 clickListener = v -> emptyState.getButtonClickListener().onClick(() -> { in showEmptyResolverListEmptyState()
324 showEmptyState(listAdapter, emptyState, clickListener); in showEmptyResolverListEmptyState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyDialog.kt129 setOnClickListener(clickListener) in <lambda>()
171 private val clickListener = View.OnClickListener { v -> in <lambda>() constant
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DButtonDispatcher.java219 public void setOnClickListener(View.OnClickListener clickListener) { in setOnClickListener() argument
220 mClickListener = clickListener; in setOnClickListener()
/frameworks/base/packages/SettingsLib/FooterPreference/src/com/android/settingslib/widget/
DFooterPreference.java336 FooterLearnMoreSpan(View.OnClickListener clickListener) { in FooterLearnMoreSpan() argument
340 mClickListener = clickListener; in FooterLearnMoreSpan()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
DKeyboardUI.java442 DialogInterface.OnClickListener clickListener = in handleMessage() local
450 R.string.enable_bluetooth_confirmation_ok, clickListener); in handleMessage()
451 mDialog.setNegativeButton(android.R.string.cancel, clickListener); in handleMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DButtonDispatcher.java238 public void setOnClickListener(View.OnClickListener clickListener) { in setOnClickListener() argument
239 mClickListener = clickListener; in setOnClickListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputAdapter.java375 View.OnClickListener clickListener = Api34Impl.getClickListenerBasedOnSelectionBehavior( in updateClickActionBasedOnSelectionBehavior() local
377 updateFullItemClickListener(clickListener); in updateClickActionBasedOnSelectionBehavior()
378 return clickListener != null; in updateClickActionBasedOnSelectionBehavior()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuItemImpl.java636 public MenuItem setOnMenuItemClickListener(MenuItem.OnMenuItemClickListener clickListener) { in setOnMenuItemClickListener() argument
637 mClickListener = clickListener; in setOnMenuItemClickListener()

12