Home
last modified time | relevance | path

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

12

/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DMenuItem.java67 private OnClickListener mOnClickListener; field in MenuItem
82 mOnClickListener = builder.mOnClickListener; in MenuItem()
226 return mOnClickListener; in getOnClickListener()
235 mOnClickListener = listener; in setOnClickListener()
274 if (mOnClickListener != null) { in performClick()
275 mOnClickListener.onClick(this); in performClick()
320 private OnClickListener mOnClickListener; field in MenuItem.Builder
457 mOnClickListener = listener; in setOnClickListener()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DButtonSwitcher.java51 private OnClickListener mOnClickListener; field in ButtonSwitcher
74 setInternalOnClickListener(mOnClickListener); in onLayout()
150 mOnClickListener = listener; in setInternalOnClickListener()
153 mInstallButton.setOnClickListener(mOnClickListener); in setInternalOnClickListener()
154 mCancelButton.setOnClickListener(mOnClickListener); in setInternalOnClickListener()
155 mDeleteButton.setOnClickListener(mOnClickListener); in setInternalOnClickListener()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DPinPadView.java60 if (mOnClickListener != null) {
61 mOnClickListener.onBackspaceClick();
67 private PinPadClickListener mOnClickListener; field in PinPadView
97 mOnClickListener = pinPadClickListener; in setPinPadClickListener()
145 key.setOnClickListener(v -> mOnClickListener.onDigitKeyClick(digit)); in init()
167 mEnterKey.setOnClickListener(v -> mOnClickListener.onEnterKeyClick()); in init()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/
DFaceSettingsRemoveButtonPreferenceController.java55 private DialogInterface.OnClickListener mOnClickListener; field in FaceSettingsRemoveButtonPreferenceController.ConfirmRemoveDialog
68 .setPositiveButton(R.string.okay, mOnClickListener) in onCreateDialog()
69 .setNegativeButton(R.string.cancel, mOnClickListener); in onCreateDialog()
76 mOnClickListener = listener; in setOnClickListener()
114 private final DialogInterface.OnClickListener mOnClickListener field in FaceSettingsRemoveButtonPreferenceController
174 dialog.setOnClickListener(mOnClickListener); in onClick()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceSettingsRemoveButtonPreferenceController.java56 private DialogInterface.OnClickListener mOnClickListener; field in FaceSettingsRemoveButtonPreferenceController.ConfirmRemoveDialog
69 .setPositiveButton(R.string.delete, mOnClickListener) in onCreateDialog()
70 .setNegativeButton(R.string.cancel, mOnClickListener); in onCreateDialog()
77 mOnClickListener = listener; in setOnClickListener()
120 private final DialogInterface.OnClickListener mOnClickListener field in FaceSettingsRemoveButtonPreferenceController
191 dialog.setOnClickListener(mOnClickListener); in onClick()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DBaseTimeZonePreferenceController.java28 private OnPreferenceClickListener mOnClickListener; field in BaseTimeZonePreferenceController
41 if (mOnClickListener == null || !Objects.equal(getPreferenceKey(), preference.getKey())) { in handlePreferenceTreeClick()
45 mOnClickListener.onClick(); in handlePreferenceTreeClick()
50 mOnClickListener = listener; in setOnClickListener()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/
DBaseTimeZonePreferenceController.java28 private OnPreferenceClickListener mOnClickListener; field in BaseTimeZonePreferenceController
41 if (mOnClickListener == null || !Objects.equal(getPreferenceKey(), preference.getKey())) { in handlePreferenceTreeClick()
45 mOnClickListener.onClick(); in handlePreferenceTreeClick()
50 mOnClickListener = listener; in setOnClickListener()
/packages/apps/Car/Media/src/com/android/car/media/browse/
DBrowseViewData.java39 public final View.OnClickListener mOnClickListener; field in BrowseViewData
53 mOnClickListener = onClickListener; in BrowseViewData()
68 mOnClickListener = onClickListener; in BrowseViewData()
78 mOnClickListener = onClickListener; in BrowseViewData()
DBrowseViewHolder.java93 if (mContainer != null && data.mOnClickListener != null) { in bind()
94 mContainer.setOnClickListener(data.mOnClickListener); in bind()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DOnContinuousScrollListener.java41 private final OnClickListener mOnClickListener; field in OnContinuousScrollListener
53 mOnClickListener.onClick(mTouchedView);
76 this.mOnClickListener = clickListener; in OnContinuousScrollListener()
91 mOnClickListener.onClick(view); in onTouch()
DCarUiContentListItem.java115 private OnClickListener mOnClickListener; field in CarUiContentListItem
326 mOnClickListener = listener; in setOnItemClickedListener()
334 return mOnClickListener; in getOnClickListener()
/packages/apps/Settings/src/com/android/settings/notification/
DAppBubbleListPreferenceController.java158 View.OnClickListener mOnClickListener;
173 view.setOnClickListener(mOnClickListener);
181 mOnClickListener = listener;
186 if (mOnClickListener != null) {
187 mOnClickListener.onClick(v);
/packages/apps/Car/Calendar/src/com/android/car/calendar/
DEventCalendarItem.java156 @Nullable private final OnClickListener mOnClickListener; field in EventCalendarItem.EventAction
164 this.mOnClickListener = onClickListener; in EventAction()
227 if (primaryAction.mOnClickListener != null) { in update()
230 mPrimaryActionButton.setOnClickListener(primaryAction.mOnClickListener); in update()
238 if (secondaryAction.mOnClickListener != null) { in update()
241 mSecondaryActionButton.setOnClickListener(secondaryAction.mOnClickListener); in update()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieItem.java48 private OnClickListener mOnClickListener; field in PieItem
170 mOnClickListener = listener; in setOnClickListener()
174 if (mOnClickListener != null) { in performClick()
175 mOnClickListener.onClick(this); in performClick()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DUndoBarView.java53 private OnClickListener mOnClickListener; field in UndoBarView
87 mOnClickListener = listener; in setOnClickListener()
138 if (mOnClickListener != null && inUndoButton(event)) { in onTouch()
139 mOnClickListener.onClick(this); in onTouch()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DGalleryGridItemView.java67 private final OnClickListener mOnClickListener = new OnClickListener() { field in GalleryGridItemView
84 mCheckBox.setOnClickListener(mOnClickListener); in onFinishInflate()
90 setOnClickListener(mOnClickListener); in onFinishInflate()
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DPinnedAppsAdapter.java60 private final OnClickListener mOnClickListener; field in PinnedAppsAdapter
72 mOnClickListener = launcher.getItemOnClickListener(); in PinnedAppsAdapter()
137 icon.setOnClickListener(mOnClickListener); in getView()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDvrItemPresenter.java40 private final OnClickListener mOnClickListener = onCreateOnClickListener(); field in DvrItemPresenter
78 viewHolder.view.setOnClickListener(mOnClickListener); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityGestureNavigationTutorial.java84 private static final DialogInterface.OnClickListener mOnClickListener = field in AccessibilityGestureNavigationTutorial
92 .setNegativeButton(R.string.accessibility_tutorial_dialog_button, mOnClickListener) in showGestureNavigationSettingsTutorialDialog()
119 .setNegativeButton(R.string.accessibility_tutorial_dialog_button, mOnClickListener) in createAccessibilityTutorialDialog()
180 .setNegativeButton(R.string.accessibility_tutorial_dialog_button, mOnClickListener) in createDialog()
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/present/
DPresentTestFragment.java80 private View.OnClickListener mOnClickListener; field in PresentTestFragment
139 mOnClickListener = new View.OnClickListener() { in setupListeners()
289 b.setOnClickListener(mOnClickListener); in getView()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DExpandingEntryCardView.java252 private OnClickListener mOnClickListener; field in ExpandingEntryCardView
355 mOnClickListener = listener; in setOnClickListener()
681 view.setOnClickListener(mOnClickListener); in createEntryView()
723 alternateIcon.setOnClickListener(mOnClickListener); in createEntryView()
732 thirdIcon.setOnClickListener(mOnClickListener); in createEntryView()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DRadioButtonPreference.java30 private View.OnClickListener mOnClickListener = null; field in RadioButtonPreference
/packages/apps/Camera2/src/com/android/camera/widget/
DRoundedThumbnailView.java200 private View.OnClickListener mOnClickListener = new View.OnClickListener() { field in RoundedThumbnailView
240 setOnClickListener(mOnClickListener); in RoundedThumbnailView()
/packages/apps/MusicFX/src/com/android/musicfx/
DControlPanelPicker.java81 p.mOnClickListener = mItemClickListener; in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSmsDefaultDialog.java145 p.mOnClickListener = this; in buildDialog()

12