Home | History | Annotate | Download | only in widget

Lines Matching defs:selectionEnd

951         int selectionStart, selectionEnd;
959 selectionEnd = ((Spanned) mTextView.getText()).getSpanEnd(urlSpan);
967 selectionEnd = wordIterator.getEnd(maxOffset);
969 if (selectionStart == BreakIterator.DONE || selectionEnd == BreakIterator.DONE
970 || selectionStart == selectionEnd) {
974 selectionEnd = TextUtils.unpackRangeEndFromLong(range);
978 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd);
979 return selectionEnd > selectionStart;
1094 int selectionEnd = mTextView.getSelectionEnd();
1096 if (selectionStart == selectionEnd) {
1100 if (selectionStart > selectionEnd) {
1102 selectionStart = selectionEnd;
1103 selectionEnd = tmp;
1104 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd);
1111 return ((minOffset >= selectionStart) && (maxOffset < selectionEnd));
1681 outText.selectionEnd = mTextView.getSelectionEnd();
1739 final int selectionEnd = mTextView.getSelectionEnd();
1750 selectionStart, selectionEnd, candStart, candEnd);
1758 final int selectionEnd = mTextView.getSelectionEnd();
1779 if (highlight != null && selectionStart == selectionEnd && mDrawableForCursor != null) {
2265 final int selectionEnd = mTextView.getSelectionEnd();
2266 final SuggestionSpan[] suggestionSpans = spannable.getSpans(selectionStart, selectionEnd,
2271 if (selectionStart == selectionEnd) {
6048 final int selectionEnd = TextUtils.unpackRangeEndFromLong(paragraphsRange);
6049 updateSelectionInternal(selectionStart, selectionEnd,
6053 private void updateSelectionInternal(int selectionStart, int selectionEnd,
6057 || (mTextView.getSelectionEnd() != selectionEnd));
6058 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd);
6094 final int selectionEnd = mTextView.getSelectionEnd();
6095 if (selectionStart < 0 || selectionEnd < 0) {
6097 } else if (selectionStart > selectionEnd) {
6099 selectionEnd, selectionStart);