/frameworks/base/libs/input/ |
H A D | PointerController.h | 96 virtual void setButtonState(int32_t buttonState); 181 int32_t buttonState; member in struct:android::PointerController::Locked
|
H A D | PointerController.cpp | 92 mLocked.buttonState = 0; 160 void PointerController::setButtonState(int32_t buttonState) { argument 162 ALOGD("Set button state 0x%08x", buttonState); 166 if (mLocked.buttonState != buttonState) { 167 mLocked.buttonState = buttonState; 174 return mLocked.buttonState;
|
/frameworks/native/libs/input/tests/ |
H A D | InputPublisherAndConsumer_test.cpp | 140 const int32_t buttonState = AMOTION_EVENT_BUTTON_PRIMARY; local 168 flags, edgeFlags, metaState, buttonState, xOffset, yOffset, xPrecision, yPrecision, 193 EXPECT_EQ(buttonState, motionEvent->getButtonState());
|
/frameworks/native/services/inputflinger/ |
H A D | 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), 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 pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, float xPrecision, float yPrecision, nsecs_t downTime) argument
|
H A D | InputListener.h | 90 int32_t buttonState; member in struct:android::NotifyMotionArgs 104 int32_t metaState, int32_t buttonState,
|
H A D | InputDispatcher.h | 516 int32_t buttonState; member in struct:android::InputDispatcher::MotionEntry 529 int32_t metaState, int32_t buttonState, int32_t edgeFlags,
|
H A D | InputDispatcher.cpp | 892 "metaState=0x%x, buttonState=0x%x," 897 entry->metaState, entry->buttonState, 2031 motionEntry->metaState, motionEntry->buttonState, 2356 originalMotionEntry->buttonState, 2488 "action=0x%x, actionButton=0x%x, flags=0x%x, metaState=0x%x, buttonState=0x%x," 2491 args->action, args->actionButton, args->flags, args->metaState, args->buttonState, 2529 args->flags, args->edgeFlags, args->metaState, args->buttonState, 2546 args->metaState, args->buttonState, 3968 int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, 3976 flags(flags), metaState(metaState), buttonState(buttonStat 3966 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 D | InputReader.cpp | 174 static bool isPointerDown(int32_t buttonState) { argument 175 return buttonState & 193 int32_t buttonState, int32_t keyCode) { 196 && !(lastButtonState & buttonState) 197 && (currentButtonState & buttonState)) 199 && (lastButtonState & buttonState) 200 && !(currentButtonState & buttonState))) { 2677 int32_t buttonState = lastButtonState; local 2691 buttonState &= ~actionButton; 2694 metaState, buttonState, AMOTION_EVENT_EDGE_FLAG_NON 190 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 4479 int32_t buttonState = mCurrentCookedState.buttonState; local 4495 int32_t buttonState = mCurrentCookedState.buttonState; local 4624 int32_t buttonState = mLastCookedState.buttonState; local 4642 int32_t buttonState = mLastCookedState.buttonState; local 5026 int32_t buttonState = mCurrentCookedState.buttonState; local 5179 int32_t buttonState = mCurrentRawState.buttonState; local 6202 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, const PointerProperties* properties, const PointerCoords* coords, const uint32_t* idToIndex, BitSet32 idBits, int32_t changedId, float xPrecision, float yPrecision, nsecs_t downTime) argument 7132 int32_t buttonState = 0; local [all...] |
H A D | InputReader.h | 1433 int32_t buttonState; member in struct:android::TouchInputMapper::RawState 1442 buttonState = other.buttonState; 1450 buttonState = 0; 1465 int32_t buttonState; member in struct:android::TouchInputMapper::CookedState 1472 buttonState = other.buttonState; 1480 buttonState = 0; 1869 int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags,
|
/frameworks/native/include/input/ |
H A D | InputTransport.h | 90 int32_t buttonState; member in struct:android::InputMessage::Body::Motion 240 int32_t buttonState,
|
H A D | Input.h | 401 inline int32_t setButtonState(int32_t buttonState) { mButtonState = buttonState; } argument 564 int32_t buttonState,
|
/frameworks/native/libs/input/ |
H A D | Input.cpp | 223 int32_t buttonState, 239 mButtonState = buttonState; 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 D | 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, 285 publishMotionEvent( uint32_t seq, 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, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument
|
/frameworks/base/core/jni/ |
H A D | 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); 334 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 513 android_view_MotionEvent_nativeSetButtonState(JNIEnv* env, jclass clazz, jlong nativePtr, jint buttonState) argument
|
/frameworks/base/core/java/android/view/ |
H A D | MotionEvent.java | 1443 int metaState, int buttonState, 1465 private static native void nativeSetButtonState(long nativePtr, int buttonState); argument 1548 * @param buttonState The state of buttons that are pressed. 1561 PointerCoords[] pointerCoords, int metaState, int buttonState, 1566 deviceId, source, action, flags, edgeFlags, metaState, buttonState, 2336 public final void setButtonState(int buttonState) { argument 2337 nativeSetButtonState(mNativePtr, buttonState); 3169 msg.append(", buttonState=").append(MotionEvent.buttonStateToString(getButtonState())); 3269 * @param buttonState The button state. 3273 public static String buttonStateToString(int buttonState) { argument 1441 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 1559 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/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 76 virtual void setButtonState(int32_t buttonState) { argument 77 mButtonState = buttonState; 2070 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, args.buttonState); 2092 ASSERT_EQ(0, args.buttonState); 2275 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, motionArgs.buttonState); 2283 ASSERT_EQ(0, motionArgs.buttonState); 2290 ASSERT_EQ(0, motionArgs.buttonState); 2303 motionArgs.buttonState); 2312 ASSERT_EQ(AMOTION_EVENT_BUTTON_TERTIARY, motionArgs.buttonState); 2321 ASSERT_EQ(0, motionArgs.buttonState); [all...] |