Searched refs:beforeCursor (Results 1 – 3 of 3) sorted by relevance
167 final CharSequence beforeCursor = getTextBeforeCursor(Constants.EDITOR_CONTENTS_CACHE_SIZE, in checkConsistencyForDebug() local171 if (null == et || null == beforeCursor) return; in checkConsistencyForDebug()172 final int actualLength = Math.min(beforeCursor.length(), internal.length()); in checkConsistencyForDebug()176 final String reference = (beforeCursor.length() <= actualLength) ? beforeCursor.toString() in checkConsistencyForDebug()177 : beforeCursor.subSequence(beforeCursor.length() - actualLength, in checkConsistencyForDebug()178 beforeCursor.length()).toString(); in checkConsistencyForDebug()
693 final CharSequence beforeCursor = subText.subSequence(newBeforeCursorHead, in trimLongSurroundingText() local698 newInitialSurroundingText = TextUtils.concat(beforeCursor, afterCursor); in trimLongSurroundingText()
208 final CharSequence beforeCursor = testText.subSequence( in setOverSizeInitialText_cursorAtMiddle_dividesProportionately() local216 new SurroundingText(TextUtils.concat(beforeCursor, selectedText, afterCursor), in setOverSizeInitialText_cursorAtMiddle_dividesProportionately()