Home
last modified time | relevance | path

Searched refs:getAngleDiff (Results 1 – 3 of 3) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/
Dgeometry_utils_test.cpp59 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/
Dproximity_info_state_utils.cpp115 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()
Dgeometry_utils.h40 static AK_FORCE_INLINE float getAngleDiff(const float a1, const float a2) { in getAngleDiff() function