| /packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/ |
| FillCallLogTestActivity.java | 39 import android.widget.Button; 69 private Button mAddButton; 98 mAddButton = (Button) findViewById(R.id.add); 174 // Re-enable the add button. 485 * OnClick handler for the button that adds a manual call log entry to the call log.
|
| /external/chromium_org/chrome/browser/ui/views/autofill/ |
| autofill_dialog_views.h | 17 #include "ui/views/controls/button/button.h" 18 #include "ui/views/controls/button/menu_button.h" 19 #include "ui/views/controls/button/menu_button_listener.h" 114 virtual base::string16 GetDialogButtonLabel(ui::DialogButton button) const 117 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; 198 // The button for showing a menu to change the currently in-use account. 213 // A view which displays an image, optionally some messages and a button. Used 300 views::Button* proxy_button); 328 // Mouse events on |this| are sent to this button [all...] |
| autofill_dialog_views.cc | 47 #include "ui/views/controls/button/blue_button.h" 48 #include "ui/views/controls/button/checkbox.h" 49 #include "ui/views/controls/button/label_button.h" 50 #include "ui/views/controls/button/label_button_border.h" 51 #include "ui/views/controls/button/menu_button.h" 254 checkbox->SetTextColor(views::Button::STATE_NORMAL, 256 checkbox->SetTextColor(views::Button::STATE_HOVERED, 351 virtual void ButtonPressed(views::Button* sender, 817 views::Button* proxy_button) 951 // Special case for the proxy button itself [all...] |
| /external/chromium_org/tools/stats_viewer/ |
| stats_viewer.Designer.cs | 47 this.buttonExport = new System.Windows.Forms.Button();
48 this.buttonZero = new System.Windows.Forms.Button();
377 private System.Windows.Forms.Button buttonZero;
378 private System.Windows.Forms.Button buttonExport;
|
| /external/chromium_org/ui/file_manager/file_manager/foreground/js/ |
| commandbutton.js | 8 * @fileoverview This implements a common button control, bound to command. 12 * Creates a new button element. 17 var CommandButton = cr.ui.define('button'); 49 * Associates command with this button. 51 * associate with this button. 81 * Returns button label 82 * @return {string} Button label. 89 * Sets button label. 90 * @param {string} label New button label. 125 * Whether the button is disabled or not [all...] |
| /external/chromium_org/ui/views/window/ |
| dialog_client_view.cc | 11 #include "ui/views/controls/button/blue_button.h" 12 #include "ui/views/controls/button/label_button.h" 37 // Do the layout for a button. 38 void LayoutButton(LabelButton* button, gfx::Rect* row_bounds) { 39 if (!button) 42 const gfx::Size size = button->GetPreferredSize(); 44 button->SetBounds(row_bounds->right(), row_bounds->y(), 152 // Make the newly focused button default or restore the dialog's default. 314 void DialogClientView::ButtonPressed(Button* sender, const ui::Event& event) { 378 LabelButton* button = NULL local [all...] |
| /frameworks/base/core/java/android/app/ |
| AlertDialog.java | 33 import android.widget.Button; 162 * button does not exist or the dialog has not yet been fully created (for 165 * @param whichButton The identifier of the button that should be returned. 168 * @return The button from the dialog, or null if a button does not exist. 170 public Button getButton(int whichButton) { 223 * Internal api to allow hinting for the best button panel layout. 231 * Set a message to be sent when a button is pressed. 233 * @param whichButton Which button to set the message for, can be one of 237 * @param text The text to display in positive button [all...] |
| /packages/apps/Settings/src/com/android/settings/ |
| CredentialStorage.java | 40 import android.widget.Button; 287 @Override public void onClick(DialogInterface dialog, int button) { 288 mResetConfirmed = (button == DialogInterface.BUTTON_POSITIVE); 356 @Override public void onClick(DialogInterface dialog, int button) { 357 mConfigureConfirmed = (button == DialogInterface.BUTTON_POSITIVE); 419 private final Button mButton; 465 @Override public void onClick(DialogInterface dialog, int button) { 466 mUnlockConfirmed = (button == DialogInterface.BUTTON_POSITIVE);
|
| SettingsPreferenceFragment.java | 42 import android.widget.Button; 489 protected Button getNextButton() {
|
| /packages/apps/Settings/src/com/android/settings/bluetooth/ |
| BluetoothPairingDialog.java | 35 import android.widget.Button; 65 private Button mOkButton;
|
| /packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
| VideoChatTestActivity.java | 19 import android.widget.Button; 63 ((Button) findViewById(R.id.gobutton)).setOnClickListener(mGoListener); 137 * A call-back for when the user presses the back button.
|
| /development/samples/ApiDemos/src/com/example/android/apis/view/ |
| ContentBrowserActivity.java | 36 import android.widget.Button;
|
| ContentBrowserNavActivity.java | 36 import android.widget.Button;
|
| /external/chromium_org/ash/shelf/ |
| shelf_view.h | 18 #include "ui/views/controls/button/button.h" 157 // In this mode, it does not show app list, panel and overflow button. 159 // * When Shelf can contain only one item (overflow button) due to very 161 // button. 171 // Update all button's visibility in overflow. 174 // Calculates the ideal bounds. The bounds of each button corresponding to an 225 // * When overflow button is visible, returns bounds from first item 226 // to overflow button. 227 // * When overflow button is visible and one or more panel items exists [all...] |
| /external/chromium_org/ash/system/chromeos/bluetooth/ |
| bluetooth_notification_controller.cc | 70 enum Button { 122 VLOG(1) << "Pairing notification, button click: " << button_index;
|
| /external/chromium_org/chrome/browser/ui/views/bookmarks/ |
| bookmark_bar_view.h | 25 #include "ui/views/controls/button/button.h" 26 #include "ui/views/controls/button/menu_button_listener.h" 112 // If |loc| is over a bookmark button the node is returned corresponding to 113 // the button and |model_start_index| is set to 0. If a overflow button is 114 // showing and |loc| is over the overflow button, the bookmark bar node is 123 // Returns the position to anchor the menu for |button| at. 124 void GetAnchorPositionForButton(views::MenuButton* button, 127 // Returns the button responsible for showing bookmarks in the other bookmar [all...] |
| bookmark_editor_view.h | 19 #include "ui/views/controls/button/button.h" 82 ui::DialogButton button) const OVERRIDE; 83 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; 106 virtual void ButtonPressed(views::Button* sender, 205 // of Textfields and ok button appropriately.
|
| /external/chromium_org/chrome/browser/ui/views/download/ |
| download_item_view.h | 9 // and a button for canceling an in progress download, or opening 35 #include "ui/views/controls/button/button.h" 101 virtual void ButtonPressed(views::Button* sender, 140 // The image set associated with the drop-down button on the right. 161 // Update the button colors based on the current theme. 212 // Releases drop down button after showing a context menu. 216 // the drop-down button or not. 224 // Update the location of the drop down button. 267 // The left and right x coordinates of the drop-down button [all...] |
| /external/chromium_org/chrome/browser/ui/views/infobars/ |
| extension_infobar.cc | 24 #include "ui/views/controls/button/menu_button.h" 150 // the close button is the last child. 154 // which assumes that particular children (e.g. the close button) have already 211 icon_as_menu_->SetImage(views::Button::STATE_NORMAL, menu_image);
|
| /external/chromium_org/chrome/browser/ui/views/passwords/ |
| manage_password_item_view.cc | 13 #include "ui/views/controls/button/button.h" 14 #include "ui/views/controls/button/image_button.h" 74 // If we're in manage-mode, we need another column for the delete button. 147 void ManagePasswordItemView::ManageView::ButtonPressed(views::Button* sender,
|
| /external/chromium_org/chrome/browser/ui/views/tabs/ |
| tab.h | 18 #include "ui/views/controls/button/button.h" 46 // The menu button's class name. 122 // always show a close button and have a larger minimum size than unselected 173 virtual void ButtonPressed(views::Button* sender, 244 // Returns whether the Tab should display a close button. 376 // Whether we are showing the close button. It is cached so that we can 380 // The current color of the close button.
|
| /external/chromium_org/chrome/browser/ui/views/ |
| uninstall_view.cc | 18 #include "ui/views/controls/button/checkbox.h" 136 ui::DialogButton button) const { 137 // Label the OK button 'Uninstall'; Cancel remains the same. 138 if (button == ui::DIALOG_BUTTON_OK) 140 return views::DialogDelegateView::GetDialogButtonLabel(button); 143 void UninstallView::ButtonPressed(views::Button* sender,
|
| /external/chromium_org/ui/app_list/views/ |
| folder_header_view.cc | 18 #include "ui/views/controls/button/image_button.h" 220 void FolderHeaderView::ButtonPressed(views::Button* sender,
|
| /external/chromium_org/ui/message_center/views/ |
| message_view.cc | 19 #include "ui/views/controls/button/image_button.h" 73 // The close button should be added to view hierarchy by the derived class. 180 // Close button. 217 void MessageView::ButtonPressed(views::Button* sender,
|
| /external/chromium_org/ui/views/controls/button/ |
| image_button.cc | 5 #include "ui/views/controls/button/image_button.h" 18 static const int kDefaultWidth = 16; // Default button width if no theme. 19 static const int kDefaultHeight = 14; // Default button height if no theme. 34 // implementation is flipped horizontally so that the button's images are 243 return Button::GetTooltipText(p, tooltip);
|