/frameworks/native/services/inputflinger/ |
H A D | PointerControllerInterface.h | 50 virtual void setButtonState(int32_t buttonState) = 0;
|
H A D | InputListener.cpp | 71 int32_t action, int32_t flags, int32_t metaState, int32_t buttonState, 76 action(action), flags(flags), metaState(metaState), buttonState(buttonState), 89 metaState(other.metaState), buttonState(other.buttonState), 69 NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, int32_t displayId, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, float xPrecision, float yPrecision, nsecs_t downTime) argument
|
H A D | InputListener.h | 89 int32_t buttonState; member in struct:android::NotifyMotionArgs 102 int32_t action, int32_t flags, int32_t metaState, int32_t buttonState,
|
H A D | InputReader.cpp | 159 static bool isPointerDown(int32_t buttonState) { argument 160 return buttonState & 178 int32_t buttonState, int32_t keyCode) { 181 && !(lastButtonState & buttonState) 182 && (currentButtonState & buttonState)) 184 && (lastButtonState & buttonState) 185 && !(currentButtonState & buttonState))) { 4011 int32_t buttonState = mCurrentButtonState; local 4018 AMOTION_EVENT_ACTION_MOVE, 0, metaState, buttonState, 4044 if (buttonState ! 175 synthesizeButtonKey(InputReaderContext* context, int32_t action, nsecs_t when, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState, int32_t buttonState, int32_t keyCode) argument 4490 int32_t buttonState = mCurrentButtonState; local 4642 int32_t buttonState = mCurrentButtonState; local 5642 dispatchMotion(nsecs_t when, uint32_t policyFlags, uint32_t source, int32_t action, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, const PointerProperties* properties, const PointerCoords* coords, const uint32_t* idToIndex, BitSet32 idBits, int32_t changedId, float xPrecision, float yPrecision, nsecs_t downTime) argument 6496 int32_t buttonState = 0; local [all...] |
H A D | InputDispatcher.cpp | 884 "metaState=0x%x, buttonState=0x%x, " 889 entry->metaState, entry->buttonState, 2010 motionEntry->edgeFlags, motionEntry->metaState, motionEntry->buttonState, 2328 originalMotionEntry->buttonState, 2460 "action=0x%x, flags=0x%x, metaState=0x%x, buttonState=0x%x, edgeFlags=0x%x, " 2463 args->action, args->flags, args->metaState, args->buttonState, 2500 args->edgeFlags, args->metaState, args->buttonState, 0, 0, 2516 args->action, args->flags, args->metaState, args->buttonState, 3949 int32_t metaState, int32_t buttonState, 3957 metaState(metaState), buttonState(buttonStat 3947 MotionEntry(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, 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 D | InputDispatcher.h | 509 int32_t buttonState; member in struct:android::InputDispatcher::MotionEntry 522 int32_t metaState, int32_t buttonState, int32_t edgeFlags,
|
H A D | InputReader.h | 1710 int32_t action, int32_t flags, int32_t metaState, int32_t buttonState,
|
/frameworks/base/libs/input/ |
H A D | PointerController.cpp | 79 mLocked.buttonState = 0; 140 void PointerController::setButtonState(int32_t buttonState) { argument 142 ALOGD("Set button state 0x%08x", buttonState); 146 if (mLocked.buttonState != buttonState) { 147 mLocked.buttonState = buttonState; 154 return mLocked.buttonState;
|
H A D | PointerController.h | 84 virtual void setButtonState(int32_t buttonState); 158 int32_t buttonState; member in struct:android::PointerController::Locked
|
/frameworks/native/libs/input/tests/ |
H A D | StructLayout_test.cpp | 56 CHECK_OFFSET(InputMessage::Body::Motion, buttonState, 36);
|
H A D | InputPublisherAndConsumer_test.cpp | 139 const int32_t buttonState = AMOTION_EVENT_BUTTON_PRIMARY; local 167 metaState, buttonState, xOffset, yOffset, xPrecision, yPrecision, 192 EXPECT_EQ(buttonState, motionEvent->getButtonState());
|
/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 76 virtual void setButtonState(int32_t buttonState) { argument 77 mButtonState = buttonState; 2062 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, args.buttonState); 2084 ASSERT_EQ(0, args.buttonState); 2267 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, motionArgs.buttonState); 2275 ASSERT_EQ(0, motionArgs.buttonState); 2282 ASSERT_EQ(0, motionArgs.buttonState); 2295 motionArgs.buttonState); 2304 ASSERT_EQ(AMOTION_EVENT_BUTTON_TERTIARY, motionArgs.buttonState); 2313 ASSERT_EQ(0, motionArgs.buttonState); [all...] |
/frameworks/native/include/input/ |
H A D | InputTransport.h | 89 int32_t buttonState; member in struct:android::InputMessage::Body::Motion 238 int32_t buttonState,
|
H A D | Input.h | 526 int32_t buttonState,
|
/frameworks/base/core/java/android/view/ |
H A D | MotionEvent.java | 1321 int metaState, int buttonState, 1423 * @param buttonState The state of buttons that are pressed. 1436 PointerCoords[] pointerCoords, int metaState, int buttonState, 1441 deviceId, source, action, flags, edgeFlags, metaState, buttonState, 2995 msg.append(", buttonState=").append(MotionEvent.buttonStateToString(getButtonState())); 3091 * @param buttonState The button state. 3095 public static String buttonStateToString(int buttonState) { argument 3096 if (buttonState == 0) { 3101 while (buttonState != 0) { 3102 final boolean isSet = (buttonState 1319 nativeInitialize(long nativePtr, int deviceId, int source, int action, int flags, int edgeFlags, int metaState, int buttonState, float xOffset, float yOffset, float xPrecision, float yPrecision, long downTimeNanos, long eventTimeNanos, int pointerCount, PointerProperties[] pointerIds, PointerCoords[] pointerCoords) argument 1434 obtain(long downTime, long eventTime, int action, int pointerCount, PointerProperties[] pointerProperties, PointerCoords[] pointerCoords, int metaState, int buttonState, float xPrecision, float yPrecision, int deviceId, int edgeFlags, int source, int flags) argument [all...] |
/frameworks/native/libs/input/ |
H A D | InputTransport.cpp | 289 int32_t buttonState, 301 "action=0x%x, flags=0x%x, edgeFlags=0x%x, metaState=0x%x, buttonState=0x%x, " 306 deviceId, source, action, flags, edgeFlags, metaState, buttonState, 330 msg.body.motion.buttonState = buttonState; 913 msg->body.motion.buttonState, 281 publishMotionEvent( uint32_t seq, int32_t deviceId, int32_t source, int32_t action, 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
|
H A D | Input.cpp | 222 int32_t buttonState, 237 mButtonState = buttonState; 215 initialize( int32_t deviceId, int32_t source, int32_t action, 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
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PointerLocationView.java | 444 final int buttonState = event.getButtonState(); 521 .append(" ButtonState=").append(MotionEvent.buttonStateToString(buttonState))
|
/frameworks/base/core/jni/ |
H A D | android_view_MotionEvent.cpp | 336 jint metaState, jint buttonState, 372 event->initialize(deviceId, source, action, flags, edgeFlags, metaState, buttonState, 333 android_view_MotionEvent_nativeInitialize(JNIEnv* env, jclass clazz, jlong nativePtr, jint deviceId, jint source, jint action, jint flags, jint edgeFlags, jint metaState, jint buttonState, jfloat xOffset, jfloat yOffset, jfloat xPrecision, jfloat yPrecision, jlong downTimeNanos, jlong eventTimeNanos, jint pointerCount, jobjectArray pointerPropertiesObjArray, jobjectArray pointerCoordsObjArray) argument
|