OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Button
(Results
151 - 175
of
724
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
AddColumn.java
24
import android.widget.
Button
;
38
final
Button
addRowButton = (
Button
) findViewById(R.id.add_row_button);
AddColumnTest.java
25
import android.widget.
Button
;
34
private
Button
mAddRow;
46
mAddRow = (
Button
) activity.findViewById(R.id.add_row_button);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
ListItemISVAndButton.java
22
import android.widget.
Button
;
29
* Each item is an internal selection view, a
button
, and some filler
58
final
Button
topButton = new
Button
(context);
61
topButton.setText("
button
" + position + ")");
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
ButtonActivity.java
26
import android.widget.
Button
;
41
final
Button
myButton = new
Button
(this);
OneEditTextActivityNotSelected.java
29
import android.widget.
Button
;
53
Button
button
= new
Button
(this);
local
54
button
.setText("The focus is here.");
55
button
.setFocusableInTouchMode(true);
56
button
.requestFocus();
57
mDefaultFocusedView =
button
;
58
layout.addView(
button
);
EditTextActivityDialog.java
27
import android.widget.
Button
;
40
private
Button
mButton1;
41
private
Button
mButton2;
54
mButton1 = new
Button
(this);
62
mButton2 = new
Button
(this);
/packages/apps/Calendar/src/com/android/calendar/
EditResponseHelper.java
22
import android.widget.
Button
;
35
* and is invoked when the "Ok"
button
is selected.
66
// Enable the "ok"
button
now that the user has selected which
68
Button
ok = mAlertDialog.getButton(DialogInterface.BUTTON_POSITIVE);
75
// we try to fetch the "Ok"
button
.
87
// Disable the "Ok"
button
until the user selects which events to
89
Button
ok = dialog.getButton(DialogInterface.BUTTON_POSITIVE);
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
WidgetTypeChooser.java
24
import android.widget.
Button
;
50
Button
cancel = (
Button
) findViewById(R.id.cancel);
/packages/apps/Phone/src/com/android/phone/
FakePhoneActivity.java
26
import android.widget.
Button
;
36
private
Button
mPlaceCall;
46
mPlaceCall = (
Button
) findViewById(R.id.placeCall);
/cts/tests/src/android/view/cts/
GestureDetectorStubActivity.java
28
import android.widget.
Button
;
46
private
Button
mTop;
47
private
Button
mButton;
60
mButton = new
Button
(this);
61
mTop = new
Button
(this);
/development/samples/ApiDemos/src/com/example/android/apis/content/
PickContact.java
35
import android.widget.
Button
;
72
// Watch for
button
clicks.
73
((
Button
)findViewById(R.id.pick_contact)).setOnClickListener(
76
((
Button
)findViewById(R.id.pick_person)).setOnClickListener(
79
((
Button
)findViewById(R.id.pick_phone)).setOnClickListener(
82
((
Button
)findViewById(R.id.pick_address)).setOnClickListener(
/development/samples/ApiDemos/src/com/example/android/apis/view/
List8.java
28
import android.widget.
Button
;
57
// Wire up the clear
button
to remove all photos
58
Button
clear = (
Button
) findViewById(R.id.clear);
65
// Wire up the add
button
to add a new photo
66
Button
add = (
Button
) findViewById(R.id.add);
/development/samples/JetBoy/src/com/example/android/jetboy/
JetBoy.java
29
import android.widget.
Button
;
40
// the play start
button
41
private
Button
mButton;
44
private
Button
mButtonRetry;
66
// look up the happy shiny
button
67
mButton = (
Button
)findViewById(R.id.Button01);
70
mButtonRetry = (
Button
)findViewById(R.id.Button02);
108
// this is a retry
button
/frameworks/base/core/tests/coretests/src/android/widget/focus/
HorizontalFocusSearchTest.java
24
import android.widget.
Button
;
41
private
Button
mLeftTall;
42
private
Button
mMidShort1Top;
43
private
Button
mMidShort2Bottom;
44
private
Button
mRightTall;
ListWithFooterViewAndNewLabels.java
27
import android.widget.
Button
;
45
Button
footerButton = new
Button
(this);
57
Button
topButton = (
Button
) findViewById(R.id.
button
);
VerticalFocusSearchTest.java
26
import android.widget.
Button
;
39
private
Button
mTopWide;
40
private
Button
mMidSkinny1Left;
41
private
Button
mMidSkinny2Right;
42
private
Button
mBottomWide;
139
assertNull("going down from bottom
button
should have no next focus.",
142
assertNull("going left from bottom
button
should have no next focus.",
145
assertNull("going right from bottom
button
should have no next focus.",
148
assertEquals("going up from bottom
button
should go to mMidSkinny2Right.",
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
ShortButtonsTest.java
26
import android.widget.
Button
;
60
String prefix = "after " + i + " downs expected
button
" + i;
61
final
Button
button
= getActivity().getButtonAt(i);
local
62
assertTrue(prefix + " to have focus",
button
.isFocused());
63
assertTrue(prefix + " to be on screen", isButtonOnScreen(
button
));
76
final
Button
lastButton = getActivity().getButtonAt(numButtons - 1);
89
String prefix = "after " + i + " ups expected
button
" + i;
90
final
Button
button
= getActivity().getButtonAt(i)
local
[
all
...]
/packages/apps/Browser/src/com/android/browser/
GeolocationPermissionsPrompt.java
25
import android.widget.
Button
;
33
private
Button
mShareButton;
34
private
Button
mDontShareButton;
55
mShareButton = (
Button
) findViewById(R.id.share_button);
56
mDontShareButton = (
Button
) findViewById(R.id.dont_share_button);
/packages/apps/Settings/src/com/android/settings/
CryptKeeperConfirm.java
33
import android.widget.
Button
;
84
private
Button
mFinalButton;
85
private
Button
.OnClickListener mFinalClickListener = new
Button
.OnClickListener() {
100
mFinalButton = (
Button
) mContentView.findViewById(R.id.execute_encrypt);
DebugIntentSender.java
21
import android.widget.
Button
;
38
private
Button
mSendBroadcastButton;
39
private
Button
mStartActivityButton;
82
mSendBroadcastButton = (
Button
) findViewById(R.id.sendbroadcast);
85
mStartActivityButton = (
Button
) findViewById(R.id.startactivity);
/packages/apps/Contacts/src/com/android/contacts/activities/
ContactEditorAccountsChangedActivity.java
27
import android.widget.
Button
;
95
final
Button
button
= (
Button
) findViewById(R.id.add_account_button);
local
96
button
.setText(getString(R.string.add_new_account));
97
button
.setOnClickListener(mAddAccountClickListener);
110
final
Button
leftButton = (
Button
) findViewById(R.id.left_button);
111
final
Button
rightButton = (
Button
) findViewById(R.id.right_button)
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/list/
ContactsUnavailableFragment.java
29
import android.widget.
Button
;
42
private
Button
mCreateContactButton;
43
private
Button
mAddAccountButton;
44
private
Button
mImportContactsButton;
45
private
Button
mUninstallAppsButton;
46
private
Button
mRetryUpgradeButton;
66
mCreateContactButton = (
Button
) mView.findViewById(R.id.create_contact_button);
68
mAddAccountButton = (
Button
) mView.findViewById(R.id.add_account_button);
70
mImportContactsButton = (
Button
) mView.findViewById(R.id.import_contacts_button);
72
mUninstallAppsButton = (
Button
) mView.findViewById(R.id.import_failure_uninstall_button)
[
all
...]
/frameworks/base/core/java/android/text/method/
CharacterPickerDialog.java
34
import android.widget.
Button
;
47
private
Button
mCancelButton;
81
mCancelButton = (
Button
) findViewById(R.id.cancel);
105
* Handles clicks on the Cancel
button
.
110
} else if (v instanceof
Button
) {
111
CharSequence result = ((
Button
) v).getText();
123
Button
b = (
Button
)
/frameworks/base/core/tests/coretests/src/android/view/
VisibilityCallbackTest.java
24
import android.widget.
Button
;
37
private
Button
mVisible;
38
private
Button
mInvisible;
39
private
Button
mGone;
54
mVisible = (
Button
) a.findViewById(R.id.vis);
55
mInvisible = (
Button
) a.findViewById(R.id.invis);
56
mGone = (
Button
) a.findViewById(R.id.gone);
VisibilityTest.java
25
import android.widget.
Button
;
38
private
Button
mVisible;
39
private
Button
mInvisible;
40
private
Button
mGone;
54
mVisible = (
Button
) a.findViewById(R.id.vis);
55
mInvisible = (
Button
) a.findViewById(R.id.invis);
56
mGone = (
Button
) a.findViewById(R.id.gone);
Completed in 7415 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>