/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | WnnWord.java | 28 public String candidate; field in WnnWord 51 public WnnWord(String candidate, String stroke) { in WnnWord() argument 52 this(0, candidate, stroke, new WnnPOS(), 0, 0); in WnnWord() 62 public WnnWord(String candidate, String stroke, int frequency) { in WnnWord() argument 63 this(0, candidate, stroke, new WnnPOS(), frequency, 0); in WnnWord() 73 public WnnWord(String candidate, String stroke, WnnPOS posTag) { in WnnWord() argument 74 this(0, candidate, stroke, posTag, 0, 0); in WnnWord() 85 public WnnWord(String candidate, String stroke, WnnPOS posTag, int frequency) { in WnnWord() argument 86 this(0, candidate, stroke, posTag, frequency, 0); in WnnWord() 98 public WnnWord(int id, String candidate, String stroke, WnnPOS posTag, int frequency) { in WnnWord() argument [all …]
|
D | WnnSentence.java | 41 this.candidate = ""; in WnnSentence() 52 this.candidate = headClause.candidate; in WnnSentence() 58 StringBuffer candidate = new StringBuffer(); in WnnSentence() local 62 candidate.append(clause.candidate); in WnnSentence() 67 this.candidate = candidate.toString(); in WnnSentence() 84 this.candidate = clause.candidate; in WnnSentence() 102 this.candidate = prev.candidate + clause.candidate; in WnnSentence() 123 this.candidate = head.candidate; in WnnSentence() 133 this.candidate = head.candidate + tail.candidate; in WnnSentence()
|
D | UserDictionaryToolsList.java | 409 wnnWordSearch.candidate = focusString.toString(); 412 wnnWordSearch.candidate = focusPairString.toString(); 579 int len = getword.candidate.length(); in deleteWord() 583 if (searchword.candidate.equals(getword.candidate)) { in deleteWord() 586 delword.candidate = searchword.candidate; in deleteWord() 697 UserDictionaryToolsListFocus candidate = new UserDictionaryToolsListFocus(this); in updateWordList() local 698 candidate.setId(i+MAX_WORD_COUNT); in updateWordList() 699 candidate.setWidth(system_width/2); in updateWordList() 700 candidate.setTextSize(WORD_TEXT_SIZE); in updateWordList() 701 candidate.setTextColor(Color.LTGRAY); in updateWordList() [all …]
|
D | WnnClause.java | 34 public WnnClause(String candidate, String stroke, WnnPOS posTag, int frequency) { in WnnClause() argument 35 super(candidate, in WnnClause() 49 stem.candidate, in WnnClause() 65 stem.candidate + fzk.candidate, in WnnClause()
|
D | OpenWnnDictionaryImpl.java | 475 queryArgs[ 1 ] = wnnWord.candidate; in createQuery() 606 OpenWnnDictionaryImplJni.setCandidate( this.mWnnWork, wnnWord.candidate ); in searchWord() 650 result.candidate = mDbCursor.getString( 1 ); in getNextWord() 685 … result.candidate = OpenWnnDictionaryImplJni.getCandidate( this.mWnnWork ); in getNextWord() 728 words[ i ].candidate = cursor.getString( 1 ); in getUserDictionaryWords() 875 … word[index].candidate.length() > 0 && word[index].candidate.length() <= MAX_CANDIDATE_LENGTH ) { in addWordToUserDictionary() 879 … DatabaseUtils.appendEscapedSQLString( candidateSQL, word[index].candidate ); in addWordToUserDictionary() 899 content.put( COLUMN_NAME_CANDIDATE, word[index].candidate ); in addWordToUserDictionary() 950 … word[index].candidate.length() > 0 && word[index].candidate.length() <= MAX_CANDIDATE_LENGTH ) { in removeWordFromUserDictionary() 954 DatabaseUtils.appendEscapedSQLString( candidateSQL, word[index].candidate ); in removeWordFromUserDictionary() [all …]
|
D | UserDictionaryToolsEdit.java | 150 mBeforeEditWnnWord.candidate = ((TextView)sFocusingPairView).getText().toString(); in onCreate() 250 String candidate = mCandidateEditText.getText().toString(); in doSaveAction() local 251 if (addDictionary(stroke, candidate)) { in doSaveAction() 262 String candidate = mCandidateEditText.getText().toString(); in doSaveAction() local 263 if (addDictionary(stroke, candidate)) { in doSaveAction() 266 addDictionary(mBeforeEditWnnWord.stroke, mBeforeEditWnnWord.candidate); in doSaveAction() 337 private boolean addDictionary(String stroke, String candidate) { 343 wnnWordAdd.candidate = candidate;
|
D | CandidateTextView.java | 100 setText(word.candidate); in setCandidateTextView() 120 int width = (int)paint.measureText(word.candidate, 0, word.candidate.length()); in setCustomCandidate() 131 width = (int)paint.measureText(word.candidate, 0, word.candidate.length()); in setCustomCandidate()
|
D | TextCandidatesViewManager.java | 814 if ((prevCandidate == null) || !prevCandidate.equals(result.candidate)) { in displayCandidates() 822 prevCandidate = result.candidate; in displayCandidates() 830 result.candidate = getCategoriesText(result.candidate); in displayCandidates() 879 int textLength = measureText(word.candidate, 0, word.candidate.length()); in setCandidate() 884 if (mIsSymbolMode && (word.candidate.length() < 3)) { in setCandidate() 993 textView.setText(word.candidate); in setCandidate() 1004 textView.setText(" " + word.candidate); in setCandidate() 1041 if (word.candidate.equals(" ")) { in setCandidate() 1044 } else if (word.candidate.equals("\u3000" /* full-width space */)) { in setCandidate() 1452 int length = word.candidate.length(); in isCategory() [all …]
|
D | StrSegmentClause.java | 36 super(clause.candidate, from, to); in StrSegmentClause()
|
D | CandidateFilter.java | 46 String str = word.candidate; in isAllowed()
|
D | CandidatesViewManager.java | 169 text.setText(word.candidate); in displayDialog()
|
D | OpenWnnDictionaryImplJni.java | 370 public static final native int setCandidate( long work, String candidate ); in setCandidate() argument
|
D | OpenWnnEN.java | 554 if (mWordSeparators.contains(ev.word.candidate) && in onEvent() 888 … mInputConnection.commitText(word.candidate, (FIX_CURSOR_TEXT_END ? 1 : word.candidate.length())); in commitText()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
D | OpenWnnEngineEN.java | 113 char c = word.candidate.charAt(0); in getCandidate() 120 … word.candidate = Character.toString(Character.toUpperCase(c)) + word.candidate.substring(1); in getCandidate() 124 word.candidate = word.candidate.toUpperCase(); in getCandidate() 163 if (word.candidate == null || mCandTable.containsKey(word.candidate)) { in addCandidate() 169 mCandTable.put(word.candidate, word); in addCandidate()
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
D | ndfdic.c | 402 NJ_INT16 njd_f_get_candidate(NJ_WORD *word, NJ_CHAR *candidate, NJ_UINT16 size) in njd_f_get_candidate() argument 434 NJ_CHAR_COPY(candidate + j, area); in njd_f_get_candidate() 437 candidate[len] = NJ_CHAR_NUL; in njd_f_get_candidate() 450 nje_convert_hira_to_kata(work, candidate, len); in njd_f_get_candidate() 453 candidate[j] = work[j]; in njd_f_get_candidate() 460 NJ_CHAR_COPY(candidate + j, area); in njd_f_get_candidate() 465 candidate[len] = NJ_CHAR_NUL; in njd_f_get_candidate()
|
D | ndapi.c | 539 NJ_CHAR *candidate, NJ_UINT16 size) { in njd_get_candidate() argument 557 ret = njd_b_get_candidate(&result->word, candidate, size); in njd_get_candidate() 562 ret = njd_l_get_candidate(iwnn, &result->word, candidate, size); in njd_get_candidate() 566 ret = njd_f_get_candidate(&result->word, candidate, size); in njd_get_candidate()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | MultiSourceCorpus.java | 91 for (Source candidate : getSources()) { in getSourcesToQuery() 92 if (candidate.getQueryThreshold() <= query.length()) { in getSourcesToQuery() 93 sources.add(candidate); in getSourcesToQuery()
|
/packages/apps/Camera/src/com/android/camera/ |
D | CameraSettings.java | 103 for (String candidate : context.getResources().getStringArray( in initialCameraPictureSize() 105 if (setCameraPictureSize(candidate, supported, parameters)) { in initialCameraPictureSize() 108 editor.putString(KEY_PICTURE_SIZE, candidate); in initialCameraPictureSize() 122 String candidate, List<Size> supported, Parameters parameters) { in setCameraPictureSize() argument 123 int index = candidate.indexOf('x'); in setCameraPictureSize() 125 int width = Integer.parseInt(candidate.substring(0, index)); in setCameraPictureSize() 126 int height = Integer.parseInt(candidate.substring(index + 1)); in setCameraPictureSize()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | CameraSettings.java | 102 for (String candidate : context.getResources().getStringArray( in initialCameraPictureSize() 104 if (setCameraPictureSize(candidate, supported, parameters)) { in initialCameraPictureSize() 107 editor.putString(KEY_PICTURE_SIZE, candidate); in initialCameraPictureSize() 121 String candidate, List<Size> supported, Parameters parameters) { in setCameraPictureSize() argument 122 int index = candidate.indexOf('x'); in setCameraPictureSize() 124 int width = Integer.parseInt(candidate.substring(0, index)); in setCameraPictureSize() 125 int height = Integer.parseInt(candidate.substring(index + 1)); in setCameraPictureSize()
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
D | nj_ext.h | 87 NJ_CHAR *candidate, NJ_UINT16 size); 94 extern NJ_INT16 njd_b_get_candidate(NJ_WORD *word, NJ_CHAR *candidate, 103 extern NJ_INT16 njd_f_get_candidate(NJ_WORD *word, NJ_CHAR *candidate, 117 NJ_CHAR *candidate, NJ_UINT16 size);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | CropImage.java | 321 File candidate = null; in saveMedia() local 324 candidate = new File(directory, filename + "-" + i + "." in saveMedia() 327 if (candidate.createNewFile()) break; in saveMedia() 330 + candidate.getAbsolutePath(), e); in saveMedia() 334 if (!candidate.exists() || !candidate.isFile()) { in saveMedia() 338 candidate.setReadable(true, false); in saveMedia() 339 candidate.setWritable(true, false); in saveMedia() 342 FileOutputStream fos = new FileOutputStream(candidate); in saveMedia() 351 + candidate.getAbsolutePath(), e); in saveMedia() 352 candidate.delete(); in saveMedia() [all …]
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
D | OpenWnnEngineJAJP.java | 274 if (word.candidate == null || mCandTable.containsKey(word.candidate) in addCandidate() 275 || word.candidate.length() > MAX_OUTPUT_LENGTH) { in addCandidate() 281 mCandTable.put(word.candidate, word); in addCandidate() 564 mInputRomaji = clause.candidate; in makeCandidateListOf()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | SearchActivity.java | 149 String candidate = mFullText.substring(start, end); in onLayout() local 150 if (tp.measureText(candidate) > textFieldWidth) { in onLayout() 159 candidate, in onLayout()
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/ |
D | OpenWnnDictionaryImplJni.c | 539 NJ_CHAR candidate[ NJ_MAX_LEN + NJ_TERM_LEN ]; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getCandidate() local 541 …if( njx_get_candidate( &( work->wnnClass ), &( work->result ), candidate, sizeof( NJ_CHAR ) * ( NJ… in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getCandidate() 542 convertNjCharToString( env, &str, candidate, NJ_MAX_RESULT_LEN ) >= 0 ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getCandidate() 889 (JNIEnv *env, jclass obj, jlong wnnWork, jstring candidate) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setCandidate() argument 893 if( candidate == NULL ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setCandidate() 900 if( ( *env )->GetStringLength( env, candidate ) > NJ_MAX_RESULT_LEN ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setCandidate() 906 if( convertStringToNjChar( env, work->previousCandidate, candidate, NJ_MAX_RESULT_LEN ) >= 0 ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setCandidate()
|
/packages/inputmethods/OpenWnn/ |
D | ChangeLog.txt | 14 - Focus in the candidate list can move arround using keyboard operation.
|