Home
last modified time | relevance | path

Searched refs:rawPressure (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DExternalStylusInputMapper.cpp86 auto rawPressure = static_cast<float>(mSingleTouchMotionAccumulator.getAbsolutePressure()); in sync() local
87 mStylusState.pressure = (rawPressure - mRawPressureAxis.minValue) / in sync()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp5443 int32_t rawPressure = 10; in TEST_F() local
5451 float pressure = float(rawPressure) / RAW_PRESSURE_MAX; in TEST_F()
5464 processPressure(mapper, rawPressure); in TEST_F()
7886 int32_t rawPressure = 11; in TEST_F() local
7893 float pressure = float(rawPressure) / RAW_PRESSURE_MAX; in TEST_F()
7907 processPressure(mapper, rawPressure); in TEST_F()
8061 int32_t rawPressure = 60; in TEST_F() local
8065 float pressure = float(rawPressure) * 0.01f; in TEST_F()
8068 processPressure(mapper, rawPressure); in TEST_F()