Lines Matching refs:after
68 * cursor or selection start may end up after all the keyboard-triggered updates have passed. We
235 // TODO: this is not correct! The cursor is not necessarily after the composing text.
329 * Gets the caps modes we should be in after this specific string.
332 * This method also supports faking an additional space after the string passed in argument,
340 * @param hasSpaceBefore if we should consider there should be a space after the string.
358 // information but not enough to determine the caps mode accurately. This may happen after
415 // TODO: the following is incorrect if the cursor is not immediately after the composition.
653 final CharSequence after = mIC.getTextAfterCursor(Constants.EDITOR_CONTENTS_CACHE_SIZE,
655 if (before == null || after == null) {
672 // Find last word separator after the cursor
674 while (++endIndexInAfter < after.length()) {
675 final int codePoint = Character.codePointAt(after, endIndexInAfter);
686 || SpannableStringUtils.hasUrlSpans(after, 0, endIndexInAfter);
691 SpannableStringUtils.concatWithNonParagraphSuggestionSpansOnly(before, after),
698 // If what's after the cursor is a word character, then we're touching a word.
718 final CharSequence after = getTextAfterCursor(1, 0);
719 if (TextUtils.isEmpty(after)) {
722 final int codePointAfterCursor = Character.codePointAt(after, 0);