/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
D | proximity_info_state_utils.cpp | 46 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 …]
|
D | proximity_info_state_utils.h | 38 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,
|
D | proximity_info_state.cpp | 43 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()
|
D | proximity_info_state.h | 38 const ProximityInfo *proximityInfo, const int *const inputCodes,
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_keyboard_ProximityInfo.cpp | 34 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()
|
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 179 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/ |
D | dictionary.cpp | 47 void Dictionary::getSuggestions(ProximityInfo *proximityInfo, DicTraverseSession *traverseSession, in getSuggestions() argument 55 suggest->getSuggestions(proximityInfo, traverseSession, xcoordinates, in getSuggestions()
|
D | dictionary.h | 68 void getSuggestions(ProximityInfo *proximityInfo, DicTraverseSession *traverseSession,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionary.java | 193 private static native void getSuggestionsNative(long dict, long proximityInfo, in getSuggestionsNative() argument
|