/packages/services/Telecomm/libs/ |
H A D | guava.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ... |
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
H A D | DictionaryBackupAgent.java | 225 final String word = st.nextToken(); 237 // It seems there are cases where the same word is duplicated over and over 239 // word if it's the same as the previous one. This is not meant to catch all 243 // Also, word and frequency are never supposed to be empty or null, but better 245 if ((Objects.equals(word, previousWord) 247 || TextUtils.isEmpty(frequency) || TextUtils.isEmpty(word)) { 250 previousWord = word; 254 cv.put(Words.WORD, word); 262 + Words.SHORTCUT + "=?", new String[] {word, shortcut});
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | Helpers.java | 772 String word = mSelection.substring(startOffset, mOffset); 774 if (word.equals("IS")) { 778 if (word.equals("OR") || word.equals("AND")) { 782 if (word.equals("NULL")) { 787 if (mAllowedColumns.contains(word)) { 791 throw new IllegalArgumentException("unrecognized column or keyword: " + word);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | NameSplitter.java | 41 * <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/inputmethods/OpenWnn/libs/libwnnDictionary/ |
H A D | OpenWnnDictionaryImplJni.c | 425 /* 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/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | ndapi.c | 204 result->word = tmp_word; 205 tmp_result.word = tmp_word; 226 tmp_result.word.yomi = cursor->cond.yomi; 227 tmp_result.word.stem.info1 = cursor->cond.ylen; 241 ret = njd_get_word_data(iwnn, cursor->cond.ds, loctset, (NJ_UINT16)i, &tmp_result.word); 283 ret = njd_get_word_data(iwnn, cursor->cond.ds, loctset, (NJ_UINT16)i, &tmp_result.word); 291 ((j == max_len) && (loctset->cache_freq > result->word.stem.hindo)) || 296 result->word = tmp_result.word; 304 ret = njd_get_word_data(iwnn, cursor->cond.ds, loctset, (NJ_UINT16)i, &(tmp_result.word)); 372 njd_get_word_data(NJ_CLASS *iwnn, NJ_DIC_SET *dicset, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT16 dic_idx, NJ_WORD *word) argument 885 njd_init_word(NJ_WORD* word) argument [all...] |
H A D | ndbdic.c | 1322 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 D | ndfdic.c | 316 NJ_INT16 njd_f_get_word(NJ_SEARCH_LOCATION_SET *loctset, NJ_WORD *word) argument 331 NJ_SET_YLEN_TO_STEM(word, 1); 334 word->stem.loc = loctset->loct; 335 yomilen = njd_f_get_stroke(word, stroke, sizeof(stroke)); 339 word->stem.info1 = yomilen; 340 word->stem.info1 |= (NJ_UINT16)(DATA_FHINSI(data) << HINSI_OFFSET); 341 word->stem.info2 = (NJ_UINT16)(DATA_BHINSI(data) << HINSI_OFFSET); 347 word->stem.info2 |= kouholen; 348 word->stem.hindo = CALCULATE_HINDO(DATA_HINDO(data), loctset->dic_freq.base, 352 word 357 njd_f_get_stroke(NJ_WORD *word, NJ_CHAR *stroke, NJ_UINT16 size) argument 402 njd_f_get_candidate(NJ_WORD *word, NJ_CHAR *candidate, NJ_UINT16 size) argument [all...] |
H A D | ndldic.c | 1720 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...] |
H A D | neapi.c | 177 lword->f_hinsi = NJ_GET_FPOS_FROM_STEM(&(result->word)); 178 lword->stem_b_hinsi = NJ_GET_BPOS_FROM_STEM(&(result->word)); 179 lword->b_hinsi = NJ_GET_BPOS_FROM_STEM(&(result->word));
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
H A D | nj_ext.h | 83 extern NJ_INT16 njd_get_word_data(NJ_CLASS *iwnn, NJ_DIC_SET *dicset, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT16 dic_idx, NJ_WORD *word); 89 extern NJ_INT16 njd_init_word(NJ_WORD* word); 93 extern NJ_INT16 njd_b_get_word(NJ_SEARCH_LOCATION_SET *loctset, NJ_WORD *word); 94 extern NJ_INT16 njd_b_get_candidate(NJ_WORD *word, NJ_CHAR *candidate, 96 extern NJ_INT16 njd_b_get_stroke(NJ_WORD *word, NJ_CHAR *stroke, NJ_UINT16 size); 100 extern NJ_INT16 njd_f_get_word(NJ_SEARCH_LOCATION_SET *loctset, NJ_WORD *word); 101 extern NJ_INT16 njd_f_get_stroke(NJ_WORD *word, NJ_CHAR *stroke, 103 extern NJ_INT16 njd_f_get_candidate(NJ_WORD *word, NJ_CHAR *candidate, 108 extern NJ_INT16 njd_l_add_word(NJ_CLASS *iwnn, NJ_LEARN_WORD_INFO *word, 113 extern NJ_INT16 njd_l_get_word(NJ_CLASS *iwnn, NJ_SEARCH_LOCATION_SET *loctset, NJ_WORD *word); [all...] |
H A D | nj_lib.h | 320 NJ_WORD word; member in struct:__anon113 348 NJ_EXTERN NJ_INT16 njx_add_word(NJ_CLASS *iwnn, NJ_WORD_INFO *word, NJ_UINT8 type, NJ_UINT8 connect);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | CandidateFilter.java | 36 * Checking whether a specified word is filtered. 38 * @param word A word 39 * @return {@code true} if the word is allowed; {@code false} if the word is denied. 41 public boolean isAllowed(WnnWord word) { argument 46 String str = word.candidate;
|
H A D | CandidateTextView.java | 96 public CandidateTextView setCandidateTextView(WnnWord word, int wordCount, argument 100 setText(word.candidate); 108 setCustomCandidate(word); 115 * @param WnnWord candidate word 118 public int setCustomCandidate(WnnWord word) { argument 120 int width = (int)paint.measureText(word.candidate, 0, word.candidate.length()); 131 width = (int)paint.measureText(word.candidate, 0, word.candidate.length());
|
H A D | CandidatesViewManager.java | 47 * Attribute of a word (no attribute) 52 * Attribute of a word (a candidate in the history list) 57 * Attribute of a word (the best candidate) 62 * Attribute of a word (auto generated/not in the dictionary) 73 /** The word pressed */ 161 * @param word Display word, 163 protected void displayDialog(View view, final WnnWord word) { argument 169 text.setText(word.candidate);
|
H A D | OpenWnnDictionaryImpl.java | 50 /** The type name of user word */ 52 /** The type name of learn word */ 413 * @param wnnWord The previous word for link search 466 /* If link search is enabled, insert information of the previous word */ 524 /* If no word is retrieved, deactivate the cursor for reduce the resource */ 536 /* Unset the previous word information */ 549 /* If the key string is "", no word is retrieved */ 648 /* Get the information of word */ 848 public int addWordToUserDictionary( WnnWord[] word ) { 864 if( count + word 1001 learnWord( WnnWord word, WnnWord previousWord ) argument [all...] |
H A D | OpenWnnEN.java | 426 ev.word = mUserDictionaryWords[ 0 ]; 439 mConverterEN.addWord(ev.word); 443 mConverterEN.deleteWord(ev.word); 552 commitText(ev.word, false); 554 if (mWordSeparators.contains(ev.word.candidate) && 558 commitText(ev.word, true); 868 WnnWord word = new WnnWord(tmp, tmp); 869 mConverter.learn(word); 877 * Commit a word 879 * @param word 882 commitText(WnnWord word, boolean withSpace) argument [all...] |
H A D | OpenWnnEvent.java | 181 * Get a word from the user dictionary. 183 * Get a word from top of the list made by {@code LIST_WORDS_IN_USER_DICTIONARY}. 188 * Add word to the user dictionary. 193 * Delete a word from the dictionary. 277 public WnnWord word = null; field in class:OpenWnnEvent 369 * @param word The selected candidate 371 public OpenWnnEvent(int code, WnnWord word) { argument 373 this.word = word; 381 * @param word Th 383 OpenWnnEvent(int code, int dict, WnnWord word) argument [all...] |
H A D | OpenWnnJAJP.java | 721 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...] |
H A D | SymbolList.java | 210 public int searchWords(WnnWord word) {return 0;} argument 218 WnnWord word = new WnnWord(str, str); 219 return word; 223 public boolean learn(WnnWord word) {return false;} argument 226 public int addWord(WnnWord word) {return 0;} argument 229 public boolean deleteWord(WnnWord word) {return false;} argument
|
H A D | TextCandidates1LineViewManager.java | 166 WnnWord word = getWnnWord(wordcount); 168 selectCandidate(word); 475 * @param word set word 478 private int setCandidate(WnnWord word) { argument 481 candidateTextView.setCandidateTextView(word, mWordCount, mCandidateOnClick, 483 mWnnWordArray.add(mWordCount, word); 538 * This method notices the selected word to {@link OpenWnn}. 540 * @param word The selected word 542 selectCandidate(WnnWord word) argument [all...] |
H A D | TextCandidatesViewManager.java | 269 WnnWord word = null; 270 while ((word = mWnnWordSelectedList.poll()) != null) { 271 selectCandidate(word); 371 WnnWord word = list.get(wordcount); 374 mWnnWordSelectedList.add(word); 378 selectCandidate(word); 875 * @param isCategory {@code true}:caption of category, {@code false}:normal word 876 * @param word A candidate word 878 private void setCandidate(boolean isCategory, WnnWord word) { argument 1290 selectCandidate(WnnWord word) argument 1451 isCategory(WnnWord word) argument 1585 isFirstListOver(boolean isFullView, int lineCount, WnnWord word) argument [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
H A D | OpenWnnEngineEN.java | 35 /** Score(frequency value) of word in the learning dictionary */ 37 /** Score(frequency value) of word in the user dictionary */ 46 /** HashMap for checking duplicate word */ 108 WnnWord word; 111 while ((word = mDictionary.getNextWord()) != null) { 113 char c = word.candidate.charAt(0); 120 word.candidate = Character.toString(Character.toUpperCase(c)) + word.candidate.substring(1); 124 word.candidate = word 162 addCandidate(WnnWord word) argument 295 searchWords(WnnWord word) argument 313 learn(WnnWord word) argument 318 addWord(WnnWord word) argument 327 deleteWord(WnnWord word) argument [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
H A D | OpenWnnClauseConverterJAJP.java | 28 /** Score(frequency value) of word in the learning dictionary */ 30 /** Score(frequency value) of word in the user dictionary */ 259 /* get clauses without ancillary word */ 271 /* get clauses with ancillary word */ 315 * @param stem Stem of the clause (a independent word) 377 * @param right Right attribute of the preceding word/clause 378 * @param left Left attribute of the following word/clause 427 WnnWord word; 428 while ((word = dict.getNextWord()) != null) { 429 fzks.add(word); [all...] |
H A D | OpenWnnEngineJAJP.java | 72 /** Score(frequency value) of word in the learning dictionary */ 74 /** Score(frequency value) of word in the user dictionary */ 91 /** HashMap for checking duplicate word */ 109 /** Previously selected word */ 201 WnnWord word; 214 if ((word = mDictionaryJP.getNextWord()) == null) { 218 if (!mExactMatchMode || mInputHiragana.equals(word.stroke)) { 219 addCandidate(word); 266 * This method adds a word to the result buffer if there is not 270 * @param word 273 addCandidate(WnnWord word) argument 475 searchWords(WnnWord word) argument 493 learn(WnnWord word) argument 528 addWord(WnnWord word) argument 539 deleteWord(WnnWord word) argument [all...] |