/packages/inputmethods/LatinIME/native/jni/src/suggest/core/ |
suggest_interface.h | 24 class ProximityInfo; 29 virtual void getSuggestions(ProximityInfo *pInfo, void *traverseSession, int *inputXs,
|
suggest.h | 37 class ProximityInfo; 50 void getSuggestions(ProximityInfo *pInfo, void *traverseSession, int *inputXs, int *inputYs,
|
suggest.cpp | 48 void Suggest::getSuggestions(ProximityInfo *pInfo, void *traverseSession,
|
/packages/inputmethods/LatinIME/native/jni/ |
com_android_inputmethod_keyboard_ProximityInfo.cpp | 17 #define LOG_TAG "LatinIME: jni: ProximityInfo" 34 ProximityInfo *proximityInfo = new ProximityInfo(env, displayWidth, displayHeight, 38 return reinterpret_cast<jlong>(proximityInfo); 41 static void latinime_Keyboard_release(JNIEnv *env, jclass clazz, jlong proximityInfo) { 42 ProximityInfo *pi = reinterpret_cast<ProximityInfo *>(proximityInfo); 60 const char *const kClassPathName = "com/android/inputmethod/keyboard/ProximityInfo"; [all...] |
com_android_inputmethod_latin_BinaryDictionary.cpp | 43 class ProximityInfo; 179 jlong proximityInfo, jlong dicTraverseSession, jintArray xCoordinatesArray, 193 ProximityInfo *pInfo = reinterpret_cast<ProximityInfo *>(proximityInfo); [all...] |
/packages/inputmethods/LatinIME/tools/dicttool/compat/com/android/inputmethod/keyboard/ |
ProximityInfo.java | 19 public class ProximityInfo {
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
proximity_info.cpp | 52 ProximityInfo::ProximityInfo(JNIEnv *env, const int keyboardWidth, const int keyboardHeight, 98 ProximityInfo::~ProximityInfo() { 102 bool ProximityInfo::hasSpaceProximity(const int x, const int y) const { 129 float ProximityInfo::getNormalizedSquaredDistanceFromCenterFloatG( 139 int ProximityInfo::getCodePointOf(const int keyIndex) const { 146 int ProximityInfo::getOriginalCodePointOf(const int keyIndex) const { 153 void ProximityInfo::initializeG() { 195 int ProximityInfo::getKeyCenterXOfKeyIdG [all...] |
proximity_info_state_utils.h | 27 class ProximityInfo; 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 [all...] |
proximity_info.h | 29 class ProximityInfo { 31 ProximityInfo(JNIEnv *env, const int keyboardWidth, const int keyboardHeight, 38 ~ProximityInfo(); 91 DISALLOW_IMPLICIT_CONSTRUCTORS(ProximityInfo);
|
proximity_info_state.h | 30 class ProximityInfo; 38 const ProximityInfo *proximityInfo, const int *const inputCodes, 196 const ProximityInfo *mProximityInfo;
|
proximity_info_state_utils.cpp | 46 const ProximityInfo *const proximityInfo, const int maxPointToKeyLength, 118 if (pushTouchPoint(proximityInfo, maxPointToKeyLength, i, c, x, y, time, 158 const ProximityInfo *const proximityInfo, const std::vector<int> *const sampledInputXs, 160 const float sweetSpotCenterX = proximityInfo->getSweetSpotCenterXAt(keyIndex); 161 const float sweetSpotCenterY = proximityInfo->getSweetSpotCenterYAt(keyIndex); 169 const ProximityInfo *const proximityInfo, const std::vector<int> *const sampledInputXs, 174 if (!proximityInfo->hasSweetSpotData(keyIndex)) [all...] |
proximity_info_state.cpp | 43 const ProximityInfo *proximityInfo, const int *const inputCodes, const int inputSize, 56 mProximityInfo = proximityInfo; 57 mHasTouchPositionCorrectionData = proximityInfo->hasTouchPositionCorrectionData(); 58 mMostCommonKeyWidthSquare = proximityInfo->getMostCommonKeyWidthSquare(); 59 mKeyCount = proximityInfo->getKeyCount(); 60 mCellHeight = proximityInfo->getCellHeight(); 61 mCellWidth = proximityInfo->getCellWidth(); 62 mGridHeight = proximityInfo->getGridWidth(); 63 mGridWidth = proximityInfo->getGridHeight() [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/ |
dic_traverse_session.h | 34 class ProximityInfo; 67 void setupForGetSuggestions(const ProximityInfo *pInfo, const int *inputCodePoints, 78 const ProximityInfo *getProximityInfo() const { return mProximityInfo; } 171 const ProximityInfo *mProximityInfo;
|
dic_traverse_session.cpp | 42 void DicTraverseSession::setupForGetSuggestions(const ProximityInfo *pInfo,
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
dictionary.h | 37 class ProximityInfo; 68 void getSuggestions(ProximityInfo *proximityInfo, DicTraverseSession *traverseSession,
|
dictionary.cpp | 47 void Dictionary::getSuggestions(ProximityInfo *proximityInfo, DicTraverseSession *traverseSession, 55 suggest->getSuggestions(proximityInfo, traverseSession, xcoordinates,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
KeyboardLayout.java | 114 if (!ProximityInfo.needsProximityInfo(key)) {
|
Keyboard.java | 97 private final ProximityInfo mProximityInfo; 123 mProximityInfo = new ProximityInfo(params.GRID_WIDTH, params.GRID_HEIGHT, 169 public ProximityInfo getProximityInfo() {
|
ProximityInfo.java | 33 public class ProximityInfo { 34 private static final String TAG = ProximityInfo.class.getSimpleName(); 61 ProximityInfo(final int gridWidth, final int gridHeight, final int minWidth, final int height, 99 // Don't include special keys into ProximityInfo.
|