/frameworks/native/services/inputflinger/ |
D | InputProcessor.cpp | 60 static MotionClassification getMotionClassification(common::Classification classification) { in getMotionClassification() 61 static_assert(MotionClassification::NONE == in getMotionClassification() 62 static_cast<MotionClassification>(common::Classification::NONE)); in getMotionClassification() 63 static_assert(MotionClassification::AMBIGUOUS_GESTURE == in getMotionClassification() 64 static_cast<MotionClassification>(common::Classification::AMBIGUOUS_GESTURE)); in getMotionClassification() 65 static_assert(MotionClassification::DEEP_PRESS == in getMotionClassification() 66 static_cast<MotionClassification>(common::Classification::DEEP_PRESS)); in getMotionClassification() 67 return static_cast<MotionClassification>(classification); in getMotionClassification() 264 MotionClassification classification) { in updateClassification() 277 void MotionClassifier::setClassification(int32_t deviceId, MotionClassification classification) { in setClassification() [all …]
|
D | InputProcessor.h | 69 virtual MotionClassification classify(const NotifyMotionArgs& args) = 0; 157 virtual MotionClassification classify(const NotifyMotionArgs& args) override; 199 std::unordered_map<int32_t /*deviceId*/, MotionClassification> mClassifications 204 void setClassification(int32_t deviceId, MotionClassification classification); 208 MotionClassification getClassification(int32_t deviceId); 210 MotionClassification classification);
|
/frameworks/native/services/inputflinger/reader/mapper/gestures/ |
D | GestureConverter.cpp | 91 case MotionClassification::TWO_FINGER_SWIPE: in reset() 94 case MotionClassification::MULTI_FINGER_SWIPE: in reset() 97 case MotionClassification::PINCH: in reset() 100 case MotionClassification::NONE: in reset() 111 mCurrentClassification = MotionClassification::NONE; in reset() 330 if (mCurrentClassification != MotionClassification::TWO_FINGER_SWIPE) { in handleScroll() 333 mCurrentClassification = MotionClassification::TWO_FINGER_SWIPE; in handleScroll() 365 if (mCurrentClassification == MotionClassification::TWO_FINGER_SWIPE) { in handleFling() 375 if (mCurrentClassification == MotionClassification::NONE) { in handleFling() 391 mCurrentClassification = MotionClassification::TWO_FINGER_SWIPE; in handleFling() [all …]
|
D | GestureConverter.h | 120 MotionClassification mCurrentClassification = MotionClassification::NONE;
|
/frameworks/native/services/inputflinger/tests/ |
D | GestureConverter_test.cpp | 302 AllOf(WithMotionClassification(MotionClassification::TWO_FINGER_SWIPE), in TEST_F() 313 WithMotionClassification(MotionClassification::TWO_FINGER_SWIPE), in TEST_F() 327 MotionClassification::TWO_FINGER_SWIPE), in TEST_F() 332 WithMotionClassification(MotionClassification::NONE))))); in TEST_F() 361 AllOf(WithMotionClassification(MotionClassification::TWO_FINGER_SWIPE), in TEST_F() 371 WithMotionClassification(MotionClassification::TWO_FINGER_SWIPE), in TEST_F() 384 MotionClassification::TWO_FINGER_SWIPE))), in TEST_F() 388 WithMotionClassification(MotionClassification::NONE))))); in TEST_F() 415 AllOf(WithMotionClassification(MotionClassification::NONE), in TEST_F() 499 WithMotionClassification(MotionClassification::NONE)))); in TEST_F() [all …]
|
D | NotifyArgs_test.cpp | 46 MotionClassification classification = MotionClassification::DEEP_PRESS; in TEST()
|
D | InputProcessorConverter_test.cpp | 44 MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, in generateBasicMotionArgs()
|
/frameworks/native/libs/input/tests/ |
D | InputChannel_test.cpp | 204 std::array<MotionClassification, 3> classifications = { in TEST_F() 205 MotionClassification::NONE, in TEST_F() 206 MotionClassification::AMBIGUOUS_GESTURE, in TEST_F() 207 MotionClassification::DEEP_PRESS, in TEST_F() 215 for (MotionClassification classification : classifications) { in TEST_F()
|
D | InputEvent_test.cpp | 370 AMETA_ALT_ON, AMOTION_EVENT_BUTTON_PRIMARY, MotionClassification::NONE, in initializeEventWithHistory() 394 ASSERT_EQ(MotionClassification::NONE, event->getClassification()); in assertEqualsEventWithHistory() 830 MotionClassification::NONE, identityTransform, /*xPrecision=*/0, in TEST_F() 888 AMETA_NONE, /*buttonState=*/0, MotionClassification::NONE, transform, in createMotionEvent() 1014 std::array<MotionClassification, 3> classifications = { in TEST_F() 1015 MotionClassification::NONE, in TEST_F() 1016 MotionClassification::AMBIGUOUS_GESTURE, in TEST_F() 1017 MotionClassification::DEEP_PRESS, in TEST_F() 1031 for (MotionClassification classification : classifications) { in TEST_F() 1056 AMETA_NONE, 0, MotionClassification::NONE, identityTransform, 0, 0, in TEST_F() [all …]
|
D | InputPublisherAndConsumer_test.cpp | 56 const MotionClassification classification = MotionClassification::AMBIGUOUS_GESTURE; 629 0, 0, MotionClassification::NONE, identityTransform, 0, in TEST_F() 646 0, 0, MotionClassification::NONE, identityTransform, 0, in TEST_F() 668 0, 0, MotionClassification::NONE, identityTransform, 0, in TEST_F()
|
D | InputPublisherAndConsumerNoResampling_test.cpp | 63 const MotionClassification classification = MotionClassification::AMBIGUOUS_GESTURE; 744 0, 0, MotionClassification::NONE, identityTransform, 0, in TEST_F() 762 0, 0, MotionClassification::NONE, identityTransform, 0, in TEST_F() 784 0, 0, MotionClassification::NONE, identityTransform, 0, in TEST_F()
|
D | VerifiedInputEvent_test.cpp | 49 /*buttonState=*/0, MotionClassification::NONE, transform, /*xPrecision=*/0.1, in getMotionEventWithFlags()
|
/frameworks/base/native/android/ |
D | input.cpp | 293 case android::MotionClassification::NONE: in AMotionEvent_getClassification() 295 case android::MotionClassification::AMBIGUOUS_GESTURE: in AMotionEvent_getClassification() 297 case android::MotionClassification::DEEP_PRESS: in AMotionEvent_getClassification() 299 case android::MotionClassification::TWO_FINGER_SWIPE: in AMotionEvent_getClassification() 301 case android::MotionClassification::MULTI_FINGER_SWIPE: in AMotionEvent_getClassification() 303 case android::MotionClassification::PINCH: in AMotionEvent_getClassification()
|
/frameworks/native/services/inputflinger/include/ |
D | NotifyArgsBuilders.h | 98 MotionArgsBuilder& classification(MotionClassification classification) { in classification() 159 MotionClassification mClassification{MotionClassification::NONE};
|
D | NotifyArgs.h | 104 MotionClassification classification; 128 int32_t buttonState, MotionClassification classification, int32_t edgeFlags,
|
/frameworks/native/services/inputflinger/benchmarks/ |
D | InputDispatcher_benchmarks.cpp | 67 /* edgeFlags */ 0, AMETA_NONE, /* buttonState */ 0, MotionClassification::NONE, in generateMotionEvent() 94 MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, 1, in generateMotionArgs()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 341 metaState, buttonState, MotionClassification::NONE, in sync() 351 metaState, currentButtonState, MotionClassification::NONE, in sync() 365 metaState, buttonState, MotionClassification::NONE, in sync() 380 currentButtonState, MotionClassification::NONE, in sync() 395 currentButtonState, MotionClassification::NONE, in sync()
|
D | TouchInputMapper.cpp | 1936 MotionClassification::NONE)); in abortTouches() 1991 MotionClassification::NONE)); in dispatchTouches() 2030 MotionClassification::NONE)); in dispatchTouches() 2047 MotionClassification::NONE)); in dispatchTouches() 2067 mOrientedYPrecision, mDownTime, MotionClassification::NONE)); in dispatchTouches() 2088 MotionClassification::NONE)); in dispatchHoverExit() 2109 MotionClassification::NONE)); in dispatchHoverEnterAndMove() 2121 MotionClassification::NONE)); in dispatchHoverEnterAndMove() 2143 MotionClassification::NONE)); in dispatchButtonRelease() 2165 MotionClassification::NONE)); in dispatchButtonPress() [all …]
|
D | RotaryEncoderInputMapper.cpp | 151 metaState, /*buttonState=*/0, MotionClassification::NONE, in sync()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 114 const char* motionClassificationToString(MotionClassification classification) { in motionClassificationToString() 116 case MotionClassification::NONE: in motionClassificationToString() 118 case MotionClassification::AMBIGUOUS_GESTURE: in motionClassificationToString() 120 case MotionClassification::DEEP_PRESS: in motionClassificationToString() 122 case MotionClassification::TWO_FINGER_SWIPE: in motionClassificationToString() 124 case MotionClassification::MULTI_FINGER_SWIPE: in motionClassificationToString() 126 case MotionClassification::PINCH: in motionClassificationToString() 557 MotionClassification classification, const ui::Transform& transform, in initialize() 846 mClassification = static_cast<MotionClassification>(parcel->readByte()); in readFromParcel() 1171 if (event.getClassification() != MotionClassification::NONE) { in operator <<()
|
/frameworks/native/services/inputflinger/dispatcher/trace/ |
D | InputTracingBackendInterface.h | 79 MotionClassification classification;
|
/frameworks/native/include/input/ |
D | InputTransport.h | 126 MotionClassification classification; // base type: uint8_t 373 MotionClassification classification, const ui::Transform& transform,
|
D | Input.h | 366 enum class MotionClassification : uint8_t { enum 400 const char* motionClassificationToString(MotionClassification classification); 679 inline MotionClassification getClassification() const { return mClassification; } in getClassification() 881 MotionClassification classification, const ui::Transform& transform, 976 MotionClassification mClassification;
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | Entry.h | 164 MotionClassification classification; 180 int32_t metaState, int32_t buttonState, MotionClassification classification,
|
D | InputState.cpp | 405 /*buttonState=*/0, MotionClassification::NONE, in createCancelEntryForMemento() 484 /*buttonState=*/0, MotionClassification::NONE, in synthesizePointerDownEvents() 540 MotionClassification::NONE, in synthesizeCancelationEventsForPointers()
|