OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SuggestedWords
(Results
1 - 25
of
33
) sorted by null
1
2
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
SuggestedWords.java
29
public final class
SuggestedWords
{
36
public static final
SuggestedWords
EMPTY = new
SuggestedWords
(
50
public
SuggestedWords
(final ArrayList<SuggestedWordInfo> suggestedWordInfoList,
60
public
SuggestedWords
(final ArrayList<SuggestedWordInfo> suggestedWordInfoList,
114
return "
SuggestedWords
:"
141
final String typedWord, final
SuggestedWords
previousSuggestions) {
277
//
SuggestedWords
is an immutable object, as much as possible. We must not just remove
279
public
SuggestedWords
getSuggestedWordsExcludingTypedWord() {
289
return new
SuggestedWords
(newSuggestions, true /* typedWordValid */
[
all
...]
SynchronouslyLoadedContactsBinaryDictionary.java
22
import com.android.inputmethod.latin.
SuggestedWords
.SuggestedWordInfo;
SynchronouslyLoadedUserBinaryDictionary.java
22
import com.android.inputmethod.latin.
SuggestedWords
.SuggestedWordInfo;
LatinIME.java
78
import com.android.inputmethod.latin.
SuggestedWords
.SuggestedWordInfo;
169
private
SuggestedWords
mSuggestedWords =
SuggestedWords
.EMPTY;
279
final Pair<
SuggestedWords
, String> p =
280
(Pair<
SuggestedWords
, String>) msg.obj;
283
latinIme.showSuggestionStrip((
SuggestedWords
) msg.obj);
286
latinIme.showGesturePreviewAndSuggestionStrip((
SuggestedWords
) msg.obj,
301
latinIme.onEndBatchInputAsyncInternal((
SuggestedWords
) msg.obj);
350
public void showGesturePreviewAndSuggestionStrip(final
SuggestedWords
suggestedWords
,
[
all
...]
LatinImeLogger.java
48
String before, String after, int position,
SuggestedWords
suggestedWords
) {
Dictionary.java
20
import com.android.inputmethod.latin.
SuggestedWords
.SuggestedWordInfo;
ReadOnlyBinaryDictionary.java
20
import com.android.inputmethod.latin.
SuggestedWords
.SuggestedWordInfo;
DictionaryCollection.java
22
import com.android.inputmethod.latin.
SuggestedWords
.SuggestedWordInfo;
DictionaryWriter.java
22
import com.android.inputmethod.latin.
SuggestedWords
.SuggestedWordInfo;
Suggest.java
26
import com.android.inputmethod.latin.
SuggestedWords
.SuggestedWordInfo;
214
public void onGetSuggestedWords(final
SuggestedWords
suggestedWords
);
345
callback.onGetSuggestedWords(new
SuggestedWords
(suggestionsList,
410
callback.onGetSuggestedWords(new
SuggestedWords
(suggestionsContainer,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
BoundedTreeSet.java
19
import com.android.inputmethod.latin.
SuggestedWords
.SuggestedWordInfo;
AutoCorrectionUtils.java
23
import com.android.inputmethod.latin.
SuggestedWords
.SuggestedWordInfo;
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
SuggestedWordsTests.java
19
import com.android.inputmethod.latin.
SuggestedWords
.SuggestedWordInfo;
48
final
SuggestedWords
words = new
SuggestedWords
(
63
final
SuggestedWords
wordsWithoutTyped = words.getSuggestedWordsExcludingTypedWord();
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
GestureFloatingPreviewText.java
30
import com.android.inputmethod.latin.
SuggestedWords
;
100
private
SuggestedWords
mSuggestedWords =
SuggestedWords
.EMPTY;
108
public void setSuggetedWords(final
SuggestedWords
suggestedWords
) {
112
mSuggestedWords =
suggestedWords
;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
MoreSuggestionsView.java
26
import com.android.inputmethod.latin.
SuggestedWords
;
69
final
SuggestedWords
suggestedWords
= ((MoreSuggestions)keyboard).mSuggestedWords;
71
if (index < 0 || index >=
suggestedWords
.size()) {
81
index,
suggestedWords
.getInfo(index));
SuggestionStripLayoutHelper.java
50
import com.android.inputmethod.latin.
SuggestedWords
;
201
private CharSequence getStyledSuggestedWord(final
SuggestedWords
suggestedWords
,
203
if (indexInSuggestedWords >=
suggestedWords
.size()) {
206
final String word =
suggestedWords
.getWord(indexInSuggestedWords);
208
&&
suggestedWords
.willAutoCorrect();
210
&&
suggestedWords
.mTypedWordValid;
229
final
SuggestedWords
suggestedWords
) {
232
if (
suggestedWords
.willAutoCorrect())
[
all
...]
MoreSuggestions.java
31
import com.android.inputmethod.latin.
SuggestedWords
;
32
import com.android.inputmethod.latin.
SuggestedWords
.SuggestedWordInfo;
38
public final
SuggestedWords
mSuggestedWords;
44
MoreSuggestions(final MoreSuggestionsParam params, final
SuggestedWords
suggestedWords
) {
46
mSuggestedWords =
suggestedWords
;
63
public int layout(final
SuggestedWords
suggestedWords
, final int fromIndex,
74
final int size = Math.min(
suggestedWords
.size(), SuggestionStripView.MAX_SUGGESTIONS);
76
final String word =
suggestedWords
.getWord(index)
[
all
...]
SuggestionStripView.java
40
import com.android.inputmethod.latin.
SuggestedWords
;
41
import com.android.inputmethod.latin.
SuggestedWords
.SuggestedWordInfo;
73
private
SuggestedWords
mSuggestedWords =
SuggestedWords
.EMPTY;
129
public void setSuggestions(final
SuggestedWords
suggestedWords
) {
131
mSuggestedWords =
suggestedWords
;
308
// {@link SuggestionStripLayoutHelper#setupWordViewsTextAndColor(
SuggestedWords
,int)} and
309
// {@link SuggestionStripLayoutHelper#layoutPunctuationSuggestions(
SuggestedWords
,ViewGroup}
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
AccessibilityUtils.java
38
import com.android.inputmethod.latin.
SuggestedWords
;
157
* @param
suggestedWords
the list of suggested auto-correction words
160
public void setAutoCorrection(final
SuggestedWords
suggestedWords
, final String typedWord) {
161
if (
suggestedWords
!= null &&
suggestedWords
.mWillAutoCorrect) {
162
mAutoCorrectionWord =
suggestedWords
.getWord(
SuggestedWords
.INDEX_OF_AUTO_CORRECTION);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
LogStatement.java
26
import com.android.inputmethod.latin.
SuggestedWords
;
203
} else if (value instanceof
SuggestedWords
) {
204
JsonUtils.writeJson((
SuggestedWords
) value, jsonWriter);
LogUnit.java
24
import com.android.inputmethod.latin.
SuggestedWords
;
25
import com.android.inputmethod.latin.
SuggestedWords
.SuggestedWordInfo;
93
private
SuggestedWords
mSuggestedWords;
347
public
SuggestedWords
getSuggestions() {
358
public void initializeSuggestions(final
SuggestedWords
suggestedWords
) {
360
mSuggestedWords =
suggestedWords
;
365
final
SuggestedWords
suggestedWords
) {
369
final int size =
suggestedWords
.size()
[
all
...]
JsonUtils.java
25
import com.android.inputmethod.latin.
SuggestedWords
;
26
import com.android.inputmethod.latin.
SuggestedWords
.SuggestedWordInfo;
87
/* package */ static void writeJson(final
SuggestedWords
words, final JsonWriter jsonWriter)
97
jsonWriter.name("
suggestedWords
");
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
SuggestionSpanUtils.java
27
import com.android.inputmethod.latin.
SuggestedWords
;
69
final String pickedWord, final
SuggestedWords
suggestedWords
,
71
if (!dictionaryAvailable || TextUtils.isEmpty(pickedWord) ||
suggestedWords
.isEmpty()
72
||
suggestedWords
.mIsPrediction ||
suggestedWords
.mIsPunctuationSuggestions) {
78
for (int i = 0; i <
suggestedWords
.size(); ++i) {
82
final String word =
suggestedWords
.getWord(i);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
SettingsValues.java
33
import com.android.inputmethod.latin.
SuggestedWords
;
34
import com.android.inputmethod.latin.
SuggestedWords
.SuggestedWordInfo;
59
public final
SuggestedWords
mSuggestPuncList;
298
private static
SuggestedWords
createSuggestPuncList(final String[] puncs) {
310
return new
SuggestedWords
(puncList,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DictionaryPool.java
23
import com.android.inputmethod.latin.
SuggestedWords
.SuggestedWordInfo;
Completed in 293 milliseconds
1
2