Home
last modified time | relevance | path

Searched refs:lastTapPosition (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/java/android/widget/
DEditor.java1430 final int lastTapPosition = getLastTapPosition(); in onFocusChanged() local
1431 if (lastTapPosition >= 0) { in onFocusChanged()
1433 logCursor("onFocusChanged", "setting cursor position: %d", lastTapPosition); in onFocusChanged()
1435 Selection.setSelection((Spannable) mTextView.getText(), lastTapPosition); in onFocusChanged() local
1556 int lastTapPosition = mSelectionModifierCursorController.getMinTouchOffset(); in getLastTapPosition() local
1557 if (lastTapPosition >= 0) { in getLastTapPosition()
1559 if (lastTapPosition > mTextView.getText().length()) { in getLastTapPosition()
1560 lastTapPosition = mTextView.getText().length(); in getLastTapPosition()
1562 return lastTapPosition; in getLastTapPosition()