Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DEditor.java6123 private int mPrevLineDuringDrag; field in Editor.SelectionHandleView.InsertionPointCursorController
6154 mPrevLineDuringDrag = getLineDuringDrag(event); in positionCursorDuringDrag()
6155 int offset = mTextView.getOffsetAtCoordinate(mPrevLineDuringDrag, event.getX()); in positionCursorDuringDrag()
6179 if (mPrevLineDuringDrag == UNSET_LINE) { in getLineDuringDrag()
6180 return getCurrentLineAdjustedForSlop(layout, mPrevLineDuringDrag, event.getY()); in getLineDuringDrag()
6189 int line = getCurrentLineAdjustedForSlop(layout, mPrevLineDuringDrag, cursorY); in getLineDuringDrag()
6194 if (line < mPrevLineDuringDrag) { in getLineDuringDrag()
6198 return Math.min(mPrevLineDuringDrag, in getLineDuringDrag()
6199 getCurrentLineAdjustedForSlop(layout, mPrevLineDuringDrag, fingerY)); in getLineDuringDrag()
6206 (int) fingerY, (int) cursorY, mPrevLineDuringDrag, line); in getLineDuringDrag()
[all …]