Home
last modified time | relevance | path

Searched refs:button (Results 1 – 25 of 108) sorted by relevance

12345

/development/samples/ApiDemos/src/com/example/android/apis/app/
DStatusBarNotifications.java48 Button button; in onCreate() local
53 button = (Button) findViewById(R.id.happy); in onCreate()
54 button.setOnClickListener(new Button.OnClickListener() { in onCreate()
61 button = (Button) findViewById(R.id.neutral); in onCreate()
62 button.setOnClickListener(new Button.OnClickListener() { in onCreate()
69 button = (Button) findViewById(R.id.sad); in onCreate()
70 button.setOnClickListener(new Button.OnClickListener() { in onCreate()
76 button = (Button) findViewById(R.id.happyMarquee); in onCreate()
77 button.setOnClickListener(new Button.OnClickListener() { in onCreate()
84 button = (Button) findViewById(R.id.neutralMarquee); in onCreate()
[all …]
DAnimation.java48 Button button = (Button)findViewById(R.id.fade_animation); in onCreate() local
49 button.setOnClickListener(mFadeListener); in onCreate()
50 button = (Button)findViewById(R.id.zoom_animation); in onCreate()
51 button.setOnClickListener(mZoomListener); in onCreate()
53 button = (Button)findViewById(R.id.modern_fade_animation); in onCreate()
54 button.setOnClickListener(mModernFadeListener); in onCreate()
55 button = (Button)findViewById(R.id.modern_zoom_animation); in onCreate()
56 button.setOnClickListener(mModernZoomListener); in onCreate()
57 button = (Button)findViewById(R.id.scale_up_animation); in onCreate()
58 button.setOnClickListener(mScaleUpListener); in onCreate()
[all …]
DLocalServiceActivities.java51 Button button = (Button)findViewById(R.id.start); in onCreate() local
52 button.setOnClickListener(mStartListener); in onCreate()
53 button = (Button)findViewById(R.id.stop); in onCreate()
54 button.setOnClickListener(mStopListener); in onCreate()
165 Button button = (Button)findViewById(R.id.bind); in onCreate() local
166 button.setOnClickListener(mBindListener); in onCreate()
167 button = (Button)findViewById(R.id.unbind); in onCreate()
168 button.setOnClickListener(mUnbindListener); in onCreate()
DNotifyWithText.java43 Button button; in onCreate() local
46 button = (Button) findViewById(R.id.short_notify); in onCreate()
47 button.setOnClickListener(new Button.OnClickListener() { in onCreate()
67 button = (Button) findViewById(R.id.long_notify); in onCreate()
68 button.setOnClickListener(new Button.OnClickListener() { in onCreate()
DRemoteService.java231 Button button = (Button)findViewById(R.id.start); in onCreate() local
232 button.setOnClickListener(mStartListener); in onCreate()
233 button = (Button)findViewById(R.id.stop); in onCreate()
234 button.setOnClickListener(mStopListener); in onCreate()
291 Button button = (Button)findViewById(R.id.bind); in onCreate() local
292 button.setOnClickListener(mBindListener); in onCreate()
293 button = (Button)findViewById(R.id.unbind); in onCreate()
294 button.setOnClickListener(mUnbindListener); in onCreate()
532 Button button = (Button)findViewById(R.id.bind_normal); in onCreate() local
533 button.setOnClickListener(mBindNormalListener); in onCreate()
[all …]
DSendResult.java53 Button button = (Button)findViewById(R.id.corky); in onCreate() local
54 button.setOnClickListener(mCorkyListener); in onCreate()
55 button = (Button)findViewById(R.id.violet); in onCreate()
56 button.setOnClickListener(mVioletListener); in onCreate()
DNotifyingController.java41 Button button = (Button) findViewById(R.id.notifyStart); in onCreate() local
42 button.setOnClickListener(mStartListener); in onCreate()
43 button = (Button) findViewById(R.id.notifyStop); in onCreate()
44 button.setOnClickListener(mStopListener); in onCreate()
DServiceStartArguments.java218 Button button = (Button)findViewById(R.id.start1); in onCreate() local
219 button.setOnClickListener(mStart1Listener); in onCreate()
220 button = (Button)findViewById(R.id.start2); in onCreate()
221 button.setOnClickListener(mStart2Listener); in onCreate()
222 button = (Button)findViewById(R.id.start3); in onCreate()
223 button.setOnClickListener(mStart3Listener); in onCreate()
224 button = (Button)findViewById(R.id.startfail); in onCreate()
225 button.setOnClickListener(mStartFailListener); in onCreate()
226 button = (Button)findViewById(R.id.kill); in onCreate()
227 button.setOnClickListener(mKillListener); in onCreate()
DFinishAffinity.java43 Button button = (Button)findViewById(R.id.nest); in onCreate() local
44 button.setOnClickListener(mNestListener); in onCreate()
45 button = (Button)findViewById(R.id.finish); in onCreate()
46 button.setOnClickListener(mFinishListener); in onCreate()
DNotificationDisplay.java52 ImageButton button = new ImageButton(this); in onCreate() local
53 button.setImageResource(getIntent().getIntExtra("moodimg", 0)); in onCreate()
54 button.setOnClickListener(this); in onCreate()
61 container.addView(button, lp); in onCreate()
DAlarmController.java76 Button button = (Button)findViewById(R.id.one_shot); in onCreate() local
77 button.setOnClickListener(mOneShotListener); in onCreate()
78 button = (Button)findViewById(R.id.start_repeating); in onCreate()
79 button.setOnClickListener(mStartRepeatingListener); in onCreate()
80 button = (Button)findViewById(R.id.stop_repeating); in onCreate()
81 button.setOnClickListener(mStopRepeatingListener); in onCreate()
DForegroundService.java252 Button button = (Button)findViewById(R.id.start_foreground); in onCreate() local
253 button.setOnClickListener(mForegroundListener); in onCreate()
254 button = (Button)findViewById(R.id.start_foreground_wakelock); in onCreate()
255 button.setOnClickListener(mForegroundWakelockListener); in onCreate()
256 button = (Button)findViewById(R.id.start_background); in onCreate()
257 button.setOnClickListener(mBackgroundListener); in onCreate()
258 button = (Button)findViewById(R.id.start_background_wakelock); in onCreate()
259 button.setOnClickListener(mBackgroundWakelockListener); in onCreate()
260 button = (Button)findViewById(R.id.stop); in onCreate()
261 button.setOnClickListener(mStopListener); in onCreate()
DDialogActivity.java61 Button button = (Button)findViewById(R.id.add); in onCreate() local
62 button.setOnClickListener(mAddContentListener); in onCreate()
63 button = (Button)findViewById(R.id.remove); in onCreate()
64 button.setOnClickListener(mRemoveContentListener); in onCreate()
DAlarmService.java55 Button button = (Button)findViewById(R.id.start_alarm); in onCreate() local
56 button.setOnClickListener(mStartAlarmListener); in onCreate()
57 button = (Button)findViewById(R.id.stop_alarm); in onCreate()
58 button.setOnClickListener(mStopAlarmListener); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DChronometerDemo.java40 Button button; in onCreate() local
45 button = (Button) findViewById(R.id.start); in onCreate()
46 button.setOnClickListener(mStartListener); in onCreate()
48 button = (Button) findViewById(R.id.stop); in onCreate()
49 button.setOnClickListener(mStopListener); in onCreate()
51 button = (Button) findViewById(R.id.reset); in onCreate()
52 button.setOnClickListener(mResetListener); in onCreate()
54 button = (Button) findViewById(R.id.set_format); in onCreate()
55 button.setOnClickListener(mSetFormatListener); in onCreate()
57 button = (Button) findViewById(R.id.clear_format); in onCreate()
[all …]
DProgressBar1.java47 Button button = (Button) findViewById(R.id.increase); in onCreate() local
48 button.setOnClickListener(new Button.OnClickListener() { in onCreate()
56 button = (Button) findViewById(R.id.decrease); in onCreate()
57 button.setOnClickListener(new Button.OnClickListener() { in onCreate()
65 button = (Button) findViewById(R.id.increase_secondary); in onCreate()
66 button.setOnClickListener(new Button.OnClickListener() { in onCreate()
74 button = (Button) findViewById(R.id.decrease_secondary); in onCreate()
75 button.setOnClickListener(new Button.OnClickListener() { in onCreate()
DProgressBar3.java48 Button button = (Button) findViewById(R.id.showIndeterminate); in onCreate() local
49 button.setOnClickListener(new View.OnClickListener() { in onCreate()
55 button = (Button) findViewById(R.id.showIndeterminateNoTitle); in onCreate()
56 button.setOnClickListener(new View.OnClickListener() { in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DDocumentsSample.java74 Button button; in onCreate() local
75 button = new Button(context); in onCreate()
76 button.setText("OPEN_DOC */*"); in onCreate()
77 button.setOnClickListener(new OnClickListener() { in onCreate()
92 view.addView(button); in onCreate()
94 button = new Button(context); in onCreate()
95 button.setText("OPEN_DOC image/*"); in onCreate()
96 button.setOnClickListener(new OnClickListener() { in onCreate()
111 view.addView(button); in onCreate()
113 button = new Button(context); in onCreate()
[all …]
DInstallApk.java62 Button button = (Button)findViewById(R.id.unknown_source); in onCreate() local
63 button.setOnClickListener(mUnknownSourceListener); in onCreate()
64 button = (Button)findViewById(R.id.my_source); in onCreate()
65 button.setOnClickListener(mMySourceListener); in onCreate()
66 button = (Button)findViewById(R.id.replace); in onCreate()
67 button.setOnClickListener(mReplaceListener); in onCreate()
68 button = (Button)findViewById(R.id.uninstall); in onCreate()
69 button.setOnClickListener(mUninstallListener); in onCreate()
70 button = (Button)findViewById(R.id.uninstall_result); in onCreate()
71 button.setOnClickListener(mUninstallResultListener); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/inputmethod/
DShowInputMethodAndSubtypeEnabler.java51 final Button button = new Button(this); in onCreate() local
52 button.setText("Show (All IMEs)"); in onCreate()
53 button.setOnClickListener(new View.OnClickListener() { in onCreate()
59 layout.addView(button); in onCreate()
63 final Button button = new Button(this); in onCreate() local
65 button.setText("Show (" + id + ")"); in onCreate()
66 button.setOnClickListener(new View.OnClickListener() { in onCreate()
72 layout.addView(button); in onCreate()
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DSendResult.java53 Button button = (Button)findViewById(R.id.corky); in onCreate() local
54 button.setOnClickListener(mCorkyListener); in onCreate()
55 button = (Button)findViewById(R.id.violet); in onCreate()
56 button.setOnClickListener(mVioletListener); in onCreate()
DFragmentStackFragmentSupport.java54 Button button = (Button)v.findViewById(R.id.new_fragment); in onCreateView() local
55 button.setOnClickListener(new OnClickListener() { in onCreateView()
60 button = (Button)v.findViewById(R.id.delete_fragment); in onCreateView()
61 button.setOnClickListener(new OnClickListener() { in onCreateView()
66 button = (Button)v.findViewById(R.id.home); in onCreateView()
67 button.setOnClickListener(new OnClickListener() { in onCreateView()
/development/samples/SupportVectorDrawable/animated/src/com/example/android/support/vectordrawable/app/
DAnimatedButtonBackground.java87 Button button = new Button(this); in addDrawableButtons() local
88 button.setWidth(200); in addDrawableButtons()
89 button.setHeight(200); in addDrawableButtons()
90 button.setBackgroundDrawable(d[i]); in addDrawableButtons()
91 container.addView(button); in addDrawableButtons()
92 button.setOnClickListener(this); in addDrawableButtons()
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DClockBackActivity.java47 ImageButton button = (ImageButton) findViewById(R.id.button); in onCreate() local
48 button.setOnClickListener(new View.OnClickListener() { in onCreate()
/development/samples/Alarm/src/com/example/android/newalarm/
DAlarmActivity.java74 Button button = (Button)findViewById(R.id.start_alarm); in onCreate() local
77 button.setOnClickListener(mStartAlarmListener); in onCreate()
80 button = (Button)findViewById(R.id.stop_alarm); in onCreate()
83 button.setOnClickListener(mStopAlarmListener); in onCreate()

12345