/external/ImageMagick/Magick++/demo/ |
H A D | button.cpp | 2 // Magick++ demo to generate a simple text button 55 Image button; local 57 // Set button size 58 button.size( buttonSize ); 61 button.read( backGround ); 65 button.texture( backgroundTexture ); 68 button.fillColor( textColor ); 69 button.fontPointsize( fontPointSize ); 70 button.annotate( text, CenterGravity ); 73 button [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
H A D | ButtonGroup.java | 21 /** Manages a group of buttons to enforce a minimum and maximum number of checked buttons. This enables "radio button"
22 * functionality and more. A button may only be in one group at a time.
24 * The {@link #canCheck(Button, boolean)} method can be overridden to control if a button check or uncheck is allowed.
43 public void add (T button) {
argument 44 if (button == null) throw new IllegalArgumentException("button cannot be null.");
45 button.buttonGroup = null;
46 boolean shouldCheck = button.isChecked() || buttons.size < minCheckCount;
47 button.setChecked(false);
48 button 59 remove(T button) argument 92 canCheck(T button, boolean newState) argument [all...] |
/external/libgdx/extensions/gdx-controllers/gdx-controllers/src/com/badlogic/gdx/controllers/ |
H A D | ControlType.java | 21 button, axis, slider, pov, accelerometer enum constant in enum:ControlType
|
/external/autotest/frontend/client/src/autotest/afe/ |
H A D | RadioChooser.java | 28 IRadioButton button = display.generateRadioButton(groupName, choice); 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 [all...] |
/external/chromium-trace/catapult/tracing/tracing/ui/tracks/ |
H A D | track.css | 6 .track-button { 16 .track-button:hover { 23 .track-close-button { 29 .track-collapse-button {
|
/external/libgdx/gdx/src/com/badlogic/gdx/ |
H A D | InputAdapter.java | 35 public boolean touchDown (int screenX, int screenY, int pointer, int button) {
argument 39 public boolean touchUp (int screenX, int screenY, int pointer, int button) {
argument
|
H A D | InputProcessor.java | 46 /** Called when the screen was touched or a mouse button was pressed. The button parameter will be {@link Buttons#LEFT} on iOS.
50 * @param button the button
52 public boolean touchDown (int screenX, int screenY, int pointer, int button);
argument 54 /** Called when a finger was lifted or a mouse button was released. The button parameter will be {@link Buttons#LEFT} on iOS.
56 * @param button the button
58 public boolean touchUp (int screenX, int screenY, int pointer, int button);
argument [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/ |
H A D | DragListener.java | 30 private int button; field in class:DragListener 34 public boolean touchDown (InputEvent event, float x, float y, int pointer, int button) { argument 36 if (pointer == 0 && this.button != -1 && button != this.button) return false; 62 public void touchUp (InputEvent event, float x, float y, int pointer, int button) { argument 124 return button; 127 /** Sets the button to listen for, all other buttons are ignored. Default is {@link Buttons#LEFT}. Use -1 for any button. */ 128 public void setButton (int button) { argument [all...] |
H A D | ClickListener.java | 39 private int button;
field in class:ClickListener 52 public ClickListener (int button) {
argument 53 this.button = button;
56 public boolean touchDown (InputEvent event, float x, float y, int pointer, int button) {
argument 58 if (pointer == 0 && this.button != -1 && button != this.button) return false;
61 pressedButton = button;
71 if (pressed && pointer == 0 && button ! 78 touchUp(InputEvent event, float x, float y, int pointer, int button) argument 202 setButton(int button) argument [all...] |
H A D | UIUtils.java | 17 static public boolean left (int button) { argument 18 return button == Buttons.LEFT; 25 static public boolean right (int button) { argument 26 return button == Buttons.RIGHT; 33 static public boolean middle (int button) { argument 34 return button == Buttons.MIDDLE;
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/presentation/ |
H A D | ButtonPropertyEditorPresentationImplMac.java | 22 * button for Mac OSX. 44 CFlatButton button = new CFlatButton(propertyTable, SWT.NONE); 45 button.setImage(getPresentation().getImage()); 46 button.setToolTipText(getPresentation().getTooltip()); 47 return button; 52 CFlatButton button = (CFlatButton) m_propertyToControl.get(propertyTable, property); 53 if (button != null) { 54 button.setSelected(selected);
|
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/ |
H A D | AndroidMultiTouchHandler.java | 38 int button = Buttons.LEFT;
50 if (android.os.Build.VERSION.SDK_INT >= 14) button = toGdxButton(event.getButtonState());
51 if (button != -1) postTouchEvent(input, TouchEvent.TOUCH_DOWN, x, y, realPointerIndex, button, timeStamp);
56 input.touched[realPointerIndex] = (button != -1);
57 input.button[realPointerIndex] = button;
70 button = input.button[realPointerIndex];
71 if (button ! 127 toGdxButton(int button) argument 136 postTouchEvent(AndroidInput input, int type, int x, int y, int pointer, int button, long timeStamp) argument [all...] |
/external/chromium-trace/catapult/tracing/tracing/ui/base/ |
H A D | tool_button.css | 6 * /deep/ .tool-button { 15 * /deep/ .tool-button.active {
|
/external/toybox/kconfig/lxdialog/ |
H A D | 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/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ |
H A D | InputEvent.java | 27 private int pointer, button, keyCode, scrollAmount;
field in class:InputEvent 34 button = -1;
74 /** The index for the mouse button pressed. Always 0 on Android. Valid for: touchDown and touchUp.
77 return button;
80 public void setButton (int button) {
argument 81 this.button = button;
147 /** The mouse pointer has moved (without a mouse button being active). */
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
H A D | InputTest.java | 37 Gdx.app.log("Input Test", "just touched, button: " + (Gdx.input.isButtonPressed(Buttons.LEFT) ? "left " : "")
75 public boolean touchDown (int x, int y, int pointer, int button) {
argument 76 Gdx.app.log("Input Test", "touch down: " + x + ", " + y + ", button: " + getButtonString(button));
87 public boolean touchUp (int x, int y, int pointer, int button) {
argument 88 Gdx.app.log("Input Test", "touch up: " + x + ", " + y + ", button: " + getButtonString(button));
104 private String getButtonString (int button) {
argument 105 if (button == Buttons.LEFT) return "left";
106 if (button [all...] |
/external/chromium-trace/catapult/dashboard/dashboard/static/ |
H A D | base.css | 77 .kennedy-button, .kennedy-button-submit { 88 .kennedy-button { 96 .kennedy-button:disabled, .kennedy-button-submit:disabled { 100 .kennedy-button:hover, .kennedy-button-submit:hover { 104 .kennedy-button:active, .kennedy-button-submit:active { 108 .kennedy-button [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/ |
H A D | CameraInputController.java | 30 /** The button for rotating the camera. */
34 /** The button for translating the camera along the up/right plane */
38 /** The button for translating the camera along the direction axis */
70 /** The current (first) button being pressed. */
71 protected int button = -1;
field in class:CameraInputController 82 public boolean touchDown (float x, float y, int pointer, int button) {
argument 88 public boolean tap (float x, float y, int count, int button) {
argument 98 public boolean fling (float velocityX, float velocityY, int button) {
argument 156 public boolean touchDown (int screenX, int screenY, int pointer, int button) {
argument 160 this.button 170 touchUp(int screenX, int screenY, int pointer, int button) argument 177 process(float deltaX, float deltaY, int button) argument [all...] |
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/extras/LIRC/ |
H A D | OISLIRC.cpp | 78 //Quickly send off button events (there is no real stored state) 79 //As, even a held down button will kep generating button presses 80 mState.mButtons[events[i].button] = true; 81 if( !mListener->buttonPressed(JoyStickEvent(this, mState), events[i].button) ) 84 mState.mButtons[events[i].button] = false; 85 if( !mListener->buttonReleased(JoyStickEvent(this, mState), events[i].button) ) 97 evt.button = mInfo.buttonMap[id];
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/ |
H A D | BulletTest.java | 53 public boolean touchDown (int screenX, int screenY, int pointer, int button) { argument 58 public boolean touchUp (int screenX, int screenY, int pointer, int button) { argument 102 public boolean touchDown (float x, float y, int pointer, int button) { argument 107 public boolean tap (float x, float y, int count, int button) { argument 117 public boolean fling (float velocityX, float velocityY, int button) { argument 127 public boolean panStop (float x, float y, int pointer, int button) { argument
|
/external/autotest/server/cros/ap_configurators/ |
H A D | belkinF7D1301_ap_configurator.py | 27 button = '//input[@type="submit" and @value="Apply Changes"]' 28 self.click_button_by_xpath(button,
|
/external/proguard/src/proguard/gui/ |
H A D | TabbedPane.java | 68 * @param title the title that will be used in the tab button. 80 JToggleButton button = new JToggleButton(title); 82 // Let the button react on the mouse press, instead of waiting for the 84 button.setModel(new JToggleButton.ToggleButtonModel() 117 // Switch to the tab on a button press. 118 button.addActionListener(new ActionListener() 126 // Only one button can be selected at the same time. 127 buttonGroup.add(button); 129 // If this is the first tab, make sure its button is selected. 132 button [all...] |
/external/ImageMagick/PerlMagick/demo/ |
H A D | Makefile | 3 perl button.pl 16 /bin/rm -f demo.jpg button.gif model.png shadow.gif tree.gif \
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
H A D | DemoApplet.java | 19 * A simple Applet that shows a button. When pressed, the button 42 Button button = new Button("Transliteration Demo"); 43 button.addActionListener(new ActionListener() { 58 add(button); 60 Dimension size = button.getPreferredSize();
|
H A D | InfoDialog.java | 25 protected Button button; field in class:InfoDialog 49 button = new Button("Hide"); 50 button.addActionListener(new ActionListener() { 57 bottom.add(button);
|