a6b12de7dfaccd61e904d9cb69d9e07d6a9ce377 |
|
12-Dec-2017 |
Siyamed Sinir <siyamed@google.com> |
Add Text APCT tests to Presubmit Ignored flaky tests. Test currently ignored are: - android.text.format.FormatterTest - android.util.util.LinkifyTest - android.text.LineBreakingOverhangsTest Test: None Bug: 70506734 Change-Id: I6ef535c609d99fc6ff4a7887353b1df5ae7dcacb
/frameworks/base/core/tests/coretests/src/android/text/LayoutTest.java
|
3a92fb632b6509610c5c3bf2a117631816a56899 |
|
07-Sep-2017 |
Petar Šegina <psegina@google.com> |
Move IntDef constant definitions outside of the annotation Constant definitions do not currently work in bat_land - they are not reachable from the test, thus breaking the build. Test: lunch bat_land && make tests Test: bit FrameworksCoreTests:android.text.LayoutTest Bug: 65449093 Change-Id: I6c71fe13fc86a8e2a17e49b16fd558c6714c6f5b
/frameworks/base/core/tests/coretests/src/android/text/LayoutTest.java
|
b92c539232900537d5005bcf7cbc8950ff7f42d9 |
|
06-Sep-2017 |
Petar Šegina <psegina@google.com> |
Emit text direction with selection rectangle In order to properly perform the smart select animation on right-to-left and mixed text, we need the information about the direction of the text that is present below the selection rectangle. Test: manual - verify selection still works and that the generated directions match the directions of the text on the screen Test: bit FrameworksCoreTests:android.text.LayoutTest Change-Id: I564ee2db59ab583c9bff807ad0d0dfeacaf1386f
/frameworks/base/core/tests/coretests/src/android/text/LayoutTest.java
|
c7f89450a6cea6ad70e69e21f56404c6dc36eaf1 |
|
14-Aug-2017 |
Petar Šegina <psegina@google.com> |
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
/frameworks/base/core/tests/coretests/src/android/text/LayoutTest.java
|
0fa89d6f62c31a033a9dece9c7cfee2d50dc063d |
|
25-Jul-2017 |
Siyamed Sinir <siyamed@google.com> |
Store line extra in layouts StaticLayout and Dynamic layout changes the values of line bottom and descent according to linespacing modification attributes. This loses information of the real line descent and bottom, which causes some utilities not to be able to draw themselves in correct positions. Examples are cursor drawing to the empty space, BulletSpan not being able to vertically center itself in the line, and DynamicLayout not being able to calculate the last line height properly. This CL stores the extra added to bottom and descent values so that it can be used later. Test: bit CtsTextTestCases:android.text.cts.LayoutTest Test: bit CtsTextTestCases:android.text.cts.StaticLayoutTest Test: bit CtsTextTestCases:android.text.cts.DynamicLayoutTest Test: bit FrameworksCoreTests:android.text.LayoutTest Test: bit FrameworksCoreTests:android.text.StaticLayoutTest Test: bit FrameworksCoreTests:android.text.DynamicLayoutTest Test: bit FrameworksCoreTests:android.text.DynamicLayoutBlocksTest Bug: 30870806 Bug: 33138492 Bug: 25194907 Change-Id: I7a1039e71e4999c75b5f26122fe6239e3ee24868
/frameworks/base/core/tests/coretests/src/android/text/LayoutTest.java
|
02f167c35ad81fce82c0ebc14a15892fb6981866 |
|
06-Jun-2017 |
Roozbeh Pournader <roozbeh@google.com> |
Move tests with private APIs to coretests Tests have been moved from CTS tests, with some small modifications. Test: adb shell am instrument -w -e package android.text com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner Bug: 37780152 Change-Id: I87ce084276db0f1157260bbeb0c9009c5227bfcf
/frameworks/base/core/tests/coretests/src/android/text/LayoutTest.java
|