Home
last modified time | relevance | path

Searched refs:OnClickListener (Results 1 – 25 of 411) sorted by relevance

12345678910>>...17

/frameworks/base/core/tests/coretests/src/android/view/
DVisibility.java50 View.OnClickListener mVisibleListener = new View.OnClickListener() {
56 View.OnClickListener mInvisibleListener = new View.OnClickListener() {
62 View.OnClickListener mGoneListener = new View.OnClickListener() {
DVisibilityCallback.java58 View.OnClickListener mVisibleListener = new View.OnClickListener() {
64 View.OnClickListener mInvisibleListener = new View.OnClickListener() {
70 View.OnClickListener mGoneListener = new View.OnClickListener() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/footer/ui/viewbinder/
DFooterViewBinder.kt36 clearAllNotifications: View.OnClickListener, in <lambda>()
37 launchNotificationSettings: View.OnClickListener, in <lambda>()
38 launchNotificationHistory: View.OnClickListener, in <lambda>()
56 clearAllNotifications: View.OnClickListener, in <lambda>()
57 launchNotificationSettings: View.OnClickListener, in <lambda>()
58 launchNotificationHistory: View.OnClickListener in <lambda>()
81 clearAllNotifications: View.OnClickListener, in <lambda>()
119 launchNotificationSettings: View.OnClickListener, in <lambda>()
120 launchNotificationHistory: View.OnClickListener, in <lambda>()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DRequireScrollMixin.java25 import android.view.View.OnClickListener;
118 public OnClickListener createOnClickListener(@Nullable final OnClickListener listener) { in createOnClickListener()
119 return new OnClickListener() { in createOnClickListener()
150 @NonNull Button button, @StringRes int moreText, @Nullable OnClickListener onClickListener) {
174 @Nullable OnClickListener onClickListener) {
/frameworks/base/core/java/android/app/
DAlertDialog.java337 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { in setButton()
378 public void setButton(CharSequence text, final OnClickListener listener) { in setButton()
391 public void setButton2(CharSequence text, final OnClickListener listener) { in setButton2()
404 public void setButton3(CharSequence text, final OnClickListener listener) { in setButton3()
626 public Builder setPositiveButton(@StringRes int textId, final OnClickListener listener) { in setPositiveButton()
639 public Builder setPositiveButton(CharSequence text, final OnClickListener listener) { in setPositiveButton()
652 public Builder setNegativeButton(@StringRes int textId, final OnClickListener listener) { in setNegativeButton()
665 public Builder setNegativeButton(CharSequence text, final OnClickListener listener) { in setNegativeButton()
678 public Builder setNeutralButton(@StringRes int textId, final OnClickListener listener) { in setNeutralButton()
691 public Builder setNeutralButton(CharSequence text, final OnClickListener listener) { in setNeutralButton()
[all …]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/span/
DLinkSpan.java59 public interface OnClickListener { interface in LinkSpan
111 final OnClickListener listener = getLegacyListenerFromContext(view.getContext()); in dispatchClick()
123 private OnClickListener getLegacyListenerFromContext(@Nullable Context context) { in getLegacyListenerFromContext()
125 if (context instanceof OnClickListener) { in getLegacyListenerFromContext()
126 return (OnClickListener) context; in getLegacyListenerFromContext()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DVoiceInteractionMain.java53 View.OnClickListener mStartListener = new View.OnClickListener() {
59 View.OnClickListener mSecureListener = new View.OnClickListener() {
/frameworks/base/packages/SettingsLib/EntityHeaderWidgets/src/com/android/settingslib/widget/
DAppEntityInfo.java35 private final View.OnClickListener mClickListener;
69 public View.OnClickListener getClickListener() { in getClickListener()
88 private View.OnClickListener mClickListener;
126 public Builder setOnClickListener(@Nullable View.OnClickListener clickListener) { in setOnClickListener()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DFocusAfterRemoval.java42 topLeftButton.setOnClickListener(new View.OnClickListener() { in onCreate()
52 bottomLeftButton.setOnClickListener(new View.OnClickListener() { in onCreate()
61 topRightButton.setOnClickListener(new View.OnClickListener() { in onCreate()
70 bottomRightButton.setOnClickListener(new View.OnClickListener() { in onCreate()
/frameworks/base/tests/UsageReportingTest/src/com/android/tests/usagereporter/
DUsageReporterActivity.java34 import android.view.View.OnClickListener;
149 builder.setPositiveButton(getString(R.string.ok), new DialogInterface.OnClickListener() { in callAddToken()
166 new DialogInterface.OnClickListener() { in callAddToken()
184 new DialogInterface.OnClickListener() { in callAddManyTokens()
200 new DialogInterface.OnClickListener() { in callAddManyTokens()
214 builder.setPositiveButton(getString(R.string.ok), new DialogInterface.OnClickListener() { in callStopAll()
225 new DialogInterface.OnClickListener() { in callStopAll()
237 OnClickListener mStartListener = new OnClickListener() {
254 OnClickListener mStopListener = new OnClickListener() {
/frameworks/base/packages/SettingsLib/SelectorWithWidgetPreference/src/com/android/settingslib/widget/
DSelectorWithWidgetPreference.java48 public interface OnClickListener { interface in SelectorWithWidgetPreference
57 private OnClickListener mListener = null;
65 private View.OnClickListener mExtraWidgetOnClickListener;
120 public void setOnClickListener(OnClickListener listener) { in setOnClickListener()
183 public void setExtraWidgetOnClickListener(View.OnClickListener listener) { in setExtraWidgetOnClickListener()
/frameworks/base/core/java/android/hardware/biometrics/
DPromptContentViewWithMoreOptionsButton.java69 private DialogInterface.OnClickListener mListener;
74 @NonNull DialogInterface.OnClickListener listener) { in PromptContentViewWithMoreOptionsButton()
105 public DialogInterface.OnClickListener getMoreOptionsButtonListener() { in getMoreOptionsButtonListener()
145 private DialogInterface.OnClickListener mListener;
176 @NonNull DialogInterface.OnClickListener listener) { in setMoreOptionsButtonListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardIndication.java42 private final View.OnClickListener mOnClickListener;
52 View.OnClickListener onClickListener, in KeyguardIndication()
89 public @Nullable View.OnClickListener getClickListener() { in getClickListener()
136 private View.OnClickListener mOnClickListener;
173 public Builder setClickListener(View.OnClickListener onClickListener) { in setClickListener()
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DAccessibilityServiceWarning.java56 @NonNull View.OnClickListener allowListener, in createAccessibilityServiceWarningDialog()
57 @NonNull View.OnClickListener denyListener, in createAccessibilityServiceWarningDialog()
58 @NonNull View.OnClickListener uninstallListener) { in createAccessibilityServiceWarningDialog()
75 View.OnClickListener allowListener, in createAccessibilityServiceWarningDialogContentView()
76 View.OnClickListener denyListener, in createAccessibilityServiceWarningDialogContentView()
77 View.OnClickListener uninstallListener) { in createAccessibilityServiceWarningDialogContentView()
/frameworks/base/packages/SettingsLib/BarChartPreference/src/com/android/settingslib/widget/
DBarChartInfo.java38 private final View.OnClickListener mDetailsOnClickListener;
75 public View.OnClickListener getDetailsOnClickListener() { in getDetailsOnClickListener()
113 private View.OnClickListener mDetailsOnClickListener;
156 @Nullable View.OnClickListener clickListener) { in setDetailsOnClickListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DAnnotationLinkSpan.java34 private final Optional<View.OnClickListener> mClickListener;
36 private AnnotationLinkSpan(View.OnClickListener listener) { in AnnotationLinkSpan()
84 private final Optional<View.OnClickListener> mListener;
86 public LinkInfo(@NonNull String annotation, View.OnClickListener listener) { in LinkInfo()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/
DTestableAlertDialog.kt43 private var _positiveButtonClickListener: DialogInterface.OnClickListener? = null
44 private var _negativeButtonClickListener: DialogInterface.OnClickListener? = null
45 private var _neutralButtonClickListener: DialogInterface.OnClickListener? = null
114 listener: DialogInterface.OnClickListener? in setButton()
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DRequestRectangleVisible.java58 findViewById(R.id.scrollToRectFromTop).setOnClickListener(new View.OnClickListener() { in onCreate()
66 findViewById(R.id.scrollToRectFromTop2).setOnClickListener(new View.OnClickListener() { in onCreate()
74 findViewById(R.id.scrollToRectFromBottom).setOnClickListener(new View.OnClickListener() { in onCreate()
82 findViewById(R.id.scrollToRectFromBottom2).setOnClickListener(new View.OnClickListener() { in onCreate()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/template/
DRequireScrollMixinTest.java31 import android.view.View.OnClickListener;
103 OnClickListener wrappedListener = mock(OnClickListener.class); in testCreateOnClickListener()
104 final OnClickListener onClickListener = in testCreateOnClickListener()
149 OnClickListener wrappedListener = mock(OnClickListener.class); in testRequireScrollWithButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DCustomListPreference.java22 import android.content.DialogInterface.OnClickListener;
41 OnClickListener listener) { in onPrepareDialogBuilder()
97 builder.setPositiveButton(com.android.internal.R.string.ok, new OnClickListener() { in onPrepareDialogBuilder()
128 protected OnClickListener getOnItemClickListener() { in getOnItemClickListener()
129 return new OnClickListener() { in getOnItemClickListener()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEffectsTest.java26 import android.view.View.OnClickListener;
53 button.setOnClickListener(new OnClickListener() { in onCreate()
60 button.setOnClickListener(new OnClickListener() { in onCreate()
67 button.setOnClickListener(new OnClickListener() { in onCreate()
74 button.setOnClickListener(new OnClickListener() { in onCreate()
81 button.setOnClickListener(new OnClickListener() { in onCreate()
88 button.setOnClickListener(new OnClickListener() { in onCreate()
/frameworks/base/core/java/com/android/internal/app/
DMediaRouteDialogPresenter.java42 int routeTypes, View.OnClickListener extendedSettingsClickListener) { in showDialogFragment()
71 int routeTypes, View.OnClickListener extendedSettingsClickListener) { in createDialog()
80 int routeTypes, View.OnClickListener extendedSettingsClickListener, int theme) { in createDialog()
87 View.OnClickListener extendedSettingsClickListener, int theme, in createDialog()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DButtonItem.java34 public class ButtonItem extends AbstractItem implements View.OnClickListener {
36 public interface OnClickListener { interface in ButtonItem
43 private OnClickListener listener;
60 public void setOnClickListener(OnClickListener listener) { in setOnClickListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
DSectionHeaderController.kt37 fun setOnClearSectionClickListener(listener: View.OnClickListener) in <lambda>()
51 private var clearAllClickListener: View.OnClickListener? = null
52 private val onHeaderClickListener = View.OnClickListener { in <lambda>()
92 override fun setOnClearSectionClickListener(listener: View.OnClickListener) { in setOnClearSectionClickListener()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DLLOfTwoFocusableInTouchMode.java49 mButton1.setOnClickListener(new View.OnClickListener() { in onCreate()
55 mButton2.setOnClickListener(new View.OnClickListener() { in onCreate()
61 mButton3.setOnClickListener(new View.OnClickListener() { in onCreate()

12345678910>>...17