Home
last modified time | relevance | path

Searched refs:button (Results 1 – 25 of 603) sorted by relevance

12345678910>>...25

/external/chromium-trace/catapult/third_party/polymer/components/paper-button/
DREADME.md2 …//travis-ci.org/PolymerElements/paper-button.svg?branch=master)](https://travis-ci.org/PolymerElem…
3 …nents.org-published-blue.svg)](https://beta.webcomponents.org/element/PolymerElements/paper-button)
5 ##<paper-button>
9 `paper-button` is a button. When the user touches the button, a ripple effect emanates
10 from the point of contact. It may be flat or raised. A raised button is styled with a
20 <link rel="import" href="paper-button.html">
26 paper-button {
32 paper-button.pink {
34 --paper-button-ink-color: var(--paper-pink-a200);
36 paper-button.pink:hover {
[all …]
/external/python/cpython2/Doc/tools/static/
Dcopybutton.js27 var button = $('<span class="copybutton">&gt;&gt;&gt;</span>');
28 button.css(button_styles)
29 button.attr('title', hide_text);
30 button.data('hidden', 'false');
31 jthis.prepend(button);
43 var button = $(this);
44 if (button.data('hidden') === 'false') {
46 button.parent().find('.go, .gp, .gt').hide();
47 button.next('pre').find('.gt').nextUntil('.gp, .go').css('visibility', 'hidden');
48 button.css('text-decoration', 'line-through');
[all …]
/external/ImageMagick/Magick++/demo/
Dbutton.cpp55 Image button; in main() local
58 button.size( buttonSize ); in main()
61 button.read( backGround ); in main()
65 button.texture( backgroundTexture ); in main()
69 button.fillColor( textColor ); in main()
70 button.fontPointsize( fontPointSize ); in main()
72 button.font(string(getenv("MAGICK_FONT"))); in main()
73 button.annotate( text, CenterGravity ); in main()
77 button.borderColor( border ); in main()
78 button.frame( "6x6+3+3" ); in main()
[all …]
/external/setupcompat/main/java/com/google/android/setupcompat/template/
DFooterButtonStyleUtils.java50 Context context, Button button, boolean applyDynamicColor) { in applyPrimaryButtonPartnerResource() argument
68 button, in applyPrimaryButtonPartnerResource()
76 Context context, Button button, boolean applyDynamicColor) { in applySecondaryButtonPartnerResource() argument
102 button, in applySecondaryButtonPartnerResource()
110 Button button, in applyButtonPartnerResources() argument
119 if (button.isEnabled()) { in applyButtonPartnerResources()
121 context, button, footerButtonPartnerConfig.getButtonTextColorConfig()); in applyButtonPartnerResources()
125 button, in applyButtonPartnerResources()
132 button, in applyButtonPartnerResources()
137 context, button, footerButtonPartnerConfig.getButtonTextSizeConfig()); in applyButtonPartnerResources()
[all …]
DFooterBarMixin.java103 Button button = buttonContainer.findViewById(id); in createButtonEventListener()
104 if (button != null) { in createButtonEventListener()
105 button.setEnabled(enabled); in createButtonEventListener()
108 button, in createButtonEventListener()
120 Button button = buttonContainer.findViewById(id); in createButtonEventListener() local
121 if (button != null) { in createButtonEventListener()
122 button.setVisibility(visibility); in createButtonEventListener()
131 Button button = buttonContainer.findViewById(id); in createButtonEventListener() local
132 if (button != null) { in createButtonEventListener()
133 button.setText(text); in createButtonEventListener()
[all …]
/external/libxkbcommon/test/data/compat/
Dmousekeys69 action = PointerButton(button=default);
72 action = PointerButton(button=default);
76 action = SetPtrDflt(affect=defaultButton,button=1);
79 action = SetPtrDflt(affect=defaultButton,button=1);
83 action = SetPtrDflt(affect=defaultButton,button=2);
86 action = SetPtrDflt(affect=defaultButton,button=2);
90 action = SetPtrDflt(affect=defaultButton,button=3);
93 action = SetPtrDflt(affect=defaultButton,button=3);
97 action = PointerButton(button=default,count=2);
100 action = PointerButton(button=default,count=2);
[all …]
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_tooltip.py43 button = Button(top, text='ToolTip test button')
44 button.pack()
45 testobj.addCleanup(button.destroy)
47 return top, button
52 self.top, self.button = _make_top_and_button(self)
59 button = Button(top, text='ToolTip test button')
60 button.pack()
61 self.addCleanup(button.destroy)
64 tooltip = TooltipBase(button)
70 self.top, self.button = _make_top_and_button(self)
[all …]
/external/python/cpython2/Lib/idlelib/
DToolTip.py10 def __init__(self, button): argument
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)
43 x = self.button.winfo_rootx() + 20
44 y = self.button.winfo_rooty() + self.button.winfo_height() + 1
45 self.tipwindow = tw = Toplevel(self.button)
[all …]
/external/autotest/frontend/client/src/autotest/afe/
DRadioChooser.java28 IRadioButton button = display.generateRadioButton(groupName, choice); in addChoice() local
31 defaultButton = button; in addChoice()
32 button.setValue(true); in addChoice()
34 radioButtons.add(button); in addChoice()
38 for (IRadioButton button : radioButtons) { in getSelectedChoice()
39 if (button.getValue()) { in getSelectedChoice()
40 return button.getText(); in getSelectedChoice()
61 for (IRadioButton button : radioButtons) { in findButtonForChoice()
62 if (button.getText().equals(choice)) { in findButtonForChoice()
63 return button; in findButtonForChoice()
/external/setupdesign/main/src/com/google/android/setupdesign/items/
DButtonItem.java45 private Button button; field in ButtonItem
81 button = null; in setTheme()
121 if (button == null) { in createButton()
126 button = createButton(context); in createButton()
127 button.setOnClickListener(this); in createButton()
129 if (button.getParent() instanceof ViewGroup) { in createButton()
132 ((ViewGroup) button.getParent()).removeView(button); in createButton()
135 button.setEnabled(enabled); in createButton()
136 button.setText(text); in createButton()
137 button.setId(getViewId()); in createButton()
[all …]
/external/setupdesign/main/src/com/google/android/setupdesign/template/
DRequireScrollMixin.java153 @NonNull Button button, @StringRes int moreText, @Nullable OnClickListener onClickListener) {
154 requireScrollWithButton(button, button.getContext().getText(moreText), onClickListener);
175 @NonNull final Button button,
178 final CharSequence nextText = button.getText();
179 button.setOnClickListener(createOnClickListener(onClickListener));
184 button.setText(scrollNeeded ? moreText : nextText);
209 @NonNull FooterButton button,
212 requireScrollWithButton(button, context.getText(moreText), onClickListener);
233 @NonNull final FooterButton button,
236 final CharSequence nextText = button.getText();
[all …]
/external/fmtlib/doc/bootstrap/
Dbuttons.less20 ….button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base;…
61 .button-variant(@btn-default-color; @btn-default-bg; @btn-default-border);
64 .button-variant(@btn-primary-color; @btn-primary-bg; @btn-primary-border);
68 .button-variant(@btn-success-color; @btn-success-bg; @btn-success-border);
72 .button-variant(@btn-info-color; @btn-info-bg; @btn-info-border);
76 .button-variant(@btn-warning-color; @btn-warning-bg; @btn-warning-border);
80 .button-variant(@btn-danger-color; @btn-danger-bg; @btn-danger-border);
87 // Make a button look and behave like a link
128 // line-height: ensure even-numbered height of button next to large input
129 ….button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-la…
[all …]
/external/setupdesign/main/src/com/google/android/setupdesign/util/
DButtonStyler.java27 public static void applyPartnerCustomizationPrimaryButtonStyle(Context context, Button button) { in applyPartnerCustomizationPrimaryButtonStyle() argument
28 if (button == null || context == null) { in applyPartnerCustomizationPrimaryButtonStyle()
32 context, button, ThemeHelper.shouldApplyDynamicColor(context)); in applyPartnerCustomizationPrimaryButtonStyle()
36 public static void applyPartnerCustomizationSecondaryButtonStyle(Context context, Button button) { in applyPartnerCustomizationSecondaryButtonStyle() argument
37 if (button == null || context == null) { in applyPartnerCustomizationSecondaryButtonStyle()
41 context, button, ThemeHelper.shouldApplyDynamicColor(context)); in applyPartnerCustomizationSecondaryButtonStyle()
/external/toybox/kconfig/lxdialog/
Dyesno.c44 int i, x, y, key = 0, button = 0; in dialog_yesno() local
93 button = ((key == KEY_LEFT ? --button : ++button) < 0) ? 1 : (button > 1 ? 0 : button); in dialog_yesno()
95 print_buttons(dialog, height, width, button); in dialog_yesno()
101 return button; in dialog_yesno()
Dinputbox.c48 int input_x = 0, scroll = 0, key = 0, button = -1; in dialog_inputbox() local
118 if (button == -1) { /* Input box selected */ in dialog_inputbox()
181 switch (button) { in dialog_inputbox()
183 button = 1; /* Indicates "Cancel" button is selected */ in dialog_inputbox()
187 button = -1; /* Indicates input box is selected */ in dialog_inputbox()
193 button = 0; /* Indicates "OK" button is selected */ in dialog_inputbox()
201 switch (button) { in dialog_inputbox()
203 button = 0; /* Indicates "OK" button is selected */ in dialog_inputbox()
207 button = 1; /* Indicates "Cancel" button is selected */ in dialog_inputbox()
211 button = -1; /* Indicates input box is selected */ in dialog_inputbox()
[all …]
/external/clang/test/SemaObjC/
Darc-jump-block.m19 - (void)choose:(int)button {
20 switch (button) {
37 switch (button) {
44 if (button)
48 while (button)
55 switch (button) {
62 if (button)
64 switch (button) {
75 while (button)
/external/llvm-project/clang/test/SemaObjC/
Darc-jump-block.m19 - (void)choose:(int)button {
20 switch (button) {
37 switch (button) {
44 if (button)
48 while (button)
55 switch (button) {
62 if (button)
64 switch (button) {
75 while (button)
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/
DRbnfDemo.java262 Button button = new Button("+100"); in createDemoFrame() local
263 button.addActionListener( new ActionListener() { in createDemoFrame()
269 panel2.add(button); in createDemoFrame()
270 button = new Button("+10"); in createDemoFrame()
271 button.addActionListener( new ActionListener() { in createDemoFrame()
277 panel2.add(button); in createDemoFrame()
278 button = new Button("+1"); in createDemoFrame()
279 button.addActionListener( new ActionListener() { in createDemoFrame()
285 panel2.add(button); in createDemoFrame()
286 button = new Button("<"); in createDemoFrame()
[all …]
/external/proguard/src/proguard/gui/
DTabbedPane.java80 JToggleButton button = new JToggleButton(title); in add() local
84 button.setModel(new JToggleButton.ToggleButtonModel() in add()
118 button.addActionListener(new ActionListener() in add()
127 buttonGroup.add(button); in add()
132 button.setSelected(true); in add()
136 add(button, buttonConstraints); in add()
224 JToggleButton button = (JToggleButton)getComponent(index+1); in updateButtonSelection() local
225 button.setSelected(true); in updateButtonSelection()
/external/eigen/demos/opengl/
DREADME3 left button: rotate around the target
4 middle button: zoom
5 left button + ctrl quake rotate (rotate around camera position)
6 middle button + ctrl walk (progress along camera's z direction)
7 left button: pan (translate in the XY camera's plane)
/external/angle/util/x11/
DX11Window.cpp504 MouseButton button = MOUSEBUTTON_UNKNOWN; in processEvent() local
508 switch (xEvent.xbutton.button) in processEvent()
522 button = MOUSEBUTTON_LEFT; in processEvent()
525 button = MOUSEBUTTON_MIDDLE; in processEvent()
528 button = MOUSEBUTTON_RIGHT; in processEvent()
531 button = MOUSEBUTTON_BUTTON4; in processEvent()
534 button = MOUSEBUTTON_BUTTON5; in processEvent()
548 if (button != MOUSEBUTTON_UNKNOWN) in processEvent()
551 event.MouseButton.Button = button; in processEvent()
562 MouseButton button = MOUSEBUTTON_UNKNOWN; in processEvent() local
[all …]
/external/python/cpython2/Demo/tkinter/guido/
Dswitch.py22 button = Button(self.buttonframe, text=name,
24 button.pack(side=LEFT)
27 self.panels[name] = (button, frame, instance)
32 (button, frame, instance) = self.panels[name]
45 self.button = Button(frame, text="Press me")
46 self.button.pack()
Dhello.py8 button = Button(root)
9 button['text'] = 'Hello, world'
10 button['command'] = quit_callback # See below
11 button.pack()
/external/libxkbcommon/test/data/keymaps/
Dno-types.xkb486 action= PtrBtn(button=default);
490 action= PtrBtn(button=default);
494 action= SetPtrDflt(affect=button,button=1);
498 action= SetPtrDflt(affect=button,button=1);
502 action= SetPtrDflt(affect=button,button=2);
506 action= SetPtrDflt(affect=button,button=2);
510 action= SetPtrDflt(affect=button,button=3);
514 action= SetPtrDflt(affect=button,button=3);
518 action= PtrBtn(button=default,count=2);
522 action= PtrBtn(button=default,count=2);
[all …]
/external/grpc-grpc/examples/csharp/HelloworldXamarin/Droid/
DMainActivity.cs43 Button button = FindViewById<Button>(Resource.Id.myButton); in OnCreate()
45 button.Click += delegate { SayHello(button); }; in OnCreate()
48 private void SayHello(Button button) in SayHello() argument
66 button.Text = "Greeting: " + reply.Message; in SayHello()

12345678910>>...25