/frameworks/native/services/inputflinger/ |
D | InputClassifier.cpp | 60 static MotionClassification getMotionClassification(common::V1_0::Classification classification) { in getMotionClassification() 61 static_assert(MotionClassification::NONE == in getMotionClassification() 62 static_cast<MotionClassification>(common::V1_0::Classification::NONE)); in getMotionClassification() 63 static_assert(MotionClassification::AMBIGUOUS_GESTURE == in getMotionClassification() 64 static_cast<MotionClassification>(common::V1_0::Classification::AMBIGUOUS_GESTURE)); in getMotionClassification() 65 static_assert(MotionClassification::DEEP_PRESS == in getMotionClassification() 66 static_cast<MotionClassification>(common::V1_0::Classification::DEEP_PRESS)); in getMotionClassification() 67 return static_cast<MotionClassification>(classification); in getMotionClassification() 194 setClassification(deviceId, MotionClassification::NONE); in processEvents() 231 MotionClassification classification) { in updateClassification() [all …]
|
D | InputClassifier.h | 71 virtual MotionClassification classify(const NotifyMotionArgs& args) = 0; 138 virtual MotionClassification classify(const NotifyMotionArgs& args) override; 179 std::unordered_map<int32_t /*deviceId*/, MotionClassification> 184 void setClassification(int32_t deviceId, MotionClassification classification); 188 MotionClassification getClassification(int32_t deviceId); 190 MotionClassification classification);
|
D | InputListener.cpp | 93 int32_t buttonState, MotionClassification classification, in NotifyMotionArgs()
|
/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/reader/mapper/ |
D | CursorInputMapper.cpp | 401 metaState, buttonState, MotionClassification::NONE, in sync() 412 currentButtonState, MotionClassification::NONE, in sync() 426 metaState, buttonState, MotionClassification::NONE, in sync() 441 0, metaState, currentButtonState, MotionClassification::NONE, in sync() 457 currentButtonState, MotionClassification::NONE, in sync()
|
D | RotaryEncoderInputMapper.cpp | 124 metaState, /* buttonState */ 0, MotionClassification::NONE, in sync()
|
D | TouchInputMapper.cpp | 2538 metaState, buttonState, MotionClassification::NONE, in dispatchPointerGestures() 3457 mLastRawState.buttonState, MotionClassification::NONE, in dispatchPointerSimple() 3471 metaState, mLastRawState.buttonState, MotionClassification::NONE, in dispatchPointerSimple() 3488 MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, in dispatchPointerSimple() 3499 mCurrentRawState.buttonState, MotionClassification::NONE, in dispatchPointerSimple() 3515 MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, in dispatchPointerSimple() 3526 metaState, mCurrentRawState.buttonState, MotionClassification::NONE, in dispatchPointerSimple() 3548 mCurrentRawState.buttonState, MotionClassification::NONE, in dispatchPointerSimple() 3617 MotionClassification::NONE, edgeFlags, deviceTimestamp, pointerCount, in dispatchMotion()
|
D | JoystickInputMapper.cpp | 337 MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, in sync()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | Entry.h | 127 MotionClassification classification; 139 MotionClassification classification, int32_t edgeFlags, float xPrecision,
|
D | Entry.cpp | 163 int32_t buttonState, MotionClassification classification, in MotionEntry()
|
D | InputState.cpp | 272 0 /*buttonState*/, MotionClassification::NONE, in synthesizeCancelationEvents()
|
/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 | InputDispatcher_test.cpp | 250 constexpr MotionClassification classification = MotionClassification::NONE; in TEST_F() 544 AMETA_NONE, /* buttonState */ 0, MotionClassification::NONE, in injectMotionDown() 582 AMETA_NONE, /* buttonState */ 0, MotionClassification::NONE, in generateMotionArgs()
|
D | InputClassifier_test.cpp | 46 0/*actionButton*/, 0/*flags*/, AMETA_NONE, 0/*buttonState*/, MotionClassification::NONE, in generateBasicMotionArgs()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 376 buttonState, static_cast<MotionClassification>(classification), in android_view_MotionEvent_nativeInitialize()
|