Home
last modified time | relevance | path

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

12345678910>>...14

/frameworks/base/cmds/statsd/tools/dogfood/src/com/android/statsd/dogfood/
DMainActivity.java54 new View.OnClickListener() { in onCreate()
62 new View.OnClickListener() { in onCreate()
70 new View.OnClickListener() { in onCreate()
78 new View.OnClickListener() { in onCreate()
86 new View.OnClickListener() { in onCreate()
95 new View.OnClickListener() { in onCreate()
103 new View.OnClickListener() { in onCreate()
112 new View.OnClickListener() { in onCreate()
120 findViewById(R.id.plug).setOnClickListener(new View.OnClickListener() { in onCreate()
128 findViewById(R.id.unplug).setOnClickListener(new View.OnClickListener() { in onCreate()
[all …]
/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/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/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/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/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/EntityHeaderWidgets/src/com/android/settingslib/widget/
DAppEntityInfo.java33 private final View.OnClickListener mClickListener;
67 public View.OnClickListener getClickListener() { in getClickListener()
86 private View.OnClickListener mClickListener;
124 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/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/
DFrameSequenceTest.java65 findViewById(R.id.start).setOnClickListener(new View.OnClickListener() { in onCreate()
71 findViewById(R.id.stop).setOnClickListener(new View.OnClickListener() { in onCreate()
77 findViewById(R.id.vis).setOnClickListener(new View.OnClickListener() { in onCreate()
83 findViewById(R.id.invis).setOnClickListener(new View.OnClickListener() { in onCreate()
89 findViewById(R.id.circle_mask).setOnClickListener(new View.OnClickListener() { in onCreate()
/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()
DBarViewInfo.java33 private View.OnClickListener mClickListener;
64 public void setClickListener(@Nullable View.OnClickListener listener) { in setClickListener()
95 View.OnClickListener getClickListener() { in getClickListener()
/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/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/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()
DTunerZenModePanel.java24 import android.view.View.OnClickListener;
36 public class TunerZenModePanel extends LinearLayout implements OnClickListener {
47 private OnClickListener mDoneListener;
130 public void setDoneListener(OnClickListener onClickListener) { in setDoneListener()
/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/tests/CanvasCompare/src/com/android/test/hwuicompare/
DManualActivity.java26 import android.view.View.OnClickListener;
118 ((ImageButton) findViewById(R.id.next)).setOnClickListener(new OnClickListener() { in onCreate()
126 ((ImageButton) findViewById(R.id.previous)).setOnClickListener(new OnClickListener() { in onCreate()
135 .setOnClickListener(new OnClickListener() { in onCreate()
143 .setOnClickListener(new OnClickListener() { in onCreate()
150 ((Button) findViewById(R.id.show_error_heatmap)).setOnClickListener(new OnClickListener() { in onCreate()
/frameworks/base/core/java/com/android/internal/app/
DHeavyWeightSwitcherActivity.java33 import android.view.View.OnClickListener;
128 private OnClickListener mSwitchOldListener = new OnClickListener() {
141 private OnClickListener mSwitchNewListener = new OnClickListener() {
/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/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()
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/java/android/media/filterfw/samples/
DCameraEffectsRecordingSample.java24 import android.view.View.OnClickListener;
89 private OnClickListener mRunButtonClick = new OnClickListener() {
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DClickInterceptSpinner.java27 private OnClickListener mListener;
44 public void setPerformClickListener(OnClickListener listener) { in setPerformClickListener()
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java93 View.OnClickListener mClickListener = new View.OnClickListener() {
104 View.OnClickListener mWakeClickListener = new View.OnClickListener() {

12345678910>>...14