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

  /frameworks/base/core/java/android/text/style/
SuggestionSpan.aidl 19 parcelable SuggestionSpan;
SuggestionSpan.java 46 public class SuggestionSpan extends CharacterStyle implements ParcelableSpan {
76 * the current IME to the other IME which is specified in SuggestionSpan.
77 * An IME needs to set the span by specifying the target IME and Subtype of SuggestionSpan.
101 public SuggestionSpan(Context context, String[] suggestions, int flags) {
110 public SuggestionSpan(Locale locale, String[] suggestions, int flags) {
118 * {@link SuggestionSpan#SUGGESTIONS_MAX_SIZE} will be considered. Null values not permitted.
123 public SuggestionSpan(Context context, Locale locale, String[] suggestions, int flags,
133 Log.e("SuggestionSpan", "No locale or context specified in SuggestionSpan constructor");
160 null, com.android.internal.R.styleable.SuggestionSpan, defStyle, 0)
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/spellcheck/
AndroidSpellCheckerServiceTest.java 21 import android.text.style.SuggestionSpan;
34 final SpanGetter span = new SpanGetter(mTextView.getText(), SuggestionSpan.class);
53 final SpanGetter span = new SpanGetter(mTextView.getText(), SuggestionSpan.class);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
BlueUnderlineTests.java 21 import android.text.style.SuggestionSpan;
33 final SpanGetter span = new SpanGetter(mTextView.getText(), SuggestionSpan.class);
50 final SpanGetter spanBefore = new SpanGetter(mTextView.getText(), SuggestionSpan.class);
58 final SpanGetter spanAfter = new SpanGetter(mTextView.getText(), SuggestionSpan.class);
79 final SpanGetter suggestionSpan = new SpanGetter(mTextView.getText(), SuggestionSpan.class);
81 EXPECTED_SUGGESTION_SPAN_START, suggestionSpan.mStart);
104 final SpanGetter span = new SpanGetter(mTextView.getText(), SuggestionSpan.class);
InputTestsBase.java 28 import android.text.style.SuggestionSpan;
87 return (mSpan instanceof SuggestionSpan) &&
88 0 != (SuggestionSpan.FLAG_AUTO_CORRECTION & ((SuggestionSpan)mSpan).getFlags());
91 return ((SuggestionSpan)mSpan).getSuggestions();
  /frameworks/base/core/java/com/android/internal/view/
IInputMethodManager.aidl 20 import android.text.style.SuggestionSpan;
66 void registerSuggestionSpansForNotification(in SuggestionSpan[] spans);
67 boolean notifySuggestionPicked(in SuggestionSpan span, String originalString, int index);
  /frameworks/base/core/java/android/widget/
SpellChecker.java 27 import android.text.style.SuggestionSpan;
101 private final LruCache<Long, SuggestionSpan> mSuggestionSpanCache =
102 new LruCache<Long, SuggestionSpan>(SUGGESTION_SPAN_CACHE_SIZE);
316 textInfos, SuggestionSpan.SUGGESTIONS_MAX_SIZE);
318 mSpellCheckerSession.getSuggestions(textInfos, SuggestionSpan.SUGGESTIONS_MAX_SIZE,
364 final SuggestionSpan tempSuggestionSpan = mSuggestionSpanCache.get(key);
482 SuggestionSpan suggestionSpan = new SuggestionSpan(mTextView.getContext(), suggestions,
483 SuggestionSpan.FLAG_EASY_CORRECT | SuggestionSpan.FLAG_MISSPELLED)
    [all...]
Editor.java 60 import android.text.style.SuggestionSpan;
    [all...]
TextView.java 87 import android.text.style.SuggestionSpan;
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
EditableInputConnection.java 23 import android.text.style.SuggestionSpan;
178 SuggestionSpan[] spans = spanned.getSpans(0, text.length(), SuggestionSpan.class);
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
BridgeIInputMethodManager.java 27 import android.text.style.SuggestionSpan;
104 public boolean notifySuggestionPicked(SuggestionSpan arg0, String arg1, int arg2)
111 public void registerSuggestionSpansForNotification(SuggestionSpan[] arg0)
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ViewPropertyAlphaActivity.java 32 import android.text.style.SuggestionSpan;
86 text.setSpan(new SuggestionSpan(this, new String[]{"longer"}, 3), 11, 16,
  /frameworks/base/services/java/com/android/server/
InputMethodManagerService.java 82 import android.text.style.SuggestionSpan;
185 private final LruCache<SuggestionSpan, InputMethodInfo> mSecureSuggestionSpans =
186 new LruCache<SuggestionSpan, InputMethodInfo>(SECURE_SUGGESTION_SPANS_MAX_SIZE);
    [all...]
  /frameworks/base/core/java/android/view/inputmethod/
InputMethodManager.java 39 import android.text.style.SuggestionSpan;
655 public void registerSuggestionSpansForNotification(SuggestionSpan[] spans) {
664 public void notifySuggestionPicked(SuggestionSpan span, String originalString, int index) {
    [all...]
  /frameworks/base/core/java/android/text/
TextUtils.java 41 import android.text.style.SuggestionSpan;
748 readSpan(p, sp, new SuggestionSpan(p));
    [all...]
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/current/
android.jar 

Completed in 2056 milliseconds