Lines Matching refs:position

150      * is attached to the window (so its position is still unknown).
172 // Global listener that detects changes in the global position of the TextView
610 // If a URLSpan (web address, email, phone...) is found at that position, select it.
713 final float[] position = TEMP_POSITION;
714 position[0] = positionX;
715 position[1] = positionY;
721 position[0] -= view.getScrollX();
722 position[1] -= view.getScrollY();
725 if (position[0] < 0 || position[1] < 0 ||
726 position[0] > view.getWidth() || position[1] > view.getHeight()) {
731 view.getMatrix().mapPoints(position);
734 position[0] += view.getLeft();
735 position[1] += view.getTop();
747 // We've been able to walk up the view hierarchy and the position was never clipped
760 /** Returns true if the screen coordinates position (x,y) corresponds to a character displayed
761 * in the view. Returns false when the position is in the empty space of left/right of text.
837 // If a tap was used to give focus to that view, move cursor at tap position.
943 // No need to create the controller at that point, no last tap position saved
1994 // Absolute position of the TextView with respect to its parent window
2270 public Object getItem(int position) {
2271 return mSuggestionInfos[position];
2275 public long getItemId(int position) {
2276 return position;
2280 public View getView(int position, View convertView, ViewGroup parent) {
2288 final SuggestionInfo suggestionInfo = mSuggestionInfos[position];
2323 * Returns the suggestion spans that cover the current cursor position. The suggestion
2542 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
2544 SuggestionInfo suggestionInfo = mSuggestionInfos[position];
2872 // Offset from touch position to mPosition
2877 // Where the touch position should be on the handle to ensure a maximum cursor visibility
2879 // Parent's (TextView) previous position in window
2967 getPositionListener().addSubscriber(this, true /* local position may change */);
2969 // Make sure the offset is always considered new, even when focusing at same position
3514 // selection and tap can move cursor from this tap position.
3520 // Remember finger down position, to be able to start selection from there