/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | RestrictedButtonTest.java | 51 private OnClickListener mOnClickListener; field in RestrictedButtonTest 57 mOnClickListener = mock(OnClickListener.class); in setUp() 58 mButton.setOnClickListener(mOnClickListener); in setUp() 75 verify(mOnClickListener).onClick(eq(mButton)); in performClick_buttonIsNotInited_shouldCallListener() 84 verify(mOnClickListener).onClick(eq(mButton)); in performClick_noRestriction_shouldCallListener() 93 verify(mOnClickListener, never()).onClick(eq(mButton)); in performClick_hasRestriction_shouldNotCallListener()
|
/packages/apps/Settings/src/com/android/settings/datetime/timezone/ |
D | BaseTimeZonePreferenceController.java | 28 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/Settings/src/com/android/car/settings/common/ |
D | ToggleButtonActionItem.java | 42 private Consumer<Boolean> mOnClickListener; field in ToggleButtonActionItem 120 return mOnClickListener; in getOnClickListener() 127 if (onClickListener != mOnClickListener) { in setOnClickListener() 128 mOnClickListener = onClickListener; in setOnClickListener() 202 } else if (isEnabled() && !mIsRestricted && mOnClickListener != null) { in onClick() 204 mOnClickListener.accept(mIsChecked); in onClick()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | ButtonSwitcher.java | 51 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/ |
D | PinPadView.java | 61 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/Car/SystemUI/src/com/android/systemui/car/biometrics/ |
D | PinPadView.java | 64 if (mOnClickListener != null) { 65 mOnClickListener.onBackspaceClick(); 71 private PinPadClickListener mOnClickListener; field in PinPadView 140 key.setOnClickListener(v -> mOnClickListener.onDigitKeyClick(digit)); in init() 179 mEnterKey.setOnClickListener(v -> mOnClickListener.onEnterKeyClick()); in init() 187 mOnClickListener = pinPadClickListener; in setPinPadClickListener()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | AppBubbleListPreferenceController.java | 159 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/ |
D | PieItem.java | 48 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/Launcher/app/src/com/android/car/carlauncher/homescreen/ui/ |
D | DescriptiveTextWithControlsView.java | 121 private View.OnClickListener mOnClickListener; field in DescriptiveTextWithControlsView.Control 125 mOnClickListener = listener; in Control() 133 return mOnClickListener; in getOnClickListener()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/picker/ |
D | WidgetsListHeaderAccessibilityTest.java | 51 private View.OnClickListener mOnClickListener; field in WidgetsListHeaderAccessibilityTest 70 header.setOnClickListener(mOnClickListener); in singlePaneCollapsable_hasCustomAccessibilityActions() 76 verify(mOnClickListener, times(2)).onClick(header); in singlePaneCollapsable_hasCustomAccessibilityActions()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingDeviceAdapter.java | 39 private final OnClickListener mOnClickListener; field in AudioSharingDeviceAdapter 49 mOnClickListener = listener; in AudioSharingDeviceAdapter() 87 v -> mOnClickListener.onClick(mDevices.get(position))); in bindView()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | UndoBarView.java | 53 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/src/com/android/settings/biometrics/face/ |
D | FaceSettingsRemoveButtonPreferenceController.java | 65 private DialogInterface.OnClickListener mOnClickListener; field in FaceSettingsRemoveButtonPreferenceController.ConfirmRemoveDialog 107 .setPositiveButton(R.string.delete, mOnClickListener) in onCreateDialog() 108 .setNegativeButton(R.string.cancel, mOnClickListener); in onCreateDialog() 116 mOnClickListener = listener; in setOnClickListener()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | GalleryGridItemView.java | 67 private final OnClickListener mOnClickListener = new OnClickListener() { field in GalleryGridItemView 84 mCheckBox.setOnClickListener(mOnClickListener); in onFinishInflate() 90 setOnClickListener(mOnClickListener); in onFinishInflate()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | DvrItemPresenter.java | 40 private final OnClickListener mOnClickListener = onCreateOnClickListener(); field in DvrItemPresenter 78 viewHolder.view.setOnClickListener(mOnClickListener); in onBindViewHolder()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/ |
D | UserAdapterTest.java | 76 private UserAdapter.OnClickListener mOnClickListener; field in UserAdapterTest 181 UserAdapter.createUserRecycleViewAdapter(mContext, userHandles, mOnClickListener); in createUserRecycleViewAdapter_canBindViewHolderCorrectly() 189 verify(mOnClickListener).onClick(anyInt()); in createUserRecycleViewAdapter_canBindViewHolderCorrectly()
|
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/ |
D | PinnedAppsAdapter.java | 60 private final OnClickListener mOnClickListener; field in PinnedAppsAdapter 74 mOnClickListener = launcher.getItemOnClickListener(); in PinnedAppsAdapter() 139 icon.setOnClickListener(mOnClickListener); in getView()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/ |
D | UserRecord.java | 48 public View.OnClickListener mOnClickListener; field in UserRecord 79 userRecord.mOnClickListener = listenerMaker.createOnClickListenerWithUserRecord(); in create()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/statusicon/ |
D | StatusIconPanelViewController.java | 96 private View.OnClickListener mOnClickListener; field in StatusIconPanelViewController 215 mOnClickListener = v -> { in onInit() 265 mView.setOnClickListener(mOnClickListener); in onInit() 315 return mOnClickListener; in getOnClickListener()
|
/packages/apps/Settings/src/com/android/settings/applications/credentials/ |
D | CredentialManagerPreferenceController.java | 1084 if (mSwitch != null && mOnClickListener != null) { in onClick() 1085 if (!mOnClickListener.onCheckChanged( in onClick() 1101 private @Nullable OnCombiPreferenceClickListener mOnClickListener = null; field in CredentialManagerPreferenceController.CombiPreference 1154 mOnClickListener = onClickListener; in setPreferenceListener() 1184 if (mOnClickListener != null) { in onBindViewHolder() 1185 mOnClickListener.onLeftSideClicked(); in onBindViewHolder()
|
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/present/ |
D | PresentTestFragment.java | 80 private View.OnClickListener mOnClickListener; field in PresentTestFragment 139 mOnClickListener = new View.OnClickListener() { in setupListeners() 289 b.setOnClickListener(mOnClickListener); in getView()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
D | RadioButtonPreference.java | 30 private View.OnClickListener mOnClickListener = null; field in RadioButtonPreference
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | ExpandingEntryCardView.java | 252 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/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | AccessibilityShortcutsTutorialTest.java | 83 private DialogInterface.OnClickListener mOnClickListener; field in AccessibilityShortcutsTutorialTest 546 mContext, mShortcutTypes, mOnClickListener, FAKE_FEATURE_NAME); in performClickOnPositiveButton_turnOnSoftwareShortcut_callOnClickListener() 553 verify(mOnClickListener).onClick(alertDialog, DialogInterface.BUTTON_POSITIVE); in performClickOnPositiveButton_turnOnSoftwareShortcut_callOnClickListener()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/ |
D | RecentsButtonStateProviderTest.java | 102 private View.OnClickListener mOnClickListener; field in RecentsButtonStateProviderTest 124 when(mIntentAndOnClickListenerFunction.apply(any())).thenReturn(mOnClickListener); in setUp()
|