Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp130 mSource = AINPUT_SOURCE_MOUSE; in configure()
164 mSource = AINPUT_SOURCE_MOUSE; in configure()
337 if (mSource == AINPUT_SOURCE_MOUSE) { in sync()
387 } else if (down || (mSource != AINPUT_SOURCE_MOUSE)) { in sync()
438 if (motionEventAction == AMOTION_EVENT_ACTION_UP && (mSource == AINPUT_SOURCE_MOUSE)) { in sync()
DTouchInputMapper.cpp630 mSource = AINPUT_SOURCE_MOUSE; in configureSurface()
/frameworks/native/include/android/
Dinput.h835 AINPUT_SOURCE_MOUSE = 0x00002000 | AINPUT_SOURCE_CLASS_POINTER, enumerator
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp2440 ASSERT_EQ(AINPUT_SOURCE_MOUSE, mapper->getSources()); in TEST_F()
2460 ASSERT_EQ(nullptr, info.getMotionRange(AINPUT_MOTION_RANGE_X, AINPUT_SOURCE_MOUSE)); in TEST_F()
2461 ASSERT_EQ(nullptr, info.getMotionRange(AINPUT_MOTION_RANGE_Y, AINPUT_SOURCE_MOUSE)); in TEST_F()
2463 AINPUT_MOTION_RANGE_PRESSURE, AINPUT_SOURCE_MOUSE, 0.0f, 1.0f, 0.0f, 0.0f)); in TEST_F()
2472 AINPUT_MOTION_RANGE_X, AINPUT_SOURCE_MOUSE, in TEST_F()
2475 AINPUT_MOTION_RANGE_Y, AINPUT_SOURCE_MOUSE, in TEST_F()
2478 AINPUT_MOTION_RANGE_PRESSURE, AINPUT_SOURCE_MOUSE, in TEST_F()
3066 ASSERT_EQ(AINPUT_SOURCE_MOUSE, args.source); in TEST_F()
3155 ASSERT_EQ(AINPUT_SOURCE_MOUSE, args.source); in TEST_F()
3184 ASSERT_EQ(AINPUT_SOURCE_MOUSE, args.source); in TEST_F()
[all …]
/frameworks/native/services/inputflinger/
DInputClassifierConverter.cpp35 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_MOUSE) == in getSource()