Home
last modified time | relevance | path

Searched refs:highlight (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/text/
DBoringLayout.java383 public void draw(Canvas c, Path highlight, Paint highlightpaint, in draw() argument
385 if (mDirect != null && highlight == null) { in draw()
388 super.draw(c, highlight, highlightpaint, cursorOffset); in draw()
DLayout.java277 public void draw(Canvas canvas, Path highlight, Paint highlightPaint, in draw() argument
284 drawBackground(canvas, highlight, highlightPaint, cursorOffsetVertical, in draw()
550 public void drawBackground(Canvas canvas, Path highlight, Paint highlightPaint, in drawBackground() argument
618 if (highlight != null) { in drawBackground()
620 canvas.drawPath(highlight, highlightPaint); in drawBackground()
/frameworks/base/core/java/android/widget/
DEditor.java1640 void onDraw(Canvas canvas, Layout layout, Path highlight, Paint highlightPaint, in onDraw() argument
1664 if (highlight != null && selectionStart == selectionEnd && mCursorCount > 0) { in onDraw()
1668 highlight = null; in onDraw()
1672 drawHardwareAccelerated(canvas, layout, highlight, highlightPaint, in onDraw()
1675 layout.draw(canvas, highlight, highlightPaint, cursorOffsetVertical); in onDraw()
1679 private void drawHardwareAccelerated(Canvas canvas, Layout layout, Path highlight, in drawHardwareAccelerated() argument
1686 layout.drawBackground(canvas, highlight, highlightPaint, cursorOffsetVertical, in drawHardwareAccelerated()
1733 highlight, highlightPaint, cursorOffsetVertical, blockEndLines, in drawHardwareAccelerated()
1748 layout, highlight, highlightPaint, cursorOffsetVertical, in drawHardwareAccelerated()
1762 private int drawHardwareAcceleratedInner(Canvas canvas, Layout layout, Path highlight, in drawHardwareAcceleratedInner() argument
[all …]
DTextView.java6698 Path highlight = null; in getUpdatedHighlightPath() local
6719 highlight = mHighlightPath; in getUpdatedHighlightPath()
6733 highlight = mHighlightPath; in getUpdatedHighlightPath()
6736 return highlight; in getUpdatedHighlightPath()
6897 Path highlight = getUpdatedHighlightPath(); in onDraw() local
6899 mEditor.onDraw(canvas, layout, highlight, mHighlightPaint, cursorOffsetVertical); in onDraw()
6901 layout.draw(canvas, highlight, mHighlightPaint, cursorOffsetVertical); in onDraw()
6907 layout.draw(canvas, highlight, mHighlightPaint, cursorOffsetVertical); in onDraw()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DTwoWayBindingAdapterTest.java621 BackgroundColorSpan highlight = new BackgroundColorSpan(0xFFFFFF80); in testNoEditableLoop() local
622 text.setSpan(highlight, 0, 5, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in testNoEditableLoop()
/frameworks/base/core/java/android/view/
DView.java20113 private void setDefaultFocusHighlight(Drawable highlight) {
20114 mDefaultFocusHighlight = highlight;
20116 if (highlight != null) {
20120 highlight.setLayoutDirection(getLayoutDirection());
20121 if (highlight.isStateful()) {
20122 highlight.setState(getDrawableState());
20125 highlight.setVisible(getWindowVisibility() == VISIBLE && isShown(), false);
20128 highlight.setCallback(this);