Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/method/
DLinkMovementMethod.java159 int bestStart, bestEnd; in action() local
161 bestStart = -1; in action()
169 bestStart = buffer.getSpanStart(candidates[i]); in action()
175 if (bestStart >= 0) { in action()
176 Selection.setSelection(buffer, bestEnd, bestStart); in action()
183 bestStart = Integer.MAX_VALUE; in action()
190 if (start < bestStart) { in action()
191 bestStart = start; in action()
198 Selection.setSelection(buffer, bestStart, bestEnd); in action()