Searched refs:getAngleDiff (Results 1 – 3 of 3) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/ |
D | geometry_utils_test.cpp | 59 EXPECT_ANGLE_DIFF_EQ(0.0f, GeometryUtils::getAngleDiff(0.0f, 0.0f)); in TEST() 60 EXPECT_ANGLE_DIFF_EQ(0.0f, GeometryUtils::getAngleDiff(10000.0f, 10000.0f)); in TEST() 62 GeometryUtils::getAngleDiff(0.0f, M_PI_F)); in TEST() 64 GeometryUtils::getAngleDiff(M_PI_F / 3.0f, M_PI_F / 2.0f)); in TEST() 66 GeometryUtils::getAngleDiff(0.0f, M_PI_F * 1.5f)); in TEST() 67 EXPECT_ANGLE_DIFF_EQ(0.0f, GeometryUtils::getAngleDiff(0.0f, M_PI_F * 1024.0f)); in TEST() 68 EXPECT_ANGLE_DIFF_EQ(0.0f, GeometryUtils::getAngleDiff(-M_PI_F, M_PI_F)); in TEST()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
D | geometry_utils.h | 40 static AK_FORCE_INLINE float getAngleDiff(const float a1, const float a2) { in getAngleDiff() function
|
D | proximity_info_state_utils.cpp | 115 sumAngle += GeometryUtils::getAngleDiff(prevAngle, currentAngle); in updateTouchPoints() 388 const float angleDiff = GeometryUtils::getAngleDiff(angle1, angle2); in getPointScore() 575 const float directionDiff = GeometryUtils::getAngleDiff(previousDirection, nextDirection); in getPointAngle() 598 return GeometryUtils::getAngleDiff(previousDirection, nextDirection); in getPointsAngle()
|