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

/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java385 float tiltScale = (float) Math.sin(
388 ps.mCoords.x + orientationVectorX * tiltScale,
389 ps.mCoords.y + orientationVectorY * tiltScale,
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp3199 float tiltScale = M_PI / 180; local
3200 float tiltXAngle = (rawTiltX - tiltCenter) * tiltScale;
3201 float tiltYAngle = (rawTiltY - tiltCenter) * tiltScale;

Completed in 52 milliseconds