Home
last modified time | relevance | path

Searched refs:onClickListener (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Car/Media/src/com/android/car/media/browse/
DBrowseViewData.java49 View.OnClickListener onClickListener) { in BrowseViewData() argument
53 mOnClickListener = onClickListener; in BrowseViewData()
64 View.OnClickListener onClickListener) { in BrowseViewData() argument
68 mOnClickListener = onClickListener; in BrowseViewData()
74 BrowseViewData(@NonNull BrowseItemViewType viewType, View.OnClickListener onClickListener) { in BrowseViewData() argument
78 mOnClickListener = onClickListener; in BrowseViewData()
/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/
DWalletPopupMenu.java57 mAdapter.getItem(position).onClickListener.run(); in WalletPopupMenu()
88 final Runnable onClickListener; field in WalletPopupMenu.OverflowItem
90 OverflowItem(CharSequence label, Runnable onClickListener) { in OverflowItem() argument
92 this.onClickListener = onClickListener; in OverflowItem()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DGalleryGridAdapter.java37 @NonNull private final OnClickListener onClickListener; field in GalleryGridAdapter
44 @NonNull Context context, Cursor cursor, @NonNull OnClickListener onClickListener) { in GalleryGridAdapter() argument
46 this.onClickListener = Assert.isNotNull(onClickListener); in GalleryGridAdapter()
95 view.setOnClickListener(onClickListener); in newView()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieItem.java45 private OnClickListener onClickListener; field in PieItem
148 onClickListener = listener; in setOnClickListener()
152 if (onClickListener != null) { in performClick()
153 onClickListener.onClick(this); in performClick()
/packages/apps/Contacts/src/com/android/contacts/util/
DAccountSelectionUtil.java92 DialogInterface.OnClickListener onClickListener, in getSelectAccountDialog() argument
135 if (onClickListener == null) { in getSelectAccountDialog()
138 onClickListener = accountSelectedListener; in getSelectAccountDialog()
151 builder.setSingleChoiceItems(accountAdapter, 0, onClickListener); in getSelectAccountDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DToggleButtonActionItem.java106 public void setOnClickListener(Consumer<Boolean> onClickListener) { in setOnClickListener() argument
107 if (onClickListener != mOnClickListener) { in setOnClickListener()
108 mOnClickListener = onClickListener; in setOnClickListener()
/packages/apps/Dialer/java/com/android/dialer/postcall/
DPostCall.java91 OnClickListener onClickListener = in promptUserToSendMessage() local
105 .setAction(actionText, onClickListener) in promptUserToSendMessage()
124 OnClickListener onClickListener = in promptUserToViewSentMessage() local
135 .setAction(addMessage, onClickListener) in promptUserToViewSentMessage()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DMenuItemXmlParserUtil.java105 MenuItem.OnClickListener onClickListener = null; in readMenuItem() local
115 onClickListener = i -> { in readMenuItem()
139 .setOnClickListener(onClickListener) in readMenuItem()
/packages/apps/TV/src/com/android/tv/ui/
DDialogUtils.java37 DialogInterface.OnClickListener onClickListener = in showListDialog() local
53 new AlertDialog.Builder(context).setItems(items, onClickListener).create().show(); in showListDialog()
DBlockScreenView.java184 public void setInfoTextOnClickListener(@Nullable OnClickListener onClickListener) { in setInfoTextOnClickListener() argument
185 mBlockingInfoTextView.setOnClickListener(onClickListener); in setInfoTextOnClickListener()
DTunableTvView.java1279 public void setBlockedInfoOnClickListener(@Nullable OnClickListener onClickListener) { in setBlockedInfoOnClickListener() argument
1280 mBlockScreenView.setInfoTextOnClickListener(onClickListener); in setBlockedInfoOnClickListener()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/privacy/
DMicPrivacyChip.java99 public void setOnClickListener(View.OnClickListener onClickListener) { in setOnClickListener() argument
101 super.setOnClickListener(onClickListener); in setOnClickListener()
103 requireViewById(R.id.focus_view).setOnClickListener(onClickListener); in setOnClickListener()
/packages/apps/Camera2/src/com/android/camera/ui/
DRadioOptions.java85 View.OnClickListener onClickListener = new View.OnClickListener() { in updateListeners() local
94 button.setOnClickListener(onClickListener); in updateListeners()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/auto/
DAutoSettingsFrameFragment.java101 public void setAction(CharSequence label, View.OnClickListener onClickListener) { in setAction() argument
103 mActionOnClickListener = onClickListener; in setAction()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/preference/
DCarUiTwoActionSwitchPreference.java137 public void setOnSecondaryActionClickListener(@Nullable Consumer<Boolean> onClickListener) { in setOnSecondaryActionClickListener() argument
138 mSecondaryActionOnClickListener = onClickListener; in setOnSecondaryActionClickListener()
DCarUiTwoActionTextPreference.java152 public void setOnSecondaryActionClickListener(@Nullable Runnable onClickListener) { in setOnSecondaryActionClickListener() argument
153 mSecondaryActionOnClickListener = onClickListener; in setOnSecondaryActionClickListener()
DCarUiTwoActionIconPreference.java151 public void setOnSecondaryActionClickListener(@Nullable Runnable onClickListener) { in setOnSecondaryActionClickListener() argument
152 mSecondaryActionOnClickListener = onClickListener; in setOnSecondaryActionClickListener()
/packages/apps/Contacts/src/com/android/contacts/editor/
DAccountHeaderPresenter.java166 final View.OnClickListener onClickListener = new View.OnClickListener() { in addAccountSelector() local
172 setUpAccountSelector(nameLabel.toString(), onClickListener); in addAccountSelector() local
/packages/apps/Car/Calendar/src/com/android/car/calendar/
DEventCalendarItem.java162 @Nullable OnClickListener onClickListener) { in EventAction() argument
165 this.mOnClickListener = onClickListener; in EventAction()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java355 final View.OnClickListener onClickListener = new View.OnClickListener() { in onCreate() local
361 mAddMsgExpander.setOnClickListener(onClickListener); in onCreate()