Searched refs:scores (Results 1 – 4 of 4) sorted by relevance
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | DefaultCorpusRankerTest.java | 68 Map<String,Integer> scores = new HashMap<String,Integer>(); in setCorpusScores() local 69 if (corpus1 != null) scores.put(MockCorpus.CORPUS_1.getName(), corpus1); in setCorpusScores() 70 if (corpus2 != null) scores.put(MockCorpus.CORPUS_2.getName(), corpus2); in setCorpusScores() 71 if (webCorpus != null) scores.put(MockCorpus.WEB_CORPUS.getName(), webCorpus); in setCorpusScores() 72 mRepo.setCorpusScores(scores); in setCorpusScores()
|
D | ShortcutRepositoryTest.java | 935 Map<String,Integer> scores = getCorpusScores(); in assertCorpusRanking() local 936 List<String> observed = sortByValues(scores); in assertCorpusRanking() 939 Log.d(TAG, "scores=" + scores); in assertCorpusRanking()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionary.java | 91 boolean useFullEditDistance, char[] outputChars, int[] scores); in getSuggestionsNative() argument 93 int[] inputCodes, int inputCodesLength, char[] outputChars, int[] scores, in getBigramsNative() argument 168 char[] outputChars, int[] scores) { in getSuggestions() argument 180 Arrays.fill(scores, 0); in getSuggestions() 189 prevWordCodePointArray, mUseFullEditDistance, outputChars, scores); in getSuggestions()
|
/packages/inputmethods/PinyinIME/jni/share/ |
D | userdict.cpp | 1104 uint32 *scores = NULL; in _get_lpis() local 1138 scores = (uint32 *)malloc((dict_info.lemma_count + kUserDictPreAlloc) << 2); in _get_lpis() 1139 if (!scores) goto error; in _get_lpis() 1178 readed += fread((((uint8*)scores) + readed), 1, toread - readed, fp); in _get_lpis() 1205 scores_ = scores; in _get_lpis() 1226 if (scores) free(scores); in _get_lpis()
|