Lines Matching refs:word

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) {
879 int textLength = measureText(word.candidate, 0, word.candidate.length());
884 if (mIsSymbolMode && (word.candidate.length() < 3)) {
889 boolean is2nd = isFirstListOver(mIsFullView, mLineCount, word);
966 setCandidate(isCategory, word);
993 textView.setText(word.candidate);
1004 textView.setText(" " + word.candidate);
1041 if (word.candidate.equals(" ")) {
1044 } else if (word.candidate.equals("\u3000" /* full-width space */)) {
1057 mWnnWordArray2nd.add(mWordCount2nd, word);
1061 mWnnWordArray1st.add(mWordCount1st, word);
1286 * This method notices the selected word to {@link OpenWnn}.
1288 * @param word The selected word
1290 private void selectCandidate(WnnWord word) {
1296 mWnn.onEvent(new OpenWnnEvent(OpenWnnEvent.SELECT_CANDIDATE, word));
1451 boolean isCategory(WnnWord word) {
1452 int length = word.candidate.length();
1453 return ((length > 3) && (word.candidate.charAt(0) == '['));
1585 private boolean isFirstListOver(boolean isFullView, int lineCount, WnnWord word) {
1718 WnnWord word = getFocusedWnnWord();
1721 mWnnWordSelectedList.add(word);
1723 selectCandidate(word);
1736 * @return WnnWord word
1739 WnnWord word = null;
1754 word = mWnnWordArray1st.get(index);
1756 word = mWnnWordArray2nd.get(index);
1758 return word;