HomeSort by relevance Sort by last modified time
    Searched refs:beforeLength (Results 1 - 14 of 14) sorted by null

  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/utils/
edit_distance.h 29 const int beforeLength = policy->getString0Length();
31 float dp[(beforeLength + 1) * (afterLength + 1)];
32 for (int i = 0; i <= beforeLength; ++i) {
39 for (int i = 0; i < beforeLength; ++i) {
55 AKLOGI("IN = %d, OUT = %d", beforeLength, afterLength);
56 for (int i = 0; i < beforeLength + 1; ++i) {
62 return dp[(beforeLength + 1) * (afterLength + 1) - 1];
  /packages/inputmethods/LatinIME/native/jni/src/
words_priority_queue.cpp 21 int WordsPriorityQueue::outputSuggestions(const int *before, const int beforeLength,
46 const float tempNs = getNormalizedScore(tempSw, before, beforeLength, 0, 0, 0);
words_priority_queue.h 119 AK_FORCE_INLINE float getHighestNormalizedScore(const int *before, const int beforeLength,
124 return getNormalizedScore(mHighestSuggestedWord, before, beforeLength, outWord, outScore,
128 int outputSuggestions(const int *before, const int beforeLength, int *frequencies,
149 static float getNormalizedScore(SuggestedWord *sw, const int *before, const int beforeLength,
163 return Correction::RankingAlgorithm::calcNormalizedScore(before, beforeLength, word,
correction.h 111 static float calcNormalizedScore(const int *before, const int beforeLength,
113 static int editDistance(const int *before, const int beforeLength, const int *after,
correction.cpp     [all...]
  /frameworks/base/core/java/android/view/inputmethod/
InputConnection.java 289 * Delete <var>beforeLength</var> characters of text before the
330 * @param beforeLength The number of characters to be deleted before the
337 public boolean deleteSurroundingText(int beforeLength, int afterLength);
    [all...]
InputConnectionWrapper.java 65 public boolean deleteSurroundingText(int beforeLength, int afterLength) {
66 return mTarget.deleteSurroundingText(beforeLength, afterLength);
BaseInputConnection.java 205 * @param beforeLength
208 public boolean deleteSurroundingText(int beforeLength, int afterLength) {
209 if (DEBUG) Log.v(TAG, "deleteSurroundingText " + beforeLength
240 if (beforeLength > 0) {
241 int start = a - beforeLength;
  /packages/inputmethods/LatinIME/native/jni/
com_android_inputmethod_latin_BinaryDictionary.cpp 232 jsize beforeLength = env->GetArrayLength(before);
234 int beforeCodePoints[beforeLength];
236 env->GetIntArrayRegion(before, 0, beforeLength, beforeCodePoints);
238 return Correction::RankingAlgorithm::calcNormalizedScore(beforeCodePoints, beforeLength,
244 jsize beforeLength = env->GetArrayLength(before);
246 int beforeCodePoints[beforeLength];
248 env->GetIntArrayRegion(before, 0, beforeLength, beforeCodePoints);
250 return Correction::RankingAlgorithm::editDistance(beforeCodePoints, beforeLength,
  /frameworks/base/core/java/com/android/internal/view/
InputConnectionWrapper.java 390 public boolean deleteSurroundingText(int beforeLength, int afterLength) {
392 mIInputContext.deleteSurroundingText(beforeLength, afterLength);
  /cts/tests/tests/view/src/android/view/inputmethod/cts/
InputConnectionWrapperTest.java 137 public boolean deleteSurroundingText(int beforeLength, int afterLength) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
PointerTracker.java     [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
ResearchLogger.java     [all...]
  /prebuilts/sdk/17/
android.jar 

Completed in 296 milliseconds