/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 | 33 const int beforeLength, const int *after, const int afterLength) { 35 before, beforeLength, after, afterLength); 71 const int beforeLength, const int *after, const int afterLength, const int score) { 72 if (0 == beforeLength || 0 == afterLength) { 75 const int distance = editDistance(before, beforeLength, after, afterLength); 103 static_cast<float>(std::min(beforeLength, afterLength - spaceCount)))
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/utils/ |
edit_distance.h | 31 const int beforeLength = policy->getString0Length(); 33 float dp[(beforeLength + 1) * (afterLength + 1)]; 34 for (int i = 0; i <= beforeLength; ++i) { 41 for (int i = 0; i < beforeLength; ++i) { 57 AKLOGI("IN = %d, OUT = %d", beforeLength, afterLength); 58 for (int i = 0; i < beforeLength + 1; ++i) { 64 return dp[(beforeLength + 1) * (afterLength + 1) - 1];
|
/packages/inputmethods/LatinIME/native/jni/ |
com_android_inputmethod_latin_BinaryDictionaryUtils.cpp | 61 jsize beforeLength = env->GetArrayLength(before); 63 int beforeCodePoints[beforeLength]; 65 env->GetIntArrayRegion(before, 0, beforeLength, beforeCodePoints); 67 return AutocorrectionThresholdUtils::calcNormalizedScore(beforeCodePoints, beforeLength,
|
/frameworks/base/core/java/android/view/inputmethod/ |
InputConnectionWrapper.java | 117 public boolean deleteSurroundingTextInCodePoints(int beforeLength, int afterLength) { 118 return mTarget.deleteSurroundingTextInCodePoints(beforeLength, afterLength); 125 public boolean deleteSurroundingText(int beforeLength, int afterLength) { 126 return mTarget.deleteSurroundingText(beforeLength, afterLength);
|
InputConnection.java | 318 * Delete <var>beforeLength</var> characters of text before the 359 * @param beforeLength The number of characters before the cursor to be deleted, in code unit. 369 public boolean deleteSurroundingText(int beforeLength, int afterLength); 386 * @param beforeLength The number of characters before the cursor to be deleted, in code points. 397 public boolean deleteSurroundingTextInCodePoints(int beforeLength, int afterLength); [all...] |
BaseInputConnection.java | 207 * @param beforeLength The number of characters before the cursor to be deleted, in code unit. 216 public boolean deleteSurroundingText(int beforeLength, int afterLength) { 217 if (DEBUG) Log.v(TAG, "deleteSurroundingText " + beforeLength 248 if (beforeLength > 0) { 249 int start = a - beforeLength; 364 * @param beforeLength The number of characters before the cursor to be deleted, in code points. 373 public boolean deleteSurroundingTextInCodePoints(int beforeLength, int afterLength) { 374 if (DEBUG) Log.v(TAG, "deleteSurroundingText " + beforeLength 404 final int start = findIndexBackward(content, a, Math.max(beforeLength, 0));
|
/frameworks/base/core/java/com/android/internal/view/ |
IInputContext.aidl | 43 void deleteSurroundingText(int beforeLength, int afterLength); 44 void deleteSurroundingTextInCodePoints(int beforeLength, int afterLength);
|
InputConnectionWrapper.java | 447 public boolean deleteSurroundingText(int beforeLength, int afterLength) { 449 mIInputContext.deleteSurroundingText(beforeLength, afterLength); 456 public boolean deleteSurroundingTextInCodePoints(int beforeLength, int afterLength) { 462 mIInputContext.deleteSurroundingTextInCodePoints(beforeLength, afterLength);
|
IInputConnectionWrapper.java | 210 public void deleteSurroundingText(int beforeLength, int afterLength) { 212 beforeLength, afterLength)); 215 public void deleteSurroundingTextInCodePoints(int beforeLength, int afterLength) { 217 beforeLength, afterLength));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
BatchInputArbiter.java | 95 final int beforeLength = mRecognitionPoints.getLength(); 98 if (mRecognitionPoints.getLength() > beforeLength) {
|
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/surfaceview/ |
GLSurfaceView20.java | 87 public boolean deleteSurroundingText (int beforeLength, int afterLength) {
91 * In Jelly Bean, they don't send key events for delete. Instead, they send beforeLength = 1, afterLength = 0. So,
94 if (beforeLength == 1 && afterLength == 0) {
99 return super.deleteSurroundingText(beforeLength, afterLength);
|
GLSurfaceView20API18.java | 79 public boolean deleteSurroundingText (int beforeLength, int afterLength) { 83 * In Jelly Bean, they don't send key events for delete. Instead, they send beforeLength = 1, afterLength = 0. So, 86 if (beforeLength == 1 && afterLength == 0) { 91 return super.deleteSurroundingText(beforeLength, afterLength);
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
InputConnectionWrapperTest.java | 162 public boolean deleteSurroundingText(int beforeLength, int afterLength) { 167 public boolean deleteSurroundingTextInCodePoints(int beforeLength, int afterLength) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
RichInputConnection.java | 473 public void deleteTextBeforeCursor(final int beforeLength) { 478 final int remainingChars = mComposingText.length() - beforeLength; 488 if (mExpectedSelStart > beforeLength) { 489 mExpectedSelStart -= beforeLength; 490 mExpectedSelEnd -= beforeLength; 498 mIC.deleteSurroundingText(beforeLength, 0); [all...] |
/external/skia/platform_tools/android/apps/visualbenchsdl/src/main/java/org/libsdl/app/ |
SDLActivity.java | [all...] |
/frameworks/base/core/java/android/widget/ |
AbsListView.java | [all...] |
/external/libgdx/backends/gdx-backend-android/libs/ |
android-4.4.jar | |
/external/robolectric/v1/lib/main/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/17/ |
android.jar | |