/packages/inputmethods/LatinIME/native/jni/src/ |
proximity_info_state.cpp | 34 const int *const xCoordinates, const int *const yCoordinates, const int *const times, 39 inputSize, xCoordinates, yCoordinates, times, mSampledInputSize, 58 mProximityInfo->initializeProximities(inputCodes, xCoordinates, yCoordinates, 103 if (xCoordinates && yCoordinates) { 105 mMaxPointToKeyLength, mInputProximities, xCoordinates, yCoordinates, times, 113 yCoordinates, times, lastSavedInputSize, mSampledInputSize, &mSampledInputXs, 117 mAverageSpeed, inputSize, xCoordinates, yCoordinates, times, mSampledInputSize, 145 ProximityInfoStateUtils::dump(isGeometric, inputSize, xCoordinates, yCoordinates, 153 && xCoordinates && yCoordinates; 159 mProximityInfo, inputSize, xCoordinates, yCoordinates, mInputProximities [all...] |
proximity_info_state_utils.h | 53 const int *const yCoordinates, const int *const times, const int lastSavedInputSize, 61 const int inputSize, const int *const xCoordinates, const int *const yCoordinates, 107 const int *const xCoordinates, const int *const yCoordinates, const int *const times, 146 const int *const yCoordinates, const int *times, const int sampledInputSize,
|
proximity_info_state_utils.cpp | 262 const int *const xCoordinates, const int *const yCoordinates, const int *const times, 288 length += getDistanceInt(xCoordinates[j], yCoordinates[j], 289 xCoordinates[j + 1], yCoordinates[j + 1]); 299 length += getDistanceInt(xCoordinates[j], yCoordinates[j], 300 xCoordinates[j + 1], yCoordinates[j + 1]); 322 const int *const yCoordinates, const int *times, const int sampledInputSize, 332 mostCommonKeyWidth, averageSpeed, i, inputSize, xCoordinates, yCoordinates, times, 520 const int *const yCoordinates, const int *times, const int sampledInputSize, 543 tempBeelineDistance = getDistanceInt(x0, y0, xCoordinates[start], yCoordinates[start]); 556 tempBeelineDistance = getDistanceInt(x0, y0, xCoordinates[end], yCoordinates[end]) [all...] |
proximity_info_state.h | 40 const int inputSize, const int *xCoordinates, const int *yCoordinates,
|
correction.h | 121 const int inputSize, const int *xCoordinates, const int *yCoordinates) { 123 proximityInfo, inputCodes, inputSize, xCoordinates, yCoordinates, 0, 0, false);
|
unigram_dictionary.cpp | 82 const int *xcoordinates, const int *ycoordinates, const int *codesBuffer, 91 ASSERT(sizeof(yCoordinatesBuffer[0]) == sizeof(ycoordinates[0])); 97 yCoordinatesBuffer[startIndex + i] = ycoordinates[codesBufferSize - codesRemain + i]; 114 getWordWithDigraphSuggestionsRec(proximityInfo, xcoordinates, ycoordinates, 124 getWordWithDigraphSuggestionsRec(proximityInfo, xcoordinates, ycoordinates, 144 memcpy(&yCoordinatesBuffer[startIndex], &ycoordinates[codesBufferSize - codesRemain], 157 const int *ycoordinates, const int *inputCodePoints, const int inputSize, 172 getWordWithDigraphSuggestionsRec(proximityInfo, xcoordinates, ycoordinates, codesBuffer, 177 getWordSuggestions(proximityInfo, xcoordinates, ycoordinates, inputCodePoints, inputSize, 212 const int *ycoordinates, const int *inputCodePoints, const int inputSize [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
InputPointers.java | 92 * @param yCoordinates the source {@link ResizableIntArray} to read the y-coordinates from. 97 ResizableIntArray yCoordinates, int startPos, int length) { 102 mYCoordinates.append(yCoordinates, startPos, length);
|
BinaryDictionary.java | 95 long traverseSession, int[] xCoordinates, int[] yCoordinates, int[] times,
|
ExpandableDictionary.java | 291 final int[] yCoordinates = ips.getYCoordinates(); 300 final int y = xCoordinates != null && i < yCoordinates.length ? 301 yCoordinates[i] : Constants.NOT_A_COORDINATE; [all...] |
/packages/inputmethods/LatinIME/native/jni/ |
com_android_inputmethod_latin_BinaryDictionary.cpp | 142 int yCoordinates[inputSize]; 152 env->GetIntArrayRegion(yCoordinatesArray, 0, inputSize, yCoordinates); 189 count = dictionary->getSuggestions(pInfo, traverseSession, xCoordinates, yCoordinates,
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
InputPointersTests.java | 32 assertNotNull("new instance yCoordinates", src.getYCoordinates()); 40 final int[] yCoordinates = src.getXCoordinates(); 47 assertNotSame("yCoordinates after reset", yCoordinates, src.getYCoordinates()); 61 assertEquals("yCoordinates at " + i, i * 2, src.getYCoordinates()[i]); 76 assertEquals("yCoordinates at " + i, i * 2, src.getYCoordinates()[i]); 92 assertSame("yCoordinates after set", dst.getYCoordinates(), src.getYCoordinates()); 107 assertNotSame("yCoordinates after copy", dst.getYCoordinates(), src.getYCoordinates()); 113 assertArrayEquals("yCoordinates values after copy", 140 assertArrayEquals("yCoordinates after append zero" [all...] |