Home
last modified time | relevance | path

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

1234

/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 …]
DJobWorkServiceActivity.java50 Button button = findViewById(R.id.enqueue1); in onCreate() local
51 button.setOnClickListener(mEnqueue1Listener); in onCreate()
52 button = findViewById(R.id.enqueue2); in onCreate()
53 button.setOnClickListener(mEnqueue2Listener); in onCreate()
54 button = findViewById(R.id.enqueue3); in onCreate()
55 button.setOnClickListener(mEnqueue3Listener); in onCreate()
56 button = findViewById(R.id.kill); in onCreate()
57 button.setOnClickListener(mKillListener); in onCreate()
DForegroundService.java163 Button button = (Button)findViewById(R.id.start_foreground); in onCreate() local
164 button.setOnClickListener(mForegroundListener); in onCreate()
165 button = (Button)findViewById(R.id.start_foreground_wakelock); in onCreate()
166 button.setOnClickListener(mForegroundWakelockListener); in onCreate()
167 button = (Button)findViewById(R.id.start_background); in onCreate()
168 button.setOnClickListener(mBackgroundListener); in onCreate()
169 button = (Button)findViewById(R.id.start_background_wakelock); in onCreate()
170 button.setOnClickListener(mBackgroundWakelockListener); in onCreate()
171 button = (Button)findViewById(R.id.stop); in onCreate()
172 button.setOnClickListener(mStopListener); in onCreate()
[all …]
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()
DLocalServiceActivities.java53 Button button = (Button)findViewById(R.id.start); in onCreate() local
54 button.setOnClickListener(mStartListener); in onCreate()
55 button = (Button)findViewById(R.id.stop); in onCreate()
56 button.setOnClickListener(mStopListener); in onCreate()
176 Button button = (Button)findViewById(R.id.bind); in onCreate() local
177 button.setOnClickListener(mBindListener); in onCreate()
178 button = (Button)findViewById(R.id.unbind); in onCreate()
179 button.setOnClickListener(mUnbindListener); 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()
DAlarmController.java78 Button button = (Button)findViewById(R.id.one_shot); in onCreate() local
79 button.setOnClickListener(mOneShotListener); in onCreate()
80 button = (Button)findViewById(R.id.one_shot_while_idle); in onCreate()
81 button.setOnClickListener(mOneShotListener); in onCreate()
82 button = (Button)findViewById(R.id.start_repeating); in onCreate()
83 button.setOnClickListener(mStartRepeatingListener); in onCreate()
84 button = (Button)findViewById(R.id.stop_repeating); in onCreate()
85 button.setOnClickListener(mStopRepeatingListener); 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()
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()
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()
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/content/
DDocumentsSample.java77 Button button; in onCreate() local
78 button = new Button(context); in onCreate()
79 button.setText("OPEN_DOC */*"); in onCreate()
80 button.setOnClickListener(new OnClickListener() { in onCreate()
95 view.addView(button); in onCreate()
97 button = new Button(context); in onCreate()
98 button.setText("OPEN_DOC image/*"); in onCreate()
99 button.setOnClickListener(new OnClickListener() { in onCreate()
114 view.addView(button); in onCreate()
116 button = new Button(context); in onCreate()
[all …]
DInstallApk.java59 Button button = (Button)findViewById(R.id.unknown_source); in onCreate() local
60 button.setOnClickListener(mUnknownSourceListener); in onCreate()
61 button = (Button)findViewById(R.id.my_source); in onCreate()
62 button.setOnClickListener(mMySourceListener); in onCreate()
63 button = (Button)findViewById(R.id.uninstall); in onCreate()
64 button.setOnClickListener(mUninstallListener); in onCreate()
65 button = (Button)findViewById(R.id.uninstall_result); in onCreate()
66 button.setOnClickListener(mUninstallResultListener); 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/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/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()
DTaskListActivity.java51 ImageButton button = (ImageButton) findViewById(R.id.button); in onCreate() local
52 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()
/development/vndk/tools/definition-tool/assets/visual/
Ddep-graph.css79 button.violate {
92 button.violate.active,
93 button.violate:hover {
96 button.violate-list {
109 button.violate-list.active,
110 button.violate-list:hover {

1234