f299fc03973503b81ca1cb99695d0066c3c6605a |
|
17-May-2018 |
Abodunrinwa Toki <toki@google.com> |
End the TC session on terminal selection event actions This regressed when introducing TC sessions in I3c9ceea0863099fc4f0a5ce5e823c648ee9c4521 When the user triggers a terminal selection event such as "Copy", we should immediately end the session instead of waiting for the "Abandon" event (i.e. selection dismissed) to be included in the logs. Terminal selection events implicitly dismiss a selection and we'd rather distiguish between an actual "selection dismiss" from one that happened because of a "terminal" selection event. This cl also removes the "*" marker used to distinguish the new logging from the old ones. The code for the old logging has already been deleted so no more need for a marker. Bug: 78541105 Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest Change-Id: Iac7d45dbc63e7076683742bd045766a1d927cfc9
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
29cb76849c94bdbd95439e372360a51720c6b067 |
|
11-Apr-2018 |
Abodunrinwa Toki <toki@google.com> |
FloatingActionMode.setOutsideTouchable Make floating toolbar outside-touchable for link action mode in non-selectable TextView. This allows the user to be able to dismiss the toolbar by tapping outside of the toolbar. Bug: 78099871 Bug: 73156794 Bug: 78298142 Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest Test: bit CtsViewTestCases:android.view.cts.ActionModeTest Change-Id: I8e3b460d0b1baee48d4f9cb3f92e73926eeee231
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
080c8542b68cf17a0441862c404cb49ce0e86cfe |
|
27-Mar-2018 |
Abodunrinwa Toki <toki@google.com> |
TextClassifier API updates. 1. Wraps TC queries in Request objects 2. Adds create/destroyTextClassificationSession system APIs 3. Adds the session Ids to system API calls 4. Change setSignature() to setId() on result objects 5. Plumbing to make the API updates work as things currently work 6. Hide Linkify.addLinksAsync APIs Bug: 74461129 Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationTest Test: bit FrameworksCoreTests:android.view.textclassifier.TextSelectionTest Test: bit FrameworksCoreTests:android.view.textclassifier.TextLinksTest Change-Id: I933ada8b37ef9893331a265e3b4fc08e043f1029
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
1d84b1734ddf5c7c0daa59faae995ad1006f42e6 |
|
16-Feb-2018 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Adding maximum input size checks"
|
108aad3c3036e61850cd39f55687626674f47d30 |
|
30-Jan-2018 |
Jan Althaus <jalt@google.com> |
Adding maximum input size checks Bug: 67629726 Test: Added tests and ran core tests Change-Id: Ib6ca53b068731fa0eabcabaed230d7f3ccde1288
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
5f2f820c81633beaddc32692b70e480737cdc5c1 |
|
05-Feb-2018 |
Richard Ledley <rledley@google.com> |
Remove selection on nonselectable text (which would be there if a user tapped Linkified text) if a TextView loses focus. Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest Bug: 67629726 Change-Id: Ifc3039f0c814c422b2d727f837ca9c88abc2ebe8
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
fe20cdd9101c68031a7174c597a43030e167e3b4 |
|
12-Dec-2017 |
Abodunrinwa Toki <toki@google.com> |
Smart Linkify API Uses the TextClassifier to generate links on a background thread. The links are applied on the calling thread. Test: see topic Bug: 67629726 Change-Id: I0f1940a2ffbf19f4436c0a20b0c62e6bbc03cd7a
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
724eff9a3da8cea2d0356186982caa8dd8da33fd |
|
21-Dec-2017 |
Richard Ledley <rledley@google.com> |
Make Linkify links clickable in nonselectable text. Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest\#testToolbarAppearsAfterLinkClickedNonselectable Bug: b/67629726 Change-Id: I94452116453fff1a36f5d567b3a686e92e97a34f
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
26b8722de6fcab8a3b127450bae1534a61918178 |
|
30-Nov-2017 |
Richard Ledley <rledley@google.com> |
Show Floating Toolbar when tapping a selectable TextLink in TextView. Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest\#testToolbarAppearsAfterLinkClicked Bug: b/67629726 Change-Id: Ied7a1903a308db37d0eb288c8e611da8229f381a
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
deb2f49f2ca57226e1e49a623718a1e0f1c083fe |
|
06-Nov-2017 |
Abodunrinwa Toki <toki@google.com> |
Show selection handles even when toolbar is empty. Bug: 64245206 Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest Change-Id: I2e985b12865bc3786f25b88bf6738048cc0e05a4
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
6264cbdd5338a0f890f5d01ffe8186bd4634abcf |
|
06-Nov-2017 |
Abodunrinwa Toki <toki@google.com> |
Implement assertActionModeNotStarted. Bug: 67023680 Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest\#testSetSelectionAndActionMode Change-Id: I96f7ffcd9c26535f152a5fda05a45f468cc3600d
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
89550e8d8ea5098883e7474122ca03e2f15d3f86 |
|
31-Oct-2017 |
Abodunrinwa Toki <toki@google.com> |
Fix failing/flaky TextViewActivityTests These tests are flaky because each negative assertion in Espresso is taking about a minute or two to run. Espresso is waiting that long. This cl solves the issue by: 1. Deprecating and excluding the negative assertions where they are not required for the test to still be meaningful. 2. Re-written to no use negative assertions where possible. 3. Suppress a failing test. We're not getting much value from this anyway. TODO (in incoming cl): Alternative action mode assertions. Change-Id: Ic808f687151d225689d839b4caf4ef0b8d70cff0 Bug: 67023680 Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
4a056a5895e09b5e5e1950672077730313332b1b |
|
05-Aug-2017 |
Abodunrinwa Toki <toki@google.com> |
Fix failing Framework TextView tests. . Fix TextViewActivityTest.testToolbarAndInsertionHandle . Suppress TextViewActivityMouseTest Bug: 29591177 Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest Test: bit FrameworksCoreTests:android.widget.TextViewActivityMouseTest Change-Id: I51edcf4d7e4f179a8b02316cc1cb6314b209baad
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
76b51dc450255bd1774f0309745ceb404b4cc5cf |
|
14-Jul-2017 |
Abodunrinwa Toki <toki@google.com> |
Disable smart sharing for password fields. Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest bit CtsWidgetTestCases:android.widget.cts.TextViewTest Bug: 62340817 Change-Id: Ifbf2c39d9f304251adc8c4acdf1b4fd6914011d8
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
2191418305ca42e4f219020a02f16c045c539755 |
|
17-Jun-2017 |
Siyamed Sinir <siyamed@google.com> |
Migrate core TextView tests to JUnit4 Test: bit FrameworksCoreTests:android.widget.EditorCursorTest bit -t FrameworksCoreTests:android.widget.TextViewActivityMouseTest bit -t FrameworksCoreTests:android.widget.TextViewActivityTest bit -t FrameworksCoreTests:android.widget.TextViewPerformanceTest bit -t FrameworksCoreTests:android.widget.TextViewTest Bug: 31223263 Change-Id: Ib7cc4267b3c9a631aae1d4dd7b18f51d94d3c3ae
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
7b97180ddfdc3dd6b595ac44b5df8dce137e80c6 |
|
23-May-2017 |
Abodunrinwa Toki <toki@google.com> |
Regression test: Menu item title updates. Confirms that Ie87cc256b77b3ec5732f49c000ce4845130fc91c fixes the bug. Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest Bug: 38465735 Change-Id: I72dbc0a7ded106d1dfc53580d0d4dd31d8e8261d
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
ea6cb1215e97232bf96da02e35b6b8e938572eaa |
|
28-Apr-2017 |
Abodunrinwa Toki <toki@google.com> |
Add "Paste as plain text" in TextView's toolbar. Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest Bug: 36179795 Change-Id: Iee0502678adcfb9de58c107b9247a528718b2c40
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
6eecdc934c6050d67a639116cde600c09e5b76bd |
|
11-Apr-2017 |
Abodunrinwa Toki <toki@google.com> |
FloatingToolbar: Rules for ordering menu items. - The assist menu item should always appear first - Only the assist menu item should have an icon + text label The description above enforces the expected UX without breaking existing apps. Previously, apps couldn't have icons + text for a menu item (we only rendered text for such items). If we don't enforce that the assist menu item (android.R.id.textAssist) appears first, then this item could potentially be rendered in a different position for apps that specify an order number lower than that specified for the assist menu item. Test: Included in this cl. Bug: 35989798 Change-Id: I56c71450c850e1d8cd80d54d4e17a6390823485f
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
7557a5a090204dccfd32096af4a6ded1f9bb5b17 |
|
12-Apr-2017 |
Roozbeh Pournader <roozbeh@google.com> |
Revert "Make selection end handle stick to selection at line end." This reverts commit 7c263ddd582abacbbe9c71341a6ef4c704d12100. Fixes: 35944608 Bug: 21305922 Test: Manual Test: Updated CTS and core tests pass. Change-Id: Ic840f8771c3d5850f4f6f44ea199b144cac740c0
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
99e86231851c23a6d198b2abeb880db097c541ae |
|
16-Nov-2016 |
Keisuke Kuroyanagi <ksk@google.com> |
Make TextViewActivityTest stable - typeTextIntoFocusedView intaracts with software keyboard and sometimes unintended text is input. - Update testSelectionHandles_bidi test - longPressOnTextAtIndex instead of doubleClickOnTextAtIndex as double click can be recognized as double click (with the previous click) + click Bug: 30922514 Test: FrameworksCoreTests Change-Id: I78c8f58e9328e64ff5bbfeef22bee1b1225a4485
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
7c263ddd582abacbbe9c71341a6ef4c704d12100 |
|
12-Jan-2017 |
Keisuke Kuroyanagi <ksk@google.com> |
Make selection end handle stick to selection at line end. At line break, one offset can be mapped to two phisical position: previous line end and next line start. Previously, all cursor handles are placed at next line start. With this CL, selection end handle is placed at the previous line end in such cases. Test: FrameworksCoreTests Bug: 21305922 Change-Id: I00d9f9a0cd417ca92534e93b3d3f655cd62f25d3
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
c5b54bae62d5d82a576ca267202675652144185c |
|
25-Oct-2016 |
Abodunrinwa Toki <toki@google.com> |
Make TextViewActivityTests MediumTests Test: This is the test. Change-Id: Ie048f5b4b5988df3dba1b7fd277342abd672987f
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
46ca471d2553ec0d3e6cb1a8ec5e782eb333fd8f |
|
25-Oct-2016 |
Keisuke Kuroyanagi <ksk@google.com> |
Merge "Fix: Selection created by long tap and drag can be empty."
|
68c433d6052b06f3c9688c740dd55c89f8b43d7f |
|
09-Aug-2016 |
Sara Kato <sarakato@google.com> |
Add test doubleTapAndDragToSelect_multiLine Bug: 30687230 Change-Id: I260c641544f69768f0b8f6cf10d51724e7a7b3c3
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
133dfc0068d9f14eb9907a4ca77e4e87e8a705e4 |
|
21-Jul-2016 |
Keisuke Kuroyanagi <ksk@google.com> |
Fix: Selection created by long tap and drag can be empty. Bug: 21302473 Change-Id: Ia81729a402957d25b40d203af3ce69c166f8dc91
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
3c4a67def0bb06397f6db8048cb39e08fbf9cc6c |
|
07-Apr-2016 |
Keisuke Kuroyanagi <ksk@google.com> |
Merge "Rewrite SuggestionsPopupWindowTest using espresso." into nyc-dev am: d119ab9 am: 240c23b * commit '240c23b5340a5a37cb162d3fbef5c880cabca2d8': Rewrite SuggestionsPopupWindowTest using espresso. Change-Id: I70b0a86b391fed471cd2f7d1e14b55c818bab90b
|
31eb74fb2bc33aea6a8054c861a6e7aac7c41f4b |
|
06-Apr-2016 |
Keisuke Kuroyanagi <ksk@google.com> |
Rewrite SuggestionsPopupWindowTest using espresso. - Rewrite existing test about text appearance. - Add new tests for suggestions popup. Bug: 25904136 Bug: 27765262 Change-Id: I12e522436a83fa264cd22176d054877eec411708
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
15485b8cae00133ac46a9b36db8e228aa8e73741 |
|
04-Apr-2016 |
Keisuke Kuroyanagi <ksk@google.com> |
Merge "Make hasTransientState be true only if user created selection is active." into nyc-dev am: fc1d11e am: 51ec6d9 * commit '51ec6d97898d52db6ab692416b665354a45445bb': Make hasTransientState be true only if user created selection is active. Change-Id: Id5ea92b1f4aa36036b92a752ad226b5fba064748
|
183fd5071ea84aab82209c827fa0e4ff84a6b590 |
|
01-Apr-2016 |
Keisuke Kuroyanagi <ksk@google.com> |
Make hasTransientState be true only if user created selection is active. Previously, hasTransientState returned true even when TextView has a selection that hasn't been created by the user. This unnecessarily prevents the TextView from being recycled. This issue was introduced by Ib454b0fbbc2c2f8d198, which fixes that setHasTransientState(true) is not always coupled with setHasTransientState(false). With this CL: hasTransientState will get true when selection action mode is started. hasTransientState will get false when selection is removed. Note that hasTransientState intentionally continues to be true when selection action mode is terminated with preserving selection. Bug: 27913323 Change-Id: I960ddfd7221caeb676c23926af06a8a415dec288
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
cabc670d2ccce6f2b5c67e62a168dd68c21e9e89 |
|
28-Mar-2016 |
Keisuke Kuroyanagi <ksk@google.com> |
Merge "Improve selection handle behavior for bidi text." into nyc-dev am: 1e632ba am: 7c90769 * commit '7c90769e94bca613488fae23623bb3ec1a8e92a1': Improve selection handle behavior for bidi text.
|
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/TextViewActivityTest.java
|
4bc3c9c100901ea10c755d78c4dd496e021c9379 |
|
18-Mar-2016 |
Siyamed Sinir <siyamed@google.com> |
resolve merge conflicts of 75bf818 to master Change-Id: I351ef203a683d4c96f43dda26032d05b63726f57
|
987ec6588b2279891179c9eff09fc25ec14430c4 |
|
18-Feb-2016 |
Siyamed Sinir <siyamed@google.com> |
Do not use hint text for Editor cursor positioning When hint text is used for cursor positioning, the cursor may end up in opposite direction when the locale and the hint text directions are different. This CL uses the main text layout and discards the hint layout while deciding on the position of those three views. The change also includes fix for cursor and floating popup not displaying for some cases after the change. Bug: 22358087 Change-Id: I083d17b06273bc1d9b67656c5e12d4ff1231219c
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
9327e677050b6ea6b81a8ce0fe10d54b37282dc8 |
|
15-Mar-2016 |
Keisuke Kuroyanagi <ksk@google.com> |
Merge "Stop automatically creating selection action mode." into nyc-dev am: 126fdf1082 am: 6229859e06 * commit '6229859e0698738df30f284ec72c02aed101ec55': Stop automatically creating selection action mode.
|
c477b5830af5f9e87069fae4ff87a2a6b3e275fb |
|
15-Mar-2016 |
Keisuke Kuroyanagi <ksk@google.com> |
Stop automatically creating selection action mode. With Ic025c109539c3b5963, selection action mode is created always when selection is made. It causes distraction in some cases. This CL fixes this issue. This CL stops starting selection action mode when action mode is currently not active and not intended to restart. Bug: 27536744 Bug: 27551819 Change-Id: I94ee66864000934a21ef0d18c1d71429c67114fa
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
9479d3ebe2457726d5b3624774b5540fb7d1e09c |
|
09-Mar-2016 |
Abodunrinwa Toki <toki@google.com> |
Implement CustomViewActions.longPressAtRelativeCoordinates This fixes the bug with TextViewActivityTest.testLongPressEmptySpace. Bug: 26717588 Change-Id: Ifcfa1d9ba88a06098318b9aea3cbe1849e2ff924
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
fae4578311970afadca8ee28a47e1e11df00eedd |
|
25-Feb-2016 |
Keisuke Kuroyanagi <ksk@google.com> |
Make drag&drop be atomic for undo/redo. For undo/redo, drag&drop is recorded as a 2 operations, paste and delete. This CL makes drag&drop be atomic operation to be properly undoed/redoed. Bug: 27268820 Change-Id: Ia38d663f046c2c65f348985934f5cfa054b0437e
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
a2756f601865c37f9cc9b58943bd3285cbeb4b49 |
|
26-Jan-2016 |
Keisuke Kuroyanagi <ksk@google.com> |
Merge "TextView tests: drag and drop."
|
e27e0850fe4acbdc911e2e4e6272be10ac2f2779 |
|
08-Jan-2016 |
Keisuke Kuroyanagi <ksk@google.com> |
Add TextView cursor positioning tests for grapheme clusters. Bug: 25375561 Bug: 25730231 Change-Id: I7e77e6de027a81ec0f203a1ff9c24a768ffedae3
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
4307aeb935ab9c824f90d41bf181660c3937b1e4 |
|
07-Dec-2015 |
Keisuke Kuroyanagi <ksk@google.com> |
TextView tests: drag and drop. Long press on a selection starts drag and drop both for tap and mouse. Drag on a selection starts drag and drop for mouse. Bug: 25730231 Change-Id: Idf5df9948f8257433782183464e94cf16b2e372d
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
ae3ecaa27654264ef2168dee218725fbf0f69d40 |
|
10-Dec-2015 |
Keisuke Kuroyanagi <ksk@google.com> |
Merge "TextView test: floating toolbar + drag handle interaction."
|
d2441607bdd829e8a9d5593293f69ced31b5634e |
|
10-Dec-2015 |
Keisuke Kuroyanagi <ksk@google.com> |
Merge "TextView test: insertion handle movement tests."
|
ff375577952dad90bfa28073c67f97db68f106db |
|
10-Dec-2015 |
Keisuke Kuroyanagi <ksk@google.com> |
Merge "Fix selection expansion detection logic."
|
d42cb8ffa77266abe3bcffe98212d313d223a86c |
|
06-Dec-2015 |
Keisuke Kuroyanagi <ksk@google.com> |
TextView tests: tests for improved mouse text selection. - Double tap/long press at line end - Selection handle pops up after making selection by mouse dragging. Bug: 19544351 Change-Id: Ie6a2567c151159b6dea682257efeb17e0feb9f08
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
b0dd77c4115d333527a06cad84bc1c6ea8b4ac8e |
|
02-Dec-2015 |
Keisuke Kuroyanagi <ksk@google.com> |
TextView test: floating toolbar + drag handle interaction. Bug: 25730231 Change-Id: I053c5053b3fc70910b4d0d926632b6c15fcc03be
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
e8b3dd47914a52a229c1726b79fe8f02fb59bb73 |
|
26-Nov-2015 |
Keisuke Kuroyanagi <ksk@google.com> |
TextView test: insertion handle movement tests. Bug: 25730231 Change-Id: Iea6528f414314daf971f11bc090cfccfefee25e1
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
26454141a8c489d84b7d486ad03869ff0f44dfdc |
|
03-Dec-2015 |
Keisuke Kuroyanagi <ksk@google.com> |
Fix selection expansion detection logic. The logic to detect vertical expansion is inverted on RTL text. As a result, the selection handle cannot be moved when it's dragged toward vertically expanding and horizontally shrinking direction. Bug: 25893288 Change-Id: I096595d287261b1287862c6ad27ae7f6f0a73262
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
fc6e25ef6e288cf75d70cf8185ff1c8831428936 |
|
30-Nov-2015 |
Abodunrinwa Toki <toki@google.com> |
TextView tests to check that selection handles appear on selection Bug: 25730231 Change-Id: I66e44b6375e1a76e8537fca5dc5090ff841cc934
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
ec913c0eb6c3cb70f69653ee988d440f47e5cc55 |
|
24-Nov-2015 |
Keisuke Kuroyanagi <ksk@google.com> |
Selection Test: selection handle snaps to word boundaries. Bug: 25730231 Change-Id: I12d3fde4ff5b52aa6673de915c53b6a5f72f4b35
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
cb6e8420cbf8bc4000d4761e38fd6d830fc1aca0 |
|
24-Nov-2015 |
Keisuke Kuroyanagi <ksk@google.com> |
Selection Test: selection handle doesn't pass anther one. Bug: 25730231 Change-Id: Ibca75126a0b2d4320d1f67dc35a2b0ac20fcdcd2
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.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/TextViewActivityTest.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/TextViewActivityTest.java
|
e36c7112e7c48f3c8964f95a2a489d25504356b0 |
|
03-Nov-2015 |
Abodunrinwa Toki <toki@google.com> |
Fix failing TextActivityTest. It seems like setOrientation(...) is not working. Instead, fix the orientation of TextViewActivity to portrait. See: I2f9372997f8301d800109981c6e1a6d4419b641d Bug: 24495166 Change-Id: I0c5480b7ce6ba1fb8e4e4e3daabe94ebccca4dfd
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|
c9e924eb5347872aeec64ed09d1793ac8483ea10 |
|
08-Oct-2015 |
Abodunrinwa Toki <toki@google.com> |
Set device orientation for tests. Some tests were failing in the lab based on device orientation: In landscape mode, the TextView goes into ExtractEditTextMode. This mode behaves a bit differently from typical TextView mode and doesn't support accelerated drag selection (e.g. longpress+drag). This CL adds OrientationUtil that allows test to specify the orientation (portrait/landscape) that the test should run in. This CL also fixes the failing tests. Bug: 24495166 Change-Id: I2f9372997f8301d800109981c6e1a6d4419b641d
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.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/TextViewActivityTest.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/TextViewActivityTest.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/TextViewActivityTest.java
|
223c8392f066823cf4a3a98957960deb80ab1680 |
|
25-Jul-2015 |
Abodunrinwa Toki <toki@google.com> |
Demo functional test for frameworks/core with Espresso - Integrates Espresso - Changes the Instrumentation Test runner to AndroidJUnitRunner - Adds a demo test This will serve as a template for other tests. Change-Id: I10592f5adb404c2aba9dd8676ae2aa5a191ad336
/frameworks/base/core/tests/coretests/src/android/widget/TextViewActivityTest.java
|