Home
last modified time | relevance | path

Searched refs:AINPUT_SOURCE_MOUSE (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp137 mSource = AINPUT_SOURCE_MOUSE; in configure()
171 mSource = AINPUT_SOURCE_MOUSE; in configure()
343 if (mSource == AINPUT_SOURCE_MOUSE) { in sync()
408 } else if (down || (mSource != AINPUT_SOURCE_MOUSE)) { in sync()
459 if (motionEventAction == AMOTION_EVENT_ACTION_UP && (mSource == AINPUT_SOURCE_MOUSE)) { in sync()
DTouchInputMapper.cpp607 mSource = AINPUT_SOURCE_MOUSE; in configureSurface()
/frameworks/native/libs/input/tests/
DVerifiedInputEvent_test.cpp45 event.initialize(InputEvent::nextId(), 0 /*deviceId*/, AINPUT_SOURCE_MOUSE, ADISPLAY_ID_DEFAULT, in getMotionEventWithFlags()
DInputEvent_test.cpp794 event.initialize(InputEvent::nextId(), 0 /*deviceId*/, AINPUT_SOURCE_MOUSE, DISPLAY_ID, in TEST_F()
811 event.setSource(AINPUT_SOURCE_MOUSE); in TEST_F()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp1257 if (mSource == AINPUT_SOURCE_MOUSE && in build()
1486 AINPUT_SOURCE_MOUSE) in TEST_F()
1500 AINPUT_SOURCE_MOUSE) in TEST_F()
1515 MotionEventBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_MOUSE) in TEST_F()
1526 AINPUT_SOURCE_MOUSE) in TEST_F()
1539 AINPUT_SOURCE_MOUSE) in TEST_F()
1551 MotionEventBuilder(AMOTION_EVENT_ACTION_UP, AINPUT_SOURCE_MOUSE) in TEST_F()
1563 AINPUT_SOURCE_MOUSE) in TEST_F()
1592 AINPUT_SOURCE_MOUSE) in TEST_F()
1603 MotionEventBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_MOUSE) in TEST_F()
[all …]
DInputReader_test.cpp3846 ASSERT_EQ(AINPUT_SOURCE_MOUSE, mapper.getSources()); in TEST_F()
3864 ASSERT_EQ(nullptr, info.getMotionRange(AINPUT_MOTION_RANGE_X, AINPUT_SOURCE_MOUSE)); in TEST_F()
3865 ASSERT_EQ(nullptr, info.getMotionRange(AINPUT_MOTION_RANGE_Y, AINPUT_SOURCE_MOUSE)); in TEST_F()
3867 AINPUT_MOTION_RANGE_PRESSURE, AINPUT_SOURCE_MOUSE, 0.0f, 1.0f, 0.0f, 0.0f)); in TEST_F()
3876 AINPUT_MOTION_RANGE_X, AINPUT_SOURCE_MOUSE, in TEST_F()
3879 AINPUT_MOTION_RANGE_Y, AINPUT_SOURCE_MOUSE, in TEST_F()
3882 AINPUT_MOTION_RANGE_PRESSURE, AINPUT_SOURCE_MOUSE, in TEST_F()
4452 ASSERT_EQ(AINPUT_SOURCE_MOUSE, args.source); in TEST_F()
4540 ASSERT_EQ(AINPUT_SOURCE_MOUSE, args.source); in TEST_F()
4568 ASSERT_EQ(AINPUT_SOURCE_MOUSE, args.source); in TEST_F()
[all …]
/frameworks/native/include/android/
Dinput.h847 AINPUT_SOURCE_MOUSE = 0x00002000 | AINPUT_SOURCE_CLASS_POINTER, enumerator
/frameworks/native/services/inputflinger/
DInputClassifierConverter.cpp35 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_MOUSE) == in getSource()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp1943 const bool isFromMouse = entry.source == AINPUT_SOURCE_MOUSE; in findTouchedWindowTargetsLocked()