Home
last modified time | relevance | path

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

/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/
Dutils.agsl69 vec2 rotateAroundPoint(vec2 point, vec2 centerPoint, float angleRad) {
70 return (point - centerPoint) * rotationMat(angleRad) + centerPoint;
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1757 const Point centerPoint = mDevice->getCenterPoint(); in TEST_P() local
1761 mDevice->sendDown(centerPoint); in TEST_P()
1767 mDevice->sendMove(centerPoint + Point(1, 1)); in TEST_P()
1781 const Point centerPoint = mDevice->getCenterPoint(); in TEST_P() local
1786 mDevice->sendDown(centerPoint); in TEST_P()
1792 const Point secondPoint = centerPoint + Point(100, 100); in TEST_P()
1837 const Point centerPoint = mDevice->getCenterPoint(); in TEST_P() local
1842 mDevice->sendDown(centerPoint); in TEST_P()
1844 assertReceivedMotion(AMOTION_EVENT_ACTION_DOWN, {centerPoint}); in TEST_P()
1847 const Point secondPoint = centerPoint + Point(100, 100); in TEST_P()
[all …]