Searched refs:keyIndex (Results 1 – 11 of 11) sorted by relevance
42 int getCodePointOf(const int keyIndex) const;43 int getOriginalCodePointOf(const int keyIndex) const;44 bool hasSweetSpotData(const int keyIndex) const { in hasSweetSpotData() argument47 return mSweetSpotRadii[keyIndex] > 0.0f; in hasSweetSpotData()49 float getSweetSpotRadiiAt(int keyIndex) const { return mSweetSpotRadii[keyIndex]; } in getSweetSpotRadiiAt() argument50 float getSweetSpotCenterXAt(int keyIndex) const { return mSweetSpotCenterXs[keyIndex]; } in getSweetSpotCenterXAt() argument51 float getSweetSpotCenterYAt(int keyIndex) const { return mSweetSpotCenterYs[keyIndex]; } in getSweetSpotCenterYAt() argument
139 int ProximityInfo::getCodePointOf(const int keyIndex) const { in getCodePointOf()140 if (keyIndex < 0 || keyIndex >= KEY_COUNT) { in getCodePointOf()143 return mKeyIndexToLowerCodePointG[keyIndex]; in getCodePointOf()146 int ProximityInfo::getOriginalCodePointOf(const int keyIndex) const { in getOriginalCodePointOf()147 if (keyIndex < 0 || keyIndex >= KEY_COUNT) { in getOriginalCodePointOf()150 return mKeyIndexToOriginalCodePoint[keyIndex]; in getOriginalCodePointOf()
37 const int keyIndex = mProximityInfo->getKeyIndexOf(primaryCodePoint); in getPrimaryOriginalCodePointAt() local38 return mProximityInfo->getOriginalCodePointOf(keyIndex); in getPrimaryOriginalCodePointAt()298 float ProximityInfoState::getProbability(const int index, const int keyIndex) const { in getProbability()300 std::unordered_map<int, float>::const_iterator it = mCharProbabilities[index].find(keyIndex); in getProbability()
165 const int keyIndex = getKeyIndexOf(keyCount, c, codeToKeyMap); in calculateProximities() local167 keyIndex, x, y); in calculateProximities()169 keyWidths, keyHeights, keyIndex, x, y); in calculateProximities()
159 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) { in calculateSquaredDistanceFromSweetSpotCenter() argument160 const float sweetSpotCenterX = proximityInfo->getSweetSpotCenterXAt(keyIndex); in calculateSquaredDistanceFromSweetSpotCenter()161 const float sweetSpotCenterY = proximityInfo->getSweetSpotCenterYAt(keyIndex); in calculateSquaredDistanceFromSweetSpotCenter()170 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) { in calculateNormalizedSquaredDistance() argument171 if (keyIndex == NOT_AN_INDEX) { in calculateNormalizedSquaredDistance()174 if (!proximityInfo->hasSweetSpotData(keyIndex)) { in calculateNormalizedSquaredDistance()181 sampledInputXs, sampledInputYs, keyIndex, inputIndex); in calculateNormalizedSquaredDistance()183 proximityInfo->getSweetSpotRadiiAt(keyIndex)); in calculateNormalizedSquaredDistance()
153 const std::vector<int> *const sampledInputYs, const int keyIndex,157 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex);
481 int keyIndex = getKeyIndices(mStartX, mStartY, null); in setKeyboard() local482 if ((keyIndex != NOT_A_KEY) in setKeyboard()483 && (keyIndex < mKeys.length) in setKeyboard()484 && (oldRepeatKeyCode == mKeys[keyIndex].codes[0])) { in setKeyboard()486 mRepeatKeyIndex = keyIndex; in setKeyboard()888 private void showPreview(int keyIndex) { in showPreview() argument892 mCurrentKeyIndex = keyIndex; in showPreview()907 if (keyIndex == NOT_A_KEY) { in showPreview()913 if (keyIndex != NOT_A_KEY) { in showPreview()915 showKey(keyIndex); in showPreview()[all …]
159 for (int infoIndex = 0, keyIndex = 0; keyIndex < sortedKeys.size(); keyIndex++) { in createNativeProximityInfo()160 final Key key = sortedKeys.get(keyIndex); in createNativeProximityInfo()183 for (int infoIndex = 0, keyIndex = 0; keyIndex < sortedKeys.size(); keyIndex++) { in createNativeProximityInfo()184 final Key key = sortedKeys.get(keyIndex); in createNativeProximityInfo()
43 const int keyIndex = traverseSession->getProximityInfo()->getKeyIndexOf( in getErrorType() local59 if (keyIndex == NOT_AN_INDEX) { in getErrorType()70 if (keyIndex == NOT_AN_INDEX) { in getErrorType()
462 int keyIndex = (KEY_NUMBER_12KEY < keys.size()) in changeKeyboard() local464 mChangeModeKey = keys.get(keyIndex); in changeKeyboard()
META-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...