Searched defs:actionButton (Results 1 - 12 of 12) sorted by relevance

/frameworks/native/libs/input/tests/
H A DInputPublisherAndConsumer_test.cpp139 const int32_t actionButton = 0; local
170 status = mPublisher->publishMotionEvent(seq, deviceId, source, displayId, action, actionButton,
/frameworks/native/services/inputflinger/
H A DInputListener.cpp71 int32_t action, int32_t actionButton, int32_t flags, int32_t metaState,
77 action(action), actionButton(actionButton),
91 action(other.action), actionButton(other.actionButton), flags(other.flags),
69 NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t actionButton, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, int32_t displayId, uint32_t deviceTimestamp, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, float xPrecision, float yPrecision, nsecs_t downTime) argument
H A DInputListener.h87 int32_t actionButton; member in struct:android::NotifyMotionArgs
110 int32_t action, int32_t actionButton, int32_t flags,
H A DInputDispatcher.h512 int32_t actionButton; member in struct:android::InputDispatcher::MotionEntry
527 int32_t action, int32_t actionButton, int32_t flags,
H A DInputDispatcher.cpp161 static bool isValidMotionAction(int32_t action, int32_t actionButton, int32_t pointerCount) { argument
180 return actionButton != 0;
186 static bool validateMotionEvent(int32_t action, int32_t actionButton, size_t pointerCount, argument
188 if (! isValidMotionAction(action, actionButton, pointerCount)) {
928 "action=0x%x, actionButton=0x%x, flags=0x%x, "
933 entry->action, entry->actionButton, entry->flags,
2064 dispatchEntry->resolvedAction, motionEntry->actionButton,
2389 originalMotionEntry->actionButton,
2530 "action=0x%x, actionButton=0x%x, flags=0x%x, metaState=0x%x, buttonState=0x%x,"
2533 args->action, args->actionButton, arg
2701 int32_t actionButton = motionEvent->getActionButton(); local
4028 MotionEntry(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t actionButton, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, float xPrecision, float yPrecision, nsecs_t downTime, int32_t displayId, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, float xOffset, float yOffset) argument
[all...]
H A DInputReader.cpp2895 int32_t actionButton = BitSet32::valueForBit(released.clearFirstMarkedBit()); local
2896 buttonState &= ~actionButton;
2898 AMOTION_EVENT_ACTION_BUTTON_RELEASE, actionButton, 0,
2916 int32_t actionButton = BitSet32::valueForBit(pressed.clearFirstMarkedBit()); local
2917 buttonState |= actionButton;
2919 AMOTION_EVENT_ACTION_BUTTON_PRESS, actionButton, 0,
4887 int32_t actionButton = BitSet32::valueForBit(releasedButtons.clearFirstMarkedBit()); local
4888 buttonState &= ~actionButton;
4890 AMOTION_EVENT_ACTION_BUTTON_RELEASE, actionButton,
4906 int32_t actionButton local
6449 dispatchMotion(nsecs_t when, uint32_t policyFlags, uint32_t source, int32_t action, int32_t actionButton, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, uint32_t deviceTimestamp, const PointerProperties* properties, const PointerCoords* coords, const uint32_t* idToIndex, BitSet32 idBits, int32_t changedId, float xPrecision, float yPrecision, nsecs_t downTime) argument
[all...]
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/touch/
H A DItemTouchHelperActivity.java236 public final Button actionButton; field in class:ItemTouchHelperActivity.ItemTouchViewHolder
246 actionButton = (Button) itemView.findViewById(R.id.action_button);
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/touch/
H A DItemTouchHelperActivity.java236 public final Button actionButton; field in class:ItemTouchHelperActivity.ItemTouchViewHolder
246 actionButton = (Button) itemView.findViewById(R.id.action_button);
/frameworks/native/include/input/
H A DInputTransport.h88 int32_t actionButton; member in struct:android::InputMessage::Body::Motion
238 int32_t actionButton,
/frameworks/native/libs/input/
H A DInput.cpp219 int32_t actionButton,
235 mActionButton = actionButton;
215 initialize( int32_t deviceId, int32_t source, int32_t action, int32_t actionButton, int32_t flags, int32_t edgeFlags, int32_t metaState, int32_t buttonState, float xOffset, float yOffset, float xPrecision, float yPrecision, nsecs_t downTime, nsecs_t eventTime, size_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument
H A DInputTransport.cpp290 int32_t actionButton,
306 "action=0x%x, actionButton=0x%08x, flags=0x%x, edgeFlags=0x%x, "
311 deviceId, source, action, actionButton, flags, edgeFlags, metaState, buttonState,
333 msg.body.motion.actionButton = actionButton;
954 msg->body.motion.actionButton,
284 publishMotionEvent( uint32_t seq, int32_t deviceId, int32_t source, int32_t displayId, int32_t action, int32_t actionButton, int32_t flags, int32_t edgeFlags, int32_t metaState, int32_t buttonState, float xOffset, float yOffset, float xPrecision, float yPrecision, nsecs_t downTime, nsecs_t eventTime, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument
/frameworks/base/core/java/android/view/
H A DMotionEvent.java1541 private static native void nativeSetActionButton(long nativePtr, int actionButton); argument
3243 appendUnless("0", msg, ", actionButton=", buttonStateToString(getActionButton()));

Completed in 203 milliseconds