Lines Matching refs:highlight
118 // Used to highlight a word when it is corrected by the IME
1175 void onDraw(Canvas canvas, Layout layout, Path highlight, Paint highlightPaint,
1192 if (!reported && highlight != null) {
1205 if (imm.isWatchingCursor(mTextView) && highlight != null) {
1206 highlight.computeBounds(ims.mTmpRectF, true);
1230 if (highlight != null && selectionStart == selectionEnd && mCursorCount > 0) {
1233 // Has to be done after the IMM related code above which relies on the highlight.
1234 highlight = null;
1238 drawHardwareAccelerated(canvas, layout, highlight, highlightPaint,
1241 layout.draw(canvas, highlight, highlightPaint, cursorOffsetVertical);
1245 private void drawHardwareAccelerated(Canvas canvas, Layout layout, Path highlight,
1252 layout.drawBackground(canvas, highlight, highlightPaint, cursorOffsetVertical,
1645 mCorrectionHighlighter.highlight(info);
2506 // Fallback on the default highlight color when the first span does not provide one
3641 public void highlight(CorrectionInfo info) {