/frameworks/base/libs/input/ |
H A D | PointerController.h | 84 virtual void setButtonState(int32_t buttonState); 158 int32_t buttonState; member in struct:android::PointerController::Locked
|
H A D | PointerController.cpp | 82 mLocked.buttonState = 0; 143 void PointerController::setButtonState(int32_t buttonState) { argument 145 ALOGD("Set button state 0x%08x", buttonState); 149 if (mLocked.buttonState != buttonState) { 150 mLocked.buttonState = buttonState; 157 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 | 510 int32_t buttonState; member in struct:android::InputDispatcher::MotionEntry 523 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, 2000 motionEntry->metaState, motionEntry->buttonState, 2325 originalMotionEntry->buttonState, 2457 "action=0x%x, actionButton=0x%x, flags=0x%x, metaState=0x%x, buttonState=0x%x," 2460 args->action, args->actionButton, args->flags, args->metaState, args->buttonState, 2498 args->flags, args->edgeFlags, args->metaState, args->buttonState, 2515 args->metaState, args->buttonState, 3937 int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, 3945 flags(flags), metaState(metaState), buttonState(buttonStat 3935 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))) { 2627 int32_t buttonState = lastButtonState; local 2641 buttonState &= ~actionButton; 2644 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 4330 int32_t buttonState = mCurrentCookedState.buttonState; local 4346 int32_t buttonState = mCurrentCookedState.buttonState; local 4475 int32_t buttonState = mLastCookedState.buttonState; local 4493 int32_t buttonState = mLastCookedState.buttonState; local 4875 int32_t buttonState = mCurrentCookedState.buttonState; local 5028 int32_t buttonState = mCurrentRawState.buttonState; local 6034 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 6964 int32_t buttonState = 0; local [all...] |
H A D | InputReader.h | 1403 int32_t buttonState; member in struct:android::TouchInputMapper::RawState 1412 buttonState = other.buttonState; 1420 buttonState = 0; 1435 int32_t buttonState; member in struct:android::TouchInputMapper::CookedState 1442 buttonState = other.buttonState; 1450 buttonState = 0; 1839 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 | 382 inline int32_t setButtonState(int32_t buttonState) { mButtonState = buttonState; } argument 545 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 | 290 int32_t buttonState, 303 "metaState=0x%x, buttonState=0x%x, xOffset=%f, yOffset=%f, " 307 deviceId, source, action, actionButton, flags, edgeFlags, metaState, buttonState, 332 msg.body.motion.buttonState = buttonState; 916 msg->body.motion.buttonState, 281 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 | 1378 int metaState, int buttonState, 1400 private static native void nativeSetButtonState(long nativePtr, int buttonState); argument 1483 * @param buttonState The state of buttons that are pressed. 1496 PointerCoords[] pointerCoords, int metaState, int buttonState, 1501 deviceId, source, action, flags, edgeFlags, metaState, buttonState, 2271 public final void setButtonState(int buttonState) { argument 2272 nativeSetButtonState(mNativePtr, buttonState); 3104 msg.append(", buttonState=").append(MotionEvent.buttonStateToString(getButtonState())); 3204 * @param buttonState The button state. 3208 public static String buttonStateToString(int buttonState) { argument 1376 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 1494 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; 2066 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, args.buttonState); 2088 ASSERT_EQ(0, args.buttonState); 2271 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, motionArgs.buttonState); 2279 ASSERT_EQ(0, motionArgs.buttonState); 2286 ASSERT_EQ(0, motionArgs.buttonState); 2299 motionArgs.buttonState); 2308 ASSERT_EQ(AMOTION_EVENT_BUTTON_TERTIARY, motionArgs.buttonState); 2317 ASSERT_EQ(0, motionArgs.buttonState); [all...] |