HomeSort by relevance Sort by last modified time
    Searched refs:mButton (Results 26 - 50 of 68) sorted by null

12 3

  /frameworks/base/core/tests/coretests/src/android/widget/espresso/
MouseUiController.java 42 private final int mButton;
56 mButton = button;
69 event.setButtonState(mButton);
MouseClickAction.java 38 private final int mButton;
103 mButton = button;
118 mViewClickAction.perform(new MouseUiController(uiController, mButton), view);
  /packages/apps/Music/src/com/android/music/
DeleteItems.java 31 private Button mButton;
45 mButton = (Button) findViewById(R.id.delete);
46 mButton.setOnClickListener(mButtonClicked);
  /pdk/apps/HelloPDK/src/com/example/android/helloPDK/telephony/
DialerActivity.java 31 private Button mButton;
37 mButton = (Button)findViewById(R.id.button_dialer);
38 mButton.setOnClickListener(new View.OnClickListener() {
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
EditorChanSat.java 47 private SwapButton mButton;
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.setOnClickListener(null)
    [all...]
EditorVignette.java 57 private SwapButton mButton;
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.setOnClickListener(null)
    [all...]
  /development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
InsertingCells.java 44 private Button mButton;
70 mButton = (Button)findViewById(R.id.add_row_button);
80 mButton.setEnabled(false);
106 mButton.setEnabled(false);
111 mButton.setEnabled(true);
  /developers/build/prebuilts/gradle/BasicMediaRouter/Application/src/main/java/com/example/android/basicmediarouter/
MainActivity.java 75 mButton = (Button) findViewById(R.id.button1);
76 mButton.setOnClickListener(new View.OnClickListener() {
170 mButton.setEnabled(false);
192 mButton.setEnabled(true);
213 mButton.setEnabled(false);
281 private Button mButton;
  /developers/samples/android/media/BasicMediaRouter/Application/src/main/java/com/example/android/basicmediarouter/
MainActivity.java 75 mButton = (Button) findViewById(R.id.button1);
76 mButton.setOnClickListener(new View.OnClickListener() {
170 mButton.setEnabled(false);
192 mButton.setEnabled(true);
213 mButton.setEnabled(false);
281 private Button mButton;
  /development/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/
MainActivity.java 75 mButton = (Button) findViewById(R.id.button1);
76 mButton.setOnClickListener(new View.OnClickListener() {
170 mButton.setEnabled(false);
192 mButton.setEnabled(true);
213 mButton.setEnabled(false);
281 private Button mButton;
  /frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
CrossfadeMultiple.java 41 Button mButton;
55 mButton = (Button) findViewById(R.id.button);
101 mButton.setText("A");
107 mButton.setText("B");
113 mButton.setText("C");
118 mButton.setLayoutParams(params);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
TemplateTestPage.java 39 private Button mButton;
70 mButton = new Button(container, SWT.FLAT);
71 mButton.setText("...");
78 mButton.addSelectionListener(this);
135 if (e.getSource() == mButton) {
136 DirectoryDialog dialog = new DirectoryDialog(mButton.getShell(), SWT.OPEN);
  /development/samples/Home/src/com/example/android/home/
ApplicationsStackLayout.java 65 private View mButton;
113 mButton = mInflater.inflate(R.layout.all_applications_button, this, false);
114 addView(mButton);
182 LayoutParams layoutParams = mButton.getLayoutParams();
185 mButton.measure(widthSpec, heightSpec);
198 int childWidth = mButton.getMeasuredWidth();
199 int childHeight = mButton.getMeasuredHeight();
202 mButton.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
221 int childWidth = mButton.getMeasuredWidth();
222 int childHeight = mButton.getMeasuredHeight()
    [all...]
  /external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/activity/
Main.java 57 protected Button mButton;
125 mButton = new Button(this);
131 mButton.setLayoutParams(marginParams);
132 mLayout.addView(mButton);
137 mButton.setText("Install");
138 mButton.setOnClickListener(new OnClickListener() {
147 mButton.setText("Uninstall");
148 mButton.setOnClickListener(new OnClickListener() {
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
ErrorFragment.java 42 private Button mButton;
176 mButton = (Button) root.findViewById(R.id.button);
186 setTopMargin(mButton, underMessageBaselineMargin - metrics.descent);
219 if (mButton != null) {
220 mButton.setText(mButtonText);
221 mButton.setOnClickListener(mButtonClickListener);
222 mButton.setVisibility(TextUtils.isEmpty(mButtonText) ? View.GONE : View.VISIBLE);
223 mButton.requestFocus();
ErrorSupportFragment.java 44 private Button mButton;
178 mButton = (Button) root.findViewById(R.id.button);
188 setTopMargin(mButton, underMessageBaselineMargin - metrics.descent);
221 if (mButton != null) {
222 mButton.setText(mButtonText);
223 mButton.setOnClickListener(mButtonClickListener);
224 mButton.setVisibility(TextUtils.isEmpty(mButtonText) ? View.GONE : View.VISIBLE);
225 mButton.requestFocus();
  /packages/experimental/TestBack/src/foo/bar/testback/
TestBackService.java 21 private Button mButton;
26 mButton = new Button(this);
27 mButton.setText("Button 1");
73 windowManager.addView(mButton, params);
78 windowManager.removeView(mButton);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
ColorChooser.java 41 private Button[] mButton = new Button[mButtonsID.length];
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();
  /cts/tests/tests/view/src/android/view/cts/
GestureDetectorCtsActivity.java 49 private Button mButton;
63 mButton = new Button(this);
74 mViewGroup.addView(mButton);
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
ListPopupWindowActivity.java 43 private Button mButton;
62 mButton = (Button) mContainer.findViewById(R.id.test_button);
64 mButton.setOnClickListener(new View.OnClickListener() {
112 mListPopupWindow.setAnchorView(mButton);
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/quickcontact/
QuickContactTestsActivity.java 49 private Button mButton;
68 mButton = (Button) findViewById(android.R.id.button1);
69 mButton.setOnClickListener(new OnClickListener() {
103 mButton.setEnabled(true);
  /packages/services/Telephony/tests/src/com/android/phone/tests/
OtaspTestActivity.java 48 private Button mButton;
70 mButton = (Button) findViewById(R.id.button1);
71 mButton.setText("Make test call");
72 mButton.setOnClickListener(this);
  /cts/tests/app/src/android/app/cts/
AlertDialog_BuilderTest.java 56 private Button mButton;
84 mButton = null;
154 mButton = mDialog.getButton(DialogInterface.BUTTON_POSITIVE);
155 mButton.performClick();
160 assertEquals(mContext.getText(android.R.string.yes), mButton.getText());
175 mButton = mDialog.getButton(DialogInterface.BUTTON_POSITIVE);
176 mButton.performClick();
180 assertEquals(mContext.getText(android.R.string.yes), mButton.getText());
195 mButton = mDialog.getButton(DialogInterface.BUTTON_NEGATIVE);
196 mButton.performClick()
    [all...]
  /packages/apps/Settings/src/com/android/settings/wifi/
WpsDialog.java 54 private Button mButton;
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/settings/fdn/
EditFdnContactScreen.java 83 private Button mButton;
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 698 milliseconds

12 3