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.cpp3243 float tiltScale = M_PI / 180; in TEST_F() local
3244 float tiltXAngle = (rawTiltX - tiltCenter) * tiltScale; in TEST_F()
3245 float tiltYAngle = (rawTiltY - tiltCenter) * tiltScale; in TEST_F()