Home
last modified time | relevance | path

Searched refs:ProximityInfo (Results 1 – 19 of 19) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info.cpp52 ProximityInfo::ProximityInfo(JNIEnv *env, const int keyboardWidth, const int keyboardHeight, in ProximityInfo() function in latinime::ProximityInfo
98 ProximityInfo::~ProximityInfo() { in ~ProximityInfo()
102 bool ProximityInfo::hasSpaceProximity(const int x, const int y) const { in hasSpaceProximity()
129 float ProximityInfo::getNormalizedSquaredDistanceFromCenterFloatG( in getNormalizedSquaredDistanceFromCenterFloatG()
139 int ProximityInfo::getCodePointOf(const int keyIndex) const { in getCodePointOf()
146 int ProximityInfo::getOriginalCodePointOf(const int keyIndex) const { in getOriginalCodePointOf()
153 void ProximityInfo::initializeG() { in initializeG()
195 int ProximityInfo::getKeyCenterXOfKeyIdG( in getKeyCenterXOfKeyIdG()
221 int ProximityInfo::getKeyCenterYOfKeyIdG( in getKeyCenterYOfKeyIdG()
245 int ProximityInfo::getKeyKeyDistanceG(const int keyId0, const int keyId1) const { in getKeyKeyDistanceG()
Dproximity_info_state_utils.h27 class ProximityInfo; variable
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,
Dproximity_info.h29 class ProximityInfo {
31 ProximityInfo(JNIEnv *env, const int keyboardWidth, const int keyboardHeight,
38 ~ProximityInfo();
91 DISALLOW_IMPLICIT_CONSTRUCTORS(ProximityInfo);
Dproximity_info_state_utils.cpp46 const ProximityInfo *const proximityInfo, const int maxPointToKeyLength, in updateTouchPoints()
158 const ProximityInfo *const proximityInfo, const std::vector<int> *const sampledInputXs, in calculateSquaredDistanceFromSweetSpotCenter()
169 const ProximityInfo *const proximityInfo, const std::vector<int> *const sampledInputXs, in calculateNormalizedSquaredDistance()
188 const ProximityInfo *const proximityInfo, const int sampledInputSize, in initGeometricDistanceInfos()
315 const ProximityInfo *const proximityInfo, const float maxPointToKeyLength, const int x, in updateNearKeysDistances()
401 /* static */ bool ProximityInfoStateUtils::pushTouchPoint(const ProximityInfo *const proximityInfo, in pushTouchPoint()
623 const ProximityInfo *const proximityInfo, in updateAlignPointProbabilities()
823 const ProximityInfo *const proximityInfo, const int sampledInputSize, in updateSampledSearchKeySets()
935 const ProximityInfo *const proximityInfo, const int sampledInputSize, in getMostProbableString()
Dproximity_info_state.h30 class ProximityInfo; variable
38 const ProximityInfo *proximityInfo, const int *const inputCodes,
196 const ProximityInfo *mProximityInfo;
Dproximity_info_state.cpp43 const ProximityInfo *proximityInfo, const int *const inputCodes, const int inputSize, in initInputParams()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_keyboard_ProximityInfo.cpp34 ProximityInfo *proximityInfo = new ProximityInfo(env, displayWidth, displayHeight, in latinime_Keyboard_setProximityInfo()
42 ProximityInfo *pi = reinterpret_cast<ProximityInfo *>(proximityInfo); in latinime_Keyboard_release()
Dcom_android_inputmethod_latin_BinaryDictionary.cpp43 class ProximityInfo;
193 ProximityInfo *pInfo = reinterpret_cast<ProximityInfo *>(proximityInfo); in latinime_BinaryDictionary_getSuggestions()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/
Ddic_traverse_session.h34 class ProximityInfo; variable
67 void setupForGetSuggestions(const ProximityInfo *pInfo, const int *inputCodePoints,
78 const ProximityInfo *getProximityInfo() const { return mProximityInfo; } in getProximityInfo()
171 const ProximityInfo *mProximityInfo;
Ddic_traverse_session.cpp42 void DicTraverseSession::setupForGetSuggestions(const ProximityInfo *pInfo, in setupForGetSuggestions()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/
Dsuggest_interface.h24 class ProximityInfo; variable
29 virtual void getSuggestions(ProximityInfo *pInfo, void *traverseSession, int *inputXs,
Dsuggest.h37 class ProximityInfo; variable
50 void getSuggestions(ProximityInfo *pInfo, void *traverseSession, int *inputXs, int *inputYs,
Dsuggest.cpp48 void Suggest::getSuggestions(ProximityInfo *pInfo, void *traverseSession, in getSuggestions()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboard.java97 private final ProximityInfo mProximityInfo;
123 mProximityInfo = new ProximityInfo(params.GRID_WIDTH, params.GRID_HEIGHT, in Keyboard()
169 public ProximityInfo getProximityInfo() { in getProximityInfo()
DProximityInfo.java33 public class ProximityInfo { class
34 private static final String TAG = ProximityInfo.class.getSimpleName();
61 ProximityInfo(final int gridWidth, final int gridHeight, final int minWidth, final int height, in ProximityInfo() method in ProximityInfo
DKeyboardLayout.java114 if (!ProximityInfo.needsProximityInfo(key)) { in newKeyboardLayout()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary.h37 class ProximityInfo; variable
68 void getSuggestions(ProximityInfo *proximityInfo, DicTraverseSession *traverseSession,
Ddictionary.cpp47 void Dictionary::getSuggestions(ProximityInfo *proximityInfo, DicTraverseSession *traverseSession, in getSuggestions()
/packages/inputmethods/LatinIME/tools/dicttool/compat/com/android/inputmethod/keyboard/
DProximityInfo.java19 public class ProximityInfo { class