/frameworks/base/core/tests/coretests/src/android/view/ |
ViewGroupChildren.java | 22 import android.widget.Button;
|
PopupWindowVisibility.java | 25 import android.widget.Button; 36 private Button mHide; 37 private Button mShow; 48 mHide = (Button) findViewById(R.id.hide); 51 mShow = (Button) findViewById(R.id.show);
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
GoneParentFocusedChild.java | 24 import android.widget.Button; 34 private Button mButton; 51 public Button getButton() { 71 mButton = new Button(this);
|
ListOfButtonsTest.java | 25 import android.widget.Button; 37 private Button mButtonAtTop; 52 mButtonAtTop = (Button) a.findViewById(R.id.button); 93 assertFalse("button at top should have focus back", 111 Button button = (Button) mListView.getSelectedView(); local 112 assertNotNull(indexInfo, button); 113 assertEquals(indexInfo, label, button.getText().toString()) 128 Button button = (Button) mListView.getSelectedView(); local [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
ListHorizontalFocusWithinItemWinsTest.java | 26 import android.widget.Button; 32 private Button mTopLeftButton; 33 private Button mTopRightButton; 34 private Button mBottomMiddleButton;
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
RequestRectangleVisibleWithInternalScroll.java | 25 import android.widget.Button; 34 private Button mScrollToBlob; 47 public Button getScrollToBlob() { 60 mScrollToBlob = (Button) findViewById(R.id.scrollToBlob);
|
ScrollViewButtonsAndLabelsTest.java | 24 import android.widget.Button; 68 Button firstButtonOffScreen = getActivity().getButton(offScreenIndex); 76 assertTrue("the button we've moved to off screen must not be the last " 77 + "button in the scroll view for this test to work (since we " 81 // now we are at the first button off screen 88 assertEquals("bottom of button should be verticalFadingEdgeLength " 99 Button lastButton = getActivity().getButton(numGroups - 1); 101 assertEquals("button needs to be at the very bottom of the layout for " 105 // move down to last button 110 assertTrue("last button should have focus", lastButton.hasFocus()) 185 Button button = getActivity().getButton(i); local 203 Button button = getActivity().getButton(i); local [all...] |
/packages/apps/Music/src/com/android/music/ |
DeleteItems.java | 25 import android.widget.Button; 31 private Button mButton; 45 mButton = (Button) findViewById(R.id.delete); 48 ((Button)findViewById(R.id.cancel)).setOnClickListener(new View.OnClickListener() {
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LocalServiceActivities.java | 30 import android.widget.Button; 50 // Watch for button clicks. 51 Button button = (Button)findViewById(R.id.start); local 52 button.setOnClickListener(mStartListener); 53 button = (Button)findViewById(R.id.stop); 54 button.setOnClickListener(mStopListener); 164 // Watch for button clicks 165 Button button = (Button)findViewById(R.id.bind); local [all...] |
RedirectMain.java | 27 import android.widget.Button; 43 // Watch for button clicks. 44 Button clearButton = (Button)findViewById(R.id.clear); 46 Button newButton = (Button)findViewById(R.id.newView);
|
SetWallpaperActivity.java | 33 import android.widget.Button; 66 Button randomize = (Button) findViewById(R.id.randomize); 76 Button setWallpaper = (Button) findViewById(R.id.setwallpaper);
|
AlertDialogSamples.java | 30 import android.widget.Button; 213 /* User clicked on a radio button do some stuff */ 317 Button twoButtonsTitle = (Button) findViewById(R.id.two_buttons); 325 Button twoButtons2Title = (Button) findViewById(R.id.two_buttons2); 334 Button twoButtons2UltraTitle = (Button) findViewById(R.id.two_buttons2ultra); 343 Button selectButton = (Button) findViewById(R.id.select_button) [all...] |
Animation.java | 31 import android.widget.Button; 44 // Watch for button clicks. 45 Button button = (Button)findViewById(R.id.fade_animation); local 46 button.setOnClickListener(mFadeListener); 47 button = (Button)findViewById(R.id.zoom_animation); 48 button.setOnClickListener(mZoomListener); 50 button = (Button)findViewById(R.id.modern_fade_animation) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
SurfaceViewOverlay.java | 24 import android.widget.Button; 56 Button visibleButton = (Button) findViewById(R.id.vis); 57 Button invisibleButton = (Button) findViewById(R.id.invis); 58 Button goneButton = (Button) findViewById(R.id.gone); 60 // Wire each button to a click listener
|
/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);
|
/packages/apps/Mms/apptests/src/com/android/mms/tests/ |
SmsSendIntentTestActivity.java | 28 import android.widget.Button; 35 // without the user having to confirm or press a send button. This app uses the intent: 61 Button sendButton = (Button) findViewById(R.id.sms_send_message); 68 Button sendUnlockButton = (Button) findViewById(R.id.sms_send_message_unlock_screen); 75 Button sendMultiButton = (Button) findViewById(R.id.sms_send_multi_message); 82 Button sendLongButton = (Button) findViewById(R.id.sms_send_long_message) [all...] |
/packages/apps/Settings/tests/src/com/android/settings/tests/ |
BluetoothRequestPermissionTest.java | 31 import android.widget.Button; 53 Button scanButton = (Button) v; 70 Button enable = (Button) findViewById(R.id.enable); 73 Button discoverable = (Button) findViewById(R.id.discoverable); 76 Button scanButton = (Button) findViewById(R.id.scan);
|
/packages/experimental/StrictModeTest/src/com/android/strictmodetest/ |
StrictModeActivity.java | 53 import android.widget.Button; 109 final Button readButton = (Button) findViewById(R.id.read_button); 126 final Button writeButton = (Button) findViewById(R.id.write_button); 135 final Button writeLoopButton = (Button) findViewById(R.id.write_loop_button); 150 final Button dnsButton = (Button) findViewById(R.id.dns_button); 177 final Button httpButton = (Button) findViewById(R.id.http_button) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
WorkingSetGroup.java | 19 import org.eclipse.swt.widgets.Button; 37 private Button mEnableButton; 92 * Finds the first button of style Checkbox in the given parent composite. 95 private Button findCheckbox(Composite parent) { 97 if (control instanceof Button && (control.getStyle() & SWT.CHECK) == SWT.CHECK) { 98 return (Button) control; 100 Button found = findCheckbox((Composite) control);
|
/cts/tests/src/android/widget/cts/util/ |
ListItemFactory.java | 24 import android.widget.Button; 34 * Create a view with a button at the top and bottom, with filler in between. 56 final Button topButton = new Button(context); 69 final Button bottomButton = new Button(context); 119 final Button button = new Button(context); local 120 button.setText("left") 127 final Button button = new Button(context); local 135 final Button button = new Button(context); local 154 public static View button(int position, Context context, String text, int desiredHeight) { method in class:ListItemFactory [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
ListItemFactory.java | 24 import android.widget.Button; 34 * Create a view with a button at the top and bottom, with filler in between. 56 final Button topButton = new Button(context); 69 final Button bottomButton = new Button(context); 119 final Button button = new Button(context); local 120 button.setText("left") 127 final Button button = new Button(context); local 135 final Button button = new Button(context); local 155 public static View button(int position, Context context, String text, int desiredHeight) { method in class:ListItemFactory [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
AttachmentEditor.java | 34 import android.widget.Button; 63 private Button mSendButton; 190 Button viewButton = (Button) view.findViewById(view_button_id); 191 Button replaceButton = (Button) view.findViewById(replace_button_id); 192 Button removeButton = (Button) view.findViewById(remove_button_id); 207 Button editBtn = (Button) view.findViewById(R.id.edit_slideshow_button) [all...] |
/external/chromium/chrome/browser/ui/views/ |
default_search_view.h | 29 class Button; 55 virtual void ButtonPressed(views::Button* sender, const views::Event& event); 76 // Button for the current default search engine. 79 // Button for the newly proposed search engine.
|
/external/webkit/Source/WebKit2/UIProcess/ |
WebPolicyClient.h | 50 bool decidePolicyForNavigationAction(WebPageProxy*, WebFrameProxy*, WebCore::NavigationType, WebEvent::Modifiers, WebMouseEvent::Button, const WebCore::ResourceRequest&, WebFramePolicyListenerProxy*, APIObject* userData); 51 bool decidePolicyForNewWindowAction(WebPageProxy*, WebFrameProxy*, WebCore::NavigationType, WebEvent::Modifiers, WebMouseEvent::Button, const WebCore::ResourceRequest&, const String& frameName, WebFramePolicyListenerProxy*, APIObject* userData);
|
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/ |
StartInTouchWithViewInFocusTest.java | 25 import android.widget.Button; 33 private Button mButton;
|