Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/inputmethod/
DTextBoundsInfo.java351 final int[] lineRange = new int[2]; in getOffsetForPosition() local
353 getLineInfo(y, lineRange, lineBounds); in getOffsetForPosition()
355 if (lineRange[0] == -1 || lineRange[1] == -1) return -1; in getOffsetForPosition()
356 final int lineStart = lineRange[0]; in getOffsetForPosition()
357 final int lineEnd = lineRange[1]; in getOffsetForPosition()
/frameworks/base/core/java/android/text/
DLayout.java504 final long lineRange = getLineRangeForDraw(canvas); in draw() local
505 int firstLine = TextUtils.unpackRangeStartFromLong(lineRange); in draw()
506 int lastLine = TextUtils.unpackRangeEndFromLong(lineRange); in draw()
558 final long lineRange = getLineRangeForDraw(canvas); in drawText() local
559 int firstLine = TextUtils.unpackRangeStartFromLong(lineRange); in drawText()
560 int lastLine = TextUtils.unpackRangeEndFromLong(lineRange); in drawText()
578 final long lineRange = getLineRangeForDraw(canvas); in drawBackground() local
579 int firstLine = TextUtils.unpackRangeStartFromLong(lineRange); in drawBackground()
580 int lastLine = TextUtils.unpackRangeEndFromLong(lineRange); in drawBackground()
/frameworks/base/core/java/android/widget/
DEditor.java2173 final long lineRange = layout.getLineRangeForDraw(canvas); in drawHardwareAccelerated() local
2174 int firstLine = TextUtils.unpackRangeStartFromLong(lineRange); in drawHardwareAccelerated()
2175 int lastLine = TextUtils.unpackRangeEndFromLong(lineRange); in drawHardwareAccelerated()