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.java643 final double displayDiagonal = in createReturnAnimationLocked() local
645 final long duration = MIN_ANIMATION_DURATION_MS + (long) (travelDistance / displayDiagonal in createReturnAnimationLocked()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp1016 float displayDiagonal = hypotf(mRawSurfaceWidth, mRawSurfaceHeight); in configureSurface() local
1024 mConfig.pointerGestureMovementSpeedRatio * displayDiagonal / rawDiagonal; in configureSurface()
1031 mConfig.pointerGestureZoomSpeedRatio * displayDiagonal / rawDiagonal; in configureSurface()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp8662 float displayDiagonal = hypotf(DISPLAY_WIDTH, DISPLAY_HEIGHT); in TEST_F() local
8664 mFakePolicy->getPointerGestureMovementSpeedRatio() * displayDiagonal / rawDiagonal; in TEST_F()