/frameworks/base/core/tests/coretests/src/android/widget/ |
D | SuggestionsPopupWindowTest.java | 51 import android.text.style.SuggestionSpan; 78 private void setSuggestionSpan(SuggestionSpan span, int start, int end) { in setSuggestionSpan() 96 final SuggestionSpan suggestionSpan = new SuggestionSpan(getActivity(), in testOnTextContextMenuItem() 97 new String[]{"DEF", "Def"}, SuggestionSpan.FLAG_AUTO_CORRECTION); in testOnTextContextMenuItem() 114 final SuggestionSpan suggestionSpan = new SuggestionSpan(getActivity(), in testSelectionActionMode() 115 new String[]{"DEF", "Def"}, SuggestionSpan.FLAG_AUTO_CORRECTION); in testSelectionActionMode() 136 final SuggestionSpan suggestionSpan = new SuggestionSpan(getActivity(), in testInsertionActionMode() 137 new String[]{"DEF", "Def"}, SuggestionSpan.FLAG_AUTO_CORRECTION); in testInsertionActionMode() 165 final SuggestionSpan suggestionSpan = new SuggestionSpan(getActivity(), in testSuggestionItems() 166 new String[]{"DEF", "Def"}, SuggestionSpan.FLAG_AUTO_CORRECTION); in testSuggestionItems() [all …]
|
/frameworks/base/core/java/android/text/style/ |
D | SuggestionSpan.java | 50 public class SuggestionSpan extends CharacterStyle implements ParcelableSpan { class 144 public SuggestionSpan(Context context, String[] suggestions, int flags) { in SuggestionSpan() method in SuggestionSpan 153 public SuggestionSpan(Locale locale, String[] suggestions, int flags) { in SuggestionSpan() method in SuggestionSpan 168 public SuggestionSpan(Context context, Locale locale, String[] suggestions, int flags, in SuggestionSpan() method in SuggestionSpan 203 null, com.android.internal.R.styleable.SuggestionSpan, defStyleAttr, 0); in initStyle() 211 null, com.android.internal.R.styleable.SuggestionSpan, defStyleAttr, 0); in initStyle() 219 null, com.android.internal.R.styleable.SuggestionSpan, defStyleAttr, 0); in initStyle() 226 public SuggestionSpan(Parcel src) { in SuggestionSpan() method in SuggestionSpan 330 if (o instanceof SuggestionSpan) { in equals() 331 return ((SuggestionSpan)o).hashCode() == mHashCode; in equals() [all …]
|
D | SuggestionSpan.aidl | 19 parcelable SuggestionSpan;
|
/frameworks/base/core/java/android/widget/ |
D | SpellChecker.java | 26 import android.text.style.SuggestionSpan; 102 private final LruCache<Long, SuggestionSpan> mSuggestionSpanCache = 103 new LruCache<Long, SuggestionSpan>(SUGGESTION_SPAN_CACHE_SIZE); 319 textInfos, SuggestionSpan.SUGGESTIONS_MAX_SIZE); in spellCheck() 321 mSpellCheckerSession.getSuggestions(textInfos, SuggestionSpan.SUGGESTIONS_MAX_SIZE, in spellCheck() 367 final SuggestionSpan tempSuggestionSpan = mSuggestionSpanCache.get(key); in onGetSuggestionsInternal() 485 SuggestionSpan suggestionSpan = new SuggestionSpan(mTextView.getContext(), suggestions, in createMisspelledSuggestionSpan() 486 SuggestionSpan.FLAG_EASY_CORRECT | SuggestionSpan.FLAG_MISSPELLED); in createMisspelledSuggestionSpan() 491 final SuggestionSpan tempSuggestionSpan = mSuggestionSpanCache.get(key); in createMisspelledSuggestionSpan() 588 SuggestionSpan[] suggestionSpans = editable.getSpans(start - 1, end + 1, in parse() [all …]
|
D | Editor.java | 78 import android.text.style.SuggestionSpan; 1362 SuggestionSpan[] suggestionSpans = spannable.getSpans(0, in downgradeEasyCorrectionSpans() 1363 spannable.length(), SuggestionSpan.class); in downgradeEasyCorrectionSpans() 1366 if ((flags & SuggestionSpan.FLAG_EASY_CORRECT) != 0 in downgradeEasyCorrectionSpans() 1367 && (flags & SuggestionSpan.FLAG_MISSPELLED) == 0) { in downgradeEasyCorrectionSpans() 1368 flags &= ~SuggestionSpan.FLAG_EASY_CORRECT; in downgradeEasyCorrectionSpans() 2289 final SuggestionSpan[] suggestionSpans = spannable.getSpans(selectionStart, selectionEnd, in shouldOfferToShowSuggestions() 2290 SuggestionSpan.class); in shouldOfferToShowSuggestions() 2346 SuggestionSpan[] suggestionSpans = spannable.getSpans(mTextView.getSelectionStart(), in isCursorInsideEasyCorrectionSpan() 2347 mTextView.getSelectionEnd(), SuggestionSpan.class); in isCursorInsideEasyCorrectionSpan() [all …]
|
D | TextView.java | 128 import android.text.style.SuggestionSpan; 5893 SuggestionSpan[] suggestionSpans = spannable.getSpans(0, spannable.length(), in removeMisspelledSpans() 5894 SuggestionSpan.class); in removeMisspelledSpans() 5897 if ((flags & SuggestionSpan.FLAG_EASY_CORRECT) != 0 in removeMisspelledSpans() 5898 && (flags & SuggestionSpan.FLAG_MISSPELLED) != 0) { in removeMisspelledSpans() 6487 SuggestionSpan[] spans = spannable.getSpans(0, text.length(), SuggestionSpan.class); in removeSuggestionSpans() 10491 removeIntersectingNonAdjacentSpans(start, start + before, SuggestionSpan.class); in sendBeforeTextChanged() 10513 final SuggestionSpan[] spans = text.getSpans(pos, pos, SuggestionSpan.class); in removeAdjacentSuggestionSpans()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ViewPropertyAlphaActivity.java | 32 import android.text.style.SuggestionSpan; 86 text.setSpan(new SuggestionSpan(this, new String[]{"longer"}, 3), 11, 16, in onCreate()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodManager.java | 54 import android.text.style.SuggestionSpan; 1145 public void registerSuggestionSpansForNotification(SuggestionSpan[] spans) { in registerSuggestionSpansForNotification() 1157 public void notifySuggestionPicked(SuggestionSpan span, String originalString, int index) { in notifySuggestionPicked()
|
/frameworks/base/core/java/android/text/ |
D | TextUtils.java | 60 import android.text.style.SuggestionSpan; 898 readSpan(p, sp, new SuggestionSpan(p));
|
/frameworks/base/config/ |
D | dirty-image-objects | 200 android.text.style.SuggestionSpan
|
D | preloaded-classes | 3553 android.text.style.SuggestionSpan$1 3554 android.text.style.SuggestionSpan
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputMethodManagerService.java | 93 import android.text.style.SuggestionSpan; 322 private final LruCache<SuggestionSpan, InputMethodInfo> mSecureSuggestionSpans =
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 280 import android.text.style.SuggestionSpan; 14732 || SuggestionSpan.ACTION_SUGGESTION_PICKED.equals(action) in checkBroadcastFromSystem()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |