Searched refs:word (Results 76 - 95 of 95) sorted by relevance

1234

/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
H A Dndbdic.c1322 NJ_INT16 njd_b_get_word(NJ_SEARCH_LOCATION_SET *loctset, NJ_WORD *word) argument
1356 word->stem.info1 = (NJ_UINT16)(stem_set.yomi_size / sizeof(NJ_CHAR));
1358 word->stem.info1 = WORD_LEN(word->stem.info1);
1359 word->stem.info1 |= (NJ_UINT16)(stem_set.fhinsi_jitu << 7);
1365 word->stem.info2 = (NJ_UINT16)(stem_set.yomi_size / sizeof(NJ_CHAR));
1368 word->stem.info2 = (NJ_UINT16)NJ_GET_YLEN_FROM_STEM(word);
1372 word->stem.info2 = (NJ_UINT16)(stem_set.candidate_size / sizeof(NJ_CHAR));
1376 word
1388 njd_b_get_candidate(NJ_WORD *word, NJ_CHAR *candidate, NJ_UINT16 size) argument
1483 njd_b_get_stroke(NJ_WORD *word, NJ_CHAR *stroke, NJ_UINT16 size) argument
[all...]
H A Dndldic.c1720 NJ_INT16 njd_l_get_word(NJ_CLASS *iwnn, NJ_SEARCH_LOCATION_SET *loctset, NJ_WORD *word) { argument
1743 word->stem.loc = loctset->loct;
1745 word->stem.loc.current &= 0x0000ffff;
1746 word->stem.loc.current |= ((NJ_UINT32)que_id << 16);
1749 word->stem.hindo = loctset->cache_freq;
1751 NJ_SET_FPOS_TO_STEM(word, que->mae_hinsi);
1752 NJ_SET_YLEN_TO_STEM(word, que->yomi_len);
1754 NJ_SET_KLEN_TO_STEM(word, que->hyouki_len);
1757 NJ_SET_KLEN_TO_STEM(word, que->yomi_len);
1759 NJ_SET_BPOS_TO_STEM(word, qu
1767 njd_l_get_stroke(NJ_CLASS *iwnn, NJ_WORD *word, NJ_CHAR *stroke, NJ_UINT16 size) argument
1804 njd_l_get_candidate(NJ_CLASS *iwnn, NJ_WORD *word, NJ_CHAR *candidate, NJ_UINT16 size) argument
[all...]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DHelpers.java608 String word = mSelection.substring(startOffset, mOffset);
610 if (word.equals("IS")) {
614 if (word.equals("OR") || word.equals("AND")) {
618 if (word.equals("NULL")) {
623 if (mAllowedColumns.contains(word)) {
/packages/apps/Mms/tests/src/com/android/mms/ui/
H A DLongThreadTest.java93 String word = sb.toString().trim();
94 if (word.length() > 0) {
95 mWords.add(word);
104 Log.v(TAG, "Loaded dictionary word count: " + mWordCount);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DDictDecoder.java66 * Gets the address of the last PtNode of the exact matching word in the dictionary.
69 * @param word the word we search for.
75 public int getTerminalPosition(final String word) argument
82 * @param words the map to store the address as a key and the word as a value.
H A DVer2DictDecoder.java71 final String word = CharEncoding.readString(dictBuffer);
72 shortcutTargets.add(new WeightedString(word,
205 // FusionDictionary is making sure that the length of the word is smaller than
/packages/apps/VoiceDialer/src/com/android/voicedialer/
H A DCommandRecognizerEngine.java270 for (String word : words) {
271 word = word.trim();
273 int len = word.length();
275 if (len == 2 && !(Character.isUpperCase(word.charAt(0)) &&
276 Character.isUpperCase(word.charAt(1)))) continue;
277 if ("and".equalsIgnoreCase(word) ||
278 "the".equalsIgnoreCase(word)) continue;
279 // add the word
280 addClassName(mOpenEntries, word,
[all...]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DUserDictionaryToolsEdit.java37 * The abstract class for user dictionary's word editor.
49 /** The operation mode (Add the word) */
51 /** The operation mode (Edit the word) */
54 /** Maximum length of a word's string */
57 /** The error code (Already registered the same word) */
70 /** The word information which contains the previous information */
72 /** The instance of word list activity */
75 /** The constant for notifying dialog (Already exists the specified word) */
137 /* add a word */
141 /* edit a word */
368 deleteDictionary(WnnWord word) argument
[all...]
H A DUserDictionaryToolsList.java95 /** Maximum word count to display */
127 /** {@code true} if one of word is selected */
139 /** Work area for sorting the word list */
259 /* [menu] add a word */
263 /* [menu] edit a word */
267 /* [menu] delete a word */
289 /* [menu] add a word */
291 /* disable if the number of registered word exceeds MAX_WORD_COUNT */
297 /* [menu] edit a word/delete a word */
[all...]
H A DOpenWnnJAJP.java721 ev.word = mUserDictionaryWords[0];
734 mConverterJAJP.addWord(ev.word);
738 mConverterJAJP.deleteWord(ev.word);
1090 mStatus = commitText(ev.word);
1924 WnnWord word = new WnnWord(tmp, stroke);
1926 learnWord(word);
1968 * Commit a word.
1970 * @param word A word to commit
1973 private int commitText(WnnWord word) { argument
2622 learnWord(WnnWord word) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
H A DAndroidSpellCheckerService.java203 * Returns an empty SuggestionsInfo with flags signaling the word is not in the dictionary.
213 * Returns an empty suggestionInfo with flags signaling the word is in the dictionary.
221 public boolean isValidWord(final Locale locale, final String word) { argument
226 return dictionaryFacilitatorForLocale.isValidWord(word, false /* igroreCase */);
H A DAndroidWordLevelSpellCheckerSession.java164 // Any word containing a COMMERCIAL_AT is probably an e-mail address
165 // Any word containing a SLASH is probably either an ad-hoc combination of two
180 // in this word are letters
186 * Helper method to test valid capitalizations of a word.
195 // If the word is in there as is, then it's in the dictionary. If not, we'll test lower
196 // case versions, but only if the word is not already all-lower case or mixed case.
200 // If we come here, we have a capitalized word (either First- or All-).
201 // Downcase the word and look it up again. If the word is only capitalized, we
208 // that we have an all-caps version of a word tha
[all...]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
H A Dnj_lib.h320 NJ_WORD word; member in struct:__anon219
348 NJ_EXTERN NJ_INT16 njx_add_word(NJ_CLASS *iwnn, NJ_WORD_INFO *word, NJ_UINT8 type, NJ_UINT8 connect);
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/
H A DOpenWnnDictionaryImplJni.c425 /* Search a specified word */
462 /* Get a specified word and search a next word */
468 if( length == ( NJ_GET_YLEN_FROM_STEM( &( work->result.word ) ) + NJ_GET_YLEN_FROM_FZK( &( work->result.word ) ) ) ) {
570 return ( jint )( work->result.word.stem.hindo );
733 return NJ_GET_FPOS_FROM_STEM( &( work->result.word ) );
752 return NJ_GET_BPOS_FROM_STEM( &( work->result.word ) );
771 /* Clear the current word information */
806 NJ_SET_FPOS_TO_STEM( &( work->result.word ), leftPartOfSpeec
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/
H A DStringUtil.java463 for (String word : TO_WORDS.split(line)) {
465 col = word.length();
467 int newCol = col + word.length() + 1; // +1 for the space
474 col = word.length();
478 builder.append(word);
2280 StringBuilder word = new StringBuilder();
2284 // delimiter : delimiter -> append delimiter to current word
2289 // tok : delimiter -> append tok to current word
2291 // delimiter : tok -> add current word to list, and clear it.
2298 word
[all...]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DStringUtil.java464 for (String word : TO_WORDS.split(line)) {
466 col = word.length();
468 int newCol = col + word.length() + 1; // +1 for the space
475 col = word.length();
479 builder.append(word);
2288 StringBuilder word = new StringBuilder();
2292 // delimiter : delimiter -> append delimiter to current word
2297 // tok : delimiter -> append tok to current word
2299 // delimiter : tok -> add current word to list, and clear it.
2306 word
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DLatinIME.java253 // We need to re-evaluate the currently composing word in case the script has
850 + ", word caps = "
966 // This will set the punctuation suggestions if next word suggestion is off;
1262 public void addWordToUserDictionary(final String word) { argument
1263 if (TextUtils.isEmpty(word)) {
1269 wordToEdit = word.toLowerCase(getCurrentSubtypeLocale());
1271 wordToEdit = word;
1554 public void showAddToDictionaryHint(final String word) { argument
1558 mSuggestionStripView.showAddToDictionaryHint(word);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
H A DInputLogic.java94 public void onClickComposingTextToAddToDictionary(final String word) {
95 mLatinIME.addWordToUserDictionary(word);
193 // If we had a composition in progress, we need to commit the word so that the
264 * @param suggestionInfo the suggested word chosen by the user.
309 // In the batch input mode, a manually picked suggested word should just replace
393 // If we are composing a word and moving the cursor, we would want to set a
424 // We moved the cursor. If we are touching a word, we need to resume suggestion.
461 // a word is committed.
514 // should become "I"). However for any longer word, we assume that the reason for
515 // tapping probably is that the word yo
1755 isResumableWord(final SettingsValues settings, final String word) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DNameSplitter.java41 * <li>If the previous word to the last name is one from LASTNAME_PREFIXES, use
42 * this word also as the last name.</li>
437 // If a single word parse that word up.
713 * Parses the first word from the name if it is a prefix.
731 * Parses the last word(s) from the name if it is a suffix.
797 // If the first word is followed by a comma, assume that it's the family name
804 // If the second word is followed by a comma and the first word
819 // Finally, assume that the last word i
839 isFamilyNamePrefix(String word) argument
[all...]
/packages/services/Telecomm/libs/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ...

Completed in 1359 milliseconds

1234