HomeSort by relevance Sort by last modified time
    Searched defs:buttons (Results 1 - 25 of 192) sorted by null

1 2 3 4 5 6 7 8

  /external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/extras/LIRC/
OISLIRC.h 36 RemoteInfo() : buttons(0) {}
40 buttons = other.buttons;
44 int buttons; member in struct:OIS::RemoteInfo
  /hardware/bsp/intel/peripheral/libupm/examples/c++/
at42qt1070.cxx 43 uint8_t buttons = touch->getButtons(); local
45 cout << "Buttons Pressed: ";
48 if (buttons & (1 << i))
  /external/libgdx/extensions/gdx-controllers/gdx-controllers-gwt/src/com/badlogic/gdx/controllers/gwt/
GwtControllers.java 73 event.controller.buttons.put(event.code, event.amount);
82 event.controller.buttons.remove(event.code, event.amount);
162 JsArrayNumber buttons = gamepad.getButtons(); local
176 for (int i = 0, j = buttons.length(); i < j; i++) {
178 float newButton = (float) buttons.get(i);
181 controller.buttons.put(i, newButton);
GwtController.java 35 protected final IntFloatMap buttons = new IntFloatMap(); field in class:GwtController
58 return buttons.get(buttonCode, 0) >= 0.5f;
62 return buttons.get(buttonCode, 0);
  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
ButtonGroup.java 21 /** Manages a group of buttons to enforce a minimum and maximum number of checked buttons. This enables "radio button"
27 private final Array<T> buttons = new Array(); field in class:ButtonGroup
37 public ButtonGroup (T... buttons) {
39 add(buttons);
46 boolean shouldCheck = button.isChecked() || buttons.size < minCheckCount;
49 buttons.add(button);
53 public void add (T... buttons) {
54 if (buttons == null) throw new IllegalArgumentException("buttons cannot be null.");
    [all...]
  /prebuilts/misc/windows/sdl2/test/
testmessage.c 35 const SDL_MessageBoxButtonData buttons[] = { local
53 buttons,
  /external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/linux/
LinuxPrereqs.h 56 JoyStickInfo(): devId(-1),joyFileD(-1),version(0),axes(0),buttons(0),hats(0) {}
67 //! Number of buttons
68 unsigned char buttons; member in class:OIS::JoyStickInfo
71 //! Maps Linux button values to OIS buttons values
  /developers/build/prebuilts/gradle/BasicGestureDetect/Application/src/main/java/com/example/android/basicgesturedetect/
GestureListener.java 120 touchTypeDescription += ", buttons pressed: " + getButtonsPressed(e);
140 * Returns a human-readable string listing all the stylus buttons that were pressed when the
145 String buttons = ""; local
148 buttons += " primary";
152 buttons += " secondary";
156 buttons += " tertiary";
160 buttons += " back";
164 buttons += " forward";
167 if (buttons.equals("")){
168 buttons = "none"
    [all...]
  /developers/samples/android/input/gestures/BasicGestureDetect/Application/src/main/java/com/example/android/basicgesturedetect/
GestureListener.java 120 touchTypeDescription += ", buttons pressed: " + getButtonsPressed(e);
140 * Returns a human-readable string listing all the stylus buttons that were pressed when the
145 String buttons = ""; local
148 buttons += " primary";
152 buttons += " secondary";
156 buttons += " tertiary";
160 buttons += " back";
164 buttons += " forward";
167 if (buttons.equals("")){
168 buttons = "none"
    [all...]
  /development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/
GestureListener.java 120 touchTypeDescription += ", buttons pressed: " + getButtonsPressed(e);
140 * Returns a human-readable string listing all the stylus buttons that were pressed when the
145 String buttons = ""; local
148 buttons += " primary";
152 buttons += " secondary";
156 buttons += " tertiary";
160 buttons += " back";
164 buttons += " forward";
167 if (buttons.equals("")){
168 buttons = "none"
    [all...]
  /external/autotest/frontend/client/src/autotest/common/table/
RadioButtonSetFilter.java 15 private Vector<RadioButton> buttons; field in class:RadioButtonSetFilter
25 buttons = new Vector();
35 int formValue = buttons.size();
38 buttons.add(radioButton);
43 if (index < buttons.size())
45 buttons.get(index).setChecked(true);
53 return buttons.size();
  /external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/win32/extras/WiiMote/
OISWiiMote.cpp 344 int buttons = (int)mState.mButtons.size(); local
345 for( int b = 0; b < buttons; ++b )
  /frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
HierarchicalMove.java 32 Button[] buttons = new Button[6]; field in class:HierarchicalMove
45 buttons[0] = (Button) findViewById(R.id.button0);
46 buttons[1] = (Button) findViewById(R.id.button1);
47 buttons[2] = (Button) findViewById(R.id.button2);
48 buttons[3] = (Button) findViewById(R.id.button3);
49 buttons[4] = (Button) findViewById(R.id.button4);
50 buttons[5] = (Button) findViewById(R.id.button5);
52 // Move button0, then buttons 1/2 together, then buttons 3/4/5 sequentially:
67 move0.addTarget(buttons[0])
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/properties/
LibraryProperties.java 157 Composite buttons = new Composite(mTop, SWT.NONE); local
158 buttons.setLayout(new GridLayout());
159 buttons.setLayoutData(new GridData(GridData.FILL_VERTICAL));
163 mAddButton = new Button(buttons, SWT.PUSH | SWT.FLAT);
183 mRemoveButton = new Button(buttons, SWT.PUSH | SWT.FLAT);
199 Label l = new Label(buttons, SWT.SEPARATOR | SWT.HORIZONTAL);
202 mUpButton = new Button(buttons, SWT.PUSH | SWT.FLAT);
222 mDownButton = new Button(buttons, SWT.PUSH | SWT.FLAT);
  /sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ddms/
StaticPortConfigDialog.java 139 // center part with the list on the left and the buttons
163 // right part: buttons
164 Composite buttons = new Composite(main, SWT.NONE); local
165 buttons.setLayoutData(new GridData(GridData.FILL_VERTICAL));
166 buttons.setLayout(new GridLayout(1, true));
168 Button newButton = new Button(buttons, SWT.NONE);
187 final Button editButton = new Button(buttons, SWT.NONE);
211 final Button deleteButton = new Button(buttons, SWT.NONE);
  /external/autotest/frontend/client/src/autotest/afe/
AbortSynchronousDialog.java 55 Panel buttons = new HorizontalPanel(); local
56 buttons.add(abortAll);
58 buttons.add(abortAsynchronous);
60 buttons.add(cancel);
61 contents.add(buttons);
  /external/libgdx/extensions/gdx-controllers/gdx-controllers-android/src/com/badlogic/gdx/controllers/android/
AndroidController.java 36 protected final IntIntMap buttons = new IntIntMap(); field in class:AndroidController
110 return buttons.containsKey(buttonIndex);
AndroidControllers.java 93 event.controller.buttons.put(event.code, event.code);
102 event.controller.buttons.remove(event.code, 0);
  /external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/
OISMouse.h 44 MouseState() : width(50), height(50), buttons(0) {};
60 //! represents all buttons - bit position indicates button down
61 int buttons; member in class:OIS::MouseState
66 return ((buttons & ( 1L << button )) == 0) ? false : true;
75 buttons = 0;
86 //! The state of the mouse - including buttons and axes
  /external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/linux/
EventHelpers.cpp 44 vector<int> buttons, relAxes, absAxes, hats; member in class:DeviceComponentInfo
137 << ") : Reading device buttons features" << endl;
141 OIS_EXCEPT( E_General, "Could not read device buttons features");
147 components.buttons.push_back(j);
165 int buttons = 0; local
172 for(vector<int>::iterator i = info.buttons.begin(), e = info.buttons.end(); i != e; ++i )
180 js.button_map[*i] = buttons++;
184 << " OIS Button Num: " << dec << buttons-1 << endl;
191 //Joy Buttons found, so it must be a joystick or pa
    [all...]
  /external/libgdx/extensions/gdx-controllers/gdx-controllers-lwjgl3/src/com/badlogic/gdx/controllers/lwjgl3/
Lwjgl3Controller.java 42 ByteBuffer buttons = GLFW.glfwGetJoystickButtons(index); local
43 if(buttons == null) {
58 for(int i = 0; i < buttons.limit(); i++) {
59 if(buttonState[i] != (buttons.get(i) == GLFW.GLFW_PRESS)) {
61 if(buttons.get(i) == GLFW.GLFW_PRESS) {
67 manager.buttonChanged(this, i, buttons.get(i) == GLFW.GLFW_PRESS);
69 buttonState[i] = buttons.get(i) == GLFW.GLFW_PRESS;
  /prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/
SDL_messagebox.h 100 const SDL_MessageBoxButtonData *buttons; member in struct:__anon44484
  /prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/
SDL_messagebox.h 100 const SDL_MessageBoxButtonData *buttons; member in struct:__anon44593
  /prebuilts/misc/windows/sdl2/include/
SDL_messagebox.h 100 const SDL_MessageBoxButtonData *buttons; member in struct:__anon44672
  /prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/
SDL_messagebox.h 100 const SDL_MessageBoxButtonData *buttons; member in struct:__anon44766

Completed in 929 milliseconds

1 2 3 4 5 6 7 8