5f318b62853495f286e011de9cb1571e22431314 |
|
01-Apr-2016 |
Keisuke Kuroyanagi <ksk@google.com> |
Make TextViewActivityTest stable by sleeping between clicks. Bug: 27893257 Change-Id: I2eaaa38b4af9333a46a8702098b4ec0806def538
/frameworks/base/core/tests/coretests/src/android/widget/espresso/TextViewActions.java
|
f0bb87b7c40efeeaee58d4c7b767961c9800463e |
|
08-Feb-2016 |
Keisuke Kuroyanagi <ksk@google.com> |
Improve selection handle behavior for bidi text. A point on a direction boundary can be mapped to two offset and one offset on a direction boundary can be mapped to two points. Previously, paragraph's primary direction is always used for deciding offset and coordinates; thus, handle movement around a direction boundary is often nonintuitive. With this CL: 1. For selection end handle, direction of character at offset - 1 is used for deciding handle shape and position. 2. For getting offset from coordinates, previous offset is used to minimize the offset delta and primary . 3. For getting coordinates form offset, new logic chooses primary or secondary horizontal coordinate depending on the current run direction and paragraph direction. 4. When a handle passes another one because it passes a direction boundary, new logic keeps the handle at the run boundary instead of minimizing the selection. Bug: 19199637 Bug: 21480356 Bug: 21649994 Change-Id: I2a7e87ad08416f4bd01a5f68e006240f77d9036b
/frameworks/base/core/tests/coretests/src/android/widget/espresso/TextViewActions.java
|
a0b3c068810b2bc4ed61d9ad35e9660aa247d2f6 |
|
07-Dec-2015 |
Keisuke Kuroyanagi <ksk@google.com> |
TextView tests: open context menu on right click. - Extend MouseUiController and MouseClickAction to support choosing click button. - Introduce ContextMenuUtils to provide useful methods for context menu testing. Bug: 25730231 Change-Id: I4f04716428b8cfdcf9f953fe8f8d27f5374b0425
/frameworks/base/core/tests/coretests/src/android/widget/espresso/TextViewActions.java
|
46faad60230ade76b6a4944a2b9fae274698ab91 |
|
06-Dec-2015 |
Keisuke Kuroyanagi <ksk@google.com> |
TextView tests: Add mouse triple click tests. Bug: 19544351 Change-Id: I20f1b169915a8013f7786684f97172767c162420
/frameworks/base/core/tests/coretests/src/android/widget/espresso/TextViewActions.java
|
5f71b5afe83ea6a183a9a010c05ce4e1453e264b |
|
03-Dec-2015 |
Keisuke Kuroyanagi <ksk@google.com> |
Make drag handle tests stable. The center position of a drag handle can be outside of the screen. In such cases, selection handle tests can be failed. Changed to drag the visible position to deal with it. Bug: 25730231 Change-Id: Id9270fc03d0f39041f243c9e9d17deca19925e09
/frameworks/base/core/tests/coretests/src/android/widget/espresso/TextViewActions.java
|
2ff41d4afca7216cca4a224228caec2a5efaf278 |
|
02-Dec-2015 |
Keisuke Kuroyanagi <ksk@google.com> |
Add TextView mouse tests for long click and double click. Bug: 19544351 Change-Id: I4f3fe633c01c443441ff0ef1617bad34c17ab508
/frameworks/base/core/tests/coretests/src/android/widget/espresso/TextViewActions.java
|
c24c2bbb69634435d1d9fc97671229df245bd8d0 |
|
24-Nov-2015 |
Keisuke Kuroyanagi <ksk@google.com> |
Add selection handle multiline dragging tests. Bug: 25730231 Change-Id: I23b9e35d7a5ea8d03d8634ffca0e186ea76ebc99
/frameworks/base/core/tests/coretests/src/android/widget/espresso/TextViewActions.java
|
da79ee683d74f2ad7d29147a30f3da17dd0ea6e2 |
|
25-Nov-2015 |
Keisuke Kuroyanagi <ksk@google.com> |
Add selection handle dragging tests. - Set an id for each HandleView to access the hanlde. - Rename DragOnTextViewActions to DragAction to use it for dragging handles. - Introduce HandleCoordinates to provide proper coordinates for handles. More tests will be added in following CLs. Bug: 25730231 Change-Id: I9276bf2f983983ec9aae0ddcf674d3dcee566892
/frameworks/base/core/tests/coretests/src/android/widget/espresso/TextViewActions.java
|
88cabede9bc74ade7d0124cde3d40fadb6c97a85 |
|
08-Oct-2015 |
Keisuke Kuroyanagi <ksk@google.com> |
Add mouse interaction UI test for TextView. Bug: 19544351 Bug: 24475013 Change-Id: If8109ad30a13d5cef4c7aff212b2a8389db0e57d
/frameworks/base/core/tests/coretests/src/android/widget/espresso/TextViewActions.java
|
8a5e1ae2f4e1aaf2db2a217e841371e18851df3f |
|
28-Sep-2015 |
Abodunrinwa Toki <toki@google.com> |
FloatingToolbarEspressoUtils + more TextView selection by touch tests Bug: 24102650 Change-Id: Idd7d8b29ad8cfdf10d75137762bb1cb677bda6b7
/frameworks/base/core/tests/coretests/src/android/widget/espresso/TextViewActions.java
|
ca4aaf3c17fdea4e373accc212867bd9f1e2be7f |
|
22-Sep-2015 |
Abodunrinwa Toki <toki@google.com> |
Add more TextView selection (by touch) tests. This change adds simple tests for: - longpress and drag to select - double-tap and drag to select Bug: 24102650 Change-Id: I8614c8ec430dfc204159a03be409a2361cd7d844
/frameworks/base/core/tests/coretests/src/android/widget/espresso/TextViewActions.java
|
90cdfe0514154bbc008d39f1c99f7a1d2684446c |
|
15-Sep-2015 |
Abodunrinwa Toki <toki@google.com> |
TextViewActions for Espresso-testing TextView. The plan is to add common TextView actions here so they can be used in tests. The locateTextAtIndex method is probably not the most efficient way to locate a particular spot in the TextView but it works well enough and doesn't use any private/hidden APIs. This might make it easy to port this test as CTS. Ideas on alternative implementations for this method are welcome. Bug: 24102650 Change-Id: Ifb07cc86c58bd5833c37919fa9294a2374dba2a0
/frameworks/base/core/tests/coretests/src/android/widget/espresso/TextViewActions.java
|