Home | History | Annotate | Download | only in method

Lines Matching refs:selEnd

61         int selStart, selEnd;
73 selEnd = Math.max(a, b);
75 if (selStart < 0 || selEnd < 0) {
76 selStart = selEnd = 0;
89 if (count > 0 && selStart == selEnd && selStart > 0) {
112 if (selStart == selEnd) {
113 start = selEnd;
115 while (start > 0 && selEnd - start < 4 &&
125 String hex = TextUtils.substring(content, start, selEnd);
131 Selection.setSelection(content, selStart, selEnd);
146 if (activeStart == selStart && activeEnd == selEnd) {
149 if (selEnd - selStart - 1 == 0) {
160 Selection.setSelection(content, selEnd);
162 selStart = selEnd;
189 if (selStart != selEnd) {
190 Selection.setSelection(content, selEnd);
195 content.replace(selStart, selEnd, String.valueOf((char) i));
198 selEnd = Selection.getSelectionEnd(content);
200 if (oldStart < selEnd) {
202 oldStart, selEnd,
206 Selection.setSelection(content, oldStart, selEnd);
207 content.setSpan(TextKeyListener.ACTIVE, oldStart, selEnd,
252 selEnd = Selection.getSelectionEnd(content);
253 if (selEnd - 3 >= 0) {
254 if (content.charAt(selEnd - 1) == ' ' &&
255 content.charAt(selEnd - 2) == ' ') {
256 char c = content.charAt(selEnd - 3);
258 for (int j = selEnd - 3; j > 0; j--) {
268 content.replace(selEnd - 2, selEnd - 1, ".");
275 } else if (keyCode == KeyEvent.KEYCODE_DEL && selStart == selEnd) {