/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 | 30 static NotifyMotionArgs generateBasicMotionArgs() { in generateBasicMotionArgs() 41 NotifyMotionArgs motionArgs(1/*sequenceNum*/, downTime/*eventTime*/, 3/*deviceId*/, in generateBasicMotionArgs() 98 NotifyMotionArgs motionArgs = generateBasicMotionArgs(); in TEST_F() 100 NotifyMotionArgs args; in TEST_F() 160 NotifyMotionArgs motionArgs = generateBasicMotionArgs(); in TEST_F() 171 NotifyMotionArgs motionArgs = generateBasicMotionArgs(); in TEST_F() 187 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 | 2410 NotifyMotionArgs args; in testMotionRotation() 2496 NotifyMotionArgs args; in TEST_F() 2587 NotifyMotionArgs args; in TEST_F() 2611 NotifyMotionArgs args; in TEST_F() 2645 NotifyMotionArgs args; in TEST_F() 2760 NotifyMotionArgs motionArgs; in TEST_F() 3048 NotifyMotionArgs args; in TEST_F() 3076 NotifyMotionArgs args; in TEST_F() 3161 NotifyMotionArgs args; in TEST_F() 3652 NotifyMotionArgs motionArgs; in TEST_F() [all …]
|
D | InputDispatcher_test.cpp | 58 void assertFilterInputEventWasCalledWithExpectedArgs(const NotifyMotionArgs* args) { in assertFilterInputEventWasCalledWithExpectedArgs() 564 static NotifyMotionArgs generateMotionArgs(int32_t action, int32_t source, int32_t displayId) { in generateMotionArgs() 578 NotifyMotionArgs args(/* sequenceNum */ 0, currentTime, DEVICE_ID, source, displayId, in generateMotionArgs() 867 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 | 78 static bool isTouchEvent(const NotifyMotionArgs& args) { in isTouchEvent() 98 ClassifierEvent::ClassifierEvent(std::unique_ptr<NotifyMotionArgs> args) : in ClassifierEvent() 125 NotifyMotionArgs* motionArgs = static_cast<NotifyMotionArgs*>(args.get()); in getDeviceId() 238 NotifyMotionArgs* motionArgs = static_cast<NotifyMotionArgs*>(event.args.get()); in callInputClassifierHal() 324 MotionClassification MotionClassifier::classify(const NotifyMotionArgs& args) { in classify() 329 ClassifierEvent event(std::make_unique<NotifyMotionArgs>(args)); in classify() 416 void InputClassifier::notifyMotion(const NotifyMotionArgs* args) { in notifyMotion() 425 NotifyMotionArgs newArgs(*args); in notifyMotion()
|
D | InputClassifier.h | 43 ClassifierEvent(std::unique_ptr<NotifyMotionArgs> args); 71 virtual MotionClassification classify(const NotifyMotionArgs& args) = 0; 137 virtual MotionClassification classify(const NotifyMotionArgs& args) override; 242 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()
|
D | InputReader.cpp | 2847 NotifyMotionArgs releaseArgs(mContext->getNextSequenceNum(), when, getDeviceId(), in sync() 2858 NotifyMotionArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), mSource, in sync() 2870 NotifyMotionArgs pressArgs(mContext->getNextSequenceNum(), when, getDeviceId(), in sync() 2885 NotifyMotionArgs hoverArgs(mContext->getNextSequenceNum(), when, getDeviceId(), in sync() 2899 NotifyMotionArgs scrollArgs(mContext->getNextSequenceNum(), when, getDeviceId(), in sync() 3044 NotifyMotionArgs scrollArgs(mContext->getNextSequenceNum(), when, getDeviceId(), in sync() 5453 NotifyMotionArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), in dispatchPointerGestures() 6379 NotifyMotionArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), in dispatchPointerSimple() 6393 NotifyMotionArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), in dispatchPointerSimple() 6409 NotifyMotionArgs args(mContext->getNextSequenceNum(), when, getDeviceId(), in dispatchPointerSimple() [all …]
|
D | InputDispatcher.h | 425 virtual void notifyMotion(const NotifyMotionArgs* args) override; 1032 bool shouldSendMotionToInputFilterLocked(const NotifyMotionArgs* args) REQUIRES(mLock);
|
D | InputDispatcher.cpp | 2723 void InputDispatcher::notifyMotion(const NotifyMotionArgs* args) { in notifyMotion() 2805 bool InputDispatcher::shouldSendMotionToInputFilterLocked(const NotifyMotionArgs* args) { in shouldSendMotionToInputFilterLocked()
|