/frameworks/native/services/inputflinger/ |
D | InputClassifier.cpp | 68 static MotionClassification getMotionClassification(common::V1_0::Classification classification) { in getMotionClassification() 69 static_assert(MotionClassification::NONE == in getMotionClassification() 70 static_cast<MotionClassification>(common::V1_0::Classification::NONE)); in getMotionClassification() 71 static_assert(MotionClassification::AMBIGUOUS_GESTURE == in getMotionClassification() 72 static_cast<MotionClassification>(common::V1_0::Classification::AMBIGUOUS_GESTURE)); in getMotionClassification() 73 static_assert(MotionClassification::DEEP_PRESS == in getMotionClassification() 74 static_cast<MotionClassification>(common::V1_0::Classification::DEEP_PRESS)); in getMotionClassification() 75 return static_cast<MotionClassification>(classification); in getMotionClassification() 253 setClassification(deviceId, MotionClassification::NONE); in callInputClassifierHal() 290 MotionClassification classification) { in updateClassification() [all …]
|
D | InputClassifier.h | 71 virtual MotionClassification classify(const NotifyMotionArgs& args) = 0; 137 virtual MotionClassification classify(const NotifyMotionArgs& args) override; 189 std::unordered_map<int32_t /*deviceId*/, MotionClassification> 194 void setClassification(int32_t deviceId, MotionClassification classification); 198 MotionClassification getClassification(int32_t deviceId); 200 MotionClassification classification);
|
D | InputListener.cpp | 93 int32_t buttonState, MotionClassification classification, in NotifyMotionArgs()
|
D | InputReader.cpp | 2851 MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, in sync() 2860 MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, in sync() 2873 MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, in sync() 2888 MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, in sync() 2902 MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, in sync() 3047 MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, in sync() 5456 metaState, buttonState, MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, in dispatchPointerGestures() 6382 MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, /* deviceTimestamp */ 0, in dispatchPointerSimple() 6396 MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, /* deviceTimestamp */ 0, in dispatchPointerSimple() 6412 MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, in dispatchPointerSimple() [all …]
|
D | InputDispatcher.h | 569 MotionClassification classification; 581 int32_t metaState, int32_t buttonState, MotionClassification classification,
|
D | InputDispatcher.cpp | 4605 int32_t flags, int32_t metaState, int32_t buttonState, MotionClassification classification, in MotionEntry() 4924 MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, in synthesizeCancelationEvents()
|
/frameworks/native/libs/input/tests/ |
D | InputChannel_test.cpp | 167 std::array<MotionClassification, 3> classifications = { in TEST_F() 168 MotionClassification::NONE, in TEST_F() 169 MotionClassification::AMBIGUOUS_GESTURE, in TEST_F() 170 MotionClassification::DEEP_PRESS, in TEST_F() 178 for (MotionClassification classification : classifications) { in TEST_F()
|
D | InputPublisherAndConsumer_test.cpp | 144 constexpr MotionClassification classification = MotionClassification::AMBIGUOUS_GESTURE; in PublishAndConsumeMotionEvent() 270 MotionClassification::NONE, 0, 0, 0, 0, 0, 0, in TEST_F() 283 MotionClassification::NONE, 0, 0, 0, 0, 0, 0, in TEST_F() 301 MotionClassification::NONE, 0, 0, 0, 0, 0, 0, in TEST_F()
|
D | InputEvent_test.cpp | 260 MotionClassification::NONE, X_OFFSET, Y_OFFSET, 2.0f, 2.1f, in initializeEventWithHistory() 316 ASSERT_EQ(MotionClassification::NONE, event->getClassification()); in assertEqualsEventWithHistory() 575 AMETA_NONE, 0 /*buttonState*/, MotionClassification::NONE, in TEST_F() 611 std::array<MotionClassification, 3> classifications = { in TEST_F() 612 MotionClassification::NONE, in TEST_F() 613 MotionClassification::AMBIGUOUS_GESTURE, in TEST_F() 614 MotionClassification::DEEP_PRESS, in TEST_F() 627 for (MotionClassification classification : classifications) { in TEST_F()
|
D | VelocityTracker_test.cpp | 182 MotionClassification::NONE, in createMotionEventStream()
|
/frameworks/native/include/input/ |
D | Input.h | 228 enum class MotionClassification : uint8_t { enum 247 const char* motionClassificationToString(MotionClassification classification); 448 inline MotionClassification getClassification() const { return mClassification; } in getClassification() 613 MotionClassification classification, 667 MotionClassification mClassification;
|
D | InputTransport.h | 108 MotionClassification classification; // base type: uint8_t 275 MotionClassification classification,
|
/frameworks/native/libs/input/ |
D | Input.cpp | 32 const char* motionClassificationToString(MotionClassification classification) { in motionClassificationToString() 34 case MotionClassification::NONE: in motionClassificationToString() 36 case MotionClassification::AMBIGUOUS_GESTURE: in motionClassificationToString() 38 case MotionClassification::DEEP_PRESS: in motionClassificationToString() 248 MotionClassification classification, in initialize() 468 mClassification = static_cast<MotionClassification>(parcel->readByte()); in readFromParcel()
|
D | InputTransport.cpp | 478 MotionClassification classification, in publishMotionEvent()
|
/frameworks/native/services/inputflinger/include/ |
D | InputListener.h | 108 MotionClassification classification; 130 int32_t metaState, int32_t buttonState, MotionClassification classification,
|
/frameworks/native/services/inputflinger/tests/ |
D | InputClassifierConverter_test.cpp | 43 0/*actionButton*/, 0/*flags*/, AMETA_NONE, 0/*buttonState*/, MotionClassification::NONE, in generateBasicMotionArgs()
|
D | InputClassifier_test.cpp | 43 0/*actionButton*/, 0/*flags*/, AMETA_NONE, 0/*buttonState*/, MotionClassification::NONE, in generateBasicMotionArgs()
|
D | InputDispatcher_test.cpp | 248 constexpr MotionClassification classification = MotionClassification::NONE; in TEST_F() 542 AMETA_NONE, /* buttonState */ 0, MotionClassification::NONE, in injectMotionDown() 580 AMETA_NONE, /* buttonState */ 0, MotionClassification::NONE, in generateMotionArgs()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 376 buttonState, static_cast<MotionClassification>(classification), in android_view_MotionEvent_nativeInitialize()
|