Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DDragState.java730 final double displayDiagonal = in createReturnAnimationLocked() local
732 final long duration = MIN_ANIMATION_DURATION_MS + (long) (travelDistance / displayDiagonal in createReturnAnimationLocked()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp1049 float displayDiagonal = hypotf(mDisplayBounds.width, mDisplayBounds.height); in configureInputDevice() local
1057 mConfig.pointerGestureMovementSpeedRatio * displayDiagonal / rawDiagonal; in configureInputDevice()
1064 mConfig.pointerGestureZoomSpeedRatio * displayDiagonal / rawDiagonal; in configureInputDevice()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp9682 float displayDiagonal = hypotf(DISPLAY_WIDTH, DISPLAY_HEIGHT); in TEST_F() local
9684 mFakePolicy->getPointerGestureMovementSpeedRatio() * displayDiagonal / rawDiagonal; in TEST_F()
9790 float displayDiagonal = hypotf(DISPLAY_WIDTH, DISPLAY_HEIGHT); in preparePointerMode() local
9792 mFakePolicy->getPointerGestureMovementSpeedRatio() * displayDiagonal / rawDiagonal; in preparePointerMode()
9794 mFakePolicy->getPointerGestureZoomSpeedRatio() * displayDiagonal / rawDiagonal; in preparePointerMode()