Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DLayout.java1461 float bestdist = Math.abs(horizontal.get(lineStartOffset) - horiz); in getOffsetForHorizontal() local
1501 if (dist < bestdist) { in getOffsetForHorizontal()
1502 bestdist = dist; in getOffsetForHorizontal()
1510 if (dist < bestdist) { in getOffsetForHorizontal()
1511 bestdist = dist; in getOffsetForHorizontal()
1518 if (dist <= bestdist) { in getOffsetForHorizontal()
1519 bestdist = dist; in getOffsetForHorizontal()