/packages/apps/Mms/apptests/src/com/android/mms/tests/ |
SmsSendIntentTestActivity.java | 30 import android.widget.Button; 37 // without the user having to confirm or press a send button. This app uses the intent: 65 Button sendButton = (Button) findViewById(R.id.sms_send_message); 72 Button sendUnlockButton = (Button) findViewById(R.id.sms_send_message_unlock_screen); 79 Button sendMultiButton = (Button) findViewById(R.id.sms_send_multi_message); 86 Button sendLongButton = (Button) findViewById(R.id.sms_send_long_message) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
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...] |
/packages/apps/Settings/tests/src/com/android/settings/tests/ |
BluetoothRequestPermissionTest.java | 31 import android.widget.Button; 39 // Discoverable button alternates between 20 second timeout and no timeout. 56 Button scanButton = (Button) v; 73 Button enable = (Button) findViewById(R.id.enable); 76 Button discoverable = (Button) findViewById(R.id.discoverable); 79 Button scanButton = (Button) findViewById(R.id.scan) [all...] |
/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.ddms/src/com/android/ide/eclipse/ddms/systrace/ |
SystraceOptionsDialogV1.java | 27 import org.eclipse.swt.widgets.Button; 53 private Button mTraceCpuFreqBtn; 54 private Button mTraceCpuIdleBtn; 55 private Button mTraceCpuLoadBtn; 56 private Button mTraceDiskIoBtn; 57 private Button mTraceKernelWorkqueuesBtn; 58 private Button mTraceCpuSchedulerBtn; 67 private Button mGfxTagBtn; 68 private Button mInputTagBtn; 69 private Button mViewTagBtn [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...] |
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/ |
Test2DetailFragment.java | 28 import android.widget.Button; 32 private Button mButton1, mButton2, mButton3, mDynaButton; 63 mButton1 = (Button) rootView.findViewById(R.id.test2button1); 64 mButton2 = (Button) rootView.findViewById(R.id.test2button2); 65 mButton3 = (Button) rootView.findViewById(R.id.test2button3); 66 mDynaButton = (Button) rootView.findViewById(R.id.test2dynaButton); 68 mButton1.setOnClickListener(new Button.OnClickListener() { 80 mButton1.setOnLongClickListener(new Button.OnLongClickListener() { 93 mButton2.setOnClickListener(new Button.OnClickListener() { 105 mButton2.setOnLongClickListener(new Button.OnLongClickListener() [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...] |
/frameworks/uiautomator/tests/CtsUiAutomatorTest/testapp/src/com/android/uiautomator/tests/cts/testapp/ |
Test2DetailFragment.java | 28 import android.widget.Button; 32 private Button mButton1, mButton2, mButton3, mDynaButton; 63 mButton1 = (Button) rootView.findViewById(R.id.test2button1); 64 mButton2 = (Button) rootView.findViewById(R.id.test2button2); 65 mButton3 = (Button) rootView.findViewById(R.id.test2button3); 66 mDynaButton = (Button) rootView.findViewById(R.id.test2dynaButton); 68 mButton1.setOnClickListener(new Button.OnClickListener() { 80 mButton1.setOnLongClickListener(new Button.OnLongClickListener() { 93 mButton2.setOnClickListener(new Button.OnClickListener() { 105 mButton2.setOnLongClickListener(new Button.OnLongClickListener() [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
AttachmentEditor.java | 27 import android.widget.Button; 61 private Button mSendButton; 188 Button viewButton = (Button) view.findViewById(view_button_id); 189 Button replaceButton = (Button) view.findViewById(replace_button_id); 190 Button removeButton = (Button) view.findViewById(remove_button_id); 205 Button editBtn = (Button) view.findViewById(R.id.edit_slideshow_button) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
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...] |
/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/chromium_org/chrome/browser/ui/views/autofill/ |
autocheckout_bubble_views.h | 12 #include "ui/views/controls/button/button.h" 46 virtual void ButtonPressed(views::Button* sender, 50 views::Button* ok_button_; // weak
|
/external/chromium_org/chrome/browser/ui/views/ |
outdated_upgrade_bubble_view.h | 9 #include "ui/views/controls/button/button.h" 50 virtual void ButtonPressed(views::Button* sender, 53 // Handle the message when the user presses a button. 54 void HandleButtonPressed(views::Button* sender); 63 // Identifies if the reinstall button was hit before closing the bubble. 66 // Button that takes the user to the Chrome download page. 69 // Button for the user to be reminded later about the outdated upgrade.
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/ |
ColorPickerMoreButton.java | 12 import android.widget.Button; 15 * Simple class that draws a white border around a button, purely for a UI change. 17 public class ColorPickerMoreButton extends Button { 47 * Draws the border around the edge of the button.
|
/external/chromium_org/ui/views/controls/scrollbar/ |
base_scroll_bar_button.cc | 23 Button::NotifyClick(event); 48 Button::NotifyClick(event);
|
/external/chromium_org/ui/views/touchui/ |
touch_editing_menu.h | 10 #include "ui/views/controls/button/button.h" 29 // Tell the controller that user has selected the context menu button. 62 virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; 71 // Helper method to create a single button. 72 Button* CreateButton(const string16& title, int tag);
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
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...] |
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/ |
StartInTouchWithViewInFocusTest.java | 25 import android.widget.Button; 33 private Button mButton;
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiConfigUiForSetupWizardXL.java | 29 import android.widget.Button; 39 private Button mConnectButton; 40 private Button mCancelButton; 64 mConnectButton = (Button)activity.findViewById(R.id.wifi_setup_connect); 65 mCancelButton = (Button)activity.findViewById(R.id.wifi_setup_cancel); 137 public Button getSubmitButton() { 142 public Button getForgetButton() { 147 public Button getCancelButton() { 159 // In XL setup screen, we won't show Forget button for simplifying the UI.
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
ButtonSwitcher.java | 25 import android.widget.Button; 47 private Button mInstallButton; 48 private Button mCancelButton; 49 private Button mDeleteButton; 71 mInstallButton = (Button)findViewById(R.id.dict_install_button); 72 mCancelButton = (Button)findViewById(R.id.dict_cancel_button); 73 mDeleteButton = (Button)findViewById(R.id.dict_delete_button); 85 private Button getButton(final int status) { 155 private ViewPropertyAnimator animateButton(final View button, final int direction) { 157 final float innerX = button.getX() - button.getTranslationX() [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
CandidateViewButton.java | 19 import android.widget.Button; 27 * The button for the candidate-view 30 public class CandidateViewButton extends Button { 47 /* for changing the button on CandidateView when it is pressed. */
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/ |
Dialog.py | 43 t = Button(None, {'text': 'Test', 46 q = Button(None, {'text': 'Quit',
|