/packages/inputmethods/LatinIME/native/jni/src/utils/ |
autocorrection_threshold_utils.h | 26 static float calcNormalizedScore(const int *before, const int beforeLength, 28 static int editDistance(const int *before, const int beforeLength, const int *after,
|
autocorrection_threshold_utils.cpp | 32 const int beforeLength, const int *after, const int afterLength) { 34 before, beforeLength, after, afterLength); 70 const int beforeLength, const int *after, const int afterLength, const int score) { 71 if (0 == beforeLength || 0 == afterLength) { 74 const int distance = editDistance(before, beforeLength, after, afterLength); 102 static_cast<float>(min(beforeLength, afterLength - spaceCount)))
|
/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];
|
/frameworks/base/core/java/android/view/inputmethod/ |
InputConnection.java | 297 * Delete <var>beforeLength</var> characters of text before the 338 * @param beforeLength The number of characters to be deleted before the 345 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;
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
AdapterInputConnection.java | 295 public boolean deleteSurroundingText(int beforeLength, int afterLength) { 297 Log.w(TAG, "deleteSurroundingText [" + beforeLength + " " + afterLength + "]"); 302 beforeLength = Math.min(beforeLength, availableBefore); 304 super.deleteSurroundingText(beforeLength, afterLength); 306 return mImeAdapter.deleteSurroundingText(beforeLength, afterLength);
|
ImeAdapter.java | 386 boolean deleteSurroundingText(int beforeLength, int afterLength) { 388 nativeDeleteSurroundingText(mNativeImeAdapterAndroid, beforeLength, afterLength);
|
/packages/inputmethods/LatinIME/native/jni/ |
com_android_inputmethod_latin_BinaryDictionary.cpp | 257 jsize beforeLength = env->GetArrayLength(before); 259 int beforeCodePoints[beforeLength]; 261 env->GetIntArrayRegion(before, 0, beforeLength, beforeCodePoints); 263 return AutocorrectionThresholdUtils::calcNormalizedScore(beforeCodePoints, beforeLength, 269 jsize beforeLength = env->GetArrayLength(before); 271 int beforeCodePoints[beforeLength]; 273 env->GetIntArrayRegion(before, 0, beforeLength, beforeCodePoints); 275 return AutocorrectionThresholdUtils::editDistance(beforeCodePoints, beforeLength,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
RichInputConnection.java | 327 public void deleteSurroundingText(final int beforeLength, final int afterLength) { 329 final int remainingChars = mComposingText.length() - beforeLength; 339 if (mExpectedCursorPosition > beforeLength) { 340 mExpectedCursorPosition -= beforeLength; 345 mIC.deleteSurroundingText(beforeLength, afterLength); 347 ResearchLogger.richInputConnection_deleteSurroundingText(beforeLength, afterLength); [all...] |
/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...] |
/frameworks/base/core/java/android/widget/ |
AbsListView.java | [all...] |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/17/ |
android.jar | |