HomeSort by relevance Sort by last modified time
    Searched full:buttonstate (Results 1 - 25 of 34) sorted by null

1 2

  /external/libgdx/extensions/gdx-controllers/gdx-controllers-lwjgl3/src/com/badlogic/gdx/controllers/lwjgl3/
Lwjgl3Controller.java 19 final boolean[] buttonState;
27 this.buttonState = new boolean[GLFW.glfwGetJoystickButtons(index).limit()];
59 if(buttonState[i] != (buttons.get(i) == GLFW.GLFW_PRESS)) {
69 buttonState[i] = buttons.get(i) == GLFW.GLFW_PRESS;
85 if(buttonCode < 0 || buttonCode >= buttonState.length) {
88 return buttonState[buttonCode];
  /device/google/accessory/demokit/app/src/com/google/android/DemoKit/
InputController.java 73 public void joystickButtonSwitchStateChanged(boolean buttonState) {
74 mJoystickView.setPressed(buttonState);
93 public void onButton(Boolean buttonState) {
94 joystickButtonSwitchStateChanged(buttonState);
  /frameworks/native/services/inputflinger/
InputListener.cpp 72 int32_t buttonState, int32_t edgeFlags, int32_t displayId, uint32_t pointerCount,
77 flags(flags), metaState(metaState), buttonState(buttonState),
90 metaState(other.metaState), buttonState(other.buttonState),
InputListener.h 90 int32_t buttonState;
104 int32_t metaState, int32_t buttonState,
InputReader.cpp 182 static bool isPointerDown(int32_t buttonState) {
183 return buttonState &
201 int32_t buttonState, int32_t keyCode) {
204 && !(lastButtonState & buttonState)
205 && (currentButtonState & buttonState))
207 && (lastButtonState & buttonState)
208 && !(currentButtonState & buttonState))) {
    [all...]
PointerControllerInterface.h 50 virtual void setButtonState(int32_t buttonState) = 0;
InputReader.h     [all...]
  /hardware/bsp/intel/peripheral/libupm/examples/python/
nunchuck.py 52 def buttonStateStr(buttonState):
53 return "pressed" if buttonState else "not pressed"
  /frameworks/native/services/inputflinger/tests/
InputReader_test.cpp 76 virtual void setButtonState(int32_t buttonState) {
77 mButtonState = buttonState;
    [all...]
  /external/skia/include/views/
SkWidget.h 77 kOff_State, //!< XML: buttonState="off"
78 kOn_State, //!< XML: buttonState="on"
79 kUnknown_State //!< XML: buttonState="unknown"
  /frameworks/native/libs/input/tests/
InputPublisherAndConsumer_test.cpp 140 const int32_t buttonState = AMOTION_EVENT_BUTTON_PRIMARY;
168 flags, edgeFlags, metaState, buttonState, xOffset, yOffset, xPrecision, yPrecision,
193 EXPECT_EQ(buttonState, motionEvent->getButtonState());
StructLayout_test.cpp 57 CHECK_OFFSET(InputMessage::Body::Motion, buttonState, 40);
  /frameworks/base/core/java/android/view/
InputEventConsistencyVerifier.java 473 final int buttonState = event.getButtonState();
509 (buttonState & MotionEvent.BUTTON_SECONDARY) != 0) {
512 (buttonState & MotionEvent.BUTTON_TERTIARY) != 0) {
516 if (mButtonsPressed != buttonState) {
520 buttonState, mButtonsPressed));
537 (buttonState & MotionEvent.BUTTON_SECONDARY) == 0) {
540 (buttonState & MotionEvent.BUTTON_TERTIARY) == 0) {
544 if (mButtonsPressed != buttonState) {
548 buttonState, mButtonsPressed));
    [all...]
  /docs/source.android.com/src/devices/input/
diagnostics.jd 300 ButtonState: 0x00000000
405 MotionEvent(deviceId=4, source=0x00001002, action=2, flags=0x00000000, metaState=0x00000000, buttonState=0x00000000, edgeFlags=0x00000000, xPrecision=1.0, yPrecision=1.0, displayId=0, pointers=[0: (335.0, 1465.0)]), policyFlags=0x62000000, age=217264.0ms
406 MotionEvent(deviceId=4, source=0x00001002, action=1, flags=0x00000000, metaState=0x00000000, buttonState=0x00000000, edgeFlags=0x00000000, xPrecision=1.0, yPrecision=1.0, displayId=0, pointers=[0: (335.0, 1465.0)]), policyFlags=0x62000000, age=217255.7ms
407 MotionEvent(deviceId=4, source=0x00001002, action=0, flags=0x00000000, metaState=0x00000000, buttonState=0x00000000, edgeFlags=0x00000000, xPrecision=1.0, yPrecision=1.0, displayId=0, pointers=[0: (330.0, 1283.0)]), policyFlags=0x62000000, age=216805.0ms
408 MotionEvent(deviceId=4, source=0x00001002, action=2, flags=0x00000000, metaState=0x00000000, buttonState=0x00000000, edgeFlags=0x00000000, xPrecision=1.0, yPrecision=1.0, displayId=0, pointers=[0: (330.0, 1287.0)]), policyFlags=0x62000000, age=216788.3ms
409 MotionEvent(deviceId=4, source=0x00001002, action=2, flags=0x00000000, metaState=0x00000000, buttonState=0x00000000, edgeFlags=0x00000000, xPrecision=1.0, yPrecision=1.0, displayId=0, pointers=[0: (331.0, 1297.0)]), policyFlags=0x62000000, age=216780.0ms
410 MotionEvent(deviceId=4, source=0x00001002, action=2, flags=0x00000000, metaState=0x00000000, buttonState=0x00000000, edgeFlags=0x00000000, xPrecision=1.0, yPrecision=1.0, displayId=0, pointers=[0: (332.0, 1316.0)]), policyFlags=0x62000000, age=216771.6ms
411 MotionEvent(deviceId=4, source=0x00001002, action=2, flags=0x00000000, metaState=0x00000000, buttonState=0x00000000, edgeFlags=0x00000000, xPrecision=1.0, yPrecision=1.0, displayId=0, pointers=[0: (333.0, 1340.0)]), policyFlags=0x62000000, age=216763.3ms
412 MotionEvent(deviceId=4, source=0x00001002, action=2, flags=0x00000000, metaState=0x00000000, buttonState=0x00000000, edgeFlags=0x00000000, xPrecision=1.0, yPrecision=1.0, displayId=0, pointers=[0: (333.0, 1362.0)]), policyFlags=0x62000000, age=216755.0ms
413 MotionEvent(deviceId=4, source=0x00001002, action=2, flags=0x00000000, metaState=0x00000000, buttonState=0x00000000, edgeFlags=0x00000000, xPrecision=1.0, yPrecision=1.0, displayId=0, pointers=[0: (332.0 (…)
    [all...]
  /frameworks/base/libs/input/
PointerController.cpp 92 mLocked.buttonState = 0;
160 void PointerController::setButtonState(int32_t buttonState) {
162 ALOGD("Set button state 0x%08x", buttonState);
166 if (mLocked.buttonState != buttonState) {
167 mLocked.buttonState = buttonState;
174 return mLocked.buttonState;
PointerController.h 96 virtual void setButtonState(int32_t buttonState);
181 int32_t buttonState;
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
TouchPaint.java 379 final int buttonState = event.getButtonState();
380 int pressedButtons = buttonState & ~mOldButtonState;
381 mOldButtonState = buttonState;
390 if ((buttonState & MotionEvent.BUTTON_TERTIARY) != 0) {
393 } else if (isTouch || (buttonState & MotionEvent.BUTTON_PRIMARY) != 0) {
  /external/opencv3/samples/cpp/
select3dobj.cpp 72 MouseEvent() { event = -1; buttonState = 0; }
75 int buttonState;
83 data->buttonState = flags;
217 bool dragging = (mouse.buttonState & EVENT_FLAG_LBUTTON) != 0;
278 //mouse.buttonState = 0;
  /frameworks/native/include/input/
Input.h 401 inline int32_t setButtonState(int32_t buttonState) { mButtonState = buttonState; }
564 int32_t buttonState,
  /frameworks/native/libs/input/
InputTransport.cpp 294 int32_t buttonState,
307 "metaState=0x%x, buttonState=0x%x, xOffset=%f, yOffset=%f, "
311 deviceId, source, action, actionButton, flags, edgeFlags, metaState, buttonState,
336 msg.body.motion.buttonState = buttonState;
931 msg->body.motion.buttonState,
    [all...]
  /frameworks/base/core/jni/
android_view_MotionEvent.cpp 337 jint metaState, jint buttonState,
373 event->initialize(deviceId, source, action, 0, flags, edgeFlags, metaState, buttonState,
514 jlong nativePtr, jint buttonState) {
516 event->setButtonState(buttonState);
    [all...]
  /prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/
SDL_mouse.h 198 * Used as a mask when testing buttons in buttonstate.
  /prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/
SDL_mouse.h 198 * Used as a mask when testing buttons in buttonstate.
  /prebuilts/misc/windows/sdl2/include/
SDL_mouse.h 198 * Used as a mask when testing buttons in buttonstate.
  /prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/
SDL_mouse.h 198 * Used as a mask when testing buttons in buttonstate.

Completed in 5440 milliseconds

1 2