/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
LayoutAnimationsByDefault.java | 27 import android.widget.Button; 46 Button addButton = (Button) findViewById(R.id.addNewButton); 49 Button newButton = new Button(LayoutAnimationsByDefault.this);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
CustomTitle.java | 24 import android.widget.Button; 71 Button leftButton = (Button) findViewById(R.id.left_text_button); 72 Button rightButton = (Button) findViewById(R.id.right_text_button);
|
ContactsFilter.java | 26 import android.widget.Button; 41 // Watch for button clicks. 42 Button button = (Button)findViewById(R.id.go); local 43 button.setOnClickListener(mGoListener);
|
Forwarding.java | 28 import android.widget.Button; 49 <td class="DescrColumn">Forwards the user to another activity when its button is pressed</td> 66 // Watch for button clicks. 67 Button goButton = (Button)findViewById(R.id.go);
|
LocalSample.java | 26 import android.widget.Button; 41 // Watch for button clicks. 42 Button button = (Button)findViewById(R.id.go); local 43 button.setOnClickListener(mGoListener);
|
RedirectEnter.java | 28 import android.widget.Button; 43 // Watch for button clicks. 44 Button goButton = (Button)findViewById(R.id.go);
|
ReorderFour.java | 26 import android.widget.Button; 35 Button twoButton = (Button) findViewById(R.id.reorder_second_to_front);
|
ReorderOnLaunch.java | 26 import android.widget.Button; 35 Button twoButton = (Button) findViewById(R.id.reorder_launch_two);
|
ReorderThree.java | 26 import android.widget.Button; 35 Button twoButton = (Button) findViewById(R.id.reorder_launch_four);
|
ReorderTwo.java | 26 import android.widget.Button; 35 Button twoButton = (Button) findViewById(R.id.reorder_launch_three);
|
SecureDialogActivity.java | 26 import android.widget.Button; 70 // Handle click events on the button to show the dialog. 71 Button button = (Button)findViewById(R.id.show); local 72 button.setOnClickListener(this); 76 * Called when the button to show the dialog is clicked.
|
/frameworks/base/core/tests/coretests/src/android/view/ |
PreDrawListener.java | 26 import android.widget.Button; 61 Button b = new Button(this.getContext()); 80 Button mGoButton = (Button) findViewById(R.id.go);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListFilter.java | 24 import android.widget.Button; 36 private Button mHide; 37 private Button mShow; 49 mHide = (Button) findViewById(R.id.hide); 52 mShow = (Button) findViewById(R.id.show); 82 "Buchette d'Anjou", "Buffalo", "Burgos", "Butte", "Butterkase", "Button (Innes)",
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
ScrollViewButtonsAndLabels.java | 26 import android.widget.Button; 52 public Button getButton(int groupNum) { 56 return (Button) mLinearLayout.getChildAt(2*groupNum); 78 // want button to be first and last 85 Button button = new Button(this); local 86 button.setText("Button " + (i + 1)); 87 mLinearLayout.addView(button, p) [all...] |
/frameworks/base/services/java/com/android/server/am/ |
BaseErrorDialog.java | 27 import android.widget.Button; 58 Button b = (Button)findViewById(R.id.button1); 62 b = (Button)findViewById(R.id.button2); 66 b = (Button)findViewById(R.id.button3);
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
DelayedTransition.java | 23 import android.widget.Button; 39 final Button button1 = (Button) findViewById(R.id.button1); 40 final Button button2 = (Button) findViewById(R.id.button2);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
TimerSetupView.java | 25 import android.widget.Button; 32 public class TimerSetupView extends LinearLayout implements Button.OnClickListener, 33 Button.OnLongClickListener{ 37 protected final Button mNumbers [] = new Button [10]; 40 protected Button mLeft, mRight; 41 protected Button mStart; 71 mNumbers[1] = (Button)v1.findViewById(R.id.key_left); 72 mNumbers[2] = (Button)v1.findViewById(R.id.key_middle); 73 mNumbers[3] = (Button)v1.findViewById(R.id.key_right) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
MasterClearConfirm.java | 30 import android.widget.Button; 47 private Button mFinalButton; 54 private Button.OnClickListener mFinalClickListener = new Button.OnClickListener() { 76 mFinalButton = (Button) mContentView.findViewById(R.id.execute_master_clear);
|
/development/ndk/platforms/android-9/samples/native-audio/src/com/example/nativeaudio/ |
NativeAudio.java | 27 import android.widget.Button; 82 // initialize button click handlers 84 ((Button) findViewById(R.id.hello)).setOnClickListener(new OnClickListener() { 91 ((Button) findViewById(R.id.android)).setOnClickListener(new OnClickListener() { 98 ((Button) findViewById(R.id.sawtooth)).setOnClickListener(new OnClickListener() { 105 ((Button) findViewById(R.id.reverb)).setOnClickListener(new OnClickListener() { 115 ((Button) findViewById(R.id.embedded_soundtrack)).setOnClickListener(new OnClickListener() { 128 ((Button) findViewById(R.id.uri_soundtrack)).setOnClickListener(new OnClickListener() { 137 ((Button) findViewById(R.id.pause_uri)).setOnClickListener(new OnClickListener() { 143 ((Button) findViewById(R.id.play_uri)).setOnClickListener(new OnClickListener() [all...] |
/cts/tests/tests/preference2/src/android/preference2/cts/ |
PreferenceWithHeaders.java | 22 import android.widget.Button; 35 // Add a button to the header list. 37 Button button = new Button(this); local 38 button.setText("Some action"); 39 setListFooter(button);
|
/development/samples/ApiDemos/src/com/example/android/apis/text/ |
LogTextBox1.java | 24 import android.widget.Button; 43 Button addButton = (Button) findViewById(R.id.add);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Controls1.java | 26 import android.widget.Button; 31 * A gallery of basic controls: Button, EditText, RadioButton, Checkbox, 41 Button disabledButton = (Button) findViewById(R.id.button_disabled);
|
ScrollView2.java | 25 import android.widget.Button; 47 Button buttonView = new Button(this); 48 buttonView.setText("Button " + i);
|
/development/samples/training/testingfun/app/src/com/example/android/testingfun/lesson3/ |
ClickFunActivity.java | 23 import android.widget.Button; 27 * Activity which shows a "click me" button. When the button is clicked, a TextView is shown below 28 * the button. 38 final Button clickMeButton = (Button) findViewById(R.id.launch_next_activity_button);
|
/development/samples/training/testingfun/app/src/com/example/android/testingfun/lesson4/ |
LaunchActivity.java | 23 import android.widget.Button; 39 Button launchNextButton = (Button) findViewById(R.id.launch_next_activity_button);
|