Searched refs:keyIndex (Results 1 - 9 of 9) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
H A D | proximity_info.h | 41 int getCodePointOf(const int keyIndex) const; 42 bool hasSweetSpotData(const int keyIndex) const { 45 return mSweetSpotRadii[keyIndex] > 0.0f; 47 float getSweetSpotRadiiAt(int keyIndex) const { return mSweetSpotRadii[keyIndex]; } 48 float getSweetSpotCenterXAt(int keyIndex) const { return mSweetSpotCenterXs[keyIndex]; } 49 float getSweetSpotCenterYAt(int keyIndex) const { return mSweetSpotCenterYs[keyIndex]; }
|
H A D | proximity_info.cpp | 146 int ProximityInfo::getCodePointOf(const int keyIndex) const { 147 if (keyIndex < 0 || keyIndex >= KEY_COUNT) { 150 return mKeyIndexToCodePointG[keyIndex];
|
H A D | proximity_info_utils.h | 177 const int keyIndex = getKeyIndexOf(keyCount, c, codeToKeyMap); local 179 keyIndex, x, y); 181 keyWidths, keyHeights, keyIndex, x, y);
|
H A D | proximity_info_state.cpp | 283 // Returns a probability of mapping index to keyIndex. 284 float ProximityInfoState::getProbability(const int index, const int keyIndex) const { 286 hash_map_compat<int, float>::const_iterator it = mCharProbabilities[index].find(keyIndex);
|
H A D | proximity_info_state_utils.h | 158 const std::vector<int> *const sampledInputYs, const int keyIndex, 162 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex);
|
H A D | proximity_info_state_utils.cpp | 156 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) { 157 const float sweetSpotCenterX = proximityInfo->getSweetSpotCenterXAt(keyIndex); 158 const float sweetSpotCenterY = proximityInfo->getSweetSpotCenterYAt(keyIndex); 167 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) { 168 if (keyIndex == NOT_AN_INDEX) { 171 if (!proximityInfo->hasSweetSpotData(keyIndex)) { 178 sampledInputXs, sampledInputYs, keyIndex, inputIndex); 180 proximityInfo->getSweetSpotRadiiAt(keyIndex)); 154 calculateSquaredDistanceFromSweetSpotCenter( const ProximityInfo *const proximityInfo, const std::vector<int> *const sampledInputXs, const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) argument 165 calculateNormalizedSquaredDistance( const ProximityInfo *const proximityInfo, const std::vector<int> *const sampledInputXs, const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) argument
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | KeyboardView.java | 481 int keyIndex = getKeyIndices(mStartX, mStartY, null); 482 if ((keyIndex != NOT_A_KEY) 483 && (keyIndex < mKeys.length) 484 && (oldRepeatKeyCode == mKeys[keyIndex].codes[0])) { 486 mRepeatKeyIndex = keyIndex; 888 private void showPreview(int keyIndex) { argument 892 mCurrentKeyIndex = keyIndex; 907 if (keyIndex == NOT_A_KEY) { 913 if (keyIndex != NOT_A_KEY) { 915 showKey(keyIndex); 925 showKey(final int keyIndex) argument 1023 invalidateKey(int keyIndex) argument 1382 checkMultiTap(long eventTime, int keyIndex) argument [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | ProximityInfo.java | 156 for (int infoIndex = 0, keyIndex = 0; keyIndex < keys.length; keyIndex++) { 157 final Key key = keys[keyIndex]; 180 for (int infoIndex = 0, keyIndex = 0; keyIndex < keys.length; keyIndex++) { 181 final Key key = keys[keyIndex];
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
H A D | DefaultSoftKeyboardJAJP.java | 462 int keyIndex = (KEY_NUMBER_12KEY < keys.size()) 464 mChangeModeKey = keys.get(keyIndex);
|
Completed in 155 milliseconds