Searched refs:highlight (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/java/android/text/
H A DBoringLayout.java395 public void draw(Canvas c, Path highlight, Paint highlightpaint, argument
397 if (mDirect != null && highlight == null) {
400 super.draw(c, highlight, highlightpaint, cursorOffset);
H A DLayout.java187 * Draw this Layout on the specified canvas, with the highlight path drawn
191 * @param highlight the path of the highlight or cursor; can be null
192 * @param highlightPaint the paint for the highlight
194 * canvas while rendering the highlight
196 public void draw(Canvas canvas, Path highlight, Paint highlightPaint, argument
203 drawBackground(canvas, highlight, highlightPaint, cursorOffsetVertical,
358 public void drawBackground(Canvas canvas, Path highlight, Paint highlightPaint, argument
429 // There can be a highlight even without spans if we are drawing
431 if (highlight !
[all...]
/frameworks/base/core/java/android/widget/
H A DEditor.java120 // Used to highlight a word when it is corrected by the IME
1207 void onDraw(Canvas canvas, Layout layout, Path highlight, Paint highlightPaint, argument
1224 if (!reported && highlight != null) {
1237 if (imm.isWatchingCursor(mTextView) && highlight != null) {
1238 highlight.computeBounds(ims.mTmpRectF, true);
1262 if (highlight != null && selectionStart == selectionEnd && mCursorCount > 0) {
1265 // Has to be done after the IMM related code above which relies on the highlight.
1266 highlight = null;
1270 drawHardwareAccelerated(canvas, layout, highlight, highlightPaint,
1273 layout.draw(canvas, highlight, highlightPain
1277 drawHardwareAccelerated(Canvas canvas, Layout layout, Path highlight, Paint highlightPaint, int cursorOffsetVertical) argument
3678 public void highlight(CorrectionInfo info) { method in class:Editor.CorrectionHighlighter
[all...]
H A DTextView.java517 // a link is pressed). These highlight-related fields do not go in mEditor.
2279 * Sets the text color, size, style, hint color, and highlight color
2540 * Sets the color used to display the selection highlight.
2553 * @return the color used to display the selection highlight
4825 Path highlight = null;
4846 highlight = mHighlightPath;
4860 highlight = mHighlightPath;
4863 return highlight;
5026 Path highlight = getUpdatedHighlightPath();
5028 mEditor.onDraw(canvas, layout, highlight, mHighlightPain
[all...]

Completed in 91 milliseconds