OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mButton
(Results
1 - 25
of
74
) sorted by null
1
2
3
/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() {
/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(){
/development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/
CurvedMotion.java
43
Button
mButton
;
50
mButton
= (Button) findViewById(R.id.button);
51
mButton
.setOnClickListener(new View.OnClickListener() {
56
final int oldLeft =
mButton
.getLeft();
57
final int oldTop =
mButton
.getTop();
63
mButton
.getViewTreeObserver().addOnPreDrawListener(
66
mButton
.getViewTreeObserver().removeOnPreDrawListener(this);
69
int left =
mButton
.getLeft();
70
int top =
mButton
.getTop();
96
LayoutParams params = (LayoutParams)
mButton
.getLayoutParams()
[
all
...]
/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/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
;
/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() {
/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
);
/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);
/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/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);
/packages/apps/TV/src/com/android/tv/menu/
PlayControlsButton.java
35
private final ImageView
mButton
;
61
mButton
= (ImageView) findViewById(R.id.button);
94
mButton
.setOnClickListener(new OnClickListener() {
114
mButton
.setOnFocusChangeListener(new View.OnFocusChangeListener() {
141
mButton
.getDrawable().jumpToCurrentState();
147
mButton
.setEnabled(enabled);
148
mButton
.setFocusable(enabled);
/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/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/DocumentsUI/src/com/android/documentsui/dirlist/
HeaderMessageDocumentHolder.java
37
private final Button
mButton
;
45
mButton
= (Button) itemView.findViewById(R.id.button_dismiss);
50
mButton
.setOnClickListener(this::onButtonClick);
63
mButton
.setText(mMessage.getButtonString());
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
MouseUiController.java
42
private final int
mButton
;
56
mButton
= button;
69
event.setButtonState(
mButton
);
/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
= findViewById(R.id.button);
53
return
mButton
;
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/
StartInTouchWithViewInFocusTest.java
33
private Button
mButton
;
44
mButton
= getActivity().getButton();
57
assertTrue("should have given focus to next view",
mButton
.isFocused());
TouchModeFocusableTest.java
34
private Button
mButton
;
46
mButton
= getActivity().getButton();
51
assertFalse("should not be in touch mode to start off",
mButton
.isInTouchMode());
58
assertInTouchModeAfterTap(this,
mButton
);
59
assertTrue("should be in touch mode",
mButton
.isInTouchMode());
66
getActivity().runOnUiThread(() ->
mButton
.requestFocus());
68
assertTrue("button should have focus",
mButton
.isFocused());
71
assertTrue("clicking edit text should have entered touch mode",
mButton
.isInTouchMode());
80
getActivity().runOnUiThread(() ->
mButton
.requestFocus());
84
mButton
.isFocused())
[
all
...]
/packages/apps/Music/src/com/android/music/
DeleteItems.java
30
private Button
mButton
;
44
mButton
= (Button) findViewById(R.id.delete);
45
mButton
.setOnClickListener(mButtonClicked);
/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
;
Completed in 1304 milliseconds
1
2
3