Home
last modified time | relevance | path

Searched refs:sampledInputXs (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state_utils.cpp34 /* static */ int ProximityInfoStateUtils::trimLastTwoTouchPoints(std::vector<int> *sampledInputXs, in trimLastTwoTouchPoints() argument
38 popInputData(sampledInputXs, sampledInputYs, sampledInputTimes, sampledLengthCache, in trimLastTwoTouchPoints()
40 popInputData(sampledInputXs, sampledInputYs, sampledInputTimes, sampledLengthCache, in trimLastTwoTouchPoints()
50 const int pushTouchPointStartIndex, std::vector<int> *sampledInputXs, in updateTouchPoints() argument
121 prevPrevNearKeysDistances, sampledInputXs, sampledInputYs, sampledInputTimes, in updateTouchPoints()
136 return sampledInputXs->size(); in updateTouchPoints()
158 const ProximityInfo *const proximityInfo, const std::vector<int> *const sampledInputXs, in calculateSquaredDistanceFromSweetSpotCenter() argument
162 const float inputX = static_cast<float>((*sampledInputXs)[inputIndex]); in calculateSquaredDistanceFromSweetSpotCenter()
169 const ProximityInfo *const proximityInfo, const std::vector<int> *const sampledInputXs, in calculateNormalizedSquaredDistance() argument
177 if (NOT_A_COORDINATE == (*sampledInputXs)[inputIndex]) { in calculateNormalizedSquaredDistance()
[all …]
Dproximity_info_state_utils.h35 static int trimLastTwoTouchPoints(std::vector<int> *sampledInputXs,
43 std::vector<int> *sampledInputXs, std::vector<int> *sampledInputYs,
48 static void popInputData(std::vector<int> *sampledInputXs, std::vector<int> *sampledInputYs,
53 const int sampledInputSize, const std::vector<int> *const sampledInputXs,
62 const std::vector<int> *const sampledInputXs,
65 static float getDirection(const std::vector<int> *const sampledInputXs,
69 const int sampledInputSize, const std::vector<int> *const sampledInputXs,
87 const std::vector<int> *const sampledInputXs,
94 const int sampledInputSize, const std::vector<int> *const sampledInputXs,
101 const int sampledInputSize, const std::vector<int> *const sampledInputXs,
[all …]