Searched defs:mButton (Results 1 - 15 of 15) sorted by relevance

/packages/apps/Music/src/com/android/music/
H A DDeleteItems.java31 private Button mButton; field in class:DeleteItems
45 mButton = (Button) findViewById(R.id.delete);
46 mButton.setOnClickListener(mButtonClicked);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DSelectionMenu.java32 private final Button mButton; field in class:SelectionMenu
37 mButton = button;
38 mPopupList = new PopupList(context, mButton);
42 mButton.setOnClickListener(this);
59 mButton.setText(title);
/packages/apps/Calendar/src/com/android/calendar/
H A DExpandableTextView.java31 ImageButton mButton; // Button to expand/collapse field in class:ExpandableTextView
62 if (mButton.getVisibility() != View.VISIBLE) {
67 mButton.setImageDrawable(mCollapsed ? mExpandDrawable : mCollapseDrawable);
82 mButton.setVisibility(View.GONE);
98 mButton.setVisibility(View.VISIBLE);
107 mButton = (ImageButton) findViewById(R.id.expand_collapse);
108 mButton.setOnClickListener(this);
/packages/apps/Contacts/tests/src/com/android/contacts/tests/quickcontact/
H A DQuickContactTestsActivity.java49 private Button mButton; field in class:QuickContactTestsActivity
68 mButton = (Button) findViewById(android.R.id.button1);
69 mButton.setOnClickListener(new OnClickListener() {
103 mButton.setEnabled(true);
/packages/apps/TV/src/com/android/tv/menu/
H A DPlayControlsButton.java33 private final ImageView mButton; field in class:PlayControlsButton
53 mButton = (ImageView) findViewById(R.id.button);
69 mButton.setOnClickListener(new OnClickListener() {
89 mButton.getDrawable().jumpToCurrentState();
95 mButton.setEnabled(enabled);
/packages/experimental/TestBack/src/foo/bar/testback/
H A DTestBackService.java21 private Button mButton; field in class:TestBackService
26 mButton = new Button(this);
27 mButton.setText("Button 1");
73 windowManager.addView(mButton, params);
78 windowManager.removeView(mButton);
/packages/services/Telephony/tests/src/com/android/phone/tests/
H A DOtaspTestActivity.java48 private Button mButton; field in class:OtaspTestActivity
70 mButton = (Button) findViewById(R.id.button1);
71 mButton.setText("Make test call");
72 mButton.setOnClickListener(this);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
H A DColorChooser.java41 private Button[] mButton = new Button[mButtonsID.length]; field in class:ColorChooser
66 mButton[i] = button;
101 mButton[i].setTag(hsvo);
102 GradientDrawable sd = ((GradientDrawable) mButton[i].getBackground());
115 final Button button = mButton[i];
151 final Button button = mButton[mSelectedButton];
172 float[] c = (float[]) mButton[mSelectedButton].getTag();
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
H A DEditorChanSat.java47 private SwapButton mButton; field in class:EditorChanSat
99 mButton = (SwapButton) accessoryViewList.findViewById(R.id.applyEffect);
100 mButton.setText(mContext.getString(R.string.editor_chan_sat_main));
103 final PopupMenu popupMenu = new PopupMenu(mImageShow.getActivity(), mButton);
115 mButton.setOnClickListener(new OnClickListener() {
122 mButton.setListener(this);
128 mButton.setText(mContext.getString(R.string.saturation));
242 if (mButton == null) {
245 mButton.setListener(null);
246 mButton
[all...]
H A DEditorVignette.java57 private SwapButton mButton; field in class:EditorVignette
157 mButton = (SwapButton) accessoryViewList.findViewById(R.id.applyEffect);
158 mButton.setText(mContext.getString(R.string.vignette_main));
161 final PopupMenu popupMenu = new PopupMenu(mImageShow.getActivity(), mButton);
173 mButton.setOnClickListener(new View.OnClickListener() {
180 mButton.setListener(this);
186 mButton.setText(mContext.getString(R.string.vignette_main));
250 if (mButton == null) {
253 mButton.setListener(null);
254 mButton
[all...]
H A DEditor.java61 private Button mButton; field in class:Editor
98 mButton = editTitle;
129 if (mButton != null) {
235 if (mButton != null) {
259 mButton.setText(calculateUserMessage(mContext, s, ""));
/packages/apps/Settings/src/com/android/settings/
H A DCredentialStorage.java497 private final Button mButton; field in class:CredentialStorage.UnlockDialog
529 mButton = dialog.getButton(DialogInterface.BUTTON_POSITIVE);
530 mButton.setEnabled(false);
534 mButton.setEnabled(mOldPassword == null || mOldPassword.getText().length() > 0);
/packages/apps/Settings/src/com/android/settings/wifi/
H A DWpsDialog.java54 private Button mButton; field in class:WpsDialog
170 mButton = ((Button) mView.findViewById(R.id.wps_dialog_btn));
171 mButton.setText(R.string.wifi_cancel);
172 mButton.setOnClickListener(new View.OnClickListener() {
247 mButton.setText(mContext.getString(R.string.dlg_ok));
/packages/services/Telephony/src/com/android/phone/
H A DChangeIccPinScreen.java72 private Button mButton; field in class:ChangeIccPinScreen
118 mButton = (Button) findViewById(R.id.button);
119 mButton.setOnClickListener(mClicked);
175 mButton.requestFocus();
176 } else if (v == mButton) {
/packages/services/Telephony/src/com/android/phone/settings/fdn/
H A DEditFdnContactScreen.java83 private Button mButton; field in class:EditFdnContactScreen
260 mButton = (Button) findViewById(R.id.button);
261 if (mButton != null) {
262 mButton.setOnClickListener(mClicked);
365 mButton.setClickable(!mDataBusy);
420 mButton.requestFocus();
421 } else if (v == mButton) {

Completed in 470 milliseconds