/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() 231 MotionClassification classification) { in updateClassification() 244 void MotionClassifier::setClassification(int32_t deviceId, MotionClassification classification) { in setClassification() [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 | 99 int32_t buttonState, MotionClassification classification, in NotifyMotionArgs()
|
/frameworks/native/libs/input/tests/ |
D | InputChannel_test.cpp | 175 std::array<MotionClassification, 3> classifications = { in TEST_F() 176 MotionClassification::NONE, in TEST_F() 177 MotionClassification::AMBIGUOUS_GESTURE, in TEST_F() 178 MotionClassification::DEEP_PRESS, in TEST_F() 186 for (MotionClassification classification : classifications) { in TEST_F()
|
D | InputEvent_test.cpp | 269 MotionClassification::NONE, X_SCALE, Y_SCALE, X_OFFSET, Y_OFFSET, 2.0f, 2.1f, in initializeEventWithHistory() 328 ASSERT_EQ(MotionClassification::NONE, event->getClassification()); in assertEqualsEventWithHistory() 590 MotionClassification::NONE, 1 /*xScale*/, 1 /*yScale*/, 0 /*xOffset*/, in TEST_F() 635 std::array<MotionClassification, 3> classifications = { in TEST_F() 636 MotionClassification::NONE, in TEST_F() 637 MotionClassification::AMBIGUOUS_GESTURE, in TEST_F() 638 MotionClassification::DEEP_PRESS, in TEST_F() 651 for (MotionClassification classification : classifications) { in TEST_F() 675 AMETA_NONE, 0, MotionClassification::NONE, 1 /*xScale*/, 1 /*yScale*/, 0, 0, 0, in TEST_F()
|
D | InputPublisherAndConsumer_test.cpp | 157 constexpr MotionClassification classification = MotionClassification::AMBIGUOUS_GESTURE; in PublishAndConsumeMotionEvent() 342 0, 0, 0, MotionClassification::NONE, 1 /* xScale */, in TEST_F() 358 0, 0, 0, MotionClassification::NONE, 1 /* xScale */, in TEST_F() 379 0, 0, 0, MotionClassification::NONE, 1 /* xScale */, in TEST_F()
|
D | VerifiedInputEvent_test.cpp | 45 MotionClassification::NONE, 2 /*xScale*/, 3 /*yScale*/, 4 /*xOffset*/, in getMotionEventWithFlags()
|
D | VelocityTracker_test.cpp | 182 MotionClassification::NONE, 1 /*xScale*/, 1 /*yScale*/, 0 /*xOffset*/, in createMotionEventStream()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 380 metaState, buttonState, MotionClassification::NONE, in sync() 391 MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, 1, in sync() 405 metaState, buttonState, MotionClassification::NONE, in sync() 420 0, metaState, currentButtonState, MotionClassification::NONE, in sync() 434 metaState, currentButtonState, MotionClassification::NONE, in sync()
|
D | RotaryEncoderInputMapper.cpp | 124 metaState, /* buttonState */ 0, MotionClassification::NONE, in sync()
|
D | TouchInputMapper.cpp | 2498 buttonState, MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, in dispatchPointerGestures() 3418 mLastRawState.buttonState, MotionClassification::NONE, in dispatchPointerSimple() 3432 mLastRawState.buttonState, MotionClassification::NONE, in dispatchPointerSimple() 3449 MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, 1, in dispatchPointerSimple() 3459 mCurrentRawState.buttonState, MotionClassification::NONE, in dispatchPointerSimple() 3475 MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, 1, in dispatchPointerSimple() 3485 mCurrentRawState.buttonState, MotionClassification::NONE, in dispatchPointerSimple() 3507 mCurrentRawState.buttonState, MotionClassification::NONE, in dispatchPointerSimple() 3581 MotionClassification::NONE, edgeFlags, pointerCount, pointerProperties, in dispatchMotion()
|
D | JoystickInputMapper.cpp | 338 buttonState, MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, 1, in sync()
|
/frameworks/native/include/input/ |
D | Input.h | 247 enum class MotionClassification : uint8_t { enum 266 const char* motionClassificationToString(MotionClassification classification); 514 inline MotionClassification getClassification() const { return mClassification; } in getClassification() 688 MotionClassification classification, float xScale, float yScale, float xOffset, 739 MotionClassification mClassification;
|
D | InputTransport.h | 116 MotionClassification classification; // base type: uint8_t 298 MotionClassification classification, float xScale, float yScale,
|
/frameworks/native/services/inputflinger/include/ |
D | InputListener.h | 106 MotionClassification classification; 129 MotionClassification classification, int32_t edgeFlags, uint32_t pointerCount,
|
/frameworks/native/libs/input/ |
D | Input.cpp | 35 const char* motionClassificationToString(MotionClassification classification) { in motionClassificationToString() 37 case MotionClassification::NONE: in motionClassificationToString() 39 case MotionClassification::AMBIGUOUS_GESTURE: in motionClassificationToString() 41 case MotionClassification::DEEP_PRESS: in motionClassificationToString() 323 int32_t buttonState, MotionClassification classification, float xScale, in initialize() 579 mClassification = static_cast<MotionClassification>(parcel->readByte()); in readFromParcel()
|
D | InputTransport.cpp | 487 MotionClassification classification, float xScale, float yScale, float xOffset, in publishMotionEvent()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | Entry.h | 166 MotionClassification classification; 179 int32_t metaState, int32_t buttonState, MotionClassification classification,
|
D | InputState.cpp | 289 0 /*buttonState*/, MotionClassification::NONE, in synthesizeCancelationEvents() 339 0 /*buttonState*/, MotionClassification::NONE, in synthesizePointerDownEvents()
|
D | Entry.cpp | 180 int32_t buttonState, MotionClassification classification, in MotionEntry()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputClassifierConverter_test.cpp | 44 AMETA_NONE, 0 /*buttonState*/, MotionClassification::NONE, in generateBasicMotionArgs()
|
D | InputClassifier_test.cpp | 47 AMETA_NONE, 0 /*buttonState*/, MotionClassification::NONE, in generateBasicMotionArgs()
|
D | InputDispatcher_test.cpp | 432 constexpr MotionClassification classification = MotionClassification::NONE; in TEST_F() 965 /* edgeFlags */ 0, AMETA_NONE, /* buttonState */ 0, MotionClassification::NONE, 1021 AMETA_NONE, /* buttonState */ 0, MotionClassification::NONE, in generateMotionArgs()
|
/frameworks/native/services/inputflinger/benchmarks/ |
D | InputDispatcher_benchmarks.cpp | 209 /* edgeFlags */ 0, AMETA_NONE, /* buttonState */ 0, MotionClassification::NONE, in generateMotionEvent() 235 MotionClassification::NONE, AMOTION_EVENT_EDGE_FLAG_NONE, 1, in generateMotionArgs()
|