OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getDistanceInt
(Results
1 - 4
of
4
) sorted by null
/packages/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/
geometry_utils_test.cpp
72
EXPECT_EQ(0, GeometryUtils::
getDistanceInt
(0, 0, 0, 0));
75
EXPECT_EQ(5, GeometryUtils::
getDistanceInt
(0, 0, 5, 0));
76
EXPECT_EQ(5, GeometryUtils::
getDistanceInt
(0, 0, 3, 4));
77
EXPECT_EQ(5, GeometryUtils::
getDistanceInt
(0, -4, 3, 0));
78
EXPECT_EQ(5, GeometryUtils::
getDistanceInt
(0, 0, -3, -4));
79
EXPECT_EQ(500, GeometryUtils::
getDistanceInt
(0, 0, 300, -400));
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
geometry_utils.h
52
static AK_FORCE_INLINE int
getDistanceInt
(const int x1, const int y1, const int x2,
proximity_info.cpp
179
mKeyKeyDistancesG[i][j] = GeometryUtils::
getDistanceInt
(
183
mKeyKeyDistancesG[i][j] = GeometryUtils::
getDistanceInt
(
proximity_info_state_utils.cpp
245
length += GeometryUtils::
getDistanceInt
(xCoordinates[j], yCoordinates[j],
256
length += GeometryUtils::
getDistanceInt
(xCoordinates[j], yCoordinates[j],
370
const int distPrev = GeometryUtils::
getDistanceInt
(sampledInputXs->back(),
432
if (GeometryUtils::
getDistanceInt
(x, y, sampledInputXs->back(), sampledInputYs->back())
438
sampledInputYs->back(), GeometryUtils::
getDistanceInt
(
459
sampledLengthCache->back() + GeometryUtils::
getDistanceInt
(
500
tempBeelineDistance = GeometryUtils::
getDistanceInt
(x0, y0, xCoordinates[start],
514
tempBeelineDistance = GeometryUtils::
getDistanceInt
(x0, y0, xCoordinates[end],
533
const int beelineDistance = GeometryUtils::
getDistanceInt
(x2, y2, x3, y3);
[
all
...]
Completed in 64 milliseconds