Searched refs:COUNTS_PER_MM (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/libs/input/tests/ |
D | VelocityControl_test.cpp | 30 constexpr float COUNTS_PER_MM = 800 / 25.4; variable 66 moveWithoutCheckingResult(10'000'000, 0.16 * COUNTS_PER_MM, 0); in TEST_F() 67 moveWithoutCheckingResult(20'000'000, 0.16 * COUNTS_PER_MM, 0); in TEST_F() 68 moveWithoutCheckingResult(30'000'000, 0.16 * COUNTS_PER_MM, 0); in TEST_F() 70 moveAndCheckRatio(40'000'000, 0.16 * COUNTS_PER_MM, 0, /*expectedRatio=*/3)); in TEST_F() 75 moveWithoutCheckingResult(110'000'000, 0.50 * COUNTS_PER_MM, 0); in TEST_F() 76 moveWithoutCheckingResult(120'000'000, 0.50 * COUNTS_PER_MM, 0); in TEST_F() 77 moveWithoutCheckingResult(130'000'000, 0.50 * COUNTS_PER_MM, 0); in TEST_F() 79 moveAndCheckRatio(140'000'000, 0.50 * COUNTS_PER_MM, 0, /*expectedRatio=*/5)); in TEST_F() 92 moveAndCheckRatio(10'000'000, 0.25 * COUNTS_PER_MM, 0, /*expectedRatio=*/3)); in TEST_F() [all …]
|