Searched refs:keyIndex (Results 1 - 10 of 10) 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 int getOriginalCodePointOf(const int keyIndex) const; 43 bool hasSweetSpotData(const int keyIndex) const { 46 return mSweetSpotRadii[keyIndex] > 0.0f; 48 float getSweetSpotRadiiAt(int keyIndex) const { return mSweetSpotRadii[keyIndex]; } 49 float getSweetSpotCenterXAt(int keyIndex) const { return mSweetSpotCenterXs[keyIndex]; } 50 float getSweetSpotCenterYAt(int keyIndex) const { return mSweetSpotCenterYs[keyIndex]; } [all...] |
H A D | proximity_info.cpp | 146 int ProximityInfo::getCodePointOf(const int keyIndex) const { 147 if (keyIndex < 0 || keyIndex >= KEY_COUNT) { 150 return mKeyIndexToLowerCodePointG[keyIndex]; 153 int ProximityInfo::getOriginalCodePointOf(const int keyIndex) const { 154 if (keyIndex < 0 || keyIndex >= KEY_COUNT) { 157 return mKeyIndexToOriginalCodePoint[keyIndex];
|
H A D | proximity_info_state.cpp | 37 const int keyIndex = mProximityInfo->getKeyIndexOf(primaryCodePoint); local 38 return mProximityInfo->getOriginalCodePointOf(keyIndex); 297 // Returns a probability of mapping index to keyIndex. 298 float ProximityInfoState::getProbability(const int index, const int keyIndex) const { 300 std::unordered_map<int, float>::const_iterator it = mCharProbabilities[index].find(keyIndex);
|
H A D | proximity_info_utils.h | 164 const int keyIndex = getKeyIndexOf(keyCount, c, codeToKeyMap); local 166 keyIndex, x, y); 168 keyWidths, keyHeights, keyIndex, x, y);
|
H A D | proximity_info_state_utils.h | 153 const std::vector<int> *const sampledInputYs, const int keyIndex, 157 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex);
|
H A D | proximity_info_state_utils.cpp | 159 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) { 160 const float sweetSpotCenterX = proximityInfo->getSweetSpotCenterXAt(keyIndex); 161 const float sweetSpotCenterY = proximityInfo->getSweetSpotCenterYAt(keyIndex); 170 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) { 171 if (keyIndex == NOT_AN_INDEX) { 174 if (!proximityInfo->hasSweetSpotData(keyIndex)) { 181 sampledInputXs, sampledInputYs, keyIndex, inputIndex); 183 proximityInfo->getSweetSpotRadiiAt(keyIndex)); 157 calculateSquaredDistanceFromSweetSpotCenter( const ProximityInfo *const proximityInfo, const std::vector<int> *const sampledInputXs, const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) argument 168 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 | 161 for (int infoIndex = 0, keyIndex = 0; keyIndex < sortedKeys.size(); keyIndex++) { 162 final Key key = sortedKeys.get(keyIndex); 185 for (int infoIndex = 0, keyIndex = 0; keyIndex < sortedKeys.size(); keyIndex++) { 186 final Key key = sortedKeys.get(keyIndex);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
H A D | DeveloperOptionsActivity.java | 818 for (int keyIndex = 0; keyIndex < keys.length; ++keyIndex) { 819 if (keys[keyIndex].equals(value)) { 820 index = keyIndex; 834 for (int keyIndex = 0; keyIndex < keys.length; ++keyIndex) { 835 if (keys[keyIndex].equals(value)) { 836 index = keyIndex; [all...] |
/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 315 milliseconds