Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp3245 float tiltYAngle = (rawTiltY - tiltCenter) * tiltScale; in TEST_F() local
3246 float orientation = atan2f(-sinf(tiltXAngle), sinf(tiltYAngle)); in TEST_F()
3247 float tilt = acosf(cosf(tiltXAngle) * cosf(tiltYAngle)); in TEST_F()
/frameworks/native/services/inputflinger/
DInputReader.cpp4629 float tiltYAngle = (in.tiltY - mTiltYCenter) * mTiltYScale; in cookPointerData() local
4630 orientation = atan2f(-sinf(tiltXAngle), sinf(tiltYAngle)); in cookPointerData()
4631 tilt = acosf(cosf(tiltXAngle) * cosf(tiltYAngle)); in cookPointerData()