/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
ColorGridDialog.java | 25 import android.widget.Button; 40 Button sel = (Button) findViewById(R.id.filtershow_cp_custom); 41 ArrayList<Button> b = getButtons((ViewGroup) getWindow().getDecorView()); 45 for (Button button : b) { 46 if (!button.equals(sel)){ 51 GradientDrawable sd = ((GradientDrawable) button.getBackground()); 52 button.setOnClickListener(new View.OnClickListener() { 73 private ArrayList<Button> getButtons(ViewGroup vg) [all...] |
ColorPickerDialog.java | 24 import android.widget.Button; 47 Button selButton = (Button) findViewById(R.id.btnSelect); 49 Button sel = (Button) findViewById(R.id.btnSelect); 108 private void setButtonColor(ToggleButton button, float[] hsv) { 109 if (button == null) { 113 button.setBackgroundColor(color); 119 button.setTextColor(Color.HSVToColor(fg)); 120 button.setTag(hsv) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ActivityRecreate.java | 25 import android.widget.Button; 54 // Watch for button clicks. 55 Button button = (Button)findViewById(R.id.recreate); local 56 button.setOnClickListener(mRecreateListener);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
TableLayout8.java | 23 import android.widget.Button; 41 Button button = (Button) findViewById(R.id.toggle); local 42 button.setOnClickListener(new Button.OnClickListener() {
|
/development/samples/Support4Demos/src/com/example/android/supportv4/content/ |
SimpleWakefulController.java | 27 import android.widget.Button; 41 // Watch for button clicks. 42 Button button = (Button)findViewById(R.id.schedule); local 43 button.setOnClickListener(mScheduleListener);
|
/external/chromium/chrome/browser/autofill/ |
autofill_cc_infobar_delegate.cc | 73 string16 AutofillCCInfoBarDelegate::GetButtonLabel(InfoBarButton button) const { 74 return l10n_util::GetStringUTF16((button == BUTTON_OK) ?
|
/external/chromium/chrome/browser/chromeos/login/ |
helper.cc | 18 #include "views/controls/button/menu_button.h" 19 #include "views/controls/button/native_button.h" 174 void CorrectMenuButtonFontSize(views::MenuButton* button) { 175 if (button) 176 button->SetFont(button->font().DeriveFont(kFontSizeCorrectionDelta)); 179 void CorrectNativeButtonFontSize(views::NativeButton* button) { 180 if (button) 181 button->set_font(button->font().DeriveFont(kFontSizeCorrectionDelta)) [all...] |
/external/chromium/chrome/browser/chromeos/options/ |
network_config_view.h | 27 // Called when dialog "OK" button is pressed. 30 // Called when dialog "Cancel" button is pressed. 48 MessageBoxFlags::DialogButton button) const; 50 MessageBoxFlags::DialogButton button) const; 102 // Called to determine if "Connect" button should be enabled. 105 // Called when "Connect" button is clicked. 109 // Called when "Cancel" button is clicked.
|
/external/chromium/chrome/browser/custom_handlers/ |
register_protocol_handler_infobar_delegate.cc | 51 InfoBarButton button) const { 52 return (button == BUTTON_OK) ?
|
/external/chromium/chrome/browser/extensions/ |
theme_installed_infobar_delegate.cc | 91 InfoBarButton button) const { 92 DCHECK_EQ(BUTTON_CANCEL, button);
|
/external/chromium/chrome/browser/ui/gtk/status_icons/ |
status_icon_gtk.cc | 63 void StatusIconGtk::OnPopupMenu(GtkWidget* widget, guint button, guint time) { 66 menu_->PopupAsContextForStatusIcon(time, button, icon_);
|
/external/qemu/distrib/sdl-1.2.15/src/video/ataricommon/ |
SDL_ataridevmouse.c | 103 static int atari_GetButton(int button) 105 switch(button) 133 /* Mouse button events */
|
SDL_ikbdevents.c | 57 static int atari_GetButton(int button) 59 switch(button) 102 /* Mouse button ? */
|
SDL_xbiosevents.c | 105 static int atari_GetButton(int button) 107 switch(button) 131 /* Mouse button ? */
|
/external/webkit/Source/WebKit/qt/docs/webkitsnippets/webelement/ |
main.cpp | 59 QWebElement button = document.findFirst("input[type=submit]"); local 60 button.evaluateJavaScript("click()");
|
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/c/ |
WKBundlePagePrivate.h | 52 WK_EXPORT void WKBundlePageSimulateMouseDown(WKBundlePageRef page, int button, WKPoint position, int clickCount, WKEventModifiers modifiers, double time); 53 WK_EXPORT void WKBundlePageSimulateMouseUp(WKBundlePageRef page, int button, WKPoint position, int clickCount, WKEventModifiers modifiers, double time);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
EditorFlip.java | 22 import android.widget.Button; 53 final Button button = (Button) accessoryViewList.findViewById(R.id.applyEffect); local 54 button.setOnClickListener(new OnClickListener() {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
SelectionMenu.java | 22 import android.widget.Button; 32 private final Button mButton; 35 public SelectionMenu(Context context, Button button, OnPopupItemClickListener listener) { 37 mButton = button;
|
/external/chromium/chrome/browser/resources/options/chromeos/ |
internet_options_page.css | 106 .network-item > * > button { 112 .network-item:hover > * > button, 113 .network-item[connected] > * > button { 117 .network-item[connecting] > * > button { 131 .details-button { 150 html[dir='rtl'] .details-button { 215 #wireless-buttons > * > button {
|
/external/webkit/Source/WebKit/chromium/src/win/ |
WebInputEventFactory.cpp | 149 // NOTE: There doesn't seem to be a way to query the mouse button state in 188 result.button = WebMouseEvent::ButtonLeft; 190 result.button = WebMouseEvent::ButtonMiddle; 192 result.button = WebMouseEvent::ButtonRight; 194 result.button = WebMouseEvent::ButtonNone; 198 result.button = WebMouseEvent::ButtonNone; 206 result.button = WebMouseEvent::ButtonLeft; 211 result.button = WebMouseEvent::ButtonMiddle; 216 result.button = WebMouseEvent::ButtonRight; 220 result.button = WebMouseEvent::ButtonLeft [all...] |
/external/webkit/Source/WebCore/platform/wx/wxcode/gtk/ |
scrollbar_render.cpp | 136 GtkWidget* button = GetButtonWidget(); local 143 gtk_paint_arrow( button->style, gdk_window, GTK_STATE_NORMAL, GTK_SHADOW_OUT, NULL, button, "arrow", arrowType, false, x + 4, y + 4, 8, 8); 176 gtk_paint_arrow( button->style, gdk_window, GTK_STATE_NORMAL, GTK_SHADOW_OUT, NULL, button, "arrow", arrowType, false, x + 4, y + 4, 8, 8);
|
/external/chromium/chrome/browser/ui/gtk/ |
menu_gtk.cc | 55 void SetupButtonShowHandler(GtkWidget* button, 58 g_object_set_data(G_OBJECT(button), "button-model", 60 g_object_set_data(G_OBJECT(button), "button-model-id", 64 void OnSubmenuShowButtonImage(GtkWidget* widget, GtkButton* button) { 66 g_object_get_data(G_OBJECT(button), "menu-gtk-delegate")); 68 G_OBJECT(button), "button-image-idr")); 73 button, gtk_image_new_from_icon_set(icon_set 377 button, event_time); local 391 icon, button, event_time); local 531 GtkWidget* button = NULL; local [all...] |
/external/chromium/chrome/browser/ui/views/bookmarks/ |
bookmark_bar_view.cc | 50 #include "views/controls/button/menu_button.h" 108 // Width of the separator between the recently bookmarked button and the 118 // Tag for the 'Other bookmarks' button. 121 // Tag for the sync error button. 172 // button. 273 // If true, the user is over the overflow button. 276 // If true, the user is over the other button. 402 // Disable the other bookmarked button, we'll re-enable when the model is 436 // button, by which one can access all the Bookmark Bar items, and the "Other 437 // Bookmarks" folder, along with appropriate margins and button padding 892 MenuButton* button = new BookmarkFolderButton( local 907 MenuButton* button = new OverFlowButton(this); local 1022 views::View* button = GetChildViewAt(index); local 1043 views::TextButton* button = GetBookmarkButton(index); local 1063 views::View* button = GetChildViewAt(0); local 1090 views::TextButton* button = GetBookmarkButton(i); local 1249 BookmarkButton* button = new BookmarkButton(this, node->GetURL(), local 1254 views::MenuButton* button = new BookmarkFolderButton(this, local 1419 views::TextButton* button = GetBookmarkButton(i); local [all...] |
/external/webkit/LayoutTests/dom/html/level2/html/ |
button07.js | 49 docsLoaded += preload(docRef, "doc", "button"); 78 The type of button 79 The value of attribute type of the button element is read and checked against the expected value. 97 doc = load(docRef, "doc", "button"); 98 nodeList = doc.getElementsByTagName("button");
|
/external/webkit/LayoutTests/dom/xhtml/level2/html/ |
button07.js | 49 docsLoaded += preload(docRef, "doc", "button"); 78 The type of button 79 The value of attribute type of the button element is read and checked against the expected value. 97 doc = load(docRef, "doc", "button"); 98 nodeList = doc.getElementsByTagName("button");
|