Lines Matching refs:selEnd
86 int selStart, selEnd;
98 selEnd = Math.max(a, b);
100 if (selStart < 0 || selEnd < 0) {
101 selStart = selEnd = 0;
115 if (count > 0 && selStart == selEnd && selStart > 0) {
139 if (selStart == selEnd) {
140 start = selEnd;
142 while (start > 0 && selEnd - start < 4 &&
152 String hex = TextUtils.substring(content, start, selEnd);
158 Selection.setSelection(content, selStart, selEnd);
173 if (activeStart == selStart && activeEnd == selEnd) {
176 if (selEnd - selStart - 1 == 0) {
188 Selection.setSelection(content, selEnd);
190 selStart = selEnd;
217 if (selStart != selEnd) {
218 Selection.setSelection(content, selEnd);
223 content.replace(selStart, selEnd, String.valueOf((char) i));
226 selEnd = Selection.getSelectionEnd(content);
228 if (oldStart < selEnd) {
230 oldStart, selEnd,
234 Selection.setSelection(content, oldStart, selEnd);
235 content.setSpan(TextKeyListener.ACTIVE, oldStart, selEnd,
280 selEnd = Selection.getSelectionEnd(content);
281 if (selEnd - 3 >= 0) {
282 if (content.charAt(selEnd - 1) == ' ' &&
283 content.charAt(selEnd - 2) == ' ') {
284 char c = content.charAt(selEnd - 3);
286 for (int j = selEnd - 3; j > 0; j--) {
296 content.replace(selEnd - 2, selEnd - 1, ".");
305 && selStart == selEnd) {