Searched refs:keyIndex (Results 1 – 4 of 4) sorted by relevance
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | KeyboardView.java | 481 int keyIndex = getKeyIndices(mStartX, mStartY, null); in setKeyboard() local 482 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() argument 892 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 …]
|
/packages/inputmethods/LatinIME/native/jni/src/ |
D | proximity_info.cpp | 166 const int keyIndex = getKeyIndex(c); in calculateNearbyKeyCodes() local 167 const bool onKey = isOnKey(keyIndex, x, y); in calculateNearbyKeyCodes() 168 const int distance = squaredDistanceToEdge(keyIndex, x, y); in calculateNearbyKeyCodes() 309 const int keyIndex, const int inputIndex) const { in calculateNormalizedSquaredDistance() argument 310 if (keyIndex == NOT_AN_INDEX) { in calculateNormalizedSquaredDistance() 313 if (!hasSweetSpotData(keyIndex)) { in calculateNormalizedSquaredDistance() 319 const float squaredDistance = calculateSquaredDistanceFromSweetSpotCenter(keyIndex, inputIndex); in calculateNormalizedSquaredDistance() 320 const float squaredRadius = square(mSweetSpotRadii[keyIndex]); in calculateNormalizedSquaredDistance() 341 const int keyIndex, const int inputIndex) const { in calculateSquaredDistanceFromSweetSpotCenter() argument 342 const float sweetSpotCenterX = mSweetSpotCenterXs[keyIndex]; in calculateSquaredDistanceFromSweetSpotCenter() [all …]
|
D | proximity_info.h | 85 float calculateNormalizedSquaredDistance(const int keyIndex, const int inputIndex) const; 87 const int keyIndex, const int inputIndex) const; 90 bool hasSweetSpotData(const int keyIndex) const { in hasSweetSpotData() argument 93 return mSweetSpotRadii[keyIndex] > 0.0; in hasSweetSpotData()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
D | DefaultSoftKeyboardJAJP.java | 462 int keyIndex = (KEY_NUMBER_12KEY < keys.size()) in changeKeyboard() local 464 mChangeModeKey = keys.get(keyIndex); in changeKeyboard()
|