/frameworks/base/core/java/android/widget/ |
Button.java | 30 * <p>To display a button in an activity, add a button to the activity's layout XML file:</p> 33 * <Button 39 * <p>To specify an action when the button is pressed, set a click 40 * listener on the button object in the corresponding activity code:</p> 49 * final Button button = findViewById(R.id.button_id); 50 * button.setOnClickListener(new View.OnClickListener() { 52 * // Code here executes on main thread after user presses button 59 * the listener to the button usin [all...] |
MediaControlView2.java | 57 * Set focus to the play/pause button by calling requestPlayButtonFocus(). 61 * Those buttons will be shown when the overflow button is clicked. 80 public @interface Button {} 83 * MediaControlView2 button value for playing and pausing media. 88 * MediaControlView2 button value for jumping 30 seconds forward. 93 * MediaControlView2 button value for jumping 10 seconds backward. 98 * MediaControlView2 button value for jumping to next media. 103 * MediaControlView2 button value for jumping to previous media. 108 * MediaControlView2 button value for showing/hiding subtitle track. 113 * MediaControlView2 button value for toggling full screen [all...] |
NumberPicker.java | 74 * presents the current value as an editable input field with an increment button 75 * above and a decrement button below. Long pressing the buttons allows for a quick 212 * The increment button. 217 * The decrement button. 464 * Whether the increment virtual button is pressed. 469 * Whether the decrement virtual button is pressed. 711 // increment button 720 // decrement button [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/ |
AccessibleLinearLayout.java | 23 import android.widget.Button; 27 * Fake Button class, used so TextViews can announce themselves as Buttons, for accessibility. 41 event.setClassName(Button.class.getName()); 47 info.setClassName(Button.class.getName());
|
AccessibleTextView.java | 23 import android.widget.Button; 27 * Fake Button class, used so TextViews can announce themselves as Buttons, for accessibility. 41 event.setClassName(Button.class.getName()); 47 info.setClassName(Button.class.getName());
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ButtonTest.java | 25 import android.widget.Button; 40 new Button(context, attrs, 0); 41 new Button(context, attrs); 42 new Button(context); 47 new Button(null); 52 new Button(null, null); 57 new Button(null, null, -1);
|
/frameworks/base/core/java/com/android/internal/widget/ |
NotificationExpandButton.java | 25 import android.widget.Button; 30 * An expand button in a notification 70 info.setClassName(Button.class.getName());
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/ |
bootstrap.js | 155 * bootstrap-button.js v2.0.4 179 /* BUTTON PUBLIC CLASS DEFINITION 182 var Button = function (element, options) { 184 this.options = $.extend({}, $.fn.button.defaults, options) 187 Button.prototype.setState = function (state) { 206 Button.prototype.toggle = function () { 217 /* BUTTON PLUGIN DEFINITION 220 $.fn.button = function (option) { 223 , data = $this.data('button') 225 if (!data) $this.data('button', (data = new Button(this, options)) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
MultiUserSwitch.java | 29 import android.widget.Button; 176 event.setClassName(Button.class.getName()); 182 info.setClassName(Button.class.getName());
|
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/testing/ |
TestEvents.java | 89 public @interface Button {} 149 * Adds one or more button press attributes. 151 public Builder pressButton(@Button int... buttons) { 152 for (int button : buttons) { 153 mState.mButtons.add(button); 159 * Removes one or more button press attributes. 161 public Builder releaseButton(@Button int... buttons) { 162 for (int button : buttons) { 163 mState.mButtons.remove(button); 181 public Builder releaseKey(@Button int... keys) [all...] |
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
TestEvents.java | 88 public @interface Button {} 148 * Adds one or more button press attributes. 150 public Builder pressButton(@Button int... buttons) { 151 for (int button : buttons) { 152 mState.mButtons.add(button); 158 * Removes one or more button press attributes. 160 public Builder releaseButton(@Button int... buttons) { 161 for (int button : buttons) { 162 mState.mButtons.remove(button); 180 public Builder releaseKey(@Button int... keys) [all...] |
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/testing/ |
TestEvents.java | 88 public @interface Button {} 148 * Adds one or more button press attributes. 150 public Builder pressButton(@Button int... buttons) { 151 for (int button : buttons) { 152 mState.mButtons.add(button); 158 * Removes one or more button press attributes. 160 public Builder releaseButton(@Button int... buttons) { 161 for (int button : buttons) { 162 mState.mButtons.remove(button); 180 public Builder releaseKey(@Button int... keys) [all...] |
/test/vti/test_serving/gae/webapp/static/bootstrap/js/ |
bootstrap.js | 159 * bootstrap-button.js v2.3.1 183 /* BUTTON PUBLIC CLASS DEFINITION 186 var Button = function (element, options) { 188 this.options = $.extend({}, $.fn.button.defaults, options) 191 Button.prototype.setState = function (state) { 210 Button.prototype.toggle = function () { 221 /* BUTTON PLUGIN DEFINITION 224 var old = $.fn.button 226 $.fn.button = function (option) { 229 , data = $this.data('button') [all...] |
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
AppCompatButton.java | 28 import android.widget.Button; 41 * A {@link Button} which supports compatible features on older versions of the platform, 50 * <p>This will automatically be used when you use {@link Button} in your layouts 55 public class AppCompatButton extends Button implements TintableBackgroundView, 174 event.setClassName(Button.class.getName()); 180 info.setClassName(Button.class.getName());
|
/prebuilts/gdb/darwin-x86/lib/python2.7/lib-tk/ |
ttk.py | 19 __all__ = ["Button", "Checkbutton", "Combobox", "Entry", "Frame", "Label", 161 ("Menubutton.button", {"children": 174 Menubutton.button -children { 593 class Button(Widget): 594 """Ttk Button widget, displays a textual label and/or image, and 598 """Construct a Ttk Button widget with the parent master. 609 Widget.__init__(self, master, "ttk::button", kw) 613 """Invokes the command associated with the button.""" [all...] |
Tkinter.py | 5 widgets are Frame, Label, Entry, Text, Canvas, Button, Radiobutton, 28 button = Tkinter.Button(frame,text="Exit",command=tk.destroy) 29 button.pack(side=BOTTOM) 144 num - mouse button pressed (ButtonPress, ButtonRelease) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/lib-tk/ |
ttk.py | 19 __all__ = ["Button", "Checkbutton", "Combobox", "Entry", "Frame", "Label", 161 ("Menubutton.button", {"children": 174 Menubutton.button -children { 593 class Button(Widget): 594 """Ttk Button widget, displays a textual label and/or image, and 598 """Construct a Ttk Button widget with the parent master. 609 Widget.__init__(self, master, "ttk::button", kw) 613 """Invokes the command associated with the button.""" [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/ |
ttk.py | 19 __all__ = ["Button", "Checkbutton", "Combobox", "Entry", "Frame", "Label", 161 ("Menubutton.button", {"children": 174 Menubutton.button -children { 593 class Button(Widget): 594 """Ttk Button widget, displays a textual label and/or image, and 598 """Construct a Ttk Button widget with the parent master. 609 Widget.__init__(self, master, "ttk::button", kw) 613 """Invokes the command associated with the button.""" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/ |
ttk.py | 19 __all__ = ["Button", "Checkbutton", "Combobox", "Entry", "Frame", "Label", 161 ("Menubutton.button", {"children": 174 Menubutton.button -children { 593 class Button(Widget): 594 """Ttk Button widget, displays a textual label and/or image, and 598 """Construct a Ttk Button widget with the parent master. 609 Widget.__init__(self, master, "ttk::button", kw) 613 """Invokes the command associated with the button.""" [all...] |
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityEndToEndTest.java | 62 import android.widget.Button; 143 expected.setClassName(Button.class.getName()); 148 final Button button = (Button) getActivity().findViewById(R.id.button); local 159 button.performClick(); 180 expected.setClassName(Button.class.getName()); 185 final Button button = (Button) getActivity().findViewById(R.id.button) local 224 final Button button = (Button) getActivity().findViewById(R.id.buttonWithTooltip); local [all...] |
/external/python/cpython2/Lib/lib-tk/ |
ttk.py | 19 __all__ = ["Button", "Checkbutton", "Combobox", "Entry", "Frame", "Label", 161 ("Menubutton.button", {"children": 174 Menubutton.button -children { 594 class Button(Widget): 595 """Ttk Button widget, displays a textual label and/or image, and 599 """Construct a Ttk Button widget with the parent master. 610 Widget.__init__(self, master, "ttk::button", kw) 614 """Invokes the command associated with the button.""" [all...] |
Tkinter.py | 5 widgets are Frame, Label, Entry, Text, Canvas, Button, Radiobutton, 28 button = Tkinter.Button(frame,text="Exit",command=tk.destroy) 29 button.pack(side=BOTTOM) 167 num - mouse button pressed (ButtonPress, ButtonRelease) [all...] |
/external/python/cpython3/Lib/tkinter/ |
ttk.py | 19 __all__ = ["Button", "Checkbutton", "Combobox", "Entry", "Frame", "Label", 161 ("Menubutton.button", {"children": 174 Menubutton.button -children { 598 class Button(Widget): 599 """Ttk Button widget, displays a textual label and/or image, and 603 """Construct a Ttk Button widget with the parent master. 614 Widget.__init__(self, master, "ttk::button", kw) 618 """Invokes the command associated with the button.""" [all...] |
__init__.py | 5 widgets are Frame, Label, Entry, Text, Canvas, Button, Radiobutton, 28 button = tkinter.Button(frame,text="Exit",command=tk.destroy) 29 button.pack(side=BOTTOM) 142 Button = ButtonPress, 198 num - mouse button pressed (ButtonPress, ButtonRelease) [all...] |
/frameworks/support/media-widget/src/main/java/androidx/media/widget/ |
MediaControlView2.java | 89 * 1) Set focus to the play/pause button by calling requestPlayButtonFocus(). 113 public @interface Button {} 116 * MediaControlView2 button value for playing and pausing media. 122 * MediaControlView2 button value for jumping 30 seconds forward. 128 * MediaControlView2 button value for jumping 10 seconds backward. 134 * MediaControlView2 button value for jumping to next media. 140 * MediaControlView2 button value for jumping to previous media. 146 * MediaControlView2 button value for showing/hiding subtitle track. 152 * MediaControlView2 button value for toggling full screen. 158 * MediaControlView2 button value for showing/hiding overflow buttons 1626 ImageButton button = new ImageButton(getContext(), local [all...] |