/frameworks/base/core/java/android/text/ |
D | BoringLayout.java | 383 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()
|
D | Layout.java | 277 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/ |
D | Editor.java | 1640 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 …]
|
D | TextView.java | 6698 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/ |
D | TwoWayBindingAdapterTest.java | 621 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/ |
D | View.java | 20113 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);
|