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

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
H A DTutorialJAJP.java221 Bubble button;
227 button = new Bubble(context, inputView,
230 mBubbles.add(button);
236 button = new Bubble(context, inputView,
239 mBubbles.add(button);
245 button = new Bubble(context, inputView,
248 mBubbles.add(button);
254 button = new Bubble(context, inputView,
257 mBubbles.add(button);
265 button
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DWebDialog.java40 View button = findViewById(R.id.done);
41 if (button != null) button.setOnClickListener(mCancelListener);
H A DBrowserHomepagePreference.java53 // Now the EditText has a parent. Add a button to set to the current
56 Button button = new Button(getContext());
57 button.setText(R.string.pref_use_current);
58 button.setOnClickListener(new View.OnClickListener() {
66 parent.addView(button, ViewGroup.LayoutParams.WRAP_CONTENT,
98 * when the user clicks the "Use current page" button.
H A DFindDialog.java85 View button = findViewById(R.id.next);
86 button.setOnClickListener(mFindListener);
87 mNextButton = button;
89 button = findViewById(R.id.previous);
90 button.setOnClickListener(mFindPreviousListener);
91 mPrevButton = button;
H A DTitleBar.java166 ImageView button = mInLoad ? mStopButton : mRtButton;
169 // Make all touches hit either the textfield or the button,
173 button.setPressed(true);
189 button.setPressed(false);
198 } else if (button.isPressed() && x < titleRight - slop) {
199 button.setPressed(false);
203 button.setPressed(false);
208 if (button.isPressed()) {
224 button.setPressed(false);
/packages/apps/Mms/src/com/android/mms/ui/
H A DConfirmRateLimitActivity.java53 Button button = (Button) findViewById(R.id.btn_yes);
54 button.setOnClickListener(new OnClickListener() {
60 button = (Button) findViewById(R.id.btn_no);
61 button.setOnClickListener(new OnClickListener() {
/packages/apps/Calendar/src/com/android/calendar/
H A DSelectCalendarsActivity.java133 MultiStateButton button = (MultiStateButton) view.findViewById(R.id.multiStateButton);
134 return button.performClick();
138 MultiStateButton button = (MultiStateButton) view.findViewById(R.id.multiStateButton);
139 button.performClick();
H A DDeleteEventHelper.java109 public void onClick(DialogInterface dialog, int button) {
124 public void onClick(DialogInterface dialog, int button) {
125 mWhichDelete = button;
127 // Enable the "ok" button now that the user has selected which
139 public void onClick(DialogInterface dialog, int button) {
239 // Disable the "Ok" button until the user selects which events
H A DSelectCalendarsAdapter.java54 // The drawables used for the button to change the visible and sync states on a calendar
171 * Method for changing the sync/vis state when a calendar's button is pressed.
347 MultiStateButton button = (MultiStateButton) view.findViewById(R.id.multiStateButton);
349 //Set up the listeners so a click on the button will change the state.
351 button.setTag(view);
353 button.setOnClickListener(this);
354 button.setButtonResources(SYNC_VIS_BUTTON_RES);
355 button.setState(state);
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
H A DTutorialEN.java217 Bubble button;
221 button = new Bubble(context, inputView,
224 mBubbles.add(button);
231 button = new Bubble(context, inputView,
234 mBubbles.add(button);
236 button = new Bubble(context, inputView,
239 mBubbles.add(button);
/packages/apps/Tag/src/com/android/apps/tag/
H A DTagList.java83 View button = findViewById(R.id.more_info);
87 button.setVisibility(View.GONE);
90 button.setVisibility(View.VISIBLE);
91 button.setOnClickListener(this);
/packages/apps/Camera/src/com/android/camera/
H A DThumbnailController.java43 * A controller shows thumbnail picture on a button. The thumbnail picture
62 ImageView button, ContentResolver contentResolver) {
64 mButton = button;
61 ThumbnailController(Resources resources, ImageView button, ContentResolver contentResolver) argument
H A DVideoCamera.java515 public void onShutterButtonFocus(ShutterButton button, boolean pressed) { argument
531 public void onShutterButtonClick(ShutterButton button) { argument
532 switch (button.getId()) {
1294 View button = findViewById(id);
1295 fadeIn(((View) button.getParent()));
1304 View button = findViewById(id);
1305 fadeOut(((View) button.getParent()));
H A DCamera.java322 // Initialize last picture button.
336 // Initialize shutter button.
1206 public void onShutterButtonFocus(ShutterButton button, boolean pressed) { argument
1210 switch (button.getId()) {
1217 public void onShutterButtonClick(ShutterButton button) { argument
1221 switch (button.getId()) {
1476 // the focus to the shutter button and press it.
1479 // the shutter button gets the focus, doFocus() will be
1522 // Half pressing the shutter (i.e. the focus button event) will
2036 View button
[all...]
/packages/apps/Settings/src/com/android/settings/wifi/
H A DWifiApSettings.java119 public void onClick(DialogInterface dialogInterface, int button) { argument
121 if (button == DialogInterface.BUTTON_POSITIVE) {
H A DWifiSettings.java256 public void onClick(DialogInterface dialogInterface, int button) { argument
257 if (button == WifiDialog.BUTTON_FORGET && mSelected != null) {
259 } else if (button == WifiDialog.BUTTON_SUBMIT && mDialog != null) {
/packages/apps/Phone/src/com/android/phone/
H A DDTMFTwelveKeyDialer.java228 * Overriden so that with each valid button press, we start sending
258 * Overriden so that with each valid button up, we stop sending
598 View button;
601 button = dialerView.findViewById(viewId);
603 button.setOnTouchListener(this);
604 button.setClickable(true);
605 button.setOnKeyListener(this);
639 // if the button is recognized
643 // Append the character mapped to this button, to the display.
H A DChangeIccPinScreen.java119 mButton = (Button) findViewById(R.id.button);
H A DEditFdnContactScreen.java240 mButton = (Button) findViewById(R.id.button);
/packages/apps/Settings/src/com/android/settings/
H A DSecuritySettings.java416 public void onClick(DialogInterface dialog, int button) { argument
418 mSubmit = (button == DialogInterface.BUTTON_POSITIVE);
419 if (button == DialogInterface.BUTTON_NEUTRAL) {
423 if (button == DialogInterface.BUTTON_POSITIVE) {
428 } else if (button == DialogInterface.BUTTON_NEGATIVE) {
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
H A DProviderPerfActivity.java243 final Button button = (Button) findViewById(button_id);
244 button.setOnClickListener(new View.OnClickListener() {
246 button.requestFocus();
247 button.setEnabled(false);
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DUserDictionaryToolsList.java141 /** Page left button */
144 /** Page right button */
366 * Process the event when the button on the "Delete word" dialog is pushed
369 * @param button The button that is pushed
373 public void onClick(DialogInterface dialog, int button) {
416 * Process the event when the button on the "Initialize" dialog is pushed
419 * @param button The button that is pushed
423 public void onClick(DialogInterface dialog, int button) {
[all...]
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
H A DSoundRecorder.java352 public void onClick(View button) { argument
353 if (!button.isEnabled())
356 switch (button.getId()) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/voice/
H A DRecognitionView.java129 mButton = mView.findViewById(R.id.button);
H A DVoiceInput.java406 * Handle the cancel button.
410 case R.id.button:

Completed in 1417 milliseconds