Home
last modified time | relevance | path

Searched refs:mClickListener (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DPinPadViewTest.java52 private PinPadView.PinPadClickListener mClickListener; field in PinPadViewTest
58 mPinPadView.setPinPadClickListener(mClickListener); in initPinPad()
85 verify(mClickListener).onBackspaceClick(); in testBackspaceClickHandler()
93 verify(mClickListener).onEnterKeyClick(); in testEnterKeyClickHandler()
101 verify(mClickListener).onDigitKeyClick(String.valueOf(i)); in testDigitKeyClickHandler()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DHorizontalBreadcrumb.java47 private IntConsumer mClickListener; field in HorizontalBreadcrumb
66 mClickListener = listener; in setup()
123 mClickListener.accept(pos); in onAccessibilityClick()
146 mClickListener.accept(pos); in onSingleTapUp()
155 private final View.OnKeyListener mClickListener; field in HorizontalBreadcrumb.BreadcrumbAdapter
164 mClickListener = clickListener; in BreadcrumbAdapter()
191 holder.itemView.setOnKeyListener(mClickListener); in onBindViewHolder()
/packages/apps/Settings/tests/unit/src/com/android/settings/
DLinkifyUtilsTest.java37 private final LinkifyUtils.OnClickListener mClickListener = () -> { /* Do nothing */ }; field in LinkifyUtilsTest
53 mClickListener); in linkify_whenSpanStringCorrect_shouldReturnTrue()
61 mClickListener); in linkify_whenSpanStringWrong_shouldReturnFalse()
68 LinkifyUtils.linkify(mTextView, mSpanStringBuilder, mClickListener); in linkify_whenSpanStringCorrect_shouldContainClickableSpan()
/packages/apps/Settings/src/com/android/settings/wifi/
DLinkablePreference.java39 private LinkifyUtils.OnClickListener mClickListener; field in LinkablePreference
70 if (mContentTitle == null || mClickListener == null) { in onBindViewHolder()
80 boolean linked = LinkifyUtils.linkify(textView, contentBuilder, mClickListener); in onBindViewHolder()
106 mClickListener = clickListener; in setText()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSsidPreference.java41 private View.OnClickListener mClickListener; field in WifiTetherSsidPreference
86 shareButton.setOnClickListener(mClickListener); in onBindViewHolder()
101 mClickListener = listener; in setButtonOnClickListener()
121 return mVisible && mClickListener != null; in isQrCodeButtonAvailable()
/packages/apps/Settings/src/com/android/settings/utils/
DAnnotationSpan.java39 private final View.OnClickListener mClickListener; field in AnnotationSpan
43 mClickListener = lsn; in AnnotationSpan()
48 if (mClickListener != null) { in onClick()
49 mClickListener.onClick(widget); in onClick()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DRadioButtonPreference.java43 private final View.OnClickListener mClickListener = new View.OnClickListener() { field in RadioButtonPreference
79 mRadioButton.setOnClickListener(mClickListener); in onBindView()
80 view.setOnClickListener(mClickListener); in onBindView()
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/zen/
DZenPrioritySendersHelperTest.java74 private SelectorWithWidgetPreference.OnClickListener mClickListener; field in ZenPrioritySendersHelperTest
130 mContext, true, mZenBackend, mNotifBackend, mClickListener); in makeMessagesHelper()
135 mContext, false, mZenBackend, mNotifBackend, mClickListener); in makeCallsHelper()
159 verify(mClickListener, never()) in testDisplayPreferences_makeMessagesPrefs()
164 verify(mClickListener).onRadioButtonClicked(argThat(new PrefKeyMatcher(pref.getKey()))); in testDisplayPreferences_makeMessagesPrefs()
184 verify(mClickListener, never()) in testDisplayPreferences_makeCallsPrefs()
189 verify(mClickListener).onRadioButtonClicked(argThat(new PrefKeyMatcher(pref.getKey()))); in testDisplayPreferences_makeCallsPrefs()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingAppWidgetHostView.java92 private OnClickListener mClickListener; field in PendingAppWidgetHostView
279 mClickListener = l; in setOnClickListener()
362 if (mClickListener != null) { in onClick()
363 mClickListener.onClick(this); in onClick()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxCodeProvider/src/com/android/sdksandboxcode_1/
DSampleSandboxedSdkProvider.java162 private View.OnClickListener mClickListener; field in SampleSandboxedSdkProvider.TestView
174 mClickListener = clickListener; in TestView()
247 setOnClickListener(mClickListener); in onDraw()
/packages/apps/Settings/src/com/android/settings/widget/
DChartSweepView.java146 setOnClickListener(mClickListener); in ChartSweepView()
151 private OnClickListener mClickListener = new OnClickListener() { field in ChartSweepView