Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/common/
DToggleButtonActionItem.java40 private Consumer<Boolean> mOnClickListener; field in ToggleButtonActionItem
114 return mOnClickListener; in getOnClickListener()
121 if (onClickListener != mOnClickListener) { in setOnClickListener()
122 mOnClickListener = onClickListener; in setOnClickListener()
173 } else if (isEnabled() && !mIsRestricted && mOnClickListener != null) { in onClick()
175 mOnClickListener.accept(mIsChecked); in onClick()
/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.java61 if (mOnClickListener != null) {
62 mOnClickListener.onBackspaceClick();
68 private PinPadClickListener mOnClickListener; field in PinPadView
98 mOnClickListener = pinPadClickListener; in setPinPadClickListener()
146 key.setOnClickListener(v -> mOnClickListener.onDigitKeyClick(digit)); in init()
185 mEnterKey.setOnClickListener(v -> mOnClickListener.onEnterKeyClick()); in init()
/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/apps/Settings/src/com/android/settings/biometrics/face/
DFaceSettingsRemoveButtonPreferenceController.java61 private DialogInterface.OnClickListener mOnClickListener; field in FaceSettingsRemoveButtonPreferenceController.ConfirmRemoveDialog
76 .setPositiveButton(R.string.delete, mOnClickListener) in onCreateDialog()
77 .setNegativeButton(R.string.cancel, mOnClickListener); in onCreateDialog()
88 mOnClickListener = listener; in setOnClickListener()
132 private final DialogInterface.OnClickListener mOnClickListener field in FaceSettingsRemoveButtonPreferenceController
209 dialog.setOnClickListener(mOnClickListener); in onClick()
/packages/apps/Settings/src/com/android/settings/notification/
DAppBubbleListPreferenceController.java159 View.OnClickListener mOnClickListener;
174 view.setOnClickListener(mOnClickListener);
182 mOnClickListener = listener;
187 if (mOnClickListener != null) {
188 mOnClickListener.onClick(v);
/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/Car/Calendar/src/com/android/car/calendar/
DEventCalendarItem.java157 @Nullable private final OnClickListener mOnClickListener; field in EventCalendarItem.EventAction
165 this.mOnClickListener = onClickListener; in EventAction()
228 if (primaryAction.mOnClickListener != null) { in update()
231 mPrimaryActionButton.setOnClickListener(primaryAction.mOnClickListener); in update()
239 if (secondaryAction.mOnClickListener != null) { in update()
242 mSecondaryActionButton.setOnClickListener(secondaryAction.mOnClickListener); in update()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DAlbumsTabAdapter.java40 private final View.OnClickListener mOnClickListener; field in AlbumsTabAdapter
49 mOnClickListener = listener; in AlbumsTabAdapter()
64 itemHolder.itemView.setOnClickListener(mOnClickListener); in onBindViewHolder()
DPhotosTabAdapter.java47 private final View.OnClickListener mOnClickListener; field in PhotosTabAdapter
56 mOnClickListener = onClickListener; in PhotosTabAdapter()
76 itemHolder.itemView.setOnClickListener(mOnClickListener); in onBindViewHolder()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/ui/
DDescriptiveTextWithControlsView.java107 private View.OnClickListener mOnClickListener; field in DescriptiveTextWithControlsView.Control
111 mOnClickListener = listener; in Control()
119 return mOnClickListener; in getOnClickListener()
/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/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/
DUserAdapterTest.java69 private UserAdapter.OnClickListener mOnClickListener; field in UserAdapterTest
112 UserAdapter.createUserRecycleViewAdapter(mContext, userHandles, mOnClickListener); in createUserRecycleViewAdapter_canBindViewHolderCorrectly()
120 verify(mOnClickListener).onClick(anyInt()); in createUserRecycleViewAdapter_canBindViewHolderCorrectly()
/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/Car/SystemUI/src/com/android/systemui/car/statusicon/
DStatusIconPanelController.java89 private View.OnClickListener mOnClickListener; field in StatusIconPanelController
295 mOnClickListener = v -> { in attachPanel()
334 mAnchorView.setOnClickListener(mOnClickListener); in attachPanel()
385 return mOnClickListener; in getOnClickListener()
/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/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/Settings/src/com/android/settings/accessibility/
DAccessibilityGestureNavigationTutorial.java93 private static final DialogInterface.OnClickListener mOnClickListener = field in AccessibilityGestureNavigationTutorial
105 .setNegativeButton(R.string.accessibility_tutorial_dialog_button, mOnClickListener) in showGestureNavigationTutorialDialog()
130 return createAccessibilityTutorialDialog(context, shortcutTypes, mOnClickListener); in createAccessibilityTutorialDialog()
193 .setNegativeButton(R.string.accessibility_tutorial_dialog_button, mOnClickListener) in createDialog()
/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/modules/Permission/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/apps/Settings/src/com/android/settings/
DActivityPicker.java96 params.mOnClickListener = this; in onCreate()