Searched refs:centerPoint (Results 1 – 2 of 2) sorted by relevance
69 vec2 rotateAroundPoint(vec2 point, vec2 centerPoint, float angleRad) {70 return (point - centerPoint) * rotationMat(angleRad) + centerPoint;
1757 const Point centerPoint = mDevice->getCenterPoint(); in TEST_P() local1761 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() local1786 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() local1842 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 …]