HomeSort by relevance Sort by last modified time
    Searched refs:button (Results 1 - 25 of 394) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/ImageMagick/Magick++/demo/
button.cpp 2 // Magick++ demo to generate a simple text button
36 // Button size
39 // Button background texture
42 // Button text
43 string text = "Button Text";
45 // Button text color
55 Image button; local
57 // Set button size
58 button.size( buttonSize );
61 button.read( backGround )
    [all...]
  /external/python/cpython2/Demo/tkinter/guido/
hello.py 1 # Display hello, world in a button; clicking it quits the program
8 button = Button(root)
9 button['text'] = 'Hello, world'
10 button['command'] = quit_callback # See below
11 button.pack()
  /external/autotest/frontend/client/src/autotest/afe/
RadioChooser.java 28 IRadioButton button = display.generateRadioButton(groupName, choice); local
30 // first button in this group
31 defaultButton = button;
32 button.setValue(true);
34 radioButtons.add(button);
38 for (IRadioButton button : radioButtons) {
39 if (button.getValue()) {
40 return button.getText();
43 throw new RuntimeException("No radio button selected");
61 for (IRadioButton button : radioButtons)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
ChronometerDemo.java 28 import android.widget.Button;
40 Button button; local
44 // Watch for button clicks.
45 button = (Button) findViewById(R.id.start);
46 button.setOnClickListener(mStartListener);
48 button = (Button) findViewById(R.id.stop);
49 button.setOnClickListener(mStopListener)
    [all...]
ProgressBar1.java 22 import android.widget.Button;
47 Button button = (Button) findViewById(R.id.increase); local
48 button.setOnClickListener(new Button.OnClickListener() {
56 button = (Button) findViewById(R.id.decrease);
57 button.setOnClickListener(new Button.OnClickListener()
    [all...]
  /cts/tests/autofillservice/src/android/autofillservice/cts/
OneTimeCompoundButtonListener.java 35 private final CompoundButton button; field in class:OneTimeCompoundButtonListener
38 OneTimeCompoundButtonListener(String name, CompoundButton button,
41 this.button = button;
54 final boolean actual = button.isChecked();
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
TvAppVerifierActivity.java 23 import android.widget.Button;
61 View button = item.findViewById(R.id.user_action_button); local
62 button.setFocusable(enabled);
63 button.setClickable(enabled);
64 button.setEnabled(enabled);
85 Button button = (Button) item.findViewById(R.id.user_action_button); local
86 button.setVisibility(View.VISIBLE);
87 button.setText(buttonTextId)
101 Button button = (Button) item.findViewById(R.id.user_action_button); local
126 Button button = (Button) item.findViewById(R.id.user_action_button); local
    [all...]
  /external/libvterm/src/
mouse.c 66 int button = state->mouse_buttons & 0x01 ? 1 : local
69 output_mouse(state, button-1 + 0x20, 1, mod, col, row);
73 void vterm_mouse_button(VTerm *vt, int button, bool pressed, VTermModifier mod)
79 if(button > 0 && button <= 3) {
81 state->mouse_buttons |= (1 << (button-1));
83 state->mouse_buttons &= ~(1 << (button-1));
86 /* Most of the time we don't get button releases from 4/5 */
87 if(state->mouse_buttons == old_buttons && button < 4)
90 if(button < 4)
    [all...]
  /external/setupdesign/main/src/com/google/android/setupdesign/items/
ButtonItem.java 27 import android.widget.Button;
31 * Description of a button inside {@link com.google.android.setupdesign.items.ButtonBarItem}. This
45 private Button button; field in class:ButtonItem
73 * The theme to use for this button. This can be used to create button of a particular style (e.g.
74 * a colored or borderless button). Typically {@code android:buttonStyle} will be set in the theme
75 * to change the style applied by the button.
81 button = null;
84 /** @return Resource ID of the theme used by this button. *
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
StatusBarNotifications.java 29 import android.widget.Button;
48 Button button; local
53 button = (Button) findViewById(R.id.happy);
54 button.setOnClickListener(new Button.OnClickListener() {
61 button = (Button) findViewById(R.id.neutral);
62 button.setOnClickListener(new Button.OnClickListener()
    [all...]
NotifyingController.java 28 import android.widget.Button;
41 Button button = (Button) findViewById(R.id.notifyStart); local
42 button.setOnClickListener(mStartListener);
43 button = (Button) findViewById(R.id.notifyStop);
44 button.setOnClickListener(mStopListener);
JobWorkServiceActivity.java 28 import android.widget.Button;
49 // Watch for button clicks.
50 Button button = findViewById(R.id.enqueue1); local
51 button.setOnClickListener(mEnqueue1Listener);
52 button = findViewById(R.id.enqueue2);
53 button.setOnClickListener(mEnqueue2Listener);
54 button = findViewById(R.id.enqueue3);
55 button.setOnClickListener(mEnqueue3Listener);
56 button = findViewById(R.id.kill)
    [all...]
Animation.java 32 import android.widget.Button;
47 // Watch for button clicks.
48 Button button = (Button)findViewById(R.id.fade_animation); local
49 button.setOnClickListener(mFadeListener);
50 button = (Button)findViewById(R.id.zoom_animation);
51 button.setOnClickListener(mZoomListener);
53 button = (Button)findViewById(R.id.modern_fade_animation)
    [all...]
NotifyWithText.java 22 import android.widget.Button;
28 * When you push the button on this Activity, it creates a {@link Toast} object and
43 Button button; local
46 button = (Button) findViewById(R.id.short_notify);
47 button.setOnClickListener(new Button.OnClickListener() {
67 button = (Button) findViewById(R.id.long_notify)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/content/
DocumentsSample.java 34 import android.widget.Button;
77 Button button; local
78 button = new Button(context);
79 button.setText("OPEN_DOC */*");
80 button.setOnClickListener(new OnClickListener() {
95 view.addView(button);
97 button = new Button(context)
    [all...]
  /external/python/cpython2/Lib/idlelib/
ToolTip.py 10 def __init__(self, button):
11 self.button = button
15 self._id1 = self.button.bind("<Enter>", self.enter)
16 self._id2 = self.button.bind("<Leave>", self.leave)
17 self._id3 = self.button.bind("<ButtonPress>", self.leave)
28 self.id = self.button.after(1500, self.showtip)
34 self.button.after_cancel(id)
39 # The tip window must be completely outside the button;
43 x = self.button.winfo_rootx() + 2
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
TouchDelegateTestActivity.java 26 import android.widget.Button;
42 * | (touches in this region should go to button + parent)
45 * | <-- Button top boundary
65 final Button button = findViewById(R.id.button); local
75 button.getLocationOnScreen(buttonLocation);
80 button.getHitRect(rect);
81 rect.top -= gap / 2; // TouchDelegate is halfway between button and parent
82 parent.setTouchDelegate(new TouchDelegate(rect, button));
    [all...]
  /external/toybox/kconfig/lxdialog/
yesno.c 44 int i, x, y, key = 0, button = 0; local
93 button = ((key == KEY_LEFT ? --button : ++button) < 0) ? 1 : (button > 1 ? 0 : button);
95 print_buttons(dialog, height, width, button);
101 return button;
  /external/u-boot/arch/arm/dts/
sun6i-a31s-inet-q972.dts 76 button@200 {
83 button@900 {
90 button@1200 {
sun4i-a10-inet9f-rev03.dts 71 button@0 {
79 button@1 {
87 button@2 {
95 button@3 {
103 button@4 {
111 button@5 {
119 button@6 {
127 button@7 {
135 button@8 {
143 button@9
    [all...]
  /external/python/cpython3/Lib/idlelib/idle_test/
test_tooltip.py 7 from tkinter import Button, Tk, Toplevel
39 button = Button(top, text='ToolTip test button')
40 button.pack()
41 testobj.addCleanup(button.destroy)
43 return top, button
48 self.top, self.button = _make_top_and_button(self)
55 button = Button(top, text='ToolTip test button'
    [all...]
  /external/setupdesign/main/src/com/google/android/setupdesign/template/
RequireScrollMixin.java 27 import android.widget.Button;
76 // Whether the user have seen the more button yet.
116 * the button. If {@code null}, the click listener will be a no-op when scroll is not
135 * Coordinate with the given navigation bar to require scrolling on the page. The more button will
136 * be shown instead of the next button while scrolling is required.
151 /** @see #requireScrollWithButton(Button, CharSequence, OnClickListener) */
153 @NonNull Button button, @StringRes int moreText, @Nullable OnClickListener onClickListener) {
154 requireScrollWithButton(button, button.getContext().getText(moreText), onClickListener)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/widgets/
ProjectionWidgetActivity.java 25 import android.widget.Button;
61 Button button; local
63 button = (Button) view.findViewById(R.id.up_button);
64 button.setOnClickListener(new InjectDPadClickListener(KeyEvent.KEYCODE_DPAD_UP));
67 button = (Button) view.findViewById(R.id.down_button);
68 button.setOnClickListener(new InjectDPadClickListener(KeyEvent.KEYCODE_DPAD_DOWN));
  /development/samples/ApiDemos/src/com/example/android/apis/accessibility/
ClockBackActivity.java 47 ImageButton button = (ImageButton) findViewById(R.id.button); local
48 button.setOnClickListener(new View.OnClickListener() {
TaskListActivity.java 51 ImageButton button = (ImageButton) findViewById(R.id.button); local
52 button.setOnClickListener(new View.OnClickListener() {

Completed in 991 milliseconds

1 2 3 4 5 6 7 8 91011>>