Home
last modified time | relevance | path

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

/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistVisualizer.java45 final int[] lineBaselines; field in AssistVisualizer.TextEntry
60 this.lineBaselines = node.getTextLineBaselines(); in TextEntry()
124 if (te.lineCharOffsets != null && te.lineBaselines != null) { in logText()
125 final int num = te.lineCharOffsets.length < te.lineBaselines.length in logText()
126 ? te.lineCharOffsets.length : te.lineBaselines.length; in logText()
129 + " baseline=" + te.lineBaselines[j]); in logText()
197 if (te.lineBaselines != null) {
198 for (int j=0; j<te.lineBaselines.length; j++) {
199 canvas.drawLine(0, te.lineBaselines[j] - te.scrollY,
200 te.bounds.right - te.bounds.left, te.lineBaselines[j] - te.scrollY,
/frameworks/base/core/java/android/widget/
DTextView.java11531 final int[] lineBaselines = new int[bottomLine - topLine + 1]; in onProvideStructure() local
11535 lineBaselines[i - topLine] = layout.getLineBaseline(i) + baselineOffset; in onProvideStructure()
11537 structure.setTextLines(lineOffsets, lineBaselines); in onProvideStructure()