Searched refs:keyId (Results 1 - 7 of 7) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
H A Dproximity_info.cpp137 const int keyId, const int x, const int y, const bool isGeometric) const {
138 const float centerX = static_cast<float>(getKeyCenterXOfKeyIdG(keyId, x, isGeometric));
139 const float centerY = static_cast<float>(getKeyCenterYOfKeyIdG(keyId, y, isGeometric));
203 const int keyId, const int referencePointX, const bool isGeometric) const {
204 if (keyId < 0) {
207 int centerX = (hasTouchPositionCorrectionData()) ? static_cast<int>(mSweetSpotCenterXs[keyId])
208 : mCenterXsG[keyId];
209 const int keyWidth = mKeyWidths[keyId];
229 const int keyId, const int referencePointY, const bool isGeometric) const {
231 if (keyId <
136 getNormalizedSquaredDistanceFromCenterFloatG( const int keyId, const int x, const int y, const bool isGeometric) const argument
202 getKeyCenterXOfKeyIdG( const int keyId, const int referencePointX, const bool isGeometric) const argument
228 getKeyCenterYOfKeyIdG( const int keyId, const int referencePointY, const bool isGeometric) const argument
[all...]
H A Dproximity_info_utils.h132 const int *const keyWidths, const int *keyHeights, const int keyId, const int x,
134 if (keyId < 0) return true; // NOT_A_ID is -1, but return whenever < 0 just in case
135 const int left = keyXCoordinates[keyId];
136 const int top = keyYCoordinates[keyId];
137 const int right = left + keyWidths[keyId] + 1;
138 const int bottom = top + keyHeights[keyId];
221 const int keyId, const int x, const int y) {
223 if (keyId < 0) return MAX_VALUE_FOR_WEIGHTING;
224 const int left = keyXCoordinates[keyId];
225 const int top = keyYCoordinates[keyId];
131 isOnKey(const int *const keyXCoordinates, const int *const keyYCoordinates, const int *const keyWidths, const int *keyHeights, const int keyId, const int x, const int y) argument
219 squaredLengthToEdge(const int *const keyXCoordinates, const int *const keyYCoordinates, const int *const keyWidths, const int *keyHeights, const int keyId, const int x, const int y) argument
[all...]
H A Dproximity_info_state.cpp171 const int keyId = mProximityInfo->getKeyIndexOf(codePoint); local
172 if (keyId != NOT_AN_INDEX) {
173 const int index = inputIndex * mProximityInfo->getKeyCount() + keyId;
184 const int inputIndex, const int keyId) const {
187 keyId);
277 bool ProximityInfoState::isKeyInSerchKeysAfterIndex(const int index, const int keyId) const {
278 ASSERT(keyId >= 0 && index >= 0 && index < mSampledInputSize);
279 return mSampledSearchKeySets[index].test(keyId);
H A Dproximity_info.h40 const int keyId, const int x, const int y, const bool isGeometric) const;
67 const int keyId, const int referencePointX, const bool isGeometric) const;
69 const int keyId, const int referencePointY, const bool isGeometric) const;
H A Dproximity_info_state.h146 float getPointToKeyByIdLength(const int inputIndex, const int keyId) const;
185 bool isKeyInSerchKeysAfterIndex(const int index, const int keyId) const;
H A Dproximity_info_state_utils.cpp449 const int keyId = proximityInfo->getKeyIndexOf(nodeCodePoint); local
450 if (keyId >= 0) {
451 x = proximityInfo->getKeyCenterXOfKeyIdG(keyId, NOT_AN_INDEX, isGeometric);
452 y = proximityInfo->getKeyCenterYOfKeyIdG(keyId, NOT_AN_INDEX, isGeometric);
605 const int inputIndex, const int keyId) {
606 if (keyId != NOT_AN_INDEX) {
607 const int index = inputIndex * keyCount + keyId;
603 getPointToKeyByIdLength(const float maxPointToKeyLength, const std::vector<float> *const sampledNormalizedSquaredLengthCache, const int keyCount, const int inputIndex, const int keyId) argument
H A Dproximity_info_state_utils.h84 const int inputIndex, const int keyId);

Completed in 73 milliseconds