Searched defs:stroke (Results 1 - 11 of 11) sorted by relevance

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DWnnClause.java30 * @param stroke The reading of the clause
34 public WnnClause(String candidate, String stroke, WnnPOS posTag, int frequency) { argument
36 stroke,
44 * @param stroke The reading of the clause
47 public WnnClause (String stroke, WnnWord stem) { argument
50 stroke,
59 * @param stroke The reading of the clause
63 public WnnClause (String stroke, WnnWord stem, WnnWord fzk) { argument
66 stroke,
H A DWnnWord.java30 public String stroke; field in class:WnnWord
49 * @param stroke The reading of word
51 public WnnWord(String candidate, String stroke) { argument
52 this(0, candidate, stroke, new WnnPOS(), 0, 0);
59 * @param stroke The reading of word
62 public WnnWord(String candidate, String stroke, int frequency) { argument
63 this(0, candidate, stroke, new WnnPOS(), frequency, 0);
70 * @param stroke The reading of word
73 public WnnWord(String candidate, String stroke, WnnPOS posTag) { argument
74 this(0, candidate, stroke, posTa
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) */
149 mBeforeEditWnnWord.stroke = ((TextView)sFocusingView).getText().toString();
249 String stroke = mReadEditText.getText().toString();
251 if (addDictionary(stroke, candidate)) {
261 String stroke = mReadEditText.getText().toString();
263 if (addDictionary(stroke, candidate)) {
266 addDictionary(mBeforeEditWnnWord.stroke, mBeforeEditWnnWord.candidate);
333 * @param stroke The stroke of the word
337 private boolean addDictionary(String stroke, Strin argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
H A DSelectionRenderer.java25 int stroke, Paint paint) {
26 canvas.drawRect(left, top, right, top + stroke, paint);
27 canvas.drawRect(left, bottom - stroke, right, bottom, paint);
28 canvas.drawRect(left, top, left + stroke, bottom, paint);
29 canvas.drawRect(right - stroke, top, right, bottom, paint);
33 int stroke, Paint selectPaint, int border, Paint borderPaint) {
34 canvas.drawRect(left, top, right, top + stroke, selectPaint);
35 canvas.drawRect(left, bottom - stroke, right, bottom, selectPaint);
36 canvas.drawRect(left, top, left + stroke, bottom, selectPaint);
37 canvas.drawRect(right - stroke, to
24 drawSelection(Canvas canvas, int left, int top, int right, int bottom, int stroke, Paint paint) argument
32 drawSelection(Canvas canvas, int left, int top, int right, int bottom, int stroke, Paint selectPaint, int border, Paint borderPaint) argument
[all...]
/packages/apps/Settings/src/com/android/settings/widget/
H A DChartNetworkSeriesView.java92 final int stroke = a.getColor(R.styleable.ChartNetworkSeriesView_strokeColor, Color.RED);
99 setChartColor(stroke, fill, fillSecondary);
115 public void setChartColor(int stroke, int fill, int fillSecondary) { argument
118 mPaintStroke.setColor(stroke);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DGestureTrailDrawingPoints.java34 * stroke. This class holds drawing points of those gesture strokes to draw as a gesture trail.
72 public void addStroke(final GestureStrokeDrawingPoints stroke, final long downTime) { argument
74 addStrokeLocked(stroke, downTime);
78 private void addStrokeLocked(final GestureStrokeDrawingPoints stroke, final long downTime) { argument
80 stroke.appendPreviewStroke(mEventTimes, mXCoordinates, mYCoordinates, mPointTypes);
85 final int strokeId = stroke.getGestureStrokeId();
87 // the interpolated points in the last segment of gesture stroke, it may need recalculation
88 // of interpolation when new segments are added to the stroke.
96 mLastInterpolatedDrawIndex = stroke.interpolateStrokeAndReturnStartIndexOfLastSegment(
247 // The start index of the last segment of the stroke
[all...]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
H A Dndfdic.c204 NJ_CHAR *stroke; local
211 stroke = buf;
225 NJ_CHAR_COPY(stroke, area);
226 stroke++;
229 *stroke = NJ_CHAR_NUL;
232 dic_ylen = convert_to_yomi(hdl, area, DATA_YOMI_SIZE(data), stroke, size);
319 NJ_CHAR stroke[NJ_MAX_LEN + NJ_TERM_LEN]; local
335 yomilen = njd_f_get_stroke(word, stroke, sizeof(stroke));
357 NJ_INT16 njd_f_get_stroke(NJ_WORD *word, NJ_CHAR *stroke, NJ_UINT1 argument
[all...]
H A Dndapi.c480 NJ_INT16 njd_get_stroke(NJ_CLASS *iwnn, NJ_RESULT *result, NJ_CHAR *stroke, NJ_UINT16 size) { argument
500 ret = njd_b_get_stroke(&result->word, stroke, size);
512 nj_strncpy(stroke, result->word.yomi, len);
513 *(stroke + len) = NJ_CHAR_NUL;
520 ret = njd_l_get_stroke(iwnn, &result->word, stroke, size);
524 ret = njd_f_get_stroke(&result->word, stroke, size);
H A Dndbdic.c1483 NJ_INT16 njd_b_get_stroke(NJ_WORD *word, NJ_CHAR *stroke, NJ_UINT16 size) argument
1526 len = get_stem_yomi_string(loc->handle, data, stroke,
1535 *(stroke + len) = NJ_CHAR_NUL;
H A Dndldic.c1767 NJ_INT16 njd_l_get_stroke(NJ_CLASS *iwnn, NJ_WORD *word, NJ_CHAR *stroke, NJ_UINT16 size) { argument
1799 nj_strcpy(stroke, str);
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/
H A DOpenWnnDictionaryImplJni.c506 NJ_CHAR stroke[ NJ_MAX_LEN + NJ_TERM_LEN ]; local
508 if( njx_get_stroke( &( work->wnnClass ), &( work->result ), stroke, sizeof( NJ_CHAR ) * ( NJ_MAX_LEN + NJ_TERM_LEN ) ) >= 0 &&
509 convertNjCharToString( env, &str, stroke, NJ_MAX_LEN ) >= 0 ) {
854 (JNIEnv *env, jclass obj, jlong wnnWork, jstring stroke)
858 if( stroke == NULL ) {
865 if( ( *env )->GetStringLength( env, stroke ) > NJ_MAX_LEN ) {
870 /* Store stroke string */
871 if( convertStringToNjChar( env, work->previousStroke, stroke, NJ_MAX_LEN ) >= 0 ) {
853 Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setStroke(JNIEnv *env, jclass obj, jlong wnnWork, jstring stroke) argument

Completed in 316 milliseconds