Home
last modified time | relevance | path

Searched refs:SQUARE_FLOAT (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dnormal_distribution.h32 * GeometryUtils::SQUARE_FLOAT(sigma))), in NormalDistribution()
33 mPreComputedExponentPart(-1.0f / (2.0f * GeometryUtils::SQUARE_FLOAT(sigma))) {} in NormalDistribution()
38 * expf(mPreComputedExponentPart * GeometryUtils::SQUARE_FLOAT(shiftedX)); in getProbabilityDensity()
Dproximity_info_utils.h91 return GeometryUtils::SQUARE_FLOAT(x1 - x2) + GeometryUtils::SQUARE_FLOAT(y1 - y2); in getSquaredDistanceFloat()
102 const float lineLengthSqr = GeometryUtils::SQUARE_FLOAT(ray2x) in pointToLineSegSquaredDistanceFloat()
103 + GeometryUtils::SQUARE_FLOAT(ray2y); in pointToLineSegSquaredDistanceFloat()
Dproximity_info.cpp62 GeometryUtils::SQUARE_FLOAT(static_cast<float>(mostCommonKeyHeight) / in ProximityInfo()
136 / GeometryUtils::SQUARE_FLOAT(static_cast<float>(getMostCommonKeyWidth())); in getNormalizedSquaredDistanceFromCenterFloatG()
Dgeometry_utils.h31 static inline float SQUARE_FLOAT(const float x) { return x * x; } in SQUARE_FLOAT() function
Dproximity_info_state_utils.cpp164 return GeometryUtils::SQUARE_FLOAT(inputX - sweetSpotCenterX) in calculateSquaredDistanceFromSweetSpotCenter()
165 + GeometryUtils::SQUARE_FLOAT(inputY - sweetSpotCenterY); in calculateSquaredDistanceFromSweetSpotCenter()
182 const float squaredRadius = GeometryUtils::SQUARE_FLOAT( in calculateNormalizedSquaredDistance()
/packages/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/
Dgeometry_utils_test.cpp42 EXPECT_FLOAT_EQ(value * value, GeometryUtils::SQUARE_FLOAT(value)); in TEST()