/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | ProximityInfo.java | 95 int keyCount, int[] keyXCoordinates, int[] keyYCoordinates, int[] keyWidths, in setProximityInfoNative() argument 151 final int keyCount = getProximityInfoKeysCount(sortedKeys); in createNativeProximityInfo() local 152 final int[] keyXCoordinates = new int[keyCount]; in createNativeProximityInfo() 153 final int[] keyYCoordinates = new int[keyCount]; in createNativeProximityInfo() 154 final int[] keyWidths = new int[keyCount]; in createNativeProximityInfo() 155 final int[] keyHeights = new int[keyCount]; in createNativeProximityInfo() 156 final int[] keyCharCodes = new int[keyCount]; in createNativeProximityInfo() 179 sweetSpotCenterXs = new float[keyCount]; in createNativeProximityInfo() 180 sweetSpotCenterYs = new float[keyCount]; in createNativeProximityInfo() 181 sweetSpotRadii = new float[keyCount]; in createNativeProximityInfo() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
D | proximity_info_state_utils.cpp | 193 const int keyCount = proximityInfo->getKeyCount(); in initGeometricDistanceInfos() local 194 sampledNormalizedSquaredLengthCache->resize(sampledInputSize * keyCount); in initGeometricDistanceInfos() 196 for (int k = 0; k < keyCount; ++k) { in initGeometricDistanceInfos() 197 const int index = i * keyCount + k; in initGeometricDistanceInfos() 318 const int keyCount = proximityInfo->getKeyCount(); in updateNearKeysDistances() local 320 for (int k = 0; k < keyCount; ++k) { in updateNearKeysDistances() 604 const std::vector<float> *const sampledNormalizedSquaredLengthCache, const int keyCount, in getPointToKeyByIdLength() argument 607 const int index = inputIndex * keyCount + keyId; in getPointToKeyByIdLength() 617 const float maxPointToKeyLength, const int mostCommonKeyWidth, const int keyCount, in updateAlignPointProbabilities() argument 638 for (int j = 0; j < keyCount; ++j) { in updateAlignPointProbabilities() [all …]
|
D | proximity_info_utils.h | 31 static AK_FORCE_INLINE int getKeyIndexOf(const int keyCount, const int c, in getKeyIndexOf() argument 33 if (keyCount == 0) { in getKeyIndexOf() 53 const int gridWidth, const int mostCommonKeyWidth, const int keyCount, in initializeProximities() argument 67 keyCount, x, y, primaryKey, localeStr, codeToKeyMap, proximities); in initializeProximities() 145 const int gridWidth, const int mostCommonKeyWidth, const int keyCount, in calculateProximities() argument 164 const int keyIndex = getKeyIndexOf(keyCount, c, codeToKeyMap); in calculateProximities()
|
D | proximity_info.cpp | 55 const jintArray proximityChars, const int keyCount, const jintArray keyXCoordinates, in ProximityInfo() argument 66 KEY_COUNT(std::min(keyCount, MAX_KEY_COUNT_IN_A_KEYBOARD)), in ProximityInfo() 69 HAS_TOUCH_POSITION_CORRECTION_DATA(keyCount > 0 && keyXCoordinates && keyYCoordinates in ProximityInfo()
|
D | proximity_info_state_utils.h | 68 const int mostCommonKeyWidth, const int keyCount, const int start, 83 const std::vector<float> *const sampledNormalizedSquaredLengthCache, const int keyCount,
|
D | proximity_info.h | 33 const jintArray proximityChars, const int keyCount, const jintArray keyXCoordinates,
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_keyboard_ProximityInfo.cpp | 30 jint mostCommonkeyWidth, jint mostCommonkeyHeight, jintArray proximityChars, jint keyCount, in latinime_Keyboard_setProximityInfo() argument 36 keyCount, keyXCoordinates, keyYCoordinates, keyWidths, keyHeights, keyCharCodes, in latinime_Keyboard_setProximityInfo()
|
D | com_android_inputmethod_latin_BinaryDictionaryUtils.cpp | 47 const int keyCount = env->GetArrayLength(attributeKeyStringArray); in latinime_BinaryDictionaryUtils_createEmptyDictFile() local 49 if (keyCount != valueCount) { in latinime_BinaryDictionaryUtils_createEmptyDictFile()
|
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 79 const int keyCount = env->GetArrayLength(attributeKeyStringArray); in latinime_BinaryDictionary_createOnMemory() local 81 if (keyCount != valueCount) { in latinime_BinaryDictionary_createOnMemory()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.h | 46 const int keyCount = env->GetArrayLength(attributeKeyStringArray); in constructAttributeMap() local 47 for (int i = 0; i < keyCount; i++) { in constructAttributeMap()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | KeyboardView.java | 710 final int keyCount = keys.length; in onBufferDraw() local 711 for (int i = 0; i < keyCount; i++) { in onBufferDraw() 806 final int keyCount = nearestKeyIndices.length; in getKeyIndices() local 807 for (int i = 0; i < keyCount; i++) { in getKeyIndices()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ResourceUtils.java | 58 final int keyCount = BUILD_KEYS_AND_VALUES.length / 2; 59 for (int i = 0; i < keyCount; i++) {
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/com/android/inputmethod/keyboard/ |
D | ProximityInfo.java | 24 int keyCount, int[] keyXCoordinates, int[] keyYCoordinates, int[] keyWidths, in setProximityInfoNative() argument
|