Searched refs:selectionPaint (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/text/ |
D | LayoutTest.java | 675 Paint selectionPaint = new Paint(); in highContrastTextEnabled_testDrawSelectionAndHighlight_drawsHighContrastSelectionAndHighlight() local 676 selectionPaint.setColor(Color.CYAN); in highContrastTextEnabled_testDrawSelectionAndHighlight_drawsHighContrastSelectionAndHighlight() 677 highlightPaints.add(selectionPaint); in highContrastTextEnabled_testDrawSelectionAndHighlight_drawsHighContrastSelectionAndHighlight() 683 layout.draw(c, highlightPaths, highlightPaints, selectionPath, selectionPaint, in highContrastTextEnabled_testDrawSelectionAndHighlight_drawsHighContrastSelectionAndHighlight() 728 Paint selectionPaint = new Paint(); in highContrastTextEnabled_testDrawHighlight_drawsHighContrastHighlight() local 729 selectionPaint.setColor(Color.CYAN); in highContrastTextEnabled_testDrawHighlight_drawsHighContrastHighlight() 730 highlightPaints.add(selectionPaint); in highContrastTextEnabled_testDrawHighlight_drawsHighContrastHighlight() 781 Paint selectionPaint = new Paint(); in highContrastTextDisabledByDefault_testDrawHighlight_drawsNormalHighlightBehind() local 782 selectionPaint.setColor(Color.CYAN); in highContrastTextDisabledByDefault_testDrawHighlight_drawsNormalHighlightBehind() 783 highlightPaints.add(selectionPaint); in highContrastTextDisabledByDefault_testDrawHighlight_drawsNormalHighlightBehind() [all …]
|
/frameworks/base/core/java/android/text/ |
D | Layout.java | 494 @Nullable Paint selectionPaint, in draw() argument 512 drawWithoutText(canvas, highlightPaths, highlightPaints, selectionPath, selectionPaint, in draw() 522 drawHighlights(canvas, highlightPaths, highlightPaints, selectionPath, selectionPaint, in draw() 593 @Nullable Paint selectionPaint, in drawWithoutText() argument 598 drawHighlights(canvas, highlightPaths, highlightPaints, selectionPath, selectionPaint, in drawWithoutText() 610 @Nullable Paint selectionPaint, in drawHighlights() argument 646 selectionPaint = setToHighlightPaint(selectionPaint, blendMode, in drawHighlights() 649 canvas.drawPath(selectionPath, selectionPaint); in drawHighlights()
|