/frameworks/native/services/inputflinger/include/ |
D | InputListener.h | 95 struct NotifyMotionArgs : public NotifyArgs { struct 125 inline NotifyMotionArgs() { } in NotifyMotionArgs() argument 127 NotifyMotionArgs(uint32_t sequenceNum, nsecs_t eventTime, int32_t deviceId, uint32_t source, 136 NotifyMotionArgs(const NotifyMotionArgs& other); 138 virtual ~NotifyMotionArgs() { } in ~NotifyMotionArgs() argument 140 bool operator==(const NotifyMotionArgs& rhs) const; 197 virtual void notifyMotion(const NotifyMotionArgs* args) = 0; 216 virtual void notifyMotion(const NotifyMotionArgs* args);
|
/frameworks/native/services/inputflinger/tests/ |
D | InputClassifier_test.cpp | 33 static NotifyMotionArgs generateBasicMotionArgs() { in generateBasicMotionArgs() 44 NotifyMotionArgs motionArgs(1/*sequenceNum*/, downTime/*eventTime*/, 3/*deviceId*/, in generateBasicMotionArgs() 101 NotifyMotionArgs motionArgs = generateBasicMotionArgs(); in TEST_F() 103 NotifyMotionArgs args; in TEST_F() 213 NotifyMotionArgs motionArgs = generateBasicMotionArgs(); in TEST_F() 224 NotifyMotionArgs motionArgs = generateBasicMotionArgs(); in TEST_F() 240 NotifyMotionArgs motionArgs = generateBasicMotionArgs(); in TEST_F()
|
D | TestInputListener.h | 32 std::vector<NotifyMotionArgs> mNotifyMotionArgsQueue; 54 void assertNotifyMotionWasCalled(NotifyMotionArgs* outEventArgs = nullptr); 67 virtual void notifyMotion(const NotifyMotionArgs* args);
|
D | InputClassifierConverter_test.cpp | 29 static NotifyMotionArgs generateBasicMotionArgs() { in generateBasicMotionArgs() 41 NotifyMotionArgs motionArgs(1/*sequenceNum*/, downTime/*eventTime*/, 3/*deviceId*/, in generateBasicMotionArgs() 62 const NotifyMotionArgs motionArgs = generateBasicMotionArgs(); in TEST()
|
D | TestInputListener.cpp | 72 void TestInputListener::assertNotifyMotionWasCalled(NotifyMotionArgs* outEventArgs) { in assertNotifyMotionWasCalled() 106 void TestInputListener::notifyMotion(const NotifyMotionArgs* args) { in notifyMotion()
|
D | InputReader_test.cpp | 2422 NotifyMotionArgs args; in testMotionRotation() 2508 NotifyMotionArgs args; in TEST_F() 2599 NotifyMotionArgs args; in TEST_F() 2623 NotifyMotionArgs args; in TEST_F() 2657 NotifyMotionArgs args; in TEST_F() 2772 NotifyMotionArgs motionArgs; in TEST_F() 3060 NotifyMotionArgs args; in TEST_F() 3088 NotifyMotionArgs args; in TEST_F() 3179 NotifyMotionArgs args; in TEST_F() 3670 NotifyMotionArgs motionArgs; in TEST_F() [all …]
|
D | InputDispatcher_test.cpp | 60 void assertFilterInputEventWasCalledWithExpectedArgs(const NotifyMotionArgs* args) { in assertFilterInputEventWasCalledWithExpectedArgs() 566 static NotifyMotionArgs generateMotionArgs(int32_t action, int32_t source, int32_t displayId) { in generateMotionArgs() 580 NotifyMotionArgs args(/* sequenceNum */ 0, currentTime, DEVICE_ID, source, displayId, in generateMotionArgs() 869 NotifyMotionArgs motionArgs; in testNotifyMotion()
|
/frameworks/native/services/inputflinger/ |
D | InputListener.cpp | 90 NotifyMotionArgs::NotifyMotionArgs(uint32_t sequenceNum, nsecs_t eventTime, int32_t deviceId, in NotifyMotionArgs() function in android::NotifyMotionArgs 112 NotifyMotionArgs::NotifyMotionArgs(const NotifyMotionArgs& other) : in NotifyMotionArgs() function in android::NotifyMotionArgs 127 bool NotifyMotionArgs::operator==(const NotifyMotionArgs& rhs) const { in operator ==() 164 void NotifyMotionArgs::notify(const sp<InputListenerInterface>& listener) const { in notify() 239 void QueuedInputListener::notifyMotion(const NotifyMotionArgs* args) { in notifyMotion() 240 mArgsQueue.push_back(new NotifyMotionArgs(*args)); in notifyMotion()
|
D | InputClassifier.cpp | 70 static bool isTouchEvent(const NotifyMotionArgs& args) { in isTouchEvent() 76 ClassifierEvent::ClassifierEvent(std::unique_ptr<NotifyMotionArgs> args) : in ClassifierEvent() 103 NotifyMotionArgs* motionArgs = static_cast<NotifyMotionArgs*>(args.get()); in getDeviceId() 179 NotifyMotionArgs* motionArgs = static_cast<NotifyMotionArgs*>(event.args.get()); in processEvents() 265 MotionClassification MotionClassifier::classify(const NotifyMotionArgs& args) { in classify() 270 ClassifierEvent event(std::make_unique<NotifyMotionArgs>(args)); in classify() 374 void InputClassifier::notifyMotion(const NotifyMotionArgs* args) { in notifyMotion() 383 NotifyMotionArgs newArgs(*args); in notifyMotion()
|
D | InputClassifier.h | 43 ClassifierEvent(std::unique_ptr<NotifyMotionArgs> args); 71 virtual MotionClassification classify(const NotifyMotionArgs& args) = 0; 138 virtual MotionClassification classify(const NotifyMotionArgs& args) override; 228 virtual void notifyMotion(const NotifyMotionArgs* args) override;
|
D | InputClassifierConverter.h | 30 const NotifyMotionArgs& args);
|
D | InputClassifierConverter.cpp | 333 static void getHidlPropertiesAndCoords(const NotifyMotionArgs& args, in getHidlPropertiesAndCoords() 354 common::V1_0::MotionEvent notifyMotionArgsToHalMotionEvent(const NotifyMotionArgs& args) { in notifyMotionArgsToHalMotionEvent()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 398 NotifyMotionArgs releaseArgs(mContext->getNextSequenceNum(), when, getDeviceId(), in sync() 410 NotifyMotionArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), mSource, in sync() 423 NotifyMotionArgs pressArgs(mContext->getNextSequenceNum(), when, getDeviceId(), in sync() 439 NotifyMotionArgs hoverArgs(mContext->getNextSequenceNum(), when, getDeviceId(), mSource, in sync() 454 NotifyMotionArgs scrollArgs(mContext->getNextSequenceNum(), when, getDeviceId(), in sync()
|
D | RotaryEncoderInputMapper.cpp | 122 NotifyMotionArgs scrollArgs(mContext->getNextSequenceNum(), when, getDeviceId(), mSource, in sync()
|
D | TouchInputMapper.cpp | 2536 NotifyMotionArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), mSource, in dispatchPointerGestures() 3455 NotifyMotionArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), mSource, in dispatchPointerSimple() 3469 NotifyMotionArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), mSource, in dispatchPointerSimple() 3485 NotifyMotionArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), mSource, in dispatchPointerSimple() 3497 NotifyMotionArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), mSource, in dispatchPointerSimple() 3512 NotifyMotionArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), mSource, in dispatchPointerSimple() 3524 NotifyMotionArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), mSource, in dispatchPointerSimple() 3546 NotifyMotionArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), mSource, in dispatchPointerSimple() 3615 NotifyMotionArgs args(mContext->getNextSequenceNum(), when, deviceId, source, displayId, in dispatchMotion()
|
D | JoystickInputMapper.cpp | 334 NotifyMotionArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), in sync()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.h | 90 virtual void notifyMotion(const NotifyMotionArgs* args) override; 242 bool shouldSendMotionToInputFilterLocked(const NotifyMotionArgs* args) REQUIRES(mLock);
|
D | InputDispatcher.cpp | 2719 void InputDispatcher::notifyMotion(const NotifyMotionArgs* args) { in notifyMotion() 2800 bool InputDispatcher::shouldSendMotionToInputFilterLocked(const NotifyMotionArgs* args) { in shouldSendMotionToInputFilterLocked()
|