Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp1048 float rawDiagonal = hypotf(rawSize.width, rawSize.height); in configureInputDevice() local
1057 mConfig.pointerGestureMovementSpeedRatio * displayDiagonal / rawDiagonal; in configureInputDevice()
1064 mConfig.pointerGestureZoomSpeedRatio * displayDiagonal / rawDiagonal; in configureInputDevice()
1073 std::max(mConfig.pointerGestureSwipeMaxWidthRatio * rawDiagonal, in configureInputDevice()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp9681 float rawDiagonal = hypotf(RAW_X_MAX - RAW_X_MIN, RAW_Y_MAX - RAW_Y_MIN); in TEST_F() local
9684 mFakePolicy->getPointerGestureMovementSpeedRatio() * displayDiagonal / rawDiagonal; in TEST_F()
9789 float rawDiagonal = hypotf(RAW_X_MAX - RAW_X_MIN, RAW_Y_MAX - RAW_Y_MIN); in preparePointerMode() local
9792 mFakePolicy->getPointerGestureMovementSpeedRatio() * displayDiagonal / rawDiagonal; in preparePointerMode()
9794 mFakePolicy->getPointerGestureZoomSpeedRatio() * displayDiagonal / rawDiagonal; in preparePointerMode()