/external/chromium/chrome/browser/resources/ |
wrench_menu.js | 14 * Decorate Button item. 86 this.cut_.className = 'edit-button left-button'; 88 this.copy_.className = 'edit-button center-button'; 90 this.paste_.className = 'edit-button right-button'; 181 * Decorate Zoom button item. 189 this.minus_.className = 'zoom-button left-button'; [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
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...] |
/packages/apps/Phone/res/layout/ |
otacall_card.xml | 32 - Speaker button 141 <!-- "Speaker" button --> 153 <!-- "Activate" button --> 154 <Button android:id="@+id/otaActivateButton" 158 <!-- "Skip" button --> <!-- TODO: borrowing another button's label for now because I missed the localization deadline for adding a @string/ota_skip --> 159 <Button android:id="@+id/otaSkipButton" 170 <!-- "End" button --> 171 <Button android:id="@+id/otaEndButton" 178 <!-- (4) OTA Success/Failure button -- [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...] |
/external/chromium/chrome/browser/ui/gtk/tabs/ |
tab_gtk.cc | 139 g_signal_connect(event_box_, "button-press-event", 141 g_signal_connect(event_box_, "button-release-event", 173 // Every button press ensures either a button-release-event or a drag-fail 175 if (event->button == 1 && event->type == GDK_BUTTON_PRESS) { 187 // Store the button press event, used to initiate a drag. 189 } else if (event->button == 3) { 190 // Only show the context menu if the left mouse button isn't down (i.e., 204 if (event->button == 1) { 214 // (like a button) [all...] |
/frameworks/base/core/java/android/widget/ |
RadioGroup.java | 30 * buttons. Checking one radio button that belongs to a radio group unchecks 31 * any previously checked radio button within the same group.</p> 34 * to uncheck a particular radio button, the radio group can be cleared to 37 * <p>The selection is identified by the unique id of the radio button as defined 77 // retrieve selected radio button as requested by the user in the 116 // checks the appropriate radio button as requested in the XML file 128 final RadioButton button = (RadioButton) child; local 129 if (button.isChecked()) { 135 setCheckedId(button.getId()); 143 * <p>Sets the selection to the radio button whose identifier is passed i [all...] |
CompoundButton.java | 35 * A button with two states, checked and unchecked. When the button is pressed 42 * CompoundButton Attributes}, {@link android.R.styleable#Button Button 47 public abstract class CompoundButton extends Button implements Checkable { 94 * which will need to be implemented in Button if we only override 109 * <p>Changes the checked state of this button.</p> 111 * @param checked true to check the button, false to uncheck it 136 * Register a callback to be invoked when the checked state of this button 146 * Register a callback to be invoked when the checked state of this button [all...] |
/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...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
RadioGroupTest.java | 140 // (PassThroughHierarchyChangeListener's behaviour when button is added) 153 // inject the tracker to the button when the button is added by 162 // the tracker informs the checked state change of the button to the group 166 // the tracker informs the checked state change of the button to the group 170 // remove the tracker from the button when the button is removed 226 // uncheck the original button 236 // why the method is called while none of the button is checked or unchecked? 246 // why the method is called while none of the button is checked or unchecked 434 RadioButton button = new RadioButton(mContext); local [all...] |
/external/chromium/chrome/browser/ui/cocoa/content_settings/ |
content_setting_bubble_cocoa.mm | 26 // Must match the tag of the unblock radio button in the xib files. 29 // Must match the tag of the block radio button in the xib files. 47 // Height of the "Clear" button in the geolocation bubble. 50 // Padding between radio buttons and "Load all plugins" button 173 // Select appropriate radio button. 212 NSButton* button = [[[NSButton alloc] initWithFrame:frame] autorelease]; 214 [button setCell:cell.get()]; 217 [button sizeToFit]; 219 NSRect buttonFrame = [button frame]; 222 [button setFrame:buttonFrame] [all...] |
/build/tools/droiddoc/templates-sdk/ |
docpage.cs | 28 <div class="training-nav-button-next"> 32 <span class="training-nav-button-title"><?cs var:next.title ?></span> 38 <div class="training-nav-button-next"> 42 <span class="training-nav-button-title"><?cs var:next.title ?></span> 50 <div class="training-nav-button-previous"> 54 <span class="training-nav-button-title"><?cs var:previous.title ?></span> 71 <div class="training-nav-button-next"> 75 <br/><span class="training-nav-button-title"><?cs var:next.title ?></span> 81 <div class="training-nav-button-previous"> 85 <br/><span class="training-nav-button-title"><?cs var:previous.title ?></span [all...] |
/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/resources/file_manager/ |
main.html | 105 <button class=detail-view 106 ><img src='images/icon-detail-view.png'></button 107 ><button class=thumbnail-view 108 ><img src='images/icon-thumb-view.png'></button> 109 <button i18n-content=NEW_FOLDER_BUTTON_LABEL class='new-folder' 112 ></button> 140 <button class=ok disabled>[OK]</button> 141 <button class=cancel i18n-content=CANCEL_LABEL>[CANCEL]</button> [all...] |
/external/chromium/chrome/browser/ui/cocoa/wrench_menu/ |
wrench_menu_controller.mm | 71 // Non-button item types should be built as normal items. 180 NSButton* button = views[i]; 181 CGFloat originalWidth = NSWidth([button frame]); 183 // Do not let |-sizeToFit| change the height of the button. 184 NSSize size = [button frame].size; 185 [button sizeToFit]; 186 size.width = [button frame].size.width + kButtonPadding; 187 [button setFrameSize:size]; 192 NSRect frame = [button frame]; 194 [button setFrame:frame] [all...] |
/external/qemu/distrib/sdl-1.2.12/src/events/ |
SDL_mouse.c | 57 /* We lost the mouse, so post button up messages for all pressed buttons */ 192 int SDL_PrivateMouseButton(Uint8 state, Uint8 button, Sint16 x, Sint16 y) 230 buttonstate |= SDL_BUTTON(button); 234 buttonstate &= ~SDL_BUTTON(button); 252 event.button.state = state; 253 event.button.button = button; 254 event.button.x = x; 255 event.button.y = y [all...] |
/external/webkit/Source/WebCore/css/ |
fullscreenQuickTime.css | 59 video:-webkit-full-screen::-webkit-media-controls-mute-button { 71 video:-webkit-full-screen::-webkit-media-controls-volume-slider-mute-button { 75 video:-webkit-full-screen::-webkit-media-controls-fullscreen-volume-min-button { 76 -webkit-appearance: media-mute-button; 95 video:-webkit-full-screen::-webkit-media-controls-fullscreen-volume-max-button { 96 -webkit-appearance: media-mute-button; 105 video:-webkit-full-screen::-webkit-media-controls-play-button { 113 video:-webkit-full-screen::-webkit-media-controls-rewind-button { 121 video:-webkit-full-screen::-webkit-media-controls-seek-back-button { 130 video:-webkit-full-screen::-webkit-media-controls-seek-forward-button { [all...] |
mediaControlsGtk.css | 42 audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-button { 47 audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button { 74 audio::-webkit-media-controls-seek-back-button, video::-webkit-media-controls-seek-back-button { 79 audio::-webkit-media-controls-seek-forward-button, video::-webkit-media-controls-seek-forward-button { 84 audio::-webkit-media-controls-fullscreen-button, video::-webkit-media-controls-fullscreen-button { [all...] |
/frameworks/base/docs/html/guide/tutorials/views/ |
hello-datepicker.jd | 24 <Button android:id="@+id/pickDate" 32 will display the date and a {@link android.widget.Button} that will initiate the DatePicker dialog. 33 With this layout, the TextView will sit above the Button. 41 private Button mPickDate; 56 mPickDate = (Button) findViewById(R.id.pickDate); 58 // add a click listener to the button 79 Then we create an on-click listener for the Button, so that when it is clicked it will 135 (clicks the "Set" button). At that time, this fires and we update our member fields with 141 <p>When you press the "Change the date" button, you should see the following:</p> 147 <li>{@link android.widget.Button}</li [all...] |
hello-timepicker.jd | 25 <Button android:id="@+id/pickTime" 33 will display the time and a {@link android.widget.Button} that will initiate the 35 With this layout, the TextView will sit above the Button. 43 private Button mPickTime; 57 mPickTime = (Button) findViewById(R.id.pickTime); 59 // add a click listener to the button 79 We then set an on-click listener for the Button, so that when it is clicked, it will 130 <p>Now when the user is done setting the time (clicks the "Set" button), we update our member fields with 149 <p>When you press the "Change the time" button, you should see the following:</p> 155 <li>{@link android.widget.Button}</li [all...] |
/frameworks/base/tests/BiDiTests/res/layout/ |
relative_layout_2_locale.xml | 42 <Button android:id="@+id/ok_1" 50 <Button android:layout_width="wrap_content" 73 <Button android:id="@+id/ok_2" 81 <Button android:layout_width="wrap_content" 104 <Button android:id="@+id/ok_3" 112 <Button android:layout_width="wrap_content" 135 <Button android:id="@+id/ok_4" 143 <Button android:layout_width="wrap_content" 166 <Button android:id="@+id/ok_4" 174 <Button android:layout_width="wrap_content [all...] |
relative_layout_2_ltr.xml | 42 <Button android:id="@+id/ok_1" 50 <Button android:layout_width="wrap_content" 73 <Button android:id="@+id/ok_2" 81 <Button android:layout_width="wrap_content" 104 <Button android:id="@+id/ok_3" 112 <Button android:layout_width="wrap_content" 135 <Button android:id="@+id/ok_4" 143 <Button android:layout_width="wrap_content" 166 <Button android:id="@+id/ok_4" 174 <Button android:layout_width="wrap_content [all...] |
relative_layout_2_rtl.xml | 42 <Button android:id="@+id/ok_1" 50 <Button android:layout_width="wrap_content" 73 <Button android:id="@+id/ok_2" 81 <Button android:layout_width="wrap_content" 104 <Button android:id="@+id/ok_3" 112 <Button android:layout_width="wrap_content" 135 <Button android:id="@+id/ok_4" 143 <Button android:layout_width="wrap_content" 166 <Button android:id="@+id/ok_4" 174 <Button android:layout_width="wrap_content [all...] |
/packages/apps/Settings/src/com/android/settings/ |
MediaFormat.java | 25 import android.widget.Button; 44 private Button mInitiateButton; 47 private Button mFinalButton; 53 private Button.OnClickListener mFinalClickListener = new Button.OnClickListener() { 105 private Button.OnClickListener mInitiateListener = new Button.OnClickListener() { 120 (Button) mFinalView.findViewById(R.id.execute_media_format); 128 * In its initial state, the activity presents a button for the user to 143 (Button) mInitialView.findViewById(R.id.initiate_media_format) [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
menu_gtk.h | 48 // Returns a tinted image used in button in a menu. 79 // Example: the wrench menu button. 80 // |button| is the mouse button that brought up the menu. 82 void PopupForWidget(GtkWidget* widget, int button, guint32 event_time); 85 // It is implicit that it was brought up using the right mouse button. 91 void PopupAsContextForStatusIcon(guint32 event_time, guint32 button, 101 // Repositions the menu to be right under the button. Alignment is set as 104 // button. Otherwise it aligns the right side of the menu with the right side 105 // of the button. Public since some menus have odd requirements that don' [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
ChooseAssetTypePage.java | 37 import org.eclipse.swt.widgets.Button; 45 private Button mClipboardButton; 79 Button button = new Button(container, SWT.RADIO); local 80 button.setData(type); 81 button.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false, 3, 1)); 82 button.setSelection(type == sType); 83 button.setText(type.getDisplayName()); 84 button.addSelectionListener(this) [all...] |