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.java118 // Used to highlight a word when it is corrected by the IME
1175 void onDraw(Canvas canvas, Layout layout, Path highlight, Paint highlightPaint, argument
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, highlightPain
1245 drawHardwareAccelerated(Canvas canvas, Layout layout, Path highlight, Paint highlightPaint, int cursorOffsetVertical) argument
3641 public void highlight(CorrectionInfo info) { method in class:Editor.CorrectionHighlighter
[all...]
H A DTextView.java388 // a link is pressed). These highlight-related fields do not go in mEditor.
2150 * Sets the text color, size, style, hint color, and highlight color
2411 * Sets the color used to display the selection highlight.
2424 * @return the color used to display the selection highlight
4696 Path highlight = null;
4717 highlight = mHighlightPath;
4731 highlight = mHighlightPath;
4734 return highlight;
4887 Path highlight = getUpdatedHighlightPath();
4889 mEditor.onDraw(canvas, layout, highlight, mHighlightPain
[all...]

Completed in 1265 milliseconds