Home
last modified time | relevance | path

Searched refs:words (Results 1 – 25 of 30) sorted by relevance

12

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java322 final ArrayList<String> words = new ArrayList<>(); in testRandomlyAddBigramWords() local
330 words.add(word); in testRandomlyAddBigramWords()
337 final String word0 = words.get(random.nextInt(wordCount)); in testRandomlyAddBigramWords()
338 final String word1 = words.get(random.nextInt(wordCount)); in testRandomlyAddBigramWords()
460 final ArrayList<String> words = new ArrayList<>(); in testAddBigramWordsAndFlashWithGC() local
468 words.add(word); in testAddBigramWordsAndFlashWithGC()
475 final String word0 = words.get(random.nextInt(wordCount)); in testAddBigramWordsAndFlashWithGC()
476 final String word1 = words.get(random.nextInt(wordCount)); in testAddBigramWordsAndFlashWithGC()
522 final ArrayList<String> words = new ArrayList<>(); in testRandomOperationsAndFlashWithGC() local
529 words.add(word); in testRandomOperationsAndFlashWithGC()
[all …]
DSuggestedWordsTests.java62 private static ArrayList<SuggestedWordInfo> createCorrectionWordInfos(final String... words) { in createCorrectionWordInfos() argument
64 for (final String word : words) { in createCorrectionWordInfos()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DOpenWnnClauseConverterJAJP.java465 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/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnnDictionaryImpl.java722 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/services/Car/tools/io_analysis/
Dcheck_io_trace.py109 words = string.split(l)
110 cmd_pos = get_string_pos(words, "block_rq_complete:")
112 cmd_pos = get_string_pos(words, "block_bio_complete:")
113 block_num = int(words[-4])
117 operation = words[cmd_pos + 2]
120 end_time = int(float(words[cmd_pos - 1][:-1])*1000000) #us
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
DUserHistoryDictionaryTestsHelper.java80 final List<String> words = generateWords(numberOfWords, random); in addAndWriteRandomWords() local
82 addWordsToDictionary(dict, words, currentTime); in addAndWriteRandomWords()
87 final String word = words.get(i); in addAndWriteRandomWords()
101 final List<String> words, final int timestamp) { in addWordsToDictionary() argument
104 for (final String word : words) { in addWordsToDictionary()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictIOUtils.java78 final int bodyOffset, final Map<Integer, String> words, in readUnigramsAndBigramsBinaryInner() argument
115 words.put(ptNodeInfo.mOriginalAddress, new String(pushedChars, 0, index)); in readUnigramsAndBigramsBinaryInner()
149 final Map<Integer, String> words, final Map<Integer, Integer> frequencies, in readUnigramsAndBigramsBinary() argument
154 readUnigramsAndBigramsBinaryInner(dictDecoder, header.mBodyOffset, words, in readUnigramsAndBigramsBinary()
DAbstractDictDecoder.java44 public void readUnigramsAndBigramsBinary(final TreeMap<Integer, String> words, in readUnigramsAndBigramsBinary() argument
51 BinaryDictIOUtils.readUnigramsAndBigramsBinary(this, words, frequencies, bigrams); in readUnigramsAndBigramsBinary()
DDictDecoder.java89 public void readUnigramsAndBigramsBinary(final TreeMap<Integer, String> words, in readUnigramsAndBigramsBinary() argument
/packages/inputmethods/LatinIME/native/jni/src/
Ddefines.h112 #define DUMP_SUGGESTION(words, frequencies, index, score) \ argument
113 do { dumpWordInfo(words, frequencies, index, score); } while (0)
167 #define DUMP_SUGGESTION(words, frequencies, index, score) argument
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/
DFusionDictionaryTest.java70 private static void checkDictionary(final FusionDictionary dict, final ArrayList<String> words, in checkDictionary() argument
74 for (final String word : words) { in checkDictionary()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DPersonalDictionaryLookup.java324 final Set<String> words = new HashSet<>(); in getWordsForLocale() local
333 words.add(localeStringMap.get(wordLocale)); in getWordsForLocale()
338 return words; in getWordsForLocale()
DDictionaryFacilitatorImpl.java506 final String[] words = suggestion.split(Constants.WORD_SEPARATOR); in addToUserHistory() local
508 for (int i = 0; i < words.length; i++) { in addToUserHistory()
509 final String currentWord = words[i]; in addToUserHistory()
/packages/apps/Messaging/tools/messagegen/
Dfillsms132 local words=$(random_value $MAX_WORDS_PER_MESSAGE)
134 for k in `seq 1 $words`;
/packages/inputmethods/OpenWnn/
DREADME.txt46 Index 5: Japanese dictionary for clause conversion (basic words)
47 Index 6: Japanese dictionary for clause conversion (ancillary words)
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRoutineWatchEvaluatorTest.java205 private void assertSplitTextToWords(String text, String... words) { in assertSplitTextToWords() argument
207 MoreAsserts.assertContentsInOrder(wordList, words); in assertSplitTextToWords()
/packages/services/Car/tools/bootanalyze/
Dbootanalyze.py526 words = line.split()
527 if len(words) > 1:
528 pid = int(words[1])
/packages/services/Car/service/src/com/android/car/
DCarAudioService.java358 String[] words = address.split("_"); in parseDeviceAddress() local
360 if (words[0].startsWith("BUS")) { in parseDeviceAddress()
362 addressParsed = Integer.parseInt(words[0].substring(3)); in parseDeviceAddress()
/packages/inputmethods/LatinIME/dictionaries/
Dsample.combined13 # As a special case, a weight of 0 is taken to mean profanity - words that
Den_emoji.combined.gz ... =emoji:en,description=Emoji for English words,locale=en,date=1393244559,version ...
Den_GB_wordlist.combined.gz
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dencoding.md88 Previous encodings are statically bound in compile-time. In other words, user must know exactly whi…
DDoxyfile.in29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
306 # When enabled doxygen tries to link words that correspond to documented
1258 # words in the documentation. The HTML workshop also contains a viewer for
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded

12