| /development/samples/ApiDemos/res/layout/ |
| surface_view_overlay.xml | 43 <Button android:id="@+id/hideme1" 50 <Button android:id="@+id/hideme2" 67 <Button android:id="@+id/vis" 72 <Button android:id="@+id/invis" 77 <Button android:id="@+id/gone"
|
| /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);
|
| 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);
|
| NotificationDisplay.java | 55 ImageButton button = new ImageButton(this); local 56 button.setImageResource(getIntent().getIntExtra("moodimg", 0)); 57 button.setOnClickListener(this); 64 container.addView(button, lp); 74 // Pressing on the button brings the user back to our mood ring,
|
| /development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
| AddRssItem.java | 23 import android.widget.Button; 32 // Button handler for Submit/Cancel. 68 Button btn = (Button) findViewById(R.id.cancel); 71 btn = (Button) findViewById(R.id.submit);
|
| /frameworks/base/core/tests/coretests/src/android/widget/touchmode/ |
| TouchModeFocusableTest.java | 27 import android.widget.Button; 35 private Button mButton; 66 // go down to button 68 assertTrue("button should have focus", mButton.isFocused()); 82 assertTrue("button should have focus",
|
| /frameworks/base/services/java/com/android/server/am/ |
| BaseErrorDialog.java | 27 import android.widget.Button; 56 Button b = (Button)findViewById(R.id.button1); 60 b = (Button)findViewById(R.id.button2); 64 b = (Button)findViewById(R.id.button3);
|
| /frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
| DialogActivity.java | 25 import android.widget.Button; 36 private Button mButton1; 37 private Button mButton2; 52 mButton1 = new Button(this); 62 mButton2 = new Button(this);
|
| 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/Settings/src/com/android/settings/ |
| 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);
|
| /development/apps/Development/res/layout/ |
| connectivity.xml | 30 <Button android:id="@+id/enableWifi" 34 <Button android:id="@+id/disableWifi" 50 <Button android:id="@+id/startDelayedCycle" 54 <Button android:id="@+id/stopDelayedCycle" 112 <Button android:id="@+id/startScreenCycle" 116 <Button android:id="@+id/stopScreenCycle" 174 <Button android:id="@+id/start_mms" 178 <Button android:id="@+id/stop_mms" 187 <Button android:id="@+id/start_hipri" 191 <Button android:id="@+id/stop_hipri [all...] |
| /development/samples/ApiDemos/tests/src/com/example/android/apis/view/ |
| Focus2AndroidTest.java | 28 import android.widget.Button; 61 private Button mLeftButton; 62 private Button mCenterButton; 63 private Button mRightButton; 80 mLeftButton = (Button) mRoot.findViewById(R.id.leftButton); 81 mCenterButton = (Button) mRoot.findViewById(R.id.centerButton); 82 mRightButton = (Button) mRoot.findViewById(R.id.rightButton); 94 assertTrue("center button should be right of left button", 96 assertTrue("right button should be right of center button" [all...] |
| /frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
| RequestRectangleVisibleTest.java | 26 import android.widget.Button; 40 private Button mClickToScrollFromAbove; 41 private Button mClickToScrollToUpperBlob; 47 private Button mClickToScrollToBlobLowerBlob; 48 private Button mClickToScrollFromBelow; 61 mClickToScrollFromAbove = (Button) a.findViewById(R.id.scrollToRectFromTop); 62 mClickToScrollToUpperBlob = (Button) a.findViewById(R.id.scrollToRectFromTop2); 66 mClickToScrollToBlobLowerBlob = (Button) a.findViewById(R.id.scrollToRectFromBottom2); 67 mClickToScrollFromBelow = (Button) a.findViewById(R.id.scrollToRectFromBottom); 136 // go to bottom button [all...] |
| /frameworks/policies/base/mid/com/android/internal/policy/impl/ |
| PowerDialog.java | 39 import android.widget.Button; 49 private Button mKeyguard; 50 private Button mPower; 51 private Button mRadioPower; 52 private Button mSilent; 79 mKeyguard = (Button) findViewById(R.id.keyguard); 80 mPower = (Button) findViewById(R.id.off); 81 mRadioPower = (Button) findViewById(R.id.radio_power); 82 mSilent = (Button) findViewById(R.id.silent); 102 // set the keyguard button's tex [all...] |
| /frameworks/policies/base/phone/com/android/internal/policy/impl/ |
| PowerDialog.java | 38 import android.widget.Button; 48 private Button mKeyguard; 49 private Button mPower; 50 private Button mRadioPower; 51 private Button mSilent; 83 mKeyguard = (Button) findViewById(R.id.keyguard); 84 mPower = (Button) findViewById(R.id.off); 85 mRadioPower = (Button) findViewById(R.id.radio_power); 86 mSilent = (Button) findViewById(R.id.silent); 106 // set the keyguard button's tex [all...] |
| /packages/apps/Calculator/res/values/ |
| strings.xml | 42 <!-- Button name on screen to delete the last entered digit or operator --> 44 <!-- Button name on screen to clear the entire calculation field --> 46 <!-- Do not translate. Unicode division sign; don't translate. Displayed as button on screen. --> 48 <!-- Do not translate. Unicode multiplication sign; don't translate. Displayed as button on screen. --> 50 <!-- Do not translate. Plus sign, displayed as button on screen --> 52 <!-- Do not translate. Unicode minus sign; don't translate. Displayed as button on screen. --> 54 <!-- Do not translate. Decimal point; don't translate. Displayed as button on screen. --> 56 <!-- Do not translate. Equal sign; don't translate. Displayed as button on screen. --> 58 <!-- Do not translate. Down arrow; don't translate. Displayed as button on screen. --> 67 <!-- Do not translate. Unicode pi sign; don't translate. Displayed as button on screen. -- [all...] |
| /packages/apps/Calculator/res/values-uk/ |
| strings.xml | 27 <!-- Button name on screen to delete the last entered digit or operator --> 29 <!-- Button name on screen to clear the entire calculation field --> 31 <!-- Do not translate. Unicode division sign; don't translate. Displayed as button on screen. --> 33 <!-- Do not translate. Unicode multiplication sign; don't translate. Displayed as button on screen. --> 35 <!-- Do not translate. Plus sign, displayed as button on screen --> 37 <!-- Do not translate. Unicode minus sign; don't translate. Displayed as button on screen. --> 39 <!-- Do not translate. Decimal point; don't translate. Displayed as button on screen. --> 41 <!-- Do not translate. Equal sign; don't translate. Displayed as button on screen. --> 43 <!-- Do not translate. Down arrow; don't translate. Displayed as button on screen. --> 52 <!-- Do not translate. Unicode pi sign; don't translate. Displayed as button on screen. -- [all...] |
| /packages/apps/Calendar/src/com/android/calendar/ |
| MultiStateButton.java | 25 import android.widget.Button; 29 * A button with more than two states. When the button is pressed 36 * MultiStateButton Attributes}, {@link android.R.styleable#Button Button 42 public class MultiStateButton extends Button { 43 //The current state for this button, ranging from 0 to maxState-1 45 //The maximum number of states allowed for this button. 50 //A list of all drawable resources used by this button in the order it uses them. 68 //TODO add a more generic default button [all...] |
| /packages/apps/Mms/src/com/android/mms/ui/ |
| AttachmentEditor.java | 33 import android.widget.Button; 62 private Button mSendButton; 191 Button viewButton = (Button) view.findViewById(view_button_id); 192 Button replaceButton = (Button) view.findViewById(replace_button_id); 193 Button removeButton = (Button) view.findViewById(remove_button_id); 210 Button editBtn = (Button) view.findViewById(R.id.edit_slideshow_button) [all...] |
| /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/BusinessCard/src/com/example/android/businesscard/ |
| BusinessCardActivity.java | 26 import android.widget.Button; 30 * A simple activity that shows a "Pick Contact" button and two fields: contact's name 31 * and phone number. The user taps on the Pick Contact button to bring up 58 // Install a click handler on the Pick Contact button 59 Button pickContact = (Button)findViewById(R.id.pick_contact_button); 69 * Click handler for the Pick Contact button. Invokes a contact picker activity.
|
| /external/webkit/WebCore/manual-tests/ |
| scrollIntoView-vertical.html | 10 Following the numbered steps, click each button to scroll the specified colored box into view.</p> 13 A colored box should scroll into view after clicking each button. The text on the button specifies the expected position (top, bottom) of the box scrolled into view.</p> 20 <input type="button" value="STEP 1: click to scroll yellow box to BOTTOM of view" onclick="document.getElementById('yellowbox').scrollIntoView(false);"> 21 <input type="button" value="STEP 4: click to scroll orange box to TOP of view" onclick="document.getElementById('orangebox').scrollIntoView(true);"> 27 <input type="button" value="STEP 3: click to scroll purple box to TOP of view" onclick="document.getElementById('purplebox').scrollIntoView();"> 33 <input type="button" value="STEP 2: click to scroll green box to TOP of view" onclick="document.getElementById('greenbox').scrollIntoView(true);">
|
| /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);
|
| /frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
| ListItemFocusablesCloseTest.java | 54 assertTrue("first button of first list item should have focus", 60 assertTrue("first button of second item should be on screen", 70 assertTrue("focus should have moved to second button of first item", 79 assertTrue("focus should have moved back to first button of first item", 95 assertTrue("first button of second item should have focus", 106 assertTrue("first button of second item should have focus", 112 assertTrue("second button of first item should have focus",
|