diff options
| author | Petar Šegina <psegina@google.com> | 2017-08-14 16:11:54 +0100 |
|---|---|---|
| committer | Petar Šegina <psegina@google.com> | 2017-08-16 12:43:08 +0100 |
| commit | c7f89450a6cea6ad70e69e21f56404c6dc36eaf1 (patch) | |
| tree | c7be94960df80fb731412a80ed5e1acc50efedce /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
| parent | 572a5618b0c7bfe7bc139f34af16366dee4129ee (diff) | |
Add getSelection and getSelectionPath tests
Adds basic tests that cover the functionality of getSelection and
getSelectionPath. These tests illustrate why, when having a multiline
selection over two lines, four rectangles are generated instead of the
expected two.
Test: bit FrameworksCoreTests:android.text.LayoutTest
Test: bit FrameworksCoreTests:android.text.LayoutTest#testGetSelectionWithEmptySelection
Test: bit FrameworksCoreTests:android.text.LayoutTest#testGetSelectionWithASingleLineSelection
Test: bit FrameworksCoreTests:android.text.LayoutTest#testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter
Test: bit FrameworksCoreTests:android.text.LayoutTest#testGetSelectionWithMultilineSelection_secondLineSelectionEndsAfterACharacter
Test: bit FrameworksCoreTests:android.text.LayoutTest#testGetSelectionPathWithASingleLineSelection
Change-Id: Idc13794c12e5b76dc221c45df99af337457a2fef
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
