Home | History | Annotate | Download | only in method

Lines Matching refs:Selection

21 import android.text.Selection;
29 * A movement method that provides cursor movement and selection.
39 return layout.getLineTop(layout.getLineForOffset(Selection.getSelectionEnd(buffer)));
72 return Selection.extendLeft(buffer, layout);
74 return Selection.moveLeft(buffer, layout);
82 return Selection.extendRight(buffer, layout);
84 return Selection.moveRight(buffer, layout);
92 return Selection.extendUp(buffer, layout);
94 return Selection.moveUp(buffer, layout);
102 return Selection.extendDown(buffer, layout);
104 return Selection.moveDown(buffer, layout);
115 final int previousSelectionEnd = Selection.getSelectionEnd(buffer);
117 Selection.extendUp(buffer, layout);
119 Selection.moveUp(buffer, layout);
121 if (Selection.getSelectionEnd(buffer) == previousSelectionEnd) {
139 final int previousSelectionEnd = Selection.getSelectionEnd(buffer);
141 Selection.extendDown(buffer, layout);
143 Selection.moveDown(buffer, layout);
145 if (Selection.getSelectionEnd(buffer) == previousSelectionEnd) {
159 Selection.extendSelection(buffer, 0);
161 Selection.setSelection(buffer, 0);
169 Selection.extendSelection(buffer, buffer.length());
171 Selection.setSelection(buffer, buffer.length());
180 return Selection.extendToLeftEdge(buffer, layout);
182 return Selection.moveToLeftEdge(buffer, layout);
190 return Selection.extendToRightEdge(buffer, layout);
192 return Selection.moveToRightEdge(buffer, layout);
202 return Selection.moveToPreceding(buffer, wordIterator, isSelecting(buffer));
211 return Selection.moveToFollowing(buffer, wordIterator, isSelecting(buffer));
257 // re-tap on the selection to enable long press
260 // Update selection as we're moving the selection area.
265 Selection.extendSelection(buffer, offset);
282 Selection.extendSelection(buffer, offset);
302 Selection.setSelection(text, 0);
310 Selection.setSelection(text, text.length());
313 Selection.setSelection(text, text.length());