| /development/samples/ApiDemos/src/com/example/android/apis/view/ |
| DateWidgets1.java | 27 import android.widget.Button; 81 Button b = (Button) findViewById(buttonId);
|
| RotatingButton.java | 25 import android.widget.Button; 31 * transform properties of the button. 40 final Button rotatingButton = (Button) findViewById(R.id.rotatingButton);
|
| /development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
| DeviceListActivity.java | 35 import android.widget.Button; 70 // Initialize the button to perform device discovery 71 Button scanButton = (Button) findViewById(R.id.button_scan);
|
| /development/samples/Obb/src/com/example/android/obbapp/ |
| ObbMountActivity.java | 27 import android.widget.Button; 56 // Hook up button presses to the appropriate event handler. 57 ((Button) findViewById(R.id.mount)).setOnClickListener(mMountListener); 58 ((Button) findViewById(R.id.unmount)).setOnClickListener(mUnmountListener); 92 * A call-back for when the user presses the back button. 113 * A call-back for when the user presses the clear button.
|
| /development/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/ |
| MainActivity.java | 31 import android.widget.Button; 44 * as a {@link SamplePresentation}) is shown on the preferred display. A button 74 // Enable clicks on the 'change color' button 75 mButton = (Button) findViewById(R.id.button1); 281 private Button mButton;
|
| /development/samples/browseable/Interpolator/src/com.example.android.interpolator/ |
| InterpolatorFragment.java | 29 import android.widget.Button; 101 // Set up the 'animate' button, when it is clicked the view is animated with the options 103 Button button = (Button) v.findViewById(R.id.animateButton); local 104 button.setOnClickListener(new View.OnClickListener() {
|
| /development/samples/browseable/LNotifications/src/com.example.android.lnotifications/ |
| VisibilityMetadataFragment.java | 27 import android.widget.Button; 54 * Button to show a notification. 56 private Button mShowNotificationButton; 91 mShowNotificationButton = (Button) view.findViewById(R.id.show_notification_button);
|
| /development/samples/browseable/MediaRecorder/src/com.example.android.mediarecorder/ |
| MainActivity.java | 31 import android.widget.Button; 51 private Button captureButton; 59 captureButton = (Button) findViewById(R.id.button_capture); 63 * The capture button controls all user interaction. When recording, the button click
|
| /development/samples/devbytes/ui/ListViewDeletion/src/com/example/android/listviewdeletion/ |
| ListViewDeletion.java | 30 import android.widget.Button; 50 final Button deleteButton = (Button) findViewById(R.id.deleteButton); 63 // Clicking the delete button fades out the currently selected views
|
| /external/chromium_org/chrome/browser/ui/views/profiles/ |
| profile_chooser_view.h | 18 #include "ui/views/controls/button/button.h" 39 // This bubble view is displayed when the user clicks on the avatar button. 50 // make a button toggle the bubble on and off when clicked: we unconditionally 51 // call this function when the button is clicked and if the bubble isn't 76 typedef std::map<views::Button*, int> ButtonIndexes; 77 typedef std::map<views::Button*, std::string> AccountButtonIndexes; 91 virtual void ButtonPressed(views::Button* sender, 172 // and a left aligned button using the specified |button_text|. The method 173 // sets |link| to point to the newly created link, |button| to the newl [all...] |
| /external/chromium_org/chrome/browser/ui/views/toolbar/ |
| reload_button.cc | 70 // We want to disable the button if we're preventing a change from stop to 130 void ReloadButton::ButtonPressed(views::Button* /* button */, 137 // The user has clicked, so we can feel free to update the button, 141 // Shift-clicking or ctrl-clicking the reload button means we should ignore 153 // Start a timer - while this timer is running, the reload button cannot be 154 // changed to a stop button. We do not set |intended_mode_| to MODE_STOP 228 SetImage(views::Button::STATE_NORMAL, *(tp->GetImageSkiaNamed( 230 SetImage(views::Button::STATE_DISABLED, *(tp->GetImageSkiaNamed(
|
| /external/chromium_org/third_party/webrtc/video_engine/test/auto_test/android/src/org/webrtc/vieautotest/ |
| ViEAutotest.java | 18 import android.widget.Button; 57 // Set the Start button action 58 final Button buttonStart = (Button) findViewById(R.id.Button01); 97 Log.d("*WEBRTC*", "Button clicked...");
|
| /external/chromium_org/ui/views/controls/combobox/ |
| combobox.h | 15 #include "ui/views/controls/button/button.h" 42 // * STYLE_NORMAL: typical combobox, clicking on the text and/or button shows 125 virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE; 145 // Draws the button images. 197 // is, if the menu is shown and the button is pressed, we need to close the 200 // the button is not part of the displayed menu. 209 scoped_ptr<Painter> body_button_painters_[2][Button::STATE_COUNT]; 211 menu_button_images_[2][Button::STATE_COUNT]; 215 // button states. These are not rendered but when |style_| i [all...] |
| /external/chromium_org/ui/views/touchui/ |
| touch_editing_menu.cc | 17 #include "ui/views/controls/button/custom_button.h" 18 #include "ui/views/controls/button/label_button.h" 19 #include "ui/views/controls/button/label_button_border.h" 103 void TouchEditingMenuView::ButtonPressed(Button* sender, 130 Button* button = CreateButton(l10n_util::GetStringUTF16(command_id), local 132 AddChildView(button); 136 // Finally, add ellipses button. 142 Button* TouchEditingMenuView::CreateButton(const base::string16& title, 145 LabelButton* button = new LabelButton(this, label) local [all...] |
| /external/replicaisland/src/com/replica/replicaisland/ |
| GameOverActivity.java | 29 import android.widget.Button; 167 Button okButton = (Button)findViewById(R.id.ok);
|
| /external/svox/PicoLangInstallerDeuDeu/src/com/svox/pico/voice/deu/deu/ |
| InstallerActivity.java | 19 import android.widget.Button; 156 Button retryButton = (Button) findViewById(R.id.retryButton);
|
| /external/svox/PicoLangInstallerEngGbr/src/com/svox/pico/voice/eng/gbr/ |
| InstallerActivity.java | 19 import android.widget.Button; 156 Button retryButton = (Button) findViewById(R.id.retryButton);
|
| /external/svox/PicoLangInstallerEngUsa/src/com/svox/pico/voice/eng/usa/ |
| InstallerActivity.java | 19 import android.widget.Button; 156 Button retryButton = (Button) findViewById(R.id.retryButton);
|
| /external/svox/PicoLangInstallerFraFra/src/com/svox/pico/voice/fra/fra/ |
| InstallerActivity.java | 19 import android.widget.Button; 156 Button retryButton = (Button) findViewById(R.id.retryButton);
|
| /external/svox/PicoLangInstallerItaIta/src/com/svox/pico/voice/ita/ita/ |
| InstallerActivity.java | 19 import android.widget.Button; 156 Button retryButton = (Button) findViewById(R.id.retryButton);
|
| /external/svox/PicoLangInstallerSpaEsp/src/com/svox/pico/voice/spa/esp/ |
| InstallerActivity.java | 19 import android.widget.Button; 156 Button retryButton = (Button) findViewById(R.id.retryButton);
|
| /external/svox/picolanginstaller/src/com/svox/langpack/installer/ |
| InstallerActivity.java | 20 import android.widget.Button; 156 Button retryButton = (Button) findViewById(R.id.retryButton);
|
| /frameworks/base/core/tests/coretests/src/android/view/ |
| DrawableBgMinSizeTest.java | 28 import android.widget.Button; 40 private Button mChangeBackgroundsButton; 61 mChangeBackgroundsButton = (Button) a.findViewById(R.id.change_backgrounds);
|
| /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
| SaveFragment.java | 29 import android.widget.Button; 37 * Display document title editor and save button. 44 private Button mSave; 83 mSave = (Button) view.findViewById(android.R.id.button1);
|
| /frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
| AlignmentTest.java | 25 import android.widget.Button; 55 Button result = new Button(CONTEXT);
|