| /sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ddms/ |
| StaticPortEditDialog.java | 29 import org.eclipse.swt.widgets.Button; 59 private Button mOkButton; 225 mOkButton = new Button(bottomComp, SWT.NONE); 237 Button cancelButton = new Button(bottomComp, SWT.NONE); 331 // at this point there's not error, so we enable the ok button.
|
| /cts/tests/uiautomator/src/com/android/cts/uiautomatortest/ |
| CtsUiAutomatorTest.java | 125 .className(android.widget.Button.class.getName()).clickable(true) 149 getObjectByDescription("Button 1").click(); 150 verifyDialogActionResults("Button 1"); 151 getObjectByDescription("Button 2").click(); 152 verifyDialogActionResults("Button 2"); 153 getObjectByDescription("Button 3").click(); 154 verifyDialogActionResults("Button 3"); 164 getObjectByText("Button 1").click(); 165 verifyDialogActionResults("Button 1"); 166 getObjectByText("Button 2").click() 372 UiObject button = new UiObject(frameLayout.childSelector(gridLayout).childSelector( local [all...] |
| /pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
| CameraControlPane.java | 34 import android.widget.Button; 118 private Button mInfoButton; 120 private Button mConfigureButton; 121 private Button mStopButton; 122 private Button mFlushButton; 331 mInfoButton = (Button) findViewById(R.id.camera_pane_info_button); 337 mConfigureButton = (Button) findViewById(R.id.camera_pane_configure_button); 341 mStopButton = (Button) findViewById(R.id.camera_pane_stop_button); 344 mFlushButton = (Button) findViewById(R.id.camera_pane_flush_button);
|
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
| DeviceChooserDialog.java | 52 import org.eclipse.swt.widgets.Button; 89 private Button mDeviceRadioButton; 90 private Button mUseDeviceForFutureLaunchesCheckbox; 324 // ok button has been created (it's created after the call to createDialogArea) 331 * Create the button bar: We override the Dialog implementation of this method 343 mUseDeviceForFutureLaunchesCheckbox = new Button(composite, SWT.CHECK); 382 mDeviceRadioButton = new Button(top, SWT.RADIO); 404 // offset the selector from the radio button 470 Button radio2 = new Button(top, SWT.RADIO) [all...] |
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
| ProjectNamePage.java | 53 import org.eclipse.swt.widgets.Button; 71 /** Flag used when setting button/text state manually to ignore listener updates */ 79 private Button mCreateSampleRadioButton; 80 private Button mCreateNewButton; 81 private Button mUseDefaultCheckBox; 82 private Button mBrowseButton; 130 mCreateNewButton = new Button(container, SWT.RADIO); 137 mCreateSampleRadioButton = new Button(container, SWT.RADIO); 147 mUseDefaultCheckBox = new Button(container, SWT.CHECK); 159 mBrowseButton = new Button(container, SWT.NONE) [all...] |
| /external/chromium_org/chrome/browser/ui/views/accessibility/ |
| accessibility_event_router_views_unittest.cc | 18 #include "ui/views/controls/button/label_button.h" 208 button1->SetStyle(views::Button::STYLE_BUTTON); 212 button2->SetStyle(views::Button::STYLE_BUTTON); 216 button3->SetStyle(views::Button::STYLE_BUTTON); 223 // Set focus to the first button initially and run message loop to execute 231 // Advance focus to the next button and test that we got the 232 // expected notification with the name of button 2. 240 // Advance to button 3. Expect the new accessible name we assigned. 246 // Advance to button 1 and check the notification. 259 // Create a toolbar with a button 263 views::LabelButton* button = new views::LabelButton( local 295 views::LabelButton* button = new views::LabelButton( local 396 views::LabelButton* button = new views::LabelButton( local [all...] |
| /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
| EditorGrad.java | 24 import android.widget.Button; 114 Button view = (Button) accessoryViewList.findViewById(R.id.applyEffect); 249 Button button = (Button) accessoryViewList.findViewById(R.id.applyEffect); local 250 if (button == null) { 255 setUpPopupMenu(button); 261 private void setUpPopupMenu(Button button) { [all...] |
| /packages/apps/Settings/src/com/android/settings/applications/ |
| ProcessStatsDetail.java | 37 import android.widget.Button; 50 public class ProcessStatsDetail extends Fragment implements Button.OnClickListener { 71 private Button mForceStopButton; 72 private Button mReportButton; 133 mForceStopButton = (Button)mRootView.findViewById(R.id.right_button); 134 mReportButton = (Button)mRootView.findViewById(R.id.left_button);
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/jobscheduler/ |
| ChargingConstraintTestActivity.java | 12 import android.widget.Button; 40 mStartButton = (Button) findViewById(R.id.js_charging_start_test_button);
|
| ConnectivityConstraintTestActivity.java | 14 import android.widget.Button; 43 mStartButton = (Button) findViewById(R.id.js_connectivity_start_test_button);
|
| IdleConstraintTestActivity.java | 30 import android.widget.Button; 64 * ACTION_SCREEN_ON we enable it. This is to avoid the start button being clicked when the 88 mStartButton = (Button) findViewById(R.id.js_idle_start_test_button); 133 * The user has just pressed the "Start Test" button, so we know that the device can't be idle.
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
| BaseSensorTestActivity.java | 41 import android.widget.Button; 91 private Button mNextButton; 92 private Button mPassButton; 93 private Button mFailButton; 129 mNextButton = (Button) findViewById(R.id.next_button); 131 mPassButton = (Button) findViewById(R.id.pass_button); 132 mFailButton = (Button) findViewById(R.id.fail_button); 513 final Button button, 528 button.setText(textResId) [all...] |
| /development/samples/devbytes/animation/Anticipation/src/com/example/android/anticipation/ |
| AnticiButton.java | 32 import android.widget.Button; 35 * Custom button which can be deformed by skewing the top left and right, to simulate 36 * anticipation and follow-through animation effects. Clicking on the button runs 37 * an animation which moves the button left or right, applying the skew effect to the 38 * button. The logic of drawing the button with a skew transform is handled in the 41 public class AnticiButton extends Button { 103 * Finish the "anticipation" animation (skew the button back from the direction of 104 * travel), animate it to the other side of the screen, then un-skew the button 127 // Then overshoot by stopping the movement but skewing the button as if it couldn' [all...] |
| /external/chromium_org/ash/shell/ |
| widgets.cc | 10 #include "ui/views/controls/button/checkbox.h" 11 #include "ui/views/controls/button/label_button.h" 12 #include "ui/views/controls/button/radio_button.h" 56 : button_(new views::LabelButton(NULL, base::ASCIIToUTF16("Button"))), 58 new views::LabelButton(NULL, base::ASCIIToUTF16("Disabled button"))), 67 base::ASCIIToUTF16("Radio button"), 0)), 69 base::ASCIIToUTF16("Radio button disabled"), 0)), 71 base::ASCIIToUTF16("Radio button selected"), 0)), 73 base::ASCIIToUTF16("Radio button selected disabled"), 1)) { 74 button_->SetStyle(views::Button::STYLE_BUTTON) [all...] |
| /external/chromium_org/chrome/browser/ui/views/ |
| network_profile_bubble_view.cc | 17 #include "ui/views/controls/button/label_button.h" 109 ok_button->SetStyle(views::Button::STYLE_BUTTON); 114 void NetworkProfileBubbleView::ButtonPressed(views::Button* sender,
|
| /external/chromium_org/chrome/browser/ui/views/passwords/ |
| manage_passwords_bubble_view.cc | 24 #include "ui/views/controls/button/blue_button.h" 25 #include "ui/views/controls/button/label_button.h" 151 // Create the pending credential item, save button and refusal combobox. 175 // Button row. 190 views::Button* sender, 253 confirm_button_->SetStyle(views::Button::STYLE_BUTTON); 261 undo_button_->SetStyle(views::Button::STYLE_BUTTON); 274 views::Button* sender, 328 // Then add the "manage passwords" link and "Done" button. 338 done_button_->SetStyle(views::Button::STYLE_BUTTON) [all...] |
| /external/chromium_org/content/public/test/ |
| browser_test_utils.h | 67 blink::WebMouseEvent::Button button); 73 blink::WebMouseEvent::Button button,
|
| /frameworks/base/core/java/android/app/ |
| DatePickerDialog.java | 27 import android.widget.Button; 207 final Button positive = getButton(BUTTON_POSITIVE);
|
| TimePickerDialog.java | 26 import android.widget.Button; 55 * the time (they clicked on the 'Done' button). 173 final Button positive = getButton(BUTTON_POSITIVE);
|
| /frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/common/helpers/ |
| DatePickerHelper.java | 114 new UiSelector().className(android.widget.Button.class.getName()).instance(0)); 120 new UiSelector().className(android.widget.Button.class.getName()).instance(1));
|
| TimePickerHelper.java | 106 new UiSelector().className(android.widget.Button.class.getName()).instance(0)); 112 new UiSelector().className(android.widget.Button.class.getName()).instance(1));
|
| /packages/apps/Email/src/com/android/email/view/ |
| CertificateSelector.java | 29 import android.widget.Button; 43 /** Button to select or remove the certificate. */ 44 private Button mSelectButton; 113 // Handle the click on the button when it says "Remove"
|
| /external/chromium_org/ash/frame/caption_buttons/ |
| frame_caption_button_container_view.h | 12 #include "ui/views/controls/button/button.h" 22 // action when a caption button is clicked. 30 // Whether the frame can be minimized (either via the maximize/restore button 31 // or via a dedicated button). 39 // the maximize/restore button or via a dedicated button). 69 // Sets the resource ids of the images to paint the button for |icon|. The 85 // Determines the window HT* code for the caption button at |point|. Returns 90 // Updates the size button's visibility based on whether |frame_| can b [all...] |
| /external/chromium_org/ash/system/chromeos/virtual_keyboard/ |
| virtual_keyboard_tray.cc | 21 #include "ui/views/controls/button/image_button.h" 56 // Pad button size to align with other controls in the system tray. 65 // vertically aligned as the button would violate the width constraint on the 99 void VirtualKeyboardTray::ButtonPressed(views::Button* sender,
|
| /external/chromium_org/chrome/browser/chromeos/login/ui/ |
| simple_web_view_dialog.h | 15 #include "ui/views/controls/button/image_button.h" 63 virtual void ButtonPressed(views::Button* sender,
|