/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | CardPreferenceTest.java | 126 View.OnClickListener clickListener = v -> hasCalled[0] = true; in performClickOnPrimaryButton_callClickListener() local 127 mCardPreference.setPrimaryButtonClickListener(clickListener); in performClickOnPrimaryButton_callClickListener() 136 View.OnClickListener clickListener = v -> hasCalled[0] = true; in performClickOnSecondaryButton_callClickListener() local 137 mCardPreference.setSecondaryButtonClickListener(clickListener); in performClickOnSecondaryButton_callClickListener() 184 View.OnClickListener clickListener = v -> hasCalled[0] = expectedClickedResult; in setPrimaryButtonClickListener_setAfterOnBindViewHolder() local 186 mCardPreference.setPrimaryButtonClickListener(clickListener); in setPrimaryButtonClickListener_setAfterOnBindViewHolder() 194 View.OnClickListener clickListener = v -> hasCalled[0] = "called once"; in setPrimaryButtonClickListener_setNull_clearTheOnClickListener() local 195 mCardPreference.setPrimaryButtonClickListener(clickListener); in setPrimaryButtonClickListener_setNull_clearTheOnClickListener() 231 View.OnClickListener clickListener = v -> hasCalled[0] = expectedClickedResult; in setSecondaryButtonClickListener_setAfterOnBindViewHolder() local 233 mCardPreference.setSecondaryButtonClickListener(clickListener); in setSecondaryButtonClickListener_setAfterOnBindViewHolder() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/ |
D | BaseTimeZonePreferenceControllerTest.java | 45 TestClickListener clickListener = new TestClickListener(); in handlePreferenceTreeClick_correctKey_triggerOnClickListener() local 48 controller.setOnClickListener(clickListener); in handlePreferenceTreeClick_correctKey_triggerOnClickListener() 51 assertThat(clickListener.isClicked()).isTrue(); in handlePreferenceTreeClick_correctKey_triggerOnClickListener() 57 TestClickListener clickListener = new TestClickListener(); in handlePreferenceTreeClick_wrongKey_triggerOnClickListener() local 60 controller.setOnClickListener(clickListener); in handlePreferenceTreeClick_wrongKey_triggerOnClickListener() 63 assertThat(clickListener.isClicked()).isFalse(); in handlePreferenceTreeClick_wrongKey_triggerOnClickListener()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | OptionsPopupView.java | 110 if (item.clickListener.onLongClick(view)) { in handleViewClick() 308 public final OnLongClickListener clickListener; field in OptionsPopupView.OptionItem 311 OnLongClickListener clickListener) { in OptionItem() argument 316 this.clickListener = clickListener; in OptionItem() 320 OnLongClickListener clickListener) { in OptionItem() argument 325 this.clickListener = clickListener; in OptionItem()
|
D | AccessibilityActionsView.java | 91 if (item.clickListener.onLongClick(this)) { in performAccessibilityAction()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/emptystate/ |
D | EmptyStateUiHelperTest.kt | 168 val clickListener = mock<EmptyState.ClickListener>() in testShowEmptyState_noOnClickHandler() constant 175 override fun getButtonClickListener() = clickListener in testShowEmptyState_noOnClickHandler() 190 verify(clickListener, never()).onClick(any()) in testShowEmptyState_noOnClickHandler() 197 val clickListener = mock<EmptyState.ClickListener>() in testShowEmptyState_withOnClickHandlerAndClickListener() constant 205 override fun getButtonClickListener() = clickListener in testShowEmptyState_withOnClickHandlerAndClickListener() 225 verify(clickListener, never()).onClick(any()) in testShowEmptyState_withOnClickHandlerAndClickListener()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/floatingsheetcontent/ |
D | WallpaperEffectsView2.kt | 114 fun setMyPhotosClickListener(clickListener: OnClickListener?) { in <lambda>() 115 myPhotosButton?.setOnClickListener(clickListener) in <lambda>() 123 fun setCollapseFloatingSheetListener(clickListener: OnClickListener?) { in <lambda>() 124 tryAgainLaterButton?.setOnClickListener(clickListener) in <lambda>() 125 continueButton?.setOnClickListener(clickListener) in <lambda>()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | NotificationClickHandlerFactory.java | 317 public void registerClickListener(OnNotificationClickListener clickListener) { 318 if (clickListener != null && !mClickListeners.contains(clickListener)) { 319 mClickListeners.add(clickListener); 326 public void unregisterClickListener(OnNotificationClickListener clickListener) { 327 mClickListeners.remove(clickListener);
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
D | ErrorDialogActivity.java | 70 final DialogInterface.OnClickListener clickListener; in showGenericErrorDialog() local 73 clickListener = new DialogInterface.OnClickListener() { in showGenericErrorDialog() 88 .setMessage(msg).setPositiveButton(android.R.string.ok, clickListener) in showGenericErrorDialog()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | LinkablePreferenceTest.java | 56 final LinkifyUtils.OnClickListener clickListener = () -> {/* Do nothing */ }; in setUp() local 57 mPreference.setText(TITLE, linkableDescription, clickListener); in setUp()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | PhotoSourceDialogFragment.java | 75 final OnClickListener clickListener = new OnClickListener() { in onCreateDialog() local 100 builder.setItems(items, clickListener); in onCreateDialog()
|
D | PhotoActionPopup.java | 105 final OnItemClickListener clickListener = new OnItemClickListener() { in createPopupMenu() local 127 listPopupWindow.setOnItemClickListener(clickListener); in createPopupMenu()
|
D | SelectAccountDialogFragment.java | 99 final DialogInterface.OnClickListener clickListener = in onCreateDialog() local 112 builder.setSingleChoiceItems(mAccountsAdapter, 0, clickListener); in onCreateDialog()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/selectabledeletion/ |
D | DeletionPermissionTypesPreference.kt | 76 val clickListener = OnPreferenceClickListener { in setOnPreferenceClickListener() constant 93 super.setOnPreferenceClickListener(clickListener) in setOnPreferenceClickListener()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | AttachmentPreviewFactory.java | 67 @Nullable final OnAttachmentClickListener clickListener) { in createAttachmentPreview() argument 95 if (attachmentView != null && clickListener != null) { in createAttachmentPreview() 100 clickListener.onAttachmentClick(attachmentData, bounds, in createAttachmentPreview() 108 return clickListener.onAttachmentClick(attachmentData, bounds, in createAttachmentPreview()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
D | SelectAccountDialogFragment.java | 73 final DialogInterface.OnClickListener clickListener = in onCreateDialog() local 87 builder.setSingleChoiceItems(accountAdapter, 0, clickListener); in onCreateDialog()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | LinkablePreference.java | 103 LinkifyUtils.OnClickListener clickListener) { in setText() argument 106 mClickListener = clickListener; in setText()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ItemInflater.kt | 47 private val clickListener: OnClickListener, constant in com.android.launcher3.util.ItemInflater 108 favorite.setOnClickListener(clickListener) in createShortcut()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | HorizontalBreadcrumb.java | 161 View.OnKeyListener clickListener) { in BreadcrumbAdapter() argument 164 mClickListener = clickListener; in BreadcrumbAdapter()
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | ExportDialogFragment.java | 129 final DialogInterface.OnClickListener clickListener = in onCreateDialog() local 167 .setSingleChoiceItems(adapter, -1, clickListener) in onCreateDialog()
|
D | ImportDialogFragment.java | 202 final DialogInterface.OnClickListener clickListener = in onCreateDialog() local 226 builder.setSingleChoiceItems(adapter, -1, clickListener); in onCreateDialog()
|
/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/ |
D | WalletView.java | 179 OnClickListener clickListener) { in showEmptyStateView() argument 187 mEmptyStateView.setOnClickListener(clickListener); in showEmptyStateView()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/profiles/ |
D | MultiProfilePagerAdapter.java | 646 View.OnClickListener clickListener = null; in showEmptyResolverListEmptyState() local 649 clickListener = v -> emptyState.getButtonClickListener().onClick(() -> { in showEmptyResolverListEmptyState() 656 showEmptyState(listAdapter, emptyState, clickListener); in showEmptyResolverListEmptyState()
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenPrioritySendersHelper.java | 91 SelectorWithWidgetPreference.OnClickListener clickListener) { in ZenPrioritySendersHelper() argument 96 mSelectorClickListener = clickListener; in ZenPrioritySendersHelper()
|
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxCodeProvider/src/com/android/sdksandboxcode_1/ |
D | SampleSandboxedSdkProvider.java | 169 View.OnClickListener clickListener, in TestView() argument 174 mClickListener = clickListener; in TestView()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
D | ItemInflaterTest.kt | 78 private val clickListener = OnClickListener {} in <lambda>() constant 103 clickListener, in <lambda>()
|