/external/webkit/Source/WebCore/dom/ |
MouseEvent.cpp | 36 ASSERT(event.eventType() == MouseEventMoved || event.button() != NoButton); 42 event.ctrlKey(), event.altKey(), event.shiftKey(), event.metaKey(), event.button(), 55 unsigned short button, PassRefPtr<EventTarget> relatedTarget, 59 , m_button(button == (unsigned short)-1 ? 0 : button) 60 , m_buttonDown(button != (unsigned short)-1) 73 unsigned short button, PassRefPtr<EventTarget> relatedTarget) 86 m_button = button == (unsigned short)-1 ? 0 : button; 87 m_buttonDown = button != (unsigned short)-1 [all...] |
/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; 64 mInstallButton = (Button)findViewById(R.id.dict_install_button); 65 mCancelButton = (Button)findViewById(R.id.dict_cancel_button); 66 mDeleteButton = (Button)findViewById(R.id.dict_delete_button); 80 private Button getButton(final int status) { 144 private ViewPropertyAnimator animateButton(final View button, final int direction) { 146 final float innerX = button.getX() - button.getTranslationX() [all...] |
/external/chromium-trace/trace-viewer/src/ |
timeline_view.css | 43 .view > .control > .controls > button, 121 .button.find-previous { 126 .button.find-next { 135 .button { 146 .button:hover { 153 .view-info-button { 159 .view-info-button:hover { 163 .view-import-errors-button { 168 .view-import-errors-button:hover {
|
/external/webkit/Source/WebKit/chromium/src/gtk/ |
WebInputEventFactory.cpp | 54 static WebKit::WebMouseEvent::Button gLastClickButton = WebKit::WebMouseEvent::ButtonNone; 434 result.button = WebMouseEvent::ButtonNone; 435 if (event->button == 1) 436 result.button = WebMouseEvent::ButtonLeft; 437 else if (event->button == 2) 438 result.button = WebMouseEvent::ButtonMiddle; 439 else if (event->button == 3) 440 result.button = WebMouseEvent::ButtonRight; 445 if (!forgetPreviousClick && result.button == gLastClickButton) 453 gLastClickButton = result.button; [all...] |
/external/webkit/Source/WebKit2/Shared/win/ |
WebEventFactory.cpp | 72 static inline int clickCount(WebEvent::Type type, WebMouseEvent::Button button, const POINT& position, double timeStampSeconds) 77 static WebMouseEvent::Button lastClickButton = WebMouseEvent::LeftButton; 84 if (!cancelPreviousClick && (button == lastClickButton)) 91 lastClickButton = button; 330 WebMouseEvent::Button button = WebMouseEvent::NoButton; local 335 button = WebMouseEvent::LeftButton; 337 button = WebMouseEvent::MiddleButton; 339 button = WebMouseEvent::RightButton [all...] |
/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...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ServiceStartArguments.java | 35 import android.widget.Button; 136 // For the start fail button, we will simulate the process dying 216 // Watch for button clicks. 217 Button button = (Button)findViewById(R.id.start1); local 218 button.setOnClickListener(mStart1Listener); 219 button = (Button)findViewById(R.id.start2); 220 button.setOnClickListener(mStart2Listener) [all...] |
AlarmController.java | 31 import android.widget.Button; 75 // Watch for button clicks. 76 Button button = (Button)findViewById(R.id.one_shot); local 77 button.setOnClickListener(mOneShotListener); 78 button = (Button)findViewById(R.id.start_repeating); 79 button.setOnClickListener(mStartRepeatingListener); 80 button = (Button)findViewById(R.id.stop_repeating) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
InstallApk.java | 37 import android.widget.Button; 61 // Watch for button clicks. 62 Button button = (Button)findViewById(R.id.unknown_source); local 63 button.setOnClickListener(mUnknownSourceListener); 64 button = (Button)findViewById(R.id.my_source); 65 button.setOnClickListener(mMySourceListener); 66 button = (Button)findViewById(R.id.replace) [all...] |
/external/webkit/Source/WebCore/css/ |
themeWin.css | 90 input[type="search"]::-webkit-search-cancel-button { 98 input[type="search"]::-webkit-search-results-button { 102 input::-webkit-outer-spin-button { 106 input[type="button"], input[type="submit"], input[type="reset"], input[type="file"]::-webkit-file-upload-button, button {
|
/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...] |
ScrollViewScenario.java | 27 import android.widget.Button; 124 * Add a button. 125 * @param text The text of the button. 131 final Button button = new Button(context); 132 button.setText(text); 133 return button; 142 * @param textPrefix The text to prepend to each button. 183 final Button button = new Button(context) [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
content_setting_bubble_gtk.cc | 154 GtkWidget* button = gtk_chrome_link_button_new( local 156 popup_links_[button] = i -popup_items.begin(); 157 g_signal_connect(button, "clicked", G_CALLBACK(OnPopupLinkClickedThunk), 159 gtk_table_attach(GTK_TABLE(table), button, 1, 2, row, row + 1, local 245 GtkWidget* button = gtk_button_new_with_label( local 247 g_signal_connect(button, "clicked", G_CALLBACK(OnCloseButtonClickedThunk), 249 gtk_box_pack_end(GTK_BOX(bottom_box), button, FALSE, FALSE, 0); local 253 gtk_widget_grab_focus(button); 281 void ContentSettingBubbleGtk::OnPopupLinkClicked(GtkWidget* button) { 282 PopupMap::iterator i(popup_links_.find(button)); [all...] |
gtk_custom_menu_item.cc | 88 // and every time. Therefore, we can't just fish out the label from the button 90 // listens on the button's "notify" signal, which is emitted right after the 93 GtkButton* button = GTK_BUTTON(object); local 94 gtk_widget_set_sensitive(GTK_BIN(button)->child, FALSE); 95 gtk_misc_set_padding(GTK_MISC(GTK_BIN(button)->child), 2, 0); 147 g_signal_new("button-pushed", 155 g_signal_new("try-button-pushed", 191 // current button may be that button. 218 ¤t_button->allocation, hbox, "button", 330 GtkWidget* button = gtk_button_new(); local 344 GtkWidget* button = gtk_button_new_with_label(""); local [all...] |
browser_actions_toolbar_gtk.cc | 70 // The minimum width in pixels of the button hbox if |icon_count| icons are 103 gtk_container_add(GTK_CONTAINER(alignment_.get()), button()); 104 gtk_widget_show(button()); 120 signals_.Connect(button(), "button-press-event", 122 signals_.Connect(button(), "clicked", 124 signals_.Connect(button(), "drag-begin", 143 GtkWidget* button() { return button_->widget(); } function in class:BrowserActionButton 169 // Updates the button based on the latest state from the associated 178 gtk_widget_set_has_tooltip(button(), FALSE) 903 BrowserActionButton* button = extension_button_map_[extension->id()].get(); local [all...] |
/external/qemu/android/skin/ |
window.c | 632 typedef struct Button { 639 } Button; 642 button_done( Button* button ) 644 skin_image_unref( &button->image ); 645 button->background = NULL; 649 button_init( Button* button, SkinButton* sbutton, SkinLocation* loc, Background* back, SkinRect* frame, SkinLayout* slayout ) 653 button->image = skin_image_rotate( sbutton->image, loc->rotation ); 654 button->background = back 943 ButtonState button; member in struct:SkinWindow 1016 ButtonState* button = &window->button; local 1608 Button* button = layout->buttons; local 1675 Button* button; local [all...] |
/external/webkit/Source/WebCore/html/shadow/ |
MediaControlElements.cpp | 359 RefPtr<MediaControlPanelMuteButtonElement> button = adoptRef(new MediaControlPanelMuteButtonElement(mediaElement, controls)); local 360 button->setType("button"); 361 return button.release(); 374 DEFINE_STATIC_LOCAL(AtomicString, id, ("-webkit-media-controls-mute-button")); 387 RefPtr<MediaControlVolumeSliderMuteButtonElement> button = adoptRef(new MediaControlVolumeSliderMuteButtonElement(mediaElement)); local 388 button->setType("button"); 389 return button.release(); 394 DEFINE_STATIC_LOCAL(AtomicString, id, ("-webkit-media-controls-volume-slider-mute-button")); 407 RefPtr<MediaControlPlayButtonElement> button = adoptRef(new MediaControlPlayButtonElement(mediaElement)); local 499 RefPtr<MediaControlSeekForwardButtonElement> button = adoptRef(new MediaControlSeekForwardButtonElement(mediaElement)); local 519 RefPtr<MediaControlSeekBackButtonElement> button = adoptRef(new MediaControlSeekBackButtonElement(mediaElement)); local 539 RefPtr<MediaControlRewindButtonElement> button = adoptRef(new MediaControlRewindButtonElement(mediaElement)); local 568 RefPtr<MediaControlReturnToRealtimeButtonElement> button = adoptRef(new MediaControlReturnToRealtimeButtonElement(mediaElement)); local 598 RefPtr<MediaControlToggleClosedCaptionsButtonElement> button = adoptRef(new MediaControlToggleClosedCaptionsButtonElement(mediaElement)); local 795 RefPtr<MediaControlFullscreenButtonElement> button = adoptRef(new MediaControlFullscreenButtonElement(mediaElement, controls)); local 841 RefPtr<MediaControlFullscreenVolumeMinButtonElement> button = adoptRef(new MediaControlFullscreenVolumeMinButtonElement(mediaElement)); local 871 RefPtr<MediaControlFullscreenVolumeMaxButtonElement> button = adoptRef(new MediaControlFullscreenVolumeMaxButtonElement(mediaElement)); local [all...] |
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_button.h | 22 // things on behalf of a bookmark button. 25 // Fill the given pasteboard with appropriate data when the given button is 29 forDragOfButton:(BookmarkButton*)button; 34 - (void)mouseEnteredButton:(id)button event:(NSEvent*)event; 35 - (void)mouseExitedButton:(id)button event:(NSEvent*)event; 38 // visibility before starting. For example, dragging a bookmark button should 43 // Returns the top-level window for this button. 46 // Returns YES if the bookmark button can be dragged to the trash, NO otherwise. 47 - (BOOL)canDragBookmarkButtonToTrash:(BookmarkButton*)button; 49 // This is called after the user has dropped the bookmark button on the trash [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
HeavyWeightSwitcherActivity.java | 35 import android.widget.Button; 81 View button = findViewById((R.id.switch_old)); local 82 button.setOnClickListener(mSwitchOldListener); 83 button = findViewById((R.id.switch_new)); 84 button.setOnClickListener(mSwitchNewListener); 85 button = findViewById((R.id.cancel)); 86 button.setOnClickListener(mCancelListener);
|
/sdk/emulator/opengl/tests/emulator_test_renderer/ |
main.cpp | 125 injector->sendMouseDown(ev.button.x, ev.button.y); 131 injector->sendMouseUp(ev.button.x,ev.button.y); 137 injector->sendMouseMotion(ev.button.x,ev.button.y);
|
/external/chromium/chrome/browser/ |
password_manager_delegate_impl.cc | 48 virtual string16 GetButtonLabel(InfoBarButton button) const; 93 InfoBarButton button) const { 94 return l10n_util::GetStringUTF16((button == BUTTON_OK) ?
|
/external/chromium/chrome/browser/ui/gtk/infobars/ |
confirm_infobar_gtk.cc | 33 // that the first widget to get shrunk is the label rather than the button(s). 66 GtkWidget* button = gtk_button_new_with_label(UTF16ToUTF8( local 68 gtk_util::CenterWidgetInHBox(confirm_hbox_, button, true, 0); 69 g_signal_connect(button, "clicked",
|
/external/chromium/chrome/browser/ui/login/ |
login_prompt_win.cc | 45 MessageBoxFlags::DialogButton button) const OVERRIDE { 46 if (button == MessageBoxFlags::DIALOGBUTTON_OK) 48 return DialogDelegate::GetDialogButtonLabel(button);
|
/external/chromium/chrome/browser/ui/views/bookmarks/ |
bookmark_bar_view_test.cc | 24 #include "views/controls/button/menu_button.h" 25 #include "views/controls/button/text_button.h" 177 // Calculate the preferred size so that one button doesn't fit, which 178 // triggers the overflow button to appear. 186 // we brute force search for a size that triggers the overflow button. 193 views::TextButton* button = bb_view_->GetBookmarkButton(4); local 194 while (button->IsVisible()) { 271 // Clicks on first menu, makes sure button is depressed. Moves mouse to first 278 views::TextButton* button = bb_view_->GetBookmarkButton(0); local 279 ui_controls::MoveMouseToCenterAndPress(button, ui_controls::LEFT 292 views::TextButton* button = bb_view_->GetBookmarkButton(0); local 312 views::TextButton* button = bb_view_->GetBookmarkButton(0); local 332 views::TextButton* button = bb_view_->GetBookmarkButton(0); local 362 views::TextButton* button = bb_view_->GetBookmarkButton(0); local 382 views::MenuButton* button = bb_view_->other_bookmarked_button(); local 487 views::TextButton* button = bb_view_->other_bookmarked_button(); local 544 views::TextButton* button = bb_view_->GetBookmarkButton(0); local 611 views::TextButton* button = bb_view_->overflow_button(); local 652 views::TextButton* button = bb_view_->GetBookmarkButton(0); local 725 views::TextButton* button = bb_view_->GetBookmarkButton(0); local 769 views::TextButton* button = bb_view_->GetBookmarkButton(0); local 810 views::TextButton* button = bb_view_->GetBookmarkButton(0); local 878 views::TextButton* button = bb_view_->GetBookmarkButton(0); local 993 views::TextButton* button = bb_view_->other_bookmarked_button(); local 1060 views::TextButton* button = bb_view_->other_bookmarked_button(); local 1148 views::TextButton* button = bb_view_->other_bookmarked_button(); local 1232 views::TextButton* button = bb_view_->GetBookmarkButton(0); local 1272 views::TextButton* button = bb_view_->other_bookmarked_button(); local 1346 views::TextButton* button = bb_view_->GetBookmarkButton(0); local 1360 views::TextButton* button = bb_view_->GetBookmarkButton(0); local 1385 views::TextButton* button = bb_view_->other_bookmarked_button(); local [all...] |
/external/chromium/chrome/browser/ui/views/importer/ |
import_lock_dialog_view.cc | 70 MessageBoxFlags::DialogButton button) const { 71 if (button == MessageBoxFlags::DIALOGBUTTON_OK) { 73 } else if (button == MessageBoxFlags::DIALOGBUTTON_CANCEL) {
|