Home
last modified time | relevance | path

Searched refs:MotionClassification (Results 1 – 19 of 19) sorted by relevance

/frameworks/native/services/inputflinger/
DInputClassifier.cpp68 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 …]
DInputClassifier.h71 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);
DInputListener.cpp93 int32_t buttonState, MotionClassification classification, in NotifyMotionArgs()
DInputReader.cpp2851 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 …]
DInputDispatcher.h569 MotionClassification classification;
581 int32_t metaState, int32_t buttonState, MotionClassification classification,
DInputDispatcher.cpp4605 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/
DInputChannel_test.cpp167 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()
DInputPublisherAndConsumer_test.cpp144 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()
DInputEvent_test.cpp260 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()
DVelocityTracker_test.cpp182 MotionClassification::NONE, in createMotionEventStream()
/frameworks/native/include/input/
DInput.h228 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;
DInputTransport.h108 MotionClassification classification; // base type: uint8_t
275 MotionClassification classification,
/frameworks/native/libs/input/
DInput.cpp32 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()
DInputTransport.cpp478 MotionClassification classification, in publishMotionEvent()
/frameworks/native/services/inputflinger/include/
DInputListener.h108 MotionClassification classification;
130 int32_t metaState, int32_t buttonState, MotionClassification classification,
/frameworks/native/services/inputflinger/tests/
DInputClassifierConverter_test.cpp43 0/*actionButton*/, 0/*flags*/, AMETA_NONE, 0/*buttonState*/, MotionClassification::NONE, in generateBasicMotionArgs()
DInputClassifier_test.cpp43 0/*actionButton*/, 0/*flags*/, AMETA_NONE, 0/*buttonState*/, MotionClassification::NONE, in generateBasicMotionArgs()
DInputDispatcher_test.cpp248 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/
Dandroid_view_MotionEvent.cpp376 buttonState, static_cast<MotionClassification>(classification), in android_view_MotionEvent_nativeInitialize()