/frameworks/native/services/inputflinger/include/ |
D | InputListener.h | 96 struct NotifyMotionArgs : public NotifyArgs { struct 128 inline NotifyMotionArgs() { } in NotifyMotionArgs() argument 130 NotifyMotionArgs(int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId, 139 NotifyMotionArgs(const NotifyMotionArgs& other); 141 virtual ~NotifyMotionArgs() { } in ~NotifyMotionArgs() argument 143 bool operator==(const NotifyMotionArgs& rhs) const; 258 virtual void notifyMotion(const NotifyMotionArgs* args) = 0; 280 virtual void notifyMotion(const NotifyMotionArgs* args) override;
|
/frameworks/native/services/inputflinger/tests/ |
D | InputClassifier_test.cpp | 33 static NotifyMotionArgs generateBasicMotionArgs() { in generateBasicMotionArgs() 44 NotifyMotionArgs motionArgs(1 /*sequenceNum*/, downTime /*eventTime*/, 2 /*readTime*/, in generateBasicMotionArgs() 105 NotifyMotionArgs motionArgs = generateBasicMotionArgs(); in TEST_F() 107 NotifyMotionArgs args; in TEST_F() 217 NotifyMotionArgs motionArgs = generateBasicMotionArgs(); in TEST_F() 228 NotifyMotionArgs motionArgs = generateBasicMotionArgs(); in TEST_F() 244 NotifyMotionArgs motionArgs = generateBasicMotionArgs(); in TEST_F()
|
D | TestInputListener.cpp | 66 void TestInputListener::assertNotifyMotionWasCalled(NotifyMotionArgs* outEventArgs) { in assertNotifyMotionWasCalled() 68 assertCalled<NotifyMotionArgs>(outEventArgs, in assertNotifyMotionWasCalled() 74 assertNotCalled<NotifyMotionArgs>("notifyMotion() should not be called.")); in assertNotifyMotionWasNotCalled() 158 void TestInputListener::notifyMotion(const NotifyMotionArgs* args) { in notifyMotion() 159 notify<NotifyMotionArgs>(args); in notifyMotion()
|
D | InputClassifierConverter_test.cpp | 29 static NotifyMotionArgs generateBasicMotionArgs() { in generateBasicMotionArgs() 41 NotifyMotionArgs motionArgs(1 /*sequenceNum*/, downTime /*eventTime*/, 2 /*readTime*/, in generateBasicMotionArgs() 65 const NotifyMotionArgs motionArgs = generateBasicMotionArgs(); in TEST()
|
D | TestInputListener.h | 51 void assertNotifyMotionWasCalled(NotifyMotionArgs* outEventArgs = nullptr); 77 virtual void notifyMotion(const NotifyMotionArgs* args) override; 95 std::vector<NotifyMotionArgs>, //
|
D | InputDispatcher_test.cpp | 88 void assertFilterInputEventWasCalled(const NotifyMotionArgs& args) { in assertFilterInputEventWasCalled() 1345 static NotifyMotionArgs generateMotionArgs(int32_t action, int32_t source, int32_t displayId, in generateMotionArgs() 1367 NotifyMotionArgs args(/* id */ 0, currentTime, 0 /*readTime*/, DEVICE_ID, source, displayId, in generateMotionArgs() 1378 static NotifyMotionArgs generateMotionArgs(int32_t action, int32_t source, int32_t displayId) { in generateMotionArgs() 1716 NotifyMotionArgs motionArgs = in TEST_F() 1751 NotifyMotionArgs downMotionArgs = in TEST_P() 1768 NotifyMotionArgs upMotionArgs = in TEST_P() 1792 NotifyMotionArgs downMotionArgs = in TEST_P() 1801 NotifyMotionArgs pointerDownMotionArgs = in TEST_P() 1821 NotifyMotionArgs pointerUpMotionArgs = in TEST_P() [all …]
|
D | InputReader_test.cpp | 2275 NotifyMotionArgs args; in TEST_F() 2296 NotifyMotionArgs args; in TEST_F() 2334 NotifyMotionArgs args; in TEST_F() 3829 NotifyMotionArgs args; in testMotionRotation() 3910 NotifyMotionArgs args; in TEST_F() 3996 NotifyMotionArgs args; in TEST_F() 4020 NotifyMotionArgs args; in TEST_F() 4049 NotifyMotionArgs args; in TEST_F() 4159 NotifyMotionArgs motionArgs; in TEST_F() 4446 NotifyMotionArgs args; in TEST_F() [all …]
|
/frameworks/native/services/inputflinger/ |
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() 271 MotionClassification MotionClassifier::classify(const NotifyMotionArgs& args) { in classify() 276 ClassifierEvent event(std::make_unique<NotifyMotionArgs>(args)); in classify() 380 void InputClassifier::notifyMotion(const NotifyMotionArgs* args) { in notifyMotion() 389 NotifyMotionArgs newArgs(*args); in notifyMotion()
|
D | InputListener.cpp | 98 NotifyMotionArgs::NotifyMotionArgs( in NotifyMotionArgs() function in android::NotifyMotionArgs 132 NotifyMotionArgs::NotifyMotionArgs(const NotifyMotionArgs& other) in NotifyMotionArgs() function in android::NotifyMotionArgs 163 bool NotifyMotionArgs::operator==(const NotifyMotionArgs& rhs) const { in operator ==() 191 void NotifyMotionArgs::notify(const sp<InputListenerInterface>& listener) const { in notify() 337 void QueuedInputListener::notifyMotion(const NotifyMotionArgs* args) { in notifyMotion() 339 mArgsQueue.push_back(new NotifyMotionArgs(*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; 230 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 | 419 NotifyMotionArgs releaseArgs(getContext()->getNextId(), when, readTime, in sync() 431 NotifyMotionArgs args(getContext()->getNextId(), when, readTime, getDeviceId(), mSource, in sync() 444 NotifyMotionArgs pressArgs(getContext()->getNextId(), when, readTime, getDeviceId(), in sync() 460 NotifyMotionArgs hoverArgs(getContext()->getNextId(), when, readTime, getDeviceId(), in sync() 475 NotifyMotionArgs scrollArgs(getContext()->getNextId(), when, readTime, getDeviceId(), in sync()
|
D | RotaryEncoderInputMapper.cpp | 124 NotifyMotionArgs scrollArgs(getContext()->getNextId(), when, readTime, getDeviceId(), in sync()
|
D | JoystickInputMapper.cpp | 340 NotifyMotionArgs args(getContext()->getNextId(), when, readTime, getDeviceId(), in sync()
|
D | TouchInputMapper.cpp | 2573 NotifyMotionArgs args(getContext()->getNextId(), when, readTime, getDeviceId(), mSource, in dispatchPointerGestures() 3486 NotifyMotionArgs args(getContext()->getNextId(), when, readTime, getDeviceId(), mSource, in dispatchPointerSimple() 3500 NotifyMotionArgs args(getContext()->getNextId(), when, readTime, getDeviceId(), mSource, in dispatchPointerSimple() 3516 NotifyMotionArgs args(getContext()->getNextId(), when, readTime, getDeviceId(), mSource, in dispatchPointerSimple() 3527 NotifyMotionArgs args(getContext()->getNextId(), when, readTime, getDeviceId(), mSource, in dispatchPointerSimple() 3542 NotifyMotionArgs args(getContext()->getNextId(), when, readTime, getDeviceId(), mSource, in dispatchPointerSimple() 3553 NotifyMotionArgs args(getContext()->getNextId(), when, readTime, getDeviceId(), mSource, in dispatchPointerSimple() 3575 NotifyMotionArgs args(getContext()->getNextId(), when, readTime, getDeviceId(), mSource, in dispatchPointerSimple() 3655 NotifyMotionArgs args(getContext()->getNextId(), when, readTime, deviceId, source, displayId, in dispatchMotion()
|
/frameworks/native/services/inputflinger/benchmarks/ |
D | InputDispatcher_benchmarks.cpp | 243 static NotifyMotionArgs generateMotionArgs() { in generateMotionArgs() 257 NotifyMotionArgs args(IInputConstants::INVALID_INPUT_EVENT_ID, currentTime, currentTime, in generateMotionArgs() 283 NotifyMotionArgs motionArgs = generateMotionArgs(); in benchmarkNotifyMotion()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.h | 98 void notifyMotion(const NotifyMotionArgs* args) override; 302 bool shouldSendMotionToInputFilterLocked(const NotifyMotionArgs* args) REQUIRES(mLock);
|
D | InputDispatcher.cpp | 3817 void InputDispatcher::notifyMotion(const NotifyMotionArgs* args) { in notifyMotion() 3942 bool InputDispatcher::shouldSendMotionToInputFilterLocked(const NotifyMotionArgs* args) { in shouldSendMotionToInputFilterLocked()
|