Searched defs:highlight (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/text/
H A DBoringLayout.java391 public void draw(Canvas c, Path highlight, Paint highlightpaint, argument
393 if (mDirect != null && highlight == null) {
396 super.draw(c, highlight, highlightpaint, cursorOffset);
H A DLayout.java188 * Draw this Layout on the specified canvas, with the highlight path drawn
192 * @param highlight the path of the highlight or cursor; can be null
193 * @param highlightPaint the paint for the highlight
195 * canvas while rendering the highlight
197 public void draw(Canvas canvas, Path highlight, Paint highlightPaint, argument
204 drawBackground(canvas, highlight, highlightPaint, cursorOffsetVertical,
365 public void drawBackground(Canvas canvas, Path highlight, Paint highlightPaint, argument
431 // There can be a highlight even without spans if we are drawing
433 if (highlight !
[all...]
/frameworks/base/core/java/android/widget/
H A DEditor.java138 // Used to highlight a word when it is corrected by the IME
1282 void onDraw(Canvas canvas, Layout layout, Path highlight, Paint highlightPaint, argument
1307 if (highlight != null && selectionStart == selectionEnd && mCursorCount > 0) {
1310 // Has to be done after the IMM related code above which relies on the highlight.
1311 highlight = null;
1315 drawHardwareAccelerated(canvas, layout, highlight, highlightPaint,
1318 layout.draw(canvas, highlight, highlightPaint, cursorOffsetVertical);
1322 private void drawHardwareAccelerated(Canvas canvas, Layout layout, Path highlight, argument
1329 layout.drawBackground(canvas, highlight, highlightPaint, cursorOffsetVertical,
1718 mCorrectionHighlighter.highlight(inf
4006 public void highlight(CorrectionInfo info) { method in class:Editor.CorrectionHighlighter
[all...]

Completed in 475 milliseconds