Searched refs:M_PI_F (Results 1 – 6 of 6) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/ |
D | geometry_utils_test.cpp | 26 if (actual < 0.0f || M_PI_F < actual) { in ExpectAngleDiffEq() 50 EXPECT_FLOAT_EQ(M_PI_F / 4.0f, GeometryUtils::getAngle(1, 1, 0, 0)); in TEST() 51 EXPECT_FLOAT_EQ(M_PI_F, GeometryUtils::getAngle(-1, 0, 0, 0)); in TEST() 61 EXPECT_ANGLE_DIFF_EQ(ROUND_FLOAT_10000(M_PI_F), in TEST() 62 GeometryUtils::getAngleDiff(0.0f, M_PI_F)); in TEST() 63 EXPECT_ANGLE_DIFF_EQ(ROUND_FLOAT_10000(M_PI_F / 6.0f), in TEST() 64 GeometryUtils::getAngleDiff(M_PI_F / 3.0f, M_PI_F / 2.0f)); in TEST() 65 EXPECT_ANGLE_DIFF_EQ(ROUND_FLOAT_10000(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() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
D | proximity_info_params.cpp | 39 const float ProximityInfoParams::CORNER_ANGLE_THRESHOLD_FOR_POINT_SCORE = M_PI_F * 2.0f / 3.0f; 40 const float ProximityInfoParams::CORNER_SUM_ANGLE_THRESHOLD = M_PI_F / 4.0f; 62 const float ProximityInfoParams::DEEP_CORNER_ANGLE_THRESHOLD = M_PI_F * 60.0f / 180.0f; 64 const float ProximityInfoParams::CORNER_ANGLE_THRESHOLD = M_PI_F * 30.0f / 180.0f; 65 const float ProximityInfoParams::STRAIGHT_ANGLE_THRESHOLD = M_PI_F * 15.0f / 180.0f;
|
D | normal_distribution.h | 31 mPreComputedNonExpPart(1.0f / sqrtf(2.0f * M_PI_F in NormalDistribution()
|
D | proximity_info_state_utils.cpp | 680 skipProbability *= (M_PI_F - currentAngle) / M_PI_F * ProximityInfoParams::ANGLE_WEIGHT in updateAlignPointProbabilities() 704 const float speedMultipliedByAngleRate = std::min(speedRate * currentAngle / M_PI_F in updateAlignPointProbabilities()
|
D | geometry_utils.h | 46 if (delta > M_PI_F) { in getAngleDiff()
|
/packages/inputmethods/LatinIME/native/jni/src/ |
D | defines.h | 230 #define M_PI_F 3.14159265f macro
|