HomeSort by relevance Sort by last modified time
    Searched defs:afterLength (Results 1 - 8 of 8) sorted by null

  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/utils/
edit_distance.h 32 const int afterLength = policy->getString1Length();
33 float dp[(beforeLength + 1) * (afterLength + 1)];
35 dp[(afterLength + 1) * i] = i * policy->getInsertionCost(i - 1, -1);
37 for (int i = 0; i <= afterLength; ++i) {
42 for (int j = 0; j < afterLength; ++j) {
43 dp[(afterLength + 1) * (i + 1) + (j + 1)] = std::min(
44 dp[(afterLength + 1) * i + (j + 1)] + policy->getInsertionCost(i, j),
46 dp[(afterLength + 1) * (i + 1) + j] + policy->getDeletionCost(i, j),
47 dp[(afterLength + 1) * i + j] + policy->getSubstitutionCost(i, j)));
49 dp[(afterLength + 1) * (i + 1) + (j + 1)] = std::min
    [all...]
  /packages/inputmethods/LatinIME/native/jni/
com_android_inputmethod_latin_BinaryDictionaryUtils.cpp 62 jsize afterLength = env->GetArrayLength(after);
64 int afterCodePoints[afterLength];
66 env->GetIntArrayRegion(after, 0, afterLength, afterCodePoints);
68 afterCodePoints, afterLength, score);
  /external/libgdx/backends/gdx-backend-android/libs/
android-4.4.jar 
  /external/robolectric/v1/lib/main/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/20/
android.jar 

Completed in 769 milliseconds