HomeSort by relevance Sort by last modified time
    Searched refs:button (Results 1 - 25 of 911) 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()
  /frameworks/support/compat/src/main/java/androidx/core/widget/
CompoundButtonCompat.java 44 * Applies a tint to the button drawable. Does not modify the current tint
55 public static void setButtonTintList(@NonNull CompoundButton button,
58 button.setButtonTintList(tint);
59 } else if (button instanceof TintableCompoundButton) {
60 ((TintableCompoundButton) button).setSupportButtonTintList(tint);
65 * Returns the tint applied to the button drawable
70 public static ColorStateList getButtonTintList(@NonNull CompoundButton button) {
72 return button.getButtonTintList();
74 if (button instanceof TintableCompoundButton) {
75 return ((TintableCompoundButton) button).getSupportButtonTintList()
    [all...]
  /packages/apps/Dialer/java/com/android/incallui/incall/impl/
ButtonController.java 36 /** Manages a single button. */
52 void setButton(CheckableLabeledButton button);
56 private static void resetButton(CheckableLabeledButton button) {
57 if (button != null) {
58 button.setOnCheckedChangeListener(null);
59 button.setOnClickListener(null);
73 protected CheckableLabeledButton button; field in class:ButtonController.CheckableButtonController
95 if (button != null) {
96 button.setEnabled(isEnabled);
108 if (button != null)
194 protected CheckableLabeledButton button; field in class:ButtonController.NonCheckableButtonController
312 private CheckableLabeledButton button; field in class:ButtonController.SpeakerButtonController
    [all...]
  /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...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/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...]
  /prebuilts/gdb/linux-x86/lib/python2.7/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...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/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...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/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...]
  /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...]
  /frameworks/base/core/tests/coretests/src/android/animation/
ObjectAnimatorEventsTest.java 18 import android.widget.Button;
29 Button button = (Button) activity.findViewById(R.id.animatingButton); local
31 mAnimator = ObjectAnimator.ofFloat(button, "translationX", 0, 100);
  /test/vti/dashboard/src/main/webapp/css/
show_plan_release.css 15 .page-button-wrapper {
  /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();
  /frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
UniqueIds.java 25 import android.widget.Button;
36 HashMap<Button, ToggleScene> mSceneMap = new HashMap<Button, ToggleScene>();
45 Button button = (Button) inflater.inflate(R.layout.button_template, null); local
46 container.addView(button);
47 ToggleScene scene = new ToggleScene(container, button);
48 mSceneMap.put(button, scene);
49 button = (Button) inflater.inflate(R.layout.button_template, null)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/
ButtonManager.java 91 /** A listener for button enabled and visibility
98 /** Whether Camera Button can be enabled by generic operations. */
119 * to prevent stale references button views.
126 * ButtonStatusListener provides callbacks for when button's
131 * A button's visibility has changed.
136 * A button's enabled state has changed.
184 MultiToggleImageButton button = null; local
190 button = getButtonOrError(BUTTON_FLASH);
194 button = getButtonOrError(BUTTON_TORCH);
198 button = getButtonOrError(BUTTON_HDR_PLUS_FLASH)
349 MultiToggleImageButton button = getButtonOrError(buttonId); local
390 ImageButton button = getImageButtonOrError(buttonId); local
446 View button; local
490 ImageButton button; local
514 ImageButton button = getButtonOrError(buttonId); local
526 ImageButton button = getButtonOrError(buttonId); local
536 View button; local
554 View button; local
633 View button; local
652 View button; local
    [all...]
  /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...]
  /frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
ButtonActivityTest.java 21 import android.widget.Button;
35 final Button button = (Button) mTargetActivity.findViewById(ButtonActivity.BUTTON_ID); local
37 // Push button
41 button.requestFocus();
52 // imm.mServedInputConnection should be null since Button doesn't override onCreateInputConnection().
55 destructiveCheckImeInitialState(mTargetActivity.getRootView(), button); local
  /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...]
  /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...]
  /external/python/cpython3/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...]
  /frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
VectorDrawableAnimation.java 22 import android.widget.Button;
31 final Button button = new Button(this); local
32 button.setBackgroundResource(R.drawable.animation_drawable_vector);
34 button.setOnClickListener(new View.OnClickListener() {
43 setContentView(button);
  /packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/
CarServiceSettingsActivity.java 22 import android.widget.Button;
34 Button button = new Button(this); local
35 button.setText("Finish");
36 button.setOnClickListener(new View.OnClickListener() {
42 setListFooter(button);
  /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
ButtonFooterMixin.java 29 import android.widget.Button;
37 * A {@link Mixin} for managing buttons. By default, the button bar follows the GLIF design and
61 * Add a button with the given text and style. Common style for GLIF are
64 * @param text The label for the button.
65 * @param theme Theme resource to be used for this button. Since this is applied as a theme,
67 * applied to the button as a style as well.
69 * @return The button that was created.
71 public Button addButton(CharSequence text, @StyleRes int theme) {
72 Button button = createThemedButton(mContext, theme) local
89 Button button = createThemedButton(mContext, theme); local
    [all...]

Completed in 847 milliseconds

1 2 3 4 5 6 7 8 91011>>