/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictIOTests.java | 162 final List<String> words, final Map<String, List<String>> shortcutMap) { in addUnigrams() argument 164 final String word = words.get(i); in addUnigrams() 177 final List<String> words, in addBigrams() argument 182 dict.setBigram(words.get(w1), words.get(w2), BIGRAM_FREQ); in addBigrams() 210 private void checkDictionary(final FusionDictionary dict, final List<String> words, in checkDictionary() argument 215 for (final String word : words) { in checkDictionary() 224 final CharGroup cg = FusionDictionary.findWordInTree(dict.mRoot, words.get(w1)); in checkDictionary() 225 assertNotNull(words.get(w1) + "," + words.get(w2), cg.getBigram(words.get(w2))); in checkDictionary() 251 private long timeReadingAndCheckDict(final File file, final List<String> words, in timeReadingAndCheckDict() argument 269 checkDictionary(dict, words, bigrams, shortcutMap); in timeReadingAndCheckDict() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | SuggestedWordsTests.java | 40 final SuggestedWords words = new SuggestedWords( in testGetSuggestedWordsExcludingTypedWord() local 47 assertEquals(NUMBER_OF_ADDED_SUGGESTIONS + 1, words.size()); in testGetSuggestedWordsExcludingTypedWord() 48 assertEquals("typed", words.getWord(0)); in testGetSuggestedWordsExcludingTypedWord() 49 assertEquals(SuggestedWordInfo.KIND_TYPED, words.getInfo(0).mKind); in testGetSuggestedWordsExcludingTypedWord() 50 assertEquals("0", words.getWord(1)); in testGetSuggestedWordsExcludingTypedWord() 51 assertEquals(SuggestedWordInfo.KIND_CORRECTION, words.getInfo(1).mKind); in testGetSuggestedWordsExcludingTypedWord() 52 assertEquals("4", words.getWord(5)); in testGetSuggestedWordsExcludingTypedWord() 53 assertEquals(SuggestedWordInfo.KIND_CORRECTION, words.getInfo(5).mKind); in testGetSuggestedWordsExcludingTypedWord() 55 final SuggestedWords wordsWithoutTyped = words.getSuggestedWordsExcludingTypedWord(); in testGetSuggestedWordsExcludingTypedWord() 56 assertEquals(words.size() - 1, wordsWithoutTyped.size()); in testGetSuggestedWordsExcludingTypedWord()
|
D | UserHistoryDictionaryTests.java | 71 private void addToDict(final UserHistoryDictionary dict, final List<String> words) { in addToDict() argument 73 for (String word : words) { in addToDict() 86 List<String> words = generateWords(numberOfWords, random); in testRandomWords() local 95 addToDict(dict, words); in testRandomWords()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
D | OpenWnnClauseConverterJAJP.java | 465 ArrayList<WnnWord> words = (all)? mAllIndepWordBag.get(input) : mIndepWordBag.get(input); in getIndependentWords() local 467 if (words == null) { in getIndependentWords() 477 words = new ArrayList<WnnWord>(); in getIndependentWords() 480 mAllIndepWordBag.put(input, words); in getIndependentWords() 485 words.add(word); in getIndependentWords() 489 mIndepWordBag.put(input, words); in getIndependentWords() 494 Iterator<WnnWord> list = words.iterator(); in getIndependentWords() 504 words.add(word); in getIndependentWords() 512 addAutoGeneratedCandidates(input, words, all); in getIndependentWords() 514 return words; in getIndependentWords()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
D | JsonUtils.java | 87 /* package */ static void writeJson(final SuggestedWords words, final JsonWriter jsonWriter) in writeJson() argument 90 jsonWriter.name("typedWordValid").value(words.mTypedWordValid); in writeJson() 92 .value(words.mWillAutoCorrect); in writeJson() 94 .value(words.mIsPunctuationSuggestions); in writeJson() 95 jsonWriter.name("isObsoleteSuggestions").value(words.mIsObsoleteSuggestions); in writeJson() 96 jsonWriter.name("isPrediction").value(words.mIsPrediction); in writeJson() 99 final int size = words.size(); in writeJson() 101 final SuggestedWordInfo wordInfo = words.getInfo(j); in writeJson()
|
D | MainLogBuffer.java | 162 final String[] words = logUnit.getWordsAsStringArray(); in isSafeNGram() local 163 for (final String word : words) { in isSafeNGram()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | OpenWnnDictionaryImpl.java | 722 WnnWord[] words = new WnnWord[ numOfWords ]; in getUserDictionaryWords() local 726 words[ i ] = new WnnWord(); in getUserDictionaryWords() 727 words[ i ].stroke = cursor.getString( 0 ); in getUserDictionaryWords() 728 words[ i ].candidate = cursor.getString( 1 ); in getUserDictionaryWords() 732 return words; in getUserDictionaryWords() 931 WnnWord[] words = new WnnWord[1]; in addWordToUserDictionary() local 932 words[0] = word; in addWordToUserDictionary() 934 return addWordToUserDictionary( words ); in addWordToUserDictionary() 981 WnnWord[] words = new WnnWord[1]; in removeWordFromUserDictionary() local 982 words[0] = word; in removeWordFromUserDictionary() [all …]
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
D | CommandRecognizerEngine.java | 268 String[] words = label.split(" "); in loadOpenEntriesTable() local 269 if (words.length > 1) { in loadOpenEntriesTable() 270 for (String word : words) { in loadOpenEntriesTable() 1058 String[] words = literal.trim().split(" "); in onRecognitionSuccess() local 1060 for (int i = 0; i < words.length - 2; i++) { in onRecognitionSuccess() 1064 sb.append(words[i]); in onRecognitionSuccess()
|
D | VoiceDialerActivity.java | 959 String[] words = tmpSentence.trim().split(" "); in speakChoices() local 960 builder.append(words[words.length-1]); in speakChoices()
|
/packages/inputmethods/PinyinIME/jni/share/ |
D | userdict.cpp | 658 uint16 * words = get_lemma_word(offset); in _get_lpis() local 666 if (memcmp(words, last_hzs, hzs_len << 1) == 0) { in _get_lpis() 674 npre_items[new_added].psb = get_lemma_score(words, splids, nchar); in _get_lpis() 675 memcpy(npre_items[new_added].pre_hzs, words + hzs_len, cpy_len); in _get_lpis() 760 const uint16 * words, int lemma_len) { in _get_lpis() argument 778 if (ws[k] < words[k]) { in _get_lpis() 781 } else if (ws[k] > words[k]) { in _get_lpis() 807 int32 UserDict::locate_first_in_predicts(const uint16 * words, int lemma_len) { in _get_lpis() argument 825 if (ws[k] < words[k]) { in _get_lpis() 828 } else if (ws[k] > words[k]) { in _get_lpis()
|
/packages/apps/Mms/tests/src/com/android/mms/ |
D | RecyclerTest.java | 85 FileInputStream words = context.openFileInput("words"); in setUp() local 87 while ((c = words.read()) != -1) { in setUp() 98 words.close(); in setUp()
|
/packages/inputmethods/LatinIME/native/jni/src/ |
D | defines.h | 47 #define DUMP_RESULT(words, frequencies) do { dumpResult(words, frequencies); } while (0) argument 131 #define DUMP_RESULT(words, frequencies) argument
|
/packages/apps/Mms/tests/src/com/android/mms/ui/ |
D | LongThreadTest.java | 89 FileInputStream words = mActivity.openFileInput("words"); in setUp() local 91 while ((c = words.read()) != -1) { in setUp() 102 words.close(); in setUp()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictIOUtils.java | 70 final Map<Integer, String> words, final Map<Integer, Integer> frequencies, in readUnigramsAndBigramsBinaryInner() argument 114 words.put(info.mOriginalAddress, new String(pushedChars, 0, index)); in readUnigramsAndBigramsBinaryInner() 156 final Map<Integer, String> words, final Map<Integer, Integer> frequencies, in readUnigramsAndBigramsBinary() argument 161 readUnigramsAndBigramsBinaryInner(buffer, header.mHeaderSize, words, frequencies, bigrams, in readUnigramsAndBigramsBinary()
|
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/ |
D | FusionDictionaryTest.java | 70 private void checkDictionary(final FusionDictionary dict, final ArrayList<String> words, in checkDictionary() argument 73 for (final String word : words) { in checkDictionary()
|
/packages/inputmethods/OpenWnn/ |
D | README.txt | 46 Index 5: Japanese dictionary for clause conversion (basic words) 47 Index 6: Japanese dictionary for clause conversion (ancillary words)
|
/packages/inputmethods/PinyinIME/jni/include/ |
D | userdict.h | 369 uint32 locate_where_to_insert_in_predicts(const uint16 * words, 372 int32 locate_first_in_predicts(const uint16 * words, int lemma_len);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | SuggestionStripView.java | 148 final int defStyle, final ArrayList<TextView> words, final ArrayList<View> dividers, in SuggestionStripViewParams() argument 150 mWords = words; in SuggestionStripViewParams() 154 final TextView word = words.get(0); in SuggestionStripViewParams()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | LatinIME.java | 2136 private void setSuggestedWords(final SuggestedWords words, final boolean isAutoCorrection) { in setSuggestedWords() argument 2137 mSuggestedWords = words; in setSuggestedWords() 2139 mSuggestionStripView.setSuggestions(words); in setSuggestedWords()
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | sample.combined | 13 # As a special case, a weight of 0 is taken to mean profanity - words that
|
D | en_emoji.combined.gz |
|
/packages/apps/Camera/jni/feature_mos/doc/ |
D | feature_mos_API_doxyfile | 25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded
|
/packages/apps/Camera/jni/feature_stab/doc/ |
D | dbreg_API_doxyfile | 25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded
|
/packages/apps/Gallery2/jni_mosaic/feature_stab/doc/ |
D | dbreg_API_doxyfile | 25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded
|
/packages/apps/LegacyCamera/jni/feature_stab/doc/ |
D | dbreg_API_doxyfile | 25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded
|