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

12

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
H A DStyleChooser.java47 final ImageButton button = new ImageButton(context);
48 button.setScaleType(ScaleType.CENTER_CROP);
49 button.setLayoutParams(lp);
50 button.setBackgroundResource(android.R.color.transparent);
51 mIconButton.add(button);
53 button.setOnClickListener(new View.OnClickListener() {
59 mLinearLayout.addView(button);
67 button.setImageBitmap(bmap);
H A DColorChooser.java65 final Button button = (Button) mTopView.findViewById(mButtonsID[i]);
66 mButton[i] = button;
70 button.setTag(hsvo);
71 GradientDrawable sd = ((GradientDrawable) button.getBackground());
76 button.setOnClickListener(new View.OnClickListener() {
83 Button button = (Button) mTopView.findViewById(R.id.draw_color_popupbutton);
85 button.setOnClickListener(new View.OnClickListener() {
115 final Button button = mButton[i];
116 GradientDrawable sd = ((GradientDrawable) button.getBackground());
122 public void selectColor(View button, in argument
[all...]
/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/Mms/src/com/android/mms/ui/
H A DConfirmRateLimitActivity.java51 Button button = (Button) findViewById(R.id.btn_yes);
52 button.setOnClickListener(new OnClickListener() {
58 button = (Button) findViewById(R.id.btn_no);
59 button.setOnClickListener(new OnClickListener() {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DButtonSwitcher.java155 private ViewPropertyAnimator animateButton(final View button, final int direction) { argument
157 final float innerX = button.getX() - button.getTranslationX();
160 button.setClickable(true);
161 return button.animate().translationX(0);
163 button.setClickable(false);
164 return button.animate().translationX(outerX - innerX);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
H A DColorGridDialog.java45 for (Button button : b) {
46 if (!button.equals(sel)){
51 GradientDrawable sd = ((GradientDrawable) button.getBackground());
52 button.setOnClickListener(new View.OnClickListener() {
H A DColorPickerDialog.java146 private void setButtonColor(ToggleButton button, float[] hsv) { argument
147 if (button == null) {
151 button.setBackgroundColor(color);
157 button.setTextColor(Color.HSVToColor(fg));
158 button.setTag(hsv);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DSelectionMenu.java35 public SelectionMenu(Context context, Button button, OnPopupItemClickListener listener) { argument
37 mButton = button;
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSetupType.java92 final Button button = (Button)parent.getChildAt(i);
94 final LayoutParams params = (LayoutParams)button.getLayoutParams();
97 button.setId(i);
98 button.setTag(info.protocol);
99 button.setText(info.name);
100 button.setOnClickListener(this);
101 lastView = button;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
H A DEditorRotate.java71 final Button button = (Button) accessoryViewList.findViewById(R.id.applyEffect);
72 button.setOnClickListener(new OnClickListener() {
78 button.setText(displayVal);
H A DEditorMirror.java71 final Button button = (Button) accessoryViewList.findViewById(R.id.applyEffect);
72 button.setOnClickListener(new OnClickListener() {
H A DEditorDrawTabletUI.java132 final ImageButton button = new ImageButton(context);
133 mStyleButton[i] = button;
134 button.setScaleType(ImageView.ScaleType.CENTER_CROP);
135 button.setLayoutParams(params);
137 button.setImageBitmap(bitmap);
138 button.setBackgroundResource(android.R.color.transparent);
139 buttonContainer.addView(button);
141 button.setOnClickListener(new View.OnClickListener() {
271 final Button button = mColorButton[i];
273 GradientDrawable sd = ((GradientDrawable) button
[all...]
H A DEditorColorBorder.java124 final Button button = (Button) accessoryViewList.findViewById(
126 if (button == null) {
129 final PopupMenu popupMenu = new PopupMenu(mImageShow.getActivity(), button);
H A DEditorGrad.java249 Button button = (Button) accessoryViewList.findViewById(R.id.applyEffect);
250 if (button == null) {
255 setUpPopupMenu(button);
261 private void setUpPopupMenu(Button button) { argument
262 mPopupMenu = new PopupMenu(mImageShow.getActivity(), button);
H A DEditorDraw.java161 final Button button = (Button) accessoryViewList.findViewById(
163 if (button == null) {
166 final PopupMenu popupMenu = new PopupMenu(mImageShow.getActivity(), button);
/packages/apps/Email/src/com/android/email/provider/
H A DFolderPickerDialog.java88 final Button button = mDialog.getButton(AlertDialog.BUTTON_POSITIVE);
90 // No items are selected, so disable the OK button.
91 button.setEnabled(false);
105 // This would remove the check on a single radio button, so just
122 // Since we know that an item is selected in the list, enable the OK button
123 final Button button = mDialog.getButton(AlertDialog.BUTTON_POSITIVE);
124 button.setEnabled(true);
/packages/apps/InCallUI/src/com/android/incallui/
H A DDialpadFragment.java175 * Overriden so that with each valid button press, we start sending
205 * Overriden so that with each valid button up, we stop sending
334 // the button's hover target bounds should perform a click action.
393 // if the button is recognized
397 // Append the character mapped to this button, to the display.
544 View button;
549 button = fragmentView.findViewById(buttonIds[i]);
550 button.setOnTouchListener(this);
551 button.setClickable(true);
552 button
[all...]
H A DCallButtonFragment.java106 // make the hit target smaller for the end button so that is creates a deadzone
107 // along the inside perimeter of the button.
114 final ImageButton button = (ImageButton) v;
115 getPresenter().muteClicked(!button.isSelected());
131 final ImageButton button = (ImageButton) v;
132 getPresenter().holdClicked(!button.isSelected());
199 // The main end-call button spanning across the screen.
202 // The smaller buttons laid out horizontally just below the end-call button.
345 * Updates the audio button so that the appriopriate visual layers
368 // The audio button i
[all...]
/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/Calendar/src/com/android/calendar/event/
H A DAttendeesView.java191 // Set up the Image button even if the view is disabled
193 final ImageButton button = (ImageButton) view.findViewById(R.id.contact_remove);
194 button.setVisibility(isEnabled() ? View.VISIBLE : View.GONE);
195 button.setTag(item);
197 button.setImageResource(R.drawable.ic_menu_add_field_holo_light);
198 button.setContentDescription(mContext.getString(R.string.accessibility_add_attendee));
200 button.setImageResource(R.drawable.ic_menu_remove_field_holo_light);
201 button.setContentDescription(mContext.
204 button.setOnClickListener(this);
/packages/apps/Settings/src/com/android/settings/
H A DCredentialStorage.java282 @Override public void onClick(DialogInterface dialog, int button) { argument
283 mResetConfirmed = (button == DialogInterface.BUTTON_POSITIVE);
352 @Override public void onClick(DialogInterface dialog, int button) { argument
353 mConfigureConfirmed = (button == DialogInterface.BUTTON_POSITIVE);
460 @Override public void onClick(DialogInterface dialog, int button) { argument
461 mUnlockConfirmed = (button == DialogInterface.BUTTON_POSITIVE);
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DContactEditorAccountsChangedActivity.java95 final Button button = (Button) findViewById(R.id.add_account_button);
96 button.setText(getString(R.string.add_new_account));
97 button.setOnClickListener(mAddAccountClickListener);
117 // This button allows the user to add a new account to the device and return to
122 // This button allows the user to continue creating the contact in the specified
142 // This button allows the user to continue editing the contact as a phone-only
156 // This button allows the user to add a new account to the device and return to
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DMainPanel.java245 public void setToggleVersionsPanelButton(ImageButton button) { argument
246 if (button == null) {
249 button.setOnClickListener(new View.OnClickListener() {
/packages/apps/Calendar/src/com/android/calendar/
H A DDeleteEventHelper.java135 public void onClick(DialogInterface dialog, int button) {
154 public void onClick(DialogInterface dialog, int button) {
171 public void onClick(DialogInterface dialog, int button) {
173 mWhichDelete = mWhichIndex.get(button);
175 // Enable the "ok" button now that the user has selected which
187 public void onClick(DialogInterface dialog, int button) {
334 // Disable the "Ok" button until the user selects which events
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageCurves.java92 final Button button = (Button) accessoryViewList.findViewById(
94 if (button == null) {
108 PopupMenu popupMenu = new PopupMenu(getActivity(), button);
114 button.setText(mIdStrLut.get(item.getItemId()));

Completed in 2307 milliseconds

12