Home
last modified time | relevance | path

Searched refs:proximityInfo (Results 1 – 9 of 9) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state_utils.cpp46 const ProximityInfo *const proximityInfo, const int maxPointToKeyLength, in updateTouchPoints() argument
118 if (pushTouchPoint(proximityInfo, maxPointToKeyLength, i, c, x, y, time, in updateTouchPoints()
158 const ProximityInfo *const proximityInfo, const std::vector<int> *const sampledInputXs, in calculateSquaredDistanceFromSweetSpotCenter() argument
160 const float sweetSpotCenterX = proximityInfo->getSweetSpotCenterXAt(keyIndex); in calculateSquaredDistanceFromSweetSpotCenter()
161 const float sweetSpotCenterY = proximityInfo->getSweetSpotCenterYAt(keyIndex); in calculateSquaredDistanceFromSweetSpotCenter()
169 const ProximityInfo *const proximityInfo, const std::vector<int> *const sampledInputXs, in calculateNormalizedSquaredDistance() argument
174 if (!proximityInfo->hasSweetSpotData(keyIndex)) { in calculateNormalizedSquaredDistance()
180 const float squaredDistance = calculateSquaredDistanceFromSweetSpotCenter(proximityInfo, in calculateNormalizedSquaredDistance()
183 proximityInfo->getSweetSpotRadiiAt(keyIndex)); in calculateNormalizedSquaredDistance()
188 const ProximityInfo *const proximityInfo, const int sampledInputSize, in initGeometricDistanceInfos() argument
[all …]
Dproximity_info_state_utils.h38 static int updateTouchPoints(const ProximityInfo *const proximityInfo,
74 const ProximityInfo *const proximityInfo,
76 static void updateSampledSearchKeySets(const ProximityInfo *const proximityInfo,
85 static void initGeometricDistanceInfos(const ProximityInfo *const proximityInfo,
106 static float getMostProbableString(const ProximityInfo *const proximityInfo,
114 static float updateNearKeysDistances(const ProximityInfo *const proximityInfo,
127 static bool pushTouchPoint(const ProximityInfo *const proximityInfo,
152 const ProximityInfo *const proximityInfo, const std::vector<int> *const sampledInputXs,
155 static float calculateNormalizedSquaredDistance(const ProximityInfo *const proximityInfo,
Dproximity_info_state.cpp43 const ProximityInfo *proximityInfo, const int *const inputCodes, const int inputSize, in initInputParams() argument
56 mProximityInfo = proximityInfo; in initInputParams()
57 mHasTouchPositionCorrectionData = proximityInfo->hasTouchPositionCorrectionData(); in initInputParams()
58 mMostCommonKeyWidthSquare = proximityInfo->getMostCommonKeyWidthSquare(); in initInputParams()
59 mKeyCount = proximityInfo->getKeyCount(); in initInputParams()
60 mCellHeight = proximityInfo->getCellHeight(); in initInputParams()
61 mCellWidth = proximityInfo->getCellWidth(); in initInputParams()
62 mGridHeight = proximityInfo->getGridWidth(); in initInputParams()
63 mGridWidth = proximityInfo->getGridHeight(); in initInputParams()
Dproximity_info_state.h38 const ProximityInfo *proximityInfo, const int *const inputCodes,
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_keyboard_ProximityInfo.cpp34 ProximityInfo *proximityInfo = new ProximityInfo(env, displayWidth, displayHeight, in latinime_Keyboard_setProximityInfo() local
38 return reinterpret_cast<jlong>(proximityInfo); in latinime_Keyboard_setProximityInfo()
41 static void latinime_Keyboard_release(JNIEnv *env, jclass clazz, jlong proximityInfo) { in latinime_Keyboard_release() argument
42 ProximityInfo *pi = reinterpret_cast<ProximityInfo *>(proximityInfo); in latinime_Keyboard_release()
Dcom_android_inputmethod_latin_BinaryDictionary.cpp179 jlong proximityInfo, jlong dicTraverseSession, jintArray xCoordinatesArray, in latinime_BinaryDictionary_getSuggestions() argument
193 ProximityInfo *pInfo = reinterpret_cast<ProximityInfo *>(proximityInfo); in latinime_BinaryDictionary_getSuggestions()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary.cpp47 void Dictionary::getSuggestions(ProximityInfo *proximityInfo, DicTraverseSession *traverseSession, in getSuggestions() argument
55 suggest->getSuggestions(proximityInfo, traverseSession, xcoordinates, in getSuggestions()
Ddictionary.h68 void getSuggestions(ProximityInfo *proximityInfo, DicTraverseSession *traverseSession,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionary.java193 private static native void getSuggestionsNative(long dict, long proximityInfo, in getSuggestionsNative() argument