OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mButton
(Results
1 - 25
of
33
) sorted by null
1
2
/frameworks/base/core/tests/coretests/src/android/view/menu/
MenuWith1Item.java
24
private Button
mButton
;
34
return
mButton
;
41
mButton
= new Button(this);
42
setContentView(
mButton
);
MenuLayout.java
29
private Button
mButton
;
54
return
mButton
;
61
mButton
= new Button(this);
62
setContentView(
mButton
);
/sdk/hierarchyviewer2/app/src/com/android/hierarchyviewer/util/
ActionButton.java
31
private Button
mButton
;
38
mButton
= new Button(parent, SWT.CHECK);
40
mButton
= new Button(parent, SWT.PUSH);
42
mButton
.setText(action.getText());
43
mButton
.setImage(action.getImage());
45
mButton
.addSelectionListener(this);
46
mButton
.setToolTipText(action.getToolTipText());
47
mButton
.setEnabled(this.mAction.isEnabled());
53
mButton
.setEnabled((Boolean) e.getNewValue());
55
mButton
.setSelection(mAction.isChecked())
[
all
...]
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/
TouchModeFocusableTest.java
35
private Button
mButton
;
47
mButton
= getActivity().getButton();
52
assertFalse("should not be in touch mode to start off",
mButton
.isInTouchMode());
59
assertInTouchModeAfterTap(this,
mButton
);
60
assertTrue("should be in touch mode",
mButton
.isInTouchMode());
68
assertTrue("button should have focus",
mButton
.isFocused());
71
assertTrue("clicking edit text should have entered touch mode",
mButton
.isInTouchMode());
83
mButton
.isFocused());
85
assertInTouchModeAfterClick(this,
mButton
);
86
assertTrue("should be in touch mode",
mButton
.isInTouchMode())
[
all
...]
StartInTouchWithViewInFocusTest.java
33
private Button
mButton
;
44
mButton
= getActivity().getButton();
57
assertTrue("should have given focus to next view",
mButton
.isFocused());
/frameworks/base/core/tests/coretests/src/android/widget/listview/
ListSetSelection.java
31
private Button
mButton
;
45
mButton
= new Button(this);
46
mButton
.setText("setSelection(0)");
47
mButton
.setOnClickListener(new View.OnClickListener() {
53
getListViewContainer().addView(
mButton
, new LinearLayout.LayoutParams(
60
return
mButton
;
/cts/tests/tests/view/src/android/view/cts/
TouchDelegateTest.java
39
private Button
mButton
;
57
mButton
= new Button(mActivity);
61
mActivity.addContentView(
mButton
, new LinearLayout.LayoutParams(WRAP_CONTENT,
74
int right =
mButton
.getRight();
75
int bottom =
mButton
.getBottom();
76
mXInside = (
mButton
.getLeft() + right) / 3;
77
mYInside = (
mButton
.getTop() + bottom) / 3;
80
mButton
.getHitRect(mRect);
87
MockTouchDelegate touchDelegate = new MockTouchDelegate(mRect,
mButton
);
/frameworks/base/core/tests/coretests/src/android/widget/focus/
ListWithFooterViewAndNewLabelsTest.java
30
private Button
mButton
;
48
mButton
= (Button) a.findViewById(R.id.button);
55
assertNotNull(
mButton
);
59
assertTrue(
mButton
.hasFocus());
GoneParentFocusedChild.java
34
private Button
mButton
;
52
return
mButton
;
71
mButton
= new Button(this);
72
mButton
.setLayoutParams(new LinearLayout.LayoutParams(
77
mGoneGroup.addView(
mButton
);
81
mButton
.requestFocus();
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
BaselineAlignmentSpinnerButton.java
30
private View
mButton
;
42
mButton
= activity.findViewById(R.id.reminder_remove);
48
assertNotNull(
mButton
);
53
ViewAsserts.assertBaselineAligned(mSpinner,
mButton
);
LLEditTextThenButton.java
29
private Button
mButton
;
41
mButton
= (Button) findViewById(R.id.button);
53
return
mButton
;
/development/samples/ApiDemos/tests/src/com/example/android/apis/app/
ForwardingTest.java
51
private Button
mButton
;
75
mButton
= (Button) getActivity().findViewById(R.id.go);
78
assertNotNull(
mButton
);
88
mButton
= (Button) activity.findViewById(R.id.go);
92
mButton
.performClick();
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
RelayController.java
19
private ToggleButton
mButton
;
40
mButton
= (ToggleButton) targetView.getChildAt(1);
41
mButton
.setOnCheckedChangeListener(this);
46
mButton
.setBackgroundDrawable(mOnBackground);
48
mButton
.setBackgroundDrawable(mOffBackground);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
SelectionMenu.java
32
private final Button
mButton
;
37
mButton
= button;
38
mPopupList = new PopupList(context,
mButton
);
42
mButton
.setOnClickListener(this);
59
mButton
.setText(title);
/cts/tests/tests/animation/src/android/animation/cts/
LayoutAnimationActivity.java
28
Button
mButton
;
34
mButton
= (Button) findViewById(R.id.button1);
36
mButton
.setOnClickListener(new OnClickListener(){
/pdk/apps/HelloPDK/src/com/example/android/helloPDK/jni/
HelloJni.java
33
private Button
mButton
;
41
mButton
= (Button)findViewById(R.id.button_hellojni);
42
mButton
.setOnClickListener(new View.OnClickListener() {
/development/samples/JetBoy/src/com/example/android/jetboy/
JetBoy.java
41
private Button
mButton
;
67
mButton
= (Button)findViewById(R.id.Button01);
68
mButton
.setOnClickListener(this);
93
mButton
.setText("PLAY!");
102
mButton
.setVisibility(View.INVISIBLE);
113
mButton
.setText("PLAY!");
118
mButton
.setText("PLAY!");
119
mButton
.setVisibility(View.VISIBLE);
/packages/apps/Calendar/src/com/android/calendar/
ExpandableTextView.java
31
ImageButton
mButton
; // Button to expand/collapse
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/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() {
/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
...]
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
ConfirmDialog.java
43
private Button
mButton
;
79
mButton
= mAlert.getButton(DialogInterface.BUTTON_POSITIVE);
80
mButton
.setEnabled(false);
93
mButton
.setEnabled(checked);
/cts/tests/src/android/view/cts/
GestureDetectorStubActivity.java
47
private Button
mButton
;
60
mButton
= new Button(this);
71
mViewGroup.addView(
mButton
);
/packages/apps/Phone/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);
Completed in 582 milliseconds
1
2