Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java407 float tiltScale = (float) Math.sin( in onDraw() local
410 ps.mCoords.x + orientationVectorX * tiltScale, in onDraw()
411 ps.mCoords.y + orientationVectorY * tiltScale, in onDraw()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp3247 float tiltScale = M_PI / 180; in TEST_F() local
3248 float tiltXAngle = (rawTiltX - tiltCenter) * tiltScale; in TEST_F()
3249 float tiltYAngle = (rawTiltY - tiltCenter) * tiltScale; in TEST_F()