/external/chromium_org/content/browser/renderer_host/input/ |
web_input_event_builders_android.cc | 52 WebMouseEvent::Button button, 71 result.button = button; 73 result.button = WebMouseEvent::ButtonNone; 90 result.button = WebMouseEvent::ButtonNone;
|
/external/chromium_org/ui/app_list/views/ |
page_switcher.cc | 15 #include "ui/views/controls/button/custom_button.h" 63 // Paints a button that has two rounded corner at bottom. 104 // [-1, 1] range that represents the portion of the button that should be 143 const views::View* button = buttons_->child_at(i); local 144 if (button->bounds().Contains(buttons_point)) 156 PageSwitcherButton* button = local 158 button->SetState(views::CustomButton::STATE_HOVERED); 163 PageSwitcherButton* button = local 165 button->SetState(views::CustomButton::STATE_NORMAL); 214 PageSwitcherButton* button local 233 PageSwitcherButton* button = new PageSwitcherButton(this); local [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
DockController.js | 146 * @param {WebInspector.StatusBarButton} button 149 _decorateButtonForTargetState: function(button, state) 153 button.title = WebInspector.UIString("Dock to main window."); 154 button.state = "bottom"; 157 button.title = WebInspector.UIString("Dock to main window."); 158 button.state = "right"; 161 button.title = WebInspector.UIString("Undock into separate window."); 162 button.state = "undock";
|
/external/chromium_org/third_party/WebKit/Source/web/android/ |
WebInputEventFactory.cpp | 72 WebMouseEvent::Button button, 92 result.button = button; 96 result.button = button; 100 result.button = WebMouseEvent::ButtonNone; 122 result.button = WebMouseEvent::ButtonNone;
|
/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; 71 mInstallButton = (Button)findViewById(R.id.dict_install_button); 72 mCancelButton = (Button)findViewById(R.id.dict_cancel_button); 73 mDeleteButton = (Button)findViewById(R.id.dict_delete_button); 85 private Button getButton(final int status) { 155 private ViewPropertyAnimator animateButton(final View button, final int direction) { 157 final float innerX = button.getX() - button.getTranslationX() [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/fontSettings/css/ |
overlay.css | 72 .overlay .page > .close-button { 83 html[dir='rtl'] .overlay .page > .close-button { 88 .overlay .page > .close-button:hover { 92 .overlay .page > .close-button:active { 135 .overlay .page .button-strip { 140 .overlay .page .button-strip > button {
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
MediaControlElements.cpp | 299 RefPtr<MediaControlPanelMuteButtonElement> button = adoptRef(new MediaControlPanelMuteButtonElement(document, controls)); local 300 button->ensureUserAgentShadowRoot(); 301 button->setType("button"); 302 return button.release(); 315 DEFINE_STATIC_LOCAL(AtomicString, id, ("-webkit-media-controls-mute-button", AtomicString::ConstructFromLiteral)); 328 RefPtr<MediaControlVolumeSliderMuteButtonElement> button = adoptRef(new MediaControlVolumeSliderMuteButtonElement(document)); local 329 button->ensureUserAgentShadowRoot(); 330 button->setType("button"); 349 RefPtr<MediaControlPlayButtonElement> button = adoptRef(new MediaControlPlayButtonElement(document)); local 388 RefPtr<MediaControlOverlayPlayButtonElement> button = adoptRef(new MediaControlOverlayPlayButtonElement(document)); local 431 RefPtr<MediaControlToggleClosedCaptionsButtonElement> button = adoptRef(new MediaControlToggleClosedCaptionsButtonElement(document, controls)); local 568 RefPtr<MediaControlFullscreenButtonElement> button = adoptRef(new MediaControlFullscreenButtonElement(document)); local [all...] |
/external/chromium-trace/trace-viewer/src/tracing/ |
timeline_view.css | 53 .timeline-view > .control > .controls > button, 128 .button.find-previous { 133 .button.find-next { 142 .button { 153 .button:hover { 160 .view-info-button { 166 .view-info-button:hover { 170 .view-import-errors-button { 175 .view-import-errors-button:hover {
|
/external/chromium_org/third_party/WebKit/Source/web/gtk/ |
WebInputEventFactory.cpp | 53 static WebKit::WebMouseEvent::Button gLastClickButton = WebKit::WebMouseEvent::ButtonNone; 474 result.button = WebMouseEvent::ButtonNone; 475 if (event->button == 1) 476 result.button = WebMouseEvent::ButtonLeft; 477 else if (event->button == 2) 478 result.button = WebMouseEvent::ButtonMiddle; 479 else if (event->button == 3) 480 result.button = WebMouseEvent::ButtonRight; 485 if (!forgetPreviousClick && result.button == gLastClickButton) 493 gLastClickButton = result.button; [all...] |
/external/chromium_org/ui/webui/resources/css/ |
overlay.css | 73 .overlay .page > .close-button { 85 html[dir='rtl'] .overlay .page > .close-button { 90 .overlay .page > .close-button:hover { 94 .overlay .page > .close-button:active { 137 .overlay .page .button-strip { 142 .overlay .page .button-strip > button { 147 .overlay .page .button-strip > .default-button:not(:focus) {
|
/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/chromium_org/chrome/browser/resources/print_preview/search/ |
destination_search.css | 36 #destination-search > .page > .close-button { 63 #destination-search .cloudprint-promo .sign-in.link-button { 78 #destination-search .cloudprint-promo .close-button { 87 #destination-search .cloudprint-promo .close-button:hover { 91 #destination-search .cloudprint-promo .close-button:active {
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
themeWin.css | 88 input[type="search"]::-webkit-search-cancel-button { 96 input[type="search"]::-webkit-search-results-button { 100 input::-webkit-outer-spin-button { 104 input[type="button"], input[type="submit"], input[type="reset"], input[type="file"]::-webkit-file-upload-button, button {
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderFileUploadControl.cpp | 67 if (HTMLInputElement* button = uploadButton()) { 71 button->setActive(newCanReceiveDroppedFilesState); 118 HTMLInputElement* button = uploadButton(); local 119 if (!button) 123 LayoutUnit buttonWidth = nodeWidth(button); 133 // We want to match the button's baseline 135 if (RenderButton* buttonRenderer = toRenderButton(button->renderer())) 168 if (HTMLInputElement* button = uploadButton()) 169 if (RenderObject* buttonRenderer = button->renderer()) 221 if (HTMLInputElement* button = uploadButton() [all...] |
/external/chromium_org/ui/views/controls/menu/ |
menu_runner.cc | 11 #include "ui/views/controls/button/menu_button.h" 73 MenuButton* button, 95 bool ShouldShowMnemonics(MenuButton* button); 161 // button is no longer valid. 170 MenuButton* button, 218 !for_drop_ && ShouldShowMnemonics(button)); 223 MenuItemView* result = controller->Run(parent, button, menu_, bounds, anchor, 292 bool MenuRunnerImpl::ShouldShowMnemonics(MenuButton* button) { 293 // Show mnemonics if the button has focus or alt is pressed. 294 bool show_mnemonics = button ? button->HasFocus() : false [all...] |
/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...] |
/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...] |
/external/chromium_org/chrome/browser/ui/gtk/panels/ |
panel_titlebar_gtk.cc | 148 CustomDrawButton* button = new CustomDrawButton(normal_image_id, local 152 gtk_widget_set_size_request(button->widget(), 155 gtk_widget_add_events(GTK_WIDGET(button->widget()), GDK_POINTER_MOTION_MASK); 156 g_signal_connect(button->widget(), "clicked", 160 gtk_widget_set_tooltip_text(button->widget(), 164 gtk_box_pack_start(GTK_BOX(box), button->widget(), FALSE, FALSE, 0); 165 return button; 263 void PanelTitlebarGtk::OnButtonClicked(GtkWidget* button) { 265 if (close_button_->widget() == button) { 273 if (minimize_button_->widget() == button) { [all...] |
/external/chromium_org/ui/views/window/ |
dialog_client_view.cc | 10 #include "ui/views/controls/button/blue_button.h" 11 #include "ui/views/controls/button/label_button.h" 133 // Make the newly focused button default or restore the dialog's default. 289 void DialogClientView::ButtonPressed(Button* sender, const ui::Event& event) { 353 LabelButton* button = NULL; local 357 button = new BlueButton(this, title); 359 button = new LabelButton(this, title); 360 button->SetStyle(Button::STYLE_NATIVE_TEXTBUTTON); 362 button->set_focusable(true) [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/chromium_org/chrome/browser/ui/views/bookmarks/ |
bookmark_bar_view_test.cc | 39 #include "ui/views/controls/button/menu_button.h" 40 #include "ui/views/controls/button/text_button.h" 54 ui_controls::MouseButton button, 58 ui_controls::SendMouseEventsNotifyWhenDone(button, state, closure); 143 // Calculate the preferred size so that one button doesn't fit, which 144 // triggers the overflow button to appear. 152 // we brute force search for a size that triggers the overflow button. 159 views::TextButton* button = GetBookmarkButton(6); variable 160 while (button->visible()) { 248 // Clicks on first menu, makes sure button is depressed. Moves mouse to firs 255 views::TextButton* button = GetBookmarkButton(0); variable 269 views::TextButton* button = GetBookmarkButton(0); local 288 views::TextButton* button = GetBookmarkButton(0); local 306 views::TextButton* button = GetBookmarkButton(0); variable 344 views::TextButton* button = GetBookmarkButton(0); local 360 views::MenuButton* button = bb_view_->other_bookmarked_button(); variable 466 views::TextButton* button = bb_view_->other_bookmarked_button(); variable 522 views::TextButton* button = GetBookmarkButton(0); variable 589 views::TextButton* button = bb_view_->overflow_button(); variable 630 views::TextButton* button = GetBookmarkButton(0); variable 730 views::TextButton* button = GetBookmarkButton(0); variable 791 views::TextButton* button = GetBookmarkButton(0); local 837 views::TextButton* button = GetBookmarkButton(0); variable 906 views::TextButton* button = GetBookmarkButton(0); variable 1020 views::TextButton* button = bb_view_->other_bookmarked_button(); variable 1087 views::TextButton* button = bb_view_->other_bookmarked_button(); variable 1179 views::TextButton* button = bb_view_->other_bookmarked_button(); variable 1263 views::TextButton* button = GetBookmarkButton(0); variable 1302 views::TextButton* button = bb_view_->other_bookmarked_button(); variable 1374 views::TextButton* button = GetBookmarkButton(0); variable 1388 views::TextButton* button = GetBookmarkButton(0); local 1414 views::TextButton* button = bb_view_->other_bookmarked_button(); variable 1491 views::TextButton* button = bb_view_->other_bookmarked_button(); variable 1505 views::TextButton* button = GetBookmarkButton(0); local 1539 views::TextButton* button = bb_view_->other_bookmarked_button(); variable 1568 views::TextButton* button = bb_view_->other_bookmarked_button(); local 1642 views::TextButton* button = GetBookmarkButton(0); local 1724 views::TextButton* button = GetBookmarkButton(5); variable 1771 views::TextButton* button = GetBookmarkButton(5); local [all...] |