Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DEditor.java1273 final int lastTapPosition = getLastTapPosition(); in onFocusChanged() local
1274 if (lastTapPosition >= 0) { in onFocusChanged()
1275 Selection.setSelection((Spannable) mTextView.getText(), lastTapPosition); in onFocusChanged() local
1396 int lastTapPosition = mSelectionModifierCursorController.getMinTouchOffset(); in getLastTapPosition() local
1397 if (lastTapPosition >= 0) { in getLastTapPosition()
1399 if (lastTapPosition > mTextView.getText().length()) { in getLastTapPosition()
1400 lastTapPosition = mTextView.getText().length(); in getLastTapPosition()
1402 return lastTapPosition; in getLastTapPosition()