/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | WnnWord.java | 30 public String stroke; 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 | 42 this.stroke = ""; in WnnSentence() 53 this.stroke = input; in WnnSentence() 68 this.stroke = input; in WnnSentence() 85 this.stroke = input; in WnnSentence() 103 this.stroke = prev.stroke + clause.stroke; in WnnSentence() 124 this.stroke = head.stroke; in WnnSentence() 134 this.stroke = head.stroke + tail.stroke; in WnnSentence()
|
D | WnnClause.java | 34 public WnnClause(String candidate, String stroke, WnnPOS posTag, int frequency) { in WnnClause() argument 36 stroke, in WnnClause() 47 public WnnClause (String stroke, WnnWord stem) { in WnnClause() argument 50 stroke, in WnnClause() 63 public WnnClause (String stroke, WnnWord stem, WnnWord fzk) { in WnnClause() argument 66 stroke, in WnnClause()
|
D | UserDictionaryToolsList.java | 408 wnnWordSearch.stroke = focusPairString.toString(); 411 wnnWordSearch.stroke = focusString.toString(); 585 delword.stroke = searchword.stroke; in deleteWord() 678 UserDictionaryToolsListFocus stroke = new UserDictionaryToolsListFocus(this); in updateWordList() local 679 stroke.setId(i); in updateWordList() 680 stroke.setWidth(system_width/2); in updateWordList() 681 stroke.setTextSize(WORD_TEXT_SIZE); in updateWordList() 682 stroke.setTextColor(Color.LTGRAY); in updateWordList() 683 stroke.setBackgroundColor(UNFOCUS_BACKGROUND_COLOR); in updateWordList() 684 stroke.setSingleLine(); in updateWordList() [all …]
|
D | OpenWnnDictionaryImpl.java | 474 queryArgs[ 0 ] = wnnWord.stroke; in createQuery() 605 OpenWnnDictionaryImplJni.setStroke( this.mWnnWork, wnnWord.stroke ); in searchWord() 649 result.stroke = mDbCursor.getString( 0 ); in getNextWord() 684 … result.stroke = OpenWnnDictionaryImplJni.getStroke( this.mWnnWork ); in getNextWord() 727 words[ i ].stroke = cursor.getString( 0 ); in getUserDictionaryWords() 874 … if( word[index].stroke.length() > 0 && word[index].stroke.length() <= MAX_STROKE_LENGTH && in addWordToUserDictionary() 878 DatabaseUtils.appendEscapedSQLString( strokeSQL, word[index].stroke ); in addWordToUserDictionary() 898 content.put( COLUMN_NAME_STROKE, word[index].stroke ); in addWordToUserDictionary() 949 … if( word[index].stroke.length() > 0 && word[index].stroke.length() <= MAX_STROKE_LENGTH && in removeWordFromUserDictionary() 953 DatabaseUtils.appendEscapedSQLString( strokeSQL, word[index].stroke ); in removeWordFromUserDictionary() [all …]
|
D | UserDictionaryToolsEdit.java | 149 mBeforeEditWnnWord.stroke = ((TextView)sFocusingView).getText().toString(); in onCreate() 249 String stroke = mReadEditText.getText().toString(); in doSaveAction() local 251 if (addDictionary(stroke, candidate)) { in doSaveAction() 261 String stroke = mReadEditText.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) { 342 wnnWordAdd.stroke = stroke;
|
D | OpenWnnDictionaryImplJni.java | 361 public static final native int setStroke( long work, String stroke ); in setStroke() argument
|
D | OpenWnnJAJP.java | 1923 …String stroke = mComposingText.toString(ComposingText.LAYER1, 0, mComposingText.getCursor(layer) -… in commitText() local 1924 WnnWord word = new WnnWord(tmp, stroke); in commitText() 2641 String stroke = composingText.toString(ComposingText.LAYER1, seg.from, seg.to); in learnWord() local 2642 mConverter.learn(new WnnWord(seg.string, stroke)); in learnWord()
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
D | ndfdic.c | 204 NJ_CHAR *stroke; in yomi_strcmp_forward() local 211 stroke = buf; in yomi_strcmp_forward() 225 NJ_CHAR_COPY(stroke, area); in yomi_strcmp_forward() 226 stroke++; in yomi_strcmp_forward() 229 *stroke = NJ_CHAR_NUL; in yomi_strcmp_forward() 232 dic_ylen = convert_to_yomi(hdl, area, DATA_YOMI_SIZE(data), stroke, size); in yomi_strcmp_forward() 319 NJ_CHAR stroke[NJ_MAX_LEN + NJ_TERM_LEN]; in njd_f_get_word() local 335 yomilen = njd_f_get_stroke(word, stroke, sizeof(stroke)); in njd_f_get_word() 357 NJ_INT16 njd_f_get_stroke(NJ_WORD *word, NJ_CHAR *stroke, NJ_UINT16 size) { in njd_f_get_stroke() argument 385 NJ_CHAR_COPY(stroke, area); in njd_f_get_stroke() [all …]
|
D | ndapi.c | 480 NJ_INT16 njd_get_stroke(NJ_CLASS *iwnn, NJ_RESULT *result, NJ_CHAR *stroke, NJ_UINT16 size) { in njd_get_stroke() argument 500 ret = njd_b_get_stroke(&result->word, stroke, size); in njd_get_stroke() 512 nj_strncpy(stroke, result->word.yomi, len); in njd_get_stroke() 513 *(stroke + len) = NJ_CHAR_NUL; in njd_get_stroke() 520 ret = njd_l_get_stroke(iwnn, &result->word, stroke, size); in njd_get_stroke() 524 ret = njd_f_get_stroke(&result->word, stroke, size); in njd_get_stroke()
|
D | ndbdic.c | 1483 NJ_INT16 njd_b_get_stroke(NJ_WORD *word, NJ_CHAR *stroke, NJ_UINT16 size) in njd_b_get_stroke() argument 1526 len = get_stem_yomi_string(loc->handle, data, stroke, in njd_b_get_stroke() 1535 *(stroke + len) = NJ_CHAR_NUL; in njd_b_get_stroke()
|
D | ndldic.c | 1767 NJ_INT16 njd_l_get_stroke(NJ_CLASS *iwnn, NJ_WORD *word, NJ_CHAR *stroke, NJ_UINT16 size) { in njd_l_get_stroke() argument 1799 nj_strcpy(stroke, str); in njd_l_get_stroke()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
D | UserDictionaryToolsListJAJP.java | 69 return word1.stroke.compareTo(word2.stroke); in compare()
|
D | OpenWnnEngineJAJP.java | 218 if (!mExactMatchMode || mInputHiragana.equals(word.stroke)) { in getCandidate() 455 int len = clause.stroke.length(); in convert() 563 mInputHiragana = clause.stroke; in makeCandidateListOf() 610 return wnnWord1.stroke.compareTo(wnnWord2.stroke); in compare()
|
D | OpenWnnClauseConverterJAJP.java | 484 if (input.equals(word.stroke)) { in getIndependentWords() 493 if (input.equals(word.stroke)) { in getIndependentWords()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
D | UserDictionaryToolsListEN.java | 72 return word1.stroke.compareTo(word2.stroke); in compare()
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
D | nj_ext.h | 85 NJ_CHAR *stroke, NJ_UINT16 size); 96 extern NJ_INT16 njd_b_get_stroke(NJ_WORD *word, NJ_CHAR *stroke, NJ_UINT16 size); 101 extern NJ_INT16 njd_f_get_stroke(NJ_WORD *word, NJ_CHAR *stroke, 115 NJ_CHAR *stroke, NJ_UINT16 size);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | ChartNetworkSeriesView.java | 92 final int stroke = a.getColor(R.styleable.ChartNetworkSeriesView_strokeColor, Color.RED); in ChartNetworkSeriesView() local 97 setChartColor(stroke, fill, fillSecondary); in ChartNetworkSeriesView() 112 public void setChartColor(int stroke, int fill, int fillSecondary) { in setChartColor() argument 115 mPaintStroke.setColor(stroke); in setChartColor()
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/ |
D | OpenWnnDictionaryImplJni.c | 506 NJ_CHAR stroke[ NJ_MAX_LEN + NJ_TERM_LEN ]; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getStroke() local 508 …if( njx_get_stroke( &( work->wnnClass ), &( work->result ), stroke, sizeof( NJ_CHAR ) * ( NJ_MAX_L… in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getStroke() 509 convertNjCharToString( env, &str, stroke, NJ_MAX_LEN ) >= 0 ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getStroke() 854 (JNIEnv *env, jclass obj, jlong wnnWork, jstring stroke) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setStroke() argument 858 if( stroke == NULL ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setStroke() 865 if( ( *env )->GetStringLength( env, stroke ) > NJ_MAX_LEN ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setStroke() 871 if( convertStringToNjChar( env, work->previousStroke, stroke, NJ_MAX_LEN ) >= 0 ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setStroke()
|