Home
last modified time | relevance | path

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

/frameworks/native/include/android/
Dinput.h831 AINPUT_SOURCE_MOUSE = 0x00002000 | AINPUT_SOURCE_CLASS_POINTER, enumerator
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp2024 ASSERT_EQ(AINPUT_SOURCE_MOUSE, mapper->getSources()); in TEST_F()
2044 ASSERT_EQ(NULL, info.getMotionRange(AINPUT_MOTION_RANGE_X, AINPUT_SOURCE_MOUSE)); in TEST_F()
2045 ASSERT_EQ(NULL, info.getMotionRange(AINPUT_MOTION_RANGE_Y, AINPUT_SOURCE_MOUSE)); in TEST_F()
2047 AINPUT_MOTION_RANGE_PRESSURE, AINPUT_SOURCE_MOUSE, 0.0f, 1.0f, 0.0f, 0.0f)); in TEST_F()
2056 AINPUT_MOTION_RANGE_X, AINPUT_SOURCE_MOUSE, in TEST_F()
2059 AINPUT_MOTION_RANGE_Y, AINPUT_SOURCE_MOUSE, in TEST_F()
2062 AINPUT_MOTION_RANGE_PRESSURE, AINPUT_SOURCE_MOUSE, in TEST_F()
2656 ASSERT_EQ(AINPUT_SOURCE_MOUSE, args.source); in TEST_F()
2745 ASSERT_EQ(AINPUT_SOURCE_MOUSE, args.source); in TEST_F()
3010 ASSERT_EQ(AINPUT_SOURCE_MOUSE, mapper->getSources()); in TEST_F()
/frameworks/native/services/inputflinger/
DInputReader.cpp2533 mSource = AINPUT_SOURCE_MOUSE; in configure()
2567 mSource = AINPUT_SOURCE_MOUSE; in configure()
2718 if (mSource == AINPUT_SOURCE_MOUSE) { in sync()
2769 } else if (down || (mSource != AINPUT_SOURCE_MOUSE)) { in sync()
2814 && (mSource == AINPUT_SOURCE_MOUSE)) { in sync()
3353 mSource = AINPUT_SOURCE_MOUSE; in configureSurface()