Searched refs:highlightPaths (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/text/ |
D | LayoutTest.java | 667 List<Path> highlightPaths = new ArrayList<>(); in highContrastTextEnabled_testDrawSelectionAndHighlight_drawsHighContrastSelectionAndHighlight() local 673 highlightPaths.add(selectionPath); in highContrastTextEnabled_testDrawSelectionAndHighlight_drawsHighContrastSelectionAndHighlight() 683 layout.draw(c, highlightPaths, highlightPaints, selectionPath, selectionPaint, in highContrastTextEnabled_testDrawSelectionAndHighlight_drawsHighContrastSelectionAndHighlight() 720 List<Path> highlightPaths = new ArrayList<>(); in highContrastTextEnabled_testDrawHighlight_drawsHighContrastHighlight() local 726 highlightPaths.add(selectionPath); in highContrastTextEnabled_testDrawHighlight_drawsHighContrastHighlight() 736 layout.draw(c, highlightPaths, highlightPaints, /* selectionPath= */ null, in highContrastTextEnabled_testDrawHighlight_drawsHighContrastHighlight() 773 List<Path> highlightPaths = new ArrayList<>(); in highContrastTextDisabledByDefault_testDrawHighlight_drawsNormalHighlightBehind() local 779 highlightPaths.add(selectionPath); in highContrastTextDisabledByDefault_testDrawHighlight_drawsNormalHighlightBehind() 788 layout.draw(c, highlightPaths, highlightPaints, /* selectionPath= */ null, in highContrastTextDisabledByDefault_testDrawHighlight_drawsNormalHighlightBehind() 825 List<Path> highlightPaths = new ArrayList<>(); in highContrastTextEnabledButFlagOff_testDrawHighlight_drawsNormalHighlightBehind() local [all …]
|
/frameworks/base/core/java/android/text/ |
D | Layout.java | 491 @Nullable List<Path> highlightPaths, in draw() argument 512 drawWithoutText(canvas, highlightPaths, highlightPaints, selectionPath, selectionPaint, in draw() 522 drawHighlights(canvas, highlightPaths, highlightPaints, selectionPath, selectionPaint, in draw() 590 @Nullable List<Path> highlightPaths, in drawWithoutText() argument 598 drawHighlights(canvas, highlightPaths, highlightPaints, selectionPath, selectionPaint, in drawWithoutText() 607 @Nullable List<Path> highlightPaths, in drawHighlights() argument 614 if (highlightPaths == null && highlightPaints == null) { in drawHighlights() 620 if (highlightPaths != null) { in drawHighlights() 625 if (highlightPaints.size() != highlightPaths.size()) { in drawHighlights() 630 for (int i = 0; i < highlightPaths.size(); ++i) { in drawHighlights() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 2096 List<Path> highlightPaths, in onDraw() argument 2122 drawLayout(canvas, layout, highlightPaths, highlightPaints, selectionHighlight, in onDraw() 2151 drawLayout(canvas, layout, highlightPaths, highlightPaints, selectionHighlight, in onDraw() 2156 private void drawLayout(Canvas canvas, Layout layout, List<Path> highlightPaths, 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()
|