OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:beforeLength
(Results
1 - 4
of
4
) 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/
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
,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
PointerTracker.java
[
all
...]
/prebuilts/sdk/17/
android.jar
Completed in 562 milliseconds