HomeSort by relevance Sort by last modified time
    Searched refs:GeometryUtils (Results 1 - 9 of 9) sorted by null

  /packages/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/
geometry_utils_test.cpp 42 EXPECT_FLOAT_EQ(value * value, GeometryUtils::SQUARE_FLOAT(value));
47 EXPECT_FLOAT_EQ(0.0f, GeometryUtils::getAngle(0, 0, 0, 0));
48 EXPECT_FLOAT_EQ(0.0f, GeometryUtils::getAngle(100, -10, 100, -10));
50 EXPECT_FLOAT_EQ(M_PI_F / 4.0f, GeometryUtils::getAngle(1, 1, 0, 0));
51 EXPECT_FLOAT_EQ(M_PI_F, GeometryUtils::getAngle(-1, 0, 0, 0));
53 EXPECT_FLOAT_EQ(GeometryUtils::getAngle(0, 0, -1, 0), GeometryUtils::getAngle(1, 0, 0, 0));
54 EXPECT_FLOAT_EQ(GeometryUtils::getAngle(1, 2, 3, 4),
55 GeometryUtils::getAngle(100, 200, 300, 400));
59 EXPECT_ANGLE_DIFF_EQ(0.0f, GeometryUtils::getAngleDiff(0.0f, 0.0f))
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
normal_distribution.h 32 * GeometryUtils::SQUARE_FLOAT(sigma))),
33 mPreComputedExponentPart(-1.0f / (2.0f * GeometryUtils::SQUARE_FLOAT(sigma))) {}
38 * expf(mPreComputedExponentPart * GeometryUtils::SQUARE_FLOAT(shiftedX));
geometry_utils.h 29 class GeometryUtils {
58 DISALLOW_IMPLICIT_CONSTRUCTORS(GeometryUtils);
proximity_info_state_utils.cpp 110 const float prevAngle = GeometryUtils::getAngle(
113 const float currentAngle = GeometryUtils::getAngle(
115 sumAngle += GeometryUtils::getAngleDiff(prevAngle, currentAngle);
164 return GeometryUtils::SQUARE_FLOAT(inputX - sweetSpotCenterX)
165 + GeometryUtils::SQUARE_FLOAT(inputY - sweetSpotCenterY);
182 const float squaredRadius = GeometryUtils::SQUARE_FLOAT(
245 length += GeometryUtils::getDistanceInt(xCoordinates[j], yCoordinates[j],
256 length += GeometryUtils::getDistanceInt(xCoordinates[j], yCoordinates[j],
309 return GeometryUtils::getAngle(x1, y1, x2, y2);
370 const int distPrev = GeometryUtils::getDistanceInt(sampledInputXs->back()
    [all...]
proximity_info.cpp 62 GeometryUtils::SQUARE_FLOAT(static_cast<float>(mostCommonKeyHeight) /
136 / GeometryUtils::SQUARE_FLOAT(static_cast<float>(getMostCommonKeyWidth()));
179 mKeyKeyDistancesG[i][j] = GeometryUtils::getDistanceInt(
183 mKeyKeyDistancesG[i][j] = GeometryUtils::getDistanceInt(
proximity_info_utils.h 91 return GeometryUtils::SQUARE_FLOAT(x1 - x2) + GeometryUtils::SQUARE_FLOAT(y1 - y2);
102 const float lineLengthSqr = GeometryUtils::SQUARE_FLOAT(ray2x)
103 + GeometryUtils::SQUARE_FLOAT(ray2y);
  /external/libgdx/gdx/src/com/badlogic/gdx/math/
Polygon.java 163 return GeometryUtils.polygonArea(vertices, 0, vertices.length);
GeometryUtils.java 20 public final class GeometryUtils {
30 * GeometryUtils.barycentric(p, a, b, c, barycentric);
DelaunayTriangulator.java 343 GeometryUtils.triangleCentroid(points[p1], points[p1 + 1], points[p2], points[p2 + 1], points[p3], points[p3 + 1],

Completed in 93 milliseconds