Home
last modified time | relevance | path

Searched refs:highlightPaints (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
DLayoutTest.java668 List<Paint> highlightPaints = new ArrayList<>(); in highContrastTextEnabled_testDrawSelectionAndHighlight_drawsHighContrastSelectionAndHighlight() local
677 highlightPaints.add(selectionPaint); in highContrastTextEnabled_testDrawSelectionAndHighlight_drawsHighContrastSelectionAndHighlight()
683 layout.draw(c, highlightPaths, highlightPaints, selectionPath, selectionPaint, in highContrastTextEnabled_testDrawSelectionAndHighlight_drawsHighContrastSelectionAndHighlight()
721 List<Paint> highlightPaints = new ArrayList<>(); in highContrastTextEnabled_testDrawHighlight_drawsHighContrastHighlight() local
730 highlightPaints.add(selectionPaint); in highContrastTextEnabled_testDrawHighlight_drawsHighContrastHighlight()
736 layout.draw(c, highlightPaths, highlightPaints, /* selectionPath= */ null, in highContrastTextEnabled_testDrawHighlight_drawsHighContrastHighlight()
774 List<Paint> highlightPaints = new ArrayList<>(); in highContrastTextDisabledByDefault_testDrawHighlight_drawsNormalHighlightBehind() local
783 highlightPaints.add(selectionPaint); in highContrastTextDisabledByDefault_testDrawHighlight_drawsNormalHighlightBehind()
788 layout.draw(c, highlightPaths, highlightPaints, /* selectionPath= */ null, in highContrastTextDisabledByDefault_testDrawHighlight_drawsNormalHighlightBehind()
826 List<Paint> highlightPaints = new ArrayList<>(); in highContrastTextEnabledButFlagOff_testDrawHighlight_drawsNormalHighlightBehind() local
[all …]
/frameworks/base/core/java/android/text/
DLayout.java492 @Nullable List<Paint> highlightPaints, in draw() argument
512 drawWithoutText(canvas, highlightPaths, highlightPaints, selectionPath, selectionPaint, in draw()
522 drawHighlights(canvas, highlightPaths, highlightPaints, selectionPath, selectionPaint, in draw()
591 @Nullable List<Paint> highlightPaints, in drawWithoutText() argument
598 drawHighlights(canvas, highlightPaths, highlightPaints, selectionPath, selectionPaint, in drawWithoutText()
608 @Nullable List<Paint> highlightPaints, in drawHighlights() argument
614 if (highlightPaths == null && highlightPaints == null) { in drawHighlights()
621 if (highlightPaints == null) { in drawHighlights()
625 if (highlightPaints.size() != highlightPaths.size()) { in drawHighlights()
632 Paint highlightPaint = highlightPaints.get(i); in drawHighlights()
/frameworks/base/core/java/android/widget/
DEditor.java2097 List<Paint> highlightPaints, in onDraw() argument
2122 drawLayout(canvas, layout, highlightPaths, highlightPaints, selectionHighlight, in onDraw()
2151 drawLayout(canvas, layout, highlightPaths, highlightPaints, selectionHighlight, in onDraw()
2157 List<Paint> highlightPaints, Path selectionHighlight, Paint selectionHighlightPaint, in drawLayout() argument
2160 drawHardwareAccelerated(canvas, layout, highlightPaths, highlightPaints, in drawLayout()
2164 layout.draw(canvas, highlightPaths, highlightPaints, selectionHighlight, in drawLayout()
2170 List<Path> highlightPaths, List<Paint> highlightPaints, in drawHardwareAccelerated() argument
2180 layout.drawWithoutText(canvas, highlightPaths, highlightPaints, selectionHighlight, in drawHardwareAccelerated()
2260 layout.drawHighlights(canvas, highlightPaths, highlightPaints, selectionHighlight, in drawHardwareAccelerated()