Searched defs:candidate (Results 1 - 9 of 9) sorted by relevance

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DWnnClause.java29 * @param candidate The string of the clause
34 public WnnClause(String candidate, String stroke, WnnPOS posTag, int frequency) { argument
35 super(candidate,
49 stem.candidate,
65 stem.candidate + fzk.candidate,
H A DWnnWord.java28 public String candidate; field in class:WnnWord
35 /** The attribute of this word when it is assumed a candidate. */
48 * @param candidate The string of word
51 public WnnWord(String candidate, String stroke) { argument
52 this(0, candidate, stroke, new WnnPOS(), 0, 0);
58 * @param candidate The string of word
62 public WnnWord(String candidate, String stroke, int frequency) { argument
63 this(0, candidate, stroke, new WnnPOS(), frequency, 0);
69 * @param candidate The string of word
73 public WnnWord(String candidate, Strin argument
85 WnnWord(String candidate, String stroke, WnnPOS posTag, int frequency) argument
98 WnnWord(int id, String candidate, String stroke, WnnPOS posTag, int frequency) argument
112 WnnWord(int id, String candidate, String stroke, WnnPOS posTag, int frequency, int attribute) argument
[all...]
H A DUserDictionaryToolsEdit.java77 /** The constant for notifying dialog (The length of specified stroke or candidate exceeds the limit) */
151 mBeforeEditWnnWord.candidate = ((TextView)sFocusingPairView).getText().toString();
198 /* Text changed listener for the candidate text */
251 String candidate = mCandidateEditText.getText().toString();
252 if (addDictionary(stroke, candidate)) {
263 String candidate = mCandidateEditText.getText().toString();
264 if (addDictionary(stroke, candidate)) {
267 addDictionary(mBeforeEditWnnWord.stroke, mBeforeEditWnnWord.candidate);
335 * @param candidate The string of the word
338 private boolean addDictionary(String stroke, String candidate) { argument
[all...]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
H A Dndfdic.c402 NJ_INT16 njd_f_get_candidate(NJ_WORD *word, NJ_CHAR *candidate, NJ_UINT16 size) argument
434 NJ_CHAR_COPY(candidate + j, area);
437 candidate[len] = NJ_CHAR_NUL;
450 nje_convert_hira_to_kata(work, candidate, len);
453 candidate[j] = work[j];
460 NJ_CHAR_COPY(candidate + j, area);
465 candidate[len] = NJ_CHAR_NUL;
H A Dndapi.c539 NJ_CHAR *candidate, NJ_UINT16 size) {
557 ret = njd_b_get_candidate(&result->word, candidate, size);
562 ret = njd_l_get_candidate(iwnn, &result->word, candidate, size);
566 ret = njd_f_get_candidate(&result->word, candidate, size);
538 njd_get_candidate(NJ_CLASS *iwnn, NJ_RESULT *result, NJ_CHAR *candidate, NJ_UINT16 size) argument
H A Dndbdic.c1388 NJ_INT16 njd_b_get_candidate(NJ_WORD *word, NJ_CHAR *candidate, NJ_UINT16 size) argument
1456 cand = candidate;
1462 nje_convert_hira_to_kata(wkc, candidate, len);
1470 wkc = candidate;
H A Dndldic.c1805 NJ_CHAR *candidate, NJ_UINT16 size) {
1833 nj_strcpy(candidate, str);
1804 njd_l_get_candidate(NJ_CLASS *iwnn, NJ_WORD *word, NJ_CHAR *candidate, NJ_UINT16 size) argument
/packages/apps/Camera/src/com/android/camera/
H A DCameraSettings.java101 for (String candidate : context.getResources().getStringArray(
103 if (setCameraPictureSize(candidate, supported, parameters)) {
106 editor.putString(KEY_PICTURE_SIZE, candidate);
120 String candidate, List<Size> supported, Parameters parameters) {
121 int index = candidate.indexOf('x');
123 int width = Integer.parseInt(candidate.substring(0, index));
124 int height = Integer.parseInt(candidate.substring(index + 1));
119 setCameraPictureSize( String candidate, List<Size> supported, Parameters parameters) argument
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/
H A DOpenWnnDictionaryImplJni.c539 NJ_CHAR candidate[ NJ_MAX_LEN + NJ_TERM_LEN ]; local
541 if( njx_get_candidate( &( work->wnnClass ), &( work->result ), candidate, sizeof( NJ_CHAR ) * ( NJ_MAX_RESULT_LEN + NJ_TERM_LEN ) ) >= 0 &&
542 convertNjCharToString( env, &str, candidate, NJ_MAX_RESULT_LEN ) >= 0 ) {
889 (JNIEnv *env, jclass obj, jlong wnnWork, jstring candidate)
893 if( candidate == NULL ) {
900 if( ( *env )->GetStringLength( env, candidate ) > NJ_MAX_RESULT_LEN ) {
905 /* Store candidate string */
906 if( convertStringToNjChar( env, work->previousCandidate, candidate, NJ_MAX_RESULT_LEN ) >= 0 ) {
888 Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setCandidate(JNIEnv *env, jclass obj, jlong wnnWork, jstring candidate) argument

Completed in 102 milliseconds