HomeSort by relevance Sort by last modified time
    Searched refs:suggestedWords (Results 1 - 19 of 19) sorted by null

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
SuggestionStripViewAccessor.java 19 import com.android.inputmethod.latin.SuggestedWords;
26 public void showSuggestionStrip(final SuggestedWords suggestedWords);
MoreSuggestions.java 30 import com.android.inputmethod.latin.SuggestedWords;
35 public final SuggestedWords mSuggestedWords;
37 MoreSuggestions(final MoreSuggestionsParam params, final SuggestedWords suggestedWords) {
39 mSuggestedWords = suggestedWords;
43 private final int[] mWidths = new int[SuggestedWords.MAX_SUGGESTIONS];
44 private final int[] mRowNumbers = new int[SuggestedWords.MAX_SUGGESTIONS];
45 private final int[] mColumnOrders = new int[SuggestedWords.MAX_SUGGESTIONS];
46 private final int[] mNumColumnsInRow = new int[SuggestedWords.MAX_SUGGESTIONS];
56 public int layout(final SuggestedWords suggestedWords, final int fromIndex
    [all...]
MoreSuggestionsView.java 28 import com.android.inputmethod.latin.SuggestedWords;
29 import com.android.inputmethod.latin.SuggestedWords.SuggestedWordInfo;
104 final SuggestedWords suggestedWords = ((MoreSuggestions)keyboard).mSuggestedWords;
106 if (index < 0 || index >= suggestedWords.size()) {
115 ((MoreSuggestionsListener)mListener).onSuggestionSelected(suggestedWords.getInfo(index));
SuggestionStripLayoutHelper.java 50 import com.android.inputmethod.latin.SuggestedWords;
51 import com.android.inputmethod.latin.SuggestedWords.SuggestedWordInfo;
199 private CharSequence getStyledSuggestedWord(final SuggestedWords suggestedWords,
201 if (indexInSuggestedWords >= suggestedWords.size()) {
204 final String word = suggestedWords.getLabel(indexInSuggestedWords);
207 final boolean isAutoCorrection = suggestedWords.mWillAutoCorrect
208 && indexInSuggestedWords == SuggestedWords.INDEX_OF_AUTO_CORRECTION;
209 final boolean isTypedWordValid = suggestedWords.mTypedWordValid
210 && indexInSuggestedWords == SuggestedWords.INDEX_OF_TYPED_WORD
    [all...]
SuggestionStripView.java 47 import com.android.inputmethod.latin.SuggestedWords;
48 import com.android.inputmethod.latin.SuggestedWords.SuggestedWordInfo;
83 private SuggestedWords mSuggestedWords = SuggestedWords.getEmptyInstance();
147 for (int pos = 0; pos < SuggestedWords.MAX_SUGGESTIONS; pos++) {
199 public void setSuggestions(final SuggestedWords suggestedWords, final boolean isRtlLanguage) {
202 mSuggestedWords = suggestedWords;
462 // {@link SuggestionStripLayoutHelper#setupWordViewsTextAndColor(SuggestedWords,int)} and
463 // {@link SuggestionStripLayoutHelper#layoutPunctuationSuggestions(SuggestedWords,ViewGroup
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
SuggestionSpanUtils.java 27 import com.android.inputmethod.latin.SuggestedWords;
28 import com.android.inputmethod.latin.SuggestedWords.SuggestedWordInfo;
75 final String pickedWord, final SuggestedWords suggestedWords, final Locale locale) {
76 if (TextUtils.isEmpty(pickedWord) || suggestedWords.isEmpty()
77 || suggestedWords.isPrediction() || suggestedWords.isPunctuationSuggestions()) {
82 for (int i = 0; i < suggestedWords.size(); ++i) {
86 final SuggestedWordInfo info = suggestedWords.getInfo(i);
90 final String word = suggestedWords.getWord(i)
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/
suggestion_results.cpp 94 std::vector<SuggestedWord> suggestedWords;
97 suggestedWords.push_back(copyOfSuggestedWords.top());
101 for (auto it = suggestedWords.rbegin(); it != suggestedWords.rend(); ++it) {
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/settings/
SpacingAndPunctuationsTests.java 23 import com.android.inputmethod.latin.SuggestedWords;
424 final SuggestedWords suggestedWords = sp.mSuggestPuncList;
425 assertFalse("typedWordValid", suggestedWords.mTypedWordValid);
426 assertFalse("willAutoCorrect", suggestedWords.mWillAutoCorrect);
427 assertTrue("isPunctuationSuggestions", suggestedWords.isPunctuationSuggestions());
428 assertFalse("isObsoleteSuggestions", suggestedWords.mIsObsoleteSuggestions);
429 assertFalse("isPrediction", suggestedWords.isPrediction());
430 assertEquals("size", punctuationLabels.length, suggestedWords.size());
431 for (int index = 0; index < suggestedWords.size(); index++)
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
AccessibilityUtils.java 37 import com.android.inputmethod.latin.SuggestedWords;
154 * @param suggestedWords the list of suggested auto-correction words
156 public void setAutoCorrection(final SuggestedWords suggestedWords) {
157 if (suggestedWords.mWillAutoCorrect) {
158 mAutoCorrectionWord = suggestedWords.getWord(SuggestedWords.INDEX_OF_AUTO_CORRECTION);
159 final SuggestedWords.SuggestedWordInfo typedWordInfo = suggestedWords.mTypedWordInfo;
  /packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/touchinputconsumer/
GestureConsumer.java 23 import com.android.inputmethod.latin.SuggestedWords;
65 public void onImeSuggestionsProcessed(final SuggestedWords suggestedWords,
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
InputLogicTestsLanguageWithoutSpaces.java 130 final SuggestedWords suggestedWords = mLatinIME.getSuggestedWordsForTest();
132 suggestedWords.size() > 0 ? suggestedWords.getWord(0) : null);
InputLogicTests.java 510 final SuggestedWords suggestedWords = mLatinIME.getSuggestedWordsForTest();
512 suggestedWords.size() > 0 ? suggestedWords.getWord(0) : null);
526 SuggestedWords suggestedWords = mLatinIME.getSuggestedWordsForTest();
527 suggestedWords = mLatinIME.getSuggestedWordsForTest();
540 final SuggestedWords suggestedWords = mLatinIME.getSuggestedWordsForTest();
542 suggestedWords.size() > 0 ? suggestedWords.getWord(0) : null)
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
InputLogicHandler.java 25 import com.android.inputmethod.latin.SuggestedWords;
138 public void onGetSuggestedWords(final SuggestedWords suggestedWords) {
139 showGestureSuggestionsWithPreviewVisuals(suggestedWords, isTailBatchInput);
142 getSuggestedWords(isTailBatchInput ? SuggestedWords.INPUT_STYLE_TAIL_BATCH
143 : SuggestedWords.INPUT_STYLE_UPDATE_BATCH, sequenceNumber, callback);
147 void showGestureSuggestionsWithPreviewVisuals(final SuggestedWords suggestedWordsForBatchInput,
149 final SuggestedWords suggestedWordsToShowSuggestions;
InputLogic.java 45 import com.android.inputmethod.latin.SuggestedWords;
46 import com.android.inputmethod.latin.SuggestedWords.SuggestedWordInfo;
86 public SuggestedWords mSuggestedWords = SuggestedWords.getEmptyInstance();
156 mSuggestedWords = SuggestedWords.getEmptyInstance();
246 handler.postUpdateSuggestionStrip(SuggestedWords.INPUT_STYLE_TYPING);
276 final SuggestedWords suggestedWords = mSuggestedWords;
279 if (suggestion.length() == 1 && suggestedWords.isPunctuationSuggestions()) {
313 mSuggestedWords = SuggestedWords.getEmptyInstance()
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
LatinIME.java 75 import com.android.inputmethod.latin.SuggestedWords.SuggestedWordInfo;
231 final SuggestedWords suggestedWords = (SuggestedWords) msg.obj;
232 latinIme.showSuggestionStrip(suggestedWords);
234 latinIme.showGesturePreviewAndSuggestionStrip((SuggestedWords) msg.obj,
255 final SuggestedWords suggestedWords = (SuggestedWords) msg.obj;
258 suggestedWords, latinIme.mKeyboardSwitcher)
    [all...]
Suggest.java 25 import com.android.inputmethod.latin.SuggestedWords.SuggestedWordInfo;
95 public void onGetSuggestedWords(final SuggestedWords suggestedWords);
272 ? SuggestedWords.INPUT_STYLE_BEGINNING_OF_SENTENCE_PREDICTION
273 : SuggestedWords.INPUT_STYLE_PREDICTION;
280 callback.onGetSuggestedWords(new SuggestedWords(suggestionsList,
339 callback.onGetSuggestedWords(new SuggestedWords(suggestionsContainer,
  /packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/utils/
StatsUtils.java 23 import com.android.inputmethod.latin.SuggestedWords;
39 public static void onPickSuggestionManually(final SuggestedWords suggestedWords,
40 final SuggestedWords.SuggestedWordInfo suggestionInfo,
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
GestureFloatingTextDrawingPreview.java 29 import com.android.inputmethod.latin.SuggestedWords;
103 private SuggestedWords mSuggestedWords = SuggestedWords.getEmptyInstance();
116 setSuggetedWords(SuggestedWords.getEmptyInstance());
119 public void setSuggetedWords(@Nonnull final SuggestedWords suggestedWords) {
123 mSuggestedWords = suggestedWords;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
MainKeyboardView.java 56 import com.android.inputmethod.latin.SuggestedWords;
539 public void showGestureFloatingPreviewText(@Nonnull final SuggestedWords suggestedWords,
544 gestureFloatingTextDrawingPreview.setSuggetedWords(suggestedWords);
    [all...]

Completed in 219 milliseconds