Searched refs:getWord (Results 1 - 10 of 10) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DSuggestHelper.java106 // Note that suggestions.getWord(0) is the word user typed.
107 return suggestions.size() > 1 ? suggestions.getWord(1) : null;
114 // Note that suggestions.getWord(0) is the word user typed.
116 ? suggestions.getWord(1) : null;
123 // Note that suggestions.getWord(0) is the word user typed.
125 if (TextUtils.equals(suggestions.getWord(i), expected))
143 return suggestions.size() > 1 ? suggestions.getWord(1) : null;
152 ? suggestions.getWord(1) : null;
162 if (TextUtils.equals(suggestions.getWord(i), expected))
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DSuggestedWords.java56 public CharSequence getWord(int pos) { method in class:SuggestedWords
164 final String prevWord = previousSuggestions.getWord(pos).toString();
185 public CharSequence getWord(int pos) { method in class:SuggestedWords.Builder
H A DMoreSuggestions.java74 final CharSequence word = suggestions.getWord(pos);
208 final String word = mSuggestions.getWord(pos).toString();
H A DSuggestionsView.java262 final CharSequence word = suggestions.getWord(pos);
437 final CharSequence text = suggestions.getWord(index);
713 final CharSequence word = mSuggestions.getWord(index);
864 final CharSequence word = mSuggestions.getWord(index);
H A DUtils.java180 final CharSequence typedWord = suggestions.getWord(0);
184 final CharSequence suggestionWord = suggestions.getWord(1);
H A DLatinIME.java1797 mBestWord = suggestedWords.getWord(1);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DSuggestionSpanUtils.java112 final CharSequence word = suggestedWords.getWord(i);
/packages/apps/Settings/src/com/android/settings/
H A DUserDictionarySettings.java198 String word = getWord(position);
224 private String getWord(int position) { method in class:UserDictionarySettings
/packages/apps/Exchange/src/com/android/exchange/utility/
H A DCalendarUtilities.java208 static int getWord(byte[] bytes, int offset) { method in class:CalendarUtilities
274 int num = getWord(bytes, offset + MSFT_SYSTEMTIME_YEAR);
279 num = getWord(bytes, offset + MSFT_SYSTEMTIME_MONTH);
287 tzd.dayOfWeek = getWord(bytes, offset + MSFT_SYSTEMTIME_DAY_OF_WEEK) + 1;
290 num = getWord(bytes, offset + MSFT_SYSTEMTIME_DAY);
299 int hour = getWord(bytes, offset + MSFT_SYSTEMTIME_HOUR);
301 int minute = getWord(bytes, offset + MSFT_SYSTEMTIME_MINUTE);
/packages/apps/Exchange/tests/src/com/android/exchange/utility/
H A DCalendarUtilitiesTests.java119 // First, check that getWord/Long are properly little endian
120 assertEquals(0x0100, CalendarUtilities.getWord(bytes, 0));
130 assertEquals(0xDEAD, CalendarUtilities.getWord(bytes, 0));
132 assertEquals(0xCEDE, CalendarUtilities.getWord(bytes, 6));

Completed in 286 milliseconds