Home
last modified time | relevance | path

Searched refs:buttons (Results 1 – 25 of 61) sorted by relevance

123

/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
DButtonGroup.java27 private final Array<T> buttons = new Array(); field in ButtonGroup
37 public ButtonGroup (T... buttons) { in ButtonGroup() argument
39 add(buttons); in ButtonGroup()
46 boolean shouldCheck = button.isChecked() || buttons.size < minCheckCount; in add()
49 buttons.add(button); in add()
53 public void add (T... buttons) {
54 if (buttons == null) throw new IllegalArgumentException("buttons cannot be null.");
55 for (int i = 0, n = buttons.length; i < n; i++)
56 add(buttons[i]);
62 buttons.removeValue(button, true);
[all …]
/external/autotest/frontend/client/src/autotest/common/table/
DRadioButtonSetFilter.java15 private Vector<RadioButton> buttons; field in RadioButtonSetFilter
25 buttons = new Vector(); in RadioButtonSetFilter()
35 int formValue = buttons.size(); in addRadioButon()
38 buttons.add(radioButton); in addRadioButon()
43 if (index < buttons.size()) in setSelectedButton()
45 buttons.get(index).setChecked(true); in setSelectedButton()
53 return buttons.size(); in getButtonNum()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-lwjgl3/src/com/badlogic/gdx/controllers/lwjgl3/
DLwjgl3Controller.java42 ByteBuffer buttons = GLFW.glfwGetJoystickButtons(index); in pollState() local
43 if(buttons == null) { in pollState()
58 for(int i = 0; i < buttons.limit(); i++) { in pollState()
59 if(buttonState[i] != (buttons.get(i) == GLFW.GLFW_PRESS)) { in pollState()
61 if(buttons.get(i) == GLFW.GLFW_PRESS) { in pollState()
67 manager.buttonChanged(this, i, buttons.get(i) == GLFW.GLFW_PRESS); in pollState()
69 buttonState[i] = buttons.get(i) == GLFW.GLFW_PRESS; in pollState()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/extras/LIRC/
DOISLIRC.h36 RemoteInfo() : buttons(0) {} in RemoteInfo()
40 buttons = other.buttons; in RemoteInfo()
44 int buttons; member
DOISLIRC.cpp39 mState.mButtons.resize(mInfo.buttons); in LIRCControl()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/src/com/badlogic/gdx/controllers/desktop/ois/
DOisJoystick.java30 private final boolean[] buttons; field in OisJoystick
40 buttons = new boolean[getButtonCount()]; in OisJoystick()
52 buttons[buttonIndex] = true; in buttonPressed()
57 buttons[buttonIndex] = false; in buttonReleased()
134 if (buttonIndex < 0 || buttonIndex >= buttons.length) return false; in isButtonPressed()
135 return buttons[buttonIndex]; in isButtonPressed()
/external/lzma/CPP/Windows/Control/
DToolBar.h35 …tton(UINT numButtons, LPTBBUTTON buttons) { return LRESULTToBool(SendMessage(TB_ADDBUTTONS, numBut… in AddButton() argument
37 …tonW(UINT numButtons, LPTBBUTTON buttons) { return LRESULTToBool(SendMessage(TB_ADDBUTTONSW, numBu… in AddButtonW() argument
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/linux/
DEventHelpers.cpp44 vector<int> buttons, relAxes, absAxes, hats; member in DeviceComponentInfo
147 components.buttons.push_back(j); in getComponentInfo()
165 int buttons = 0; in isJoyStick() local
172 for(vector<int>::iterator i = info.buttons.begin(), e = info.buttons.end(); i != e; ++i ) in isJoyStick()
180 js.button_map[*i] = buttons++; in isJoyStick()
184 << " OIS Button Num: " << dec << buttons-1 << endl; in isJoyStick()
196 js.buttons = buttons; in isJoyStick()
DLinuxMouse.cpp221 mState.buttons |= mask[event.xbutton.button]; in _processXEvents()
232 mState.buttons &= ~mask[event.xbutton.button]; in _processXEvents()
DLinuxJoyStickEvents.cpp55 mState.mButtons.resize(js.buttons); in LinuxJoyStick()
233 js.buttons = (int)mState.mButtons.size(); in _getJoyInfo()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/
DOISMouse.h44 MouseState() : width(50), height(50), buttons(0) {}; in MouseState()
61 int buttons; variable
66 return ((buttons & ( 1L << button )) == 0) ? false : true; in buttonDown()
75 buttons = 0; in clear()
/external/autotest/frontend/client/src/autotest/afe/
DAbortSynchronousDialog.java55 Panel buttons = new HorizontalPanel(); in AbortSynchronousDialog() local
56 buttons.add(abortAll); in AbortSynchronousDialog()
58 buttons.add(abortAsynchronous); in AbortSynchronousDialog()
60 buttons.add(cancel); in AbortSynchronousDialog()
61 contents.add(buttons); in AbortSynchronousDialog()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/mac/
DMacMouse.cpp272 mState.buttons |= 1 << mouseButton; in _mouseCallback()
277 mState.buttons |= 1 << mouseButton; in _mouseCallback()
282 mState.buttons |= 1 << mouseButton; in _mouseCallback()
321 mState.buttons = 0; in _mouseCallback()
333 mState.buttons &= ~(1 << mouseButton); in _mouseCallback()
338 mState.buttons &= ~(1 << mouseButton); in _mouseCallback()
343 mState.buttons &= ~(1 << mouseButton); in _mouseCallback()
DCocoaMouse.mm194 state->buttons |= 1 << mouseButton;
216 state->buttons &= ~(1 << mouseButton);
251 state->buttons |= 1 << mouseButton;
265 state->buttons &= ~(1 << mouseButton);
300 state->buttons |= 1 << mouseButton;
314 state->buttons &= ~(1 << mouseButton);
/external/libgdx/extensions/gdx-controllers/gdx-controllers-gwt/src/com/badlogic/gdx/controllers/gwt/
DGwtControllers.java73 event.controller.buttons.put(event.code, event.amount); in setupEventQueue()
82 event.controller.buttons.remove(event.code, event.amount); in setupEventQueue()
162 JsArrayNumber buttons = gamepad.getButtons(); in onGamepadUpdated() local
176 for (int i = 0, j = buttons.length(); i < j; i++) { in onGamepadUpdated()
178 float newButton = (float) buttons.get(i); in onGamepadUpdated()
181 controller.buttons.put(i, newButton); in onGamepadUpdated()
DGwtController.java35 protected final IntFloatMap buttons = new IntFloatMap(); field in GwtController
58 return buttons.get(buttonCode, 0) >= 0.5f; in getButton()
62 return buttons.get(buttonCode, 0); in getButtonAmount()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DMusicTest.java40 TextureRegion buttons; field in MusicTest
53 buttons = new TextureRegion(new Texture(Gdx.files.internal("data/playback.png"))); in create()
87 batch.draw(buttons, 0, 0); in render()
115 buttons.getTexture().dispose(); in dispose()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/linux/
DLinuxPrereqs.h56 JoyStickInfo(): devId(-1),joyFileD(-1),version(0),axes(0),buttons(0),hats(0) {} in JoyStickInfo()
68 unsigned char buttons; variable
/external/autotest/client/cros/
Dsemiauto_framework.py58 def set_tab_with_buttons(self, html, buttons=['OK']): argument
68 for title in buttons:
/external/libgdx/extensions/gdx-controllers/gdx-controllers-android/src/com/badlogic/gdx/controllers/android/
DAndroidController.java36 protected final IntIntMap buttons = new IntIntMap(); field in AndroidController
110 return buttons.containsKey(buttonIndex); in getButton()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/SDL/
DSDLMouse.cpp84 mState.buttons |= (1 << ButtonMask[sdlButton]); in capture()
104 mState.buttons &= ~(1 << ButtonMask[sdlButton]); in capture()
/external/libvncserver/webclients/novnc/include/
Dbase.css77 .noVNC-buttons-left {
83 .noVNC-buttons-right {
415 .noVNC-buttons-left {
419 .noVNC-buttons-right {
457 .noVNC-buttons-left {
460 .noVNC-buttons-right {
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/win32/
DWin32Mouse.cpp198 mState.buttons |= 1 << mouseButton; //turn the bit flag on in _doMouseClick()
204 mState.buttons &= ~(1 << mouseButton); //turn the bit flag off in _doMouseClick()
/external/sonivox/jet_tools/JetCreator/
DJetCreatorhlp.dat40 …egments display here. You may add, revise, or delete segments using the buttons at the left. You…
41 …rrently selected segment display here. Double click to edit, or use the buttons at the left to ad…
101 …ile display here. Double click on a segment to add it to the play queue, or use the buttons below.
103 …segment displays its current run status. You may modify the playback state with the buttons below.
/external/autotest/client/site_tests/hardware_GPIOSwitches/
Dcontrol17 This test checks if the buttons and mode switches are set as expected

123