summaryrefslogtreecommitdiff
path: root/core/java/android/widget/TextViewMetrics.java
Commit message (Collapse)AuthorAgeFilesLines
* Add a signature to TextSelection and TextClassificationAbodunrinwa Toki2017-12-041-25/+0
| | | | | | | | | | | | | | | | | | | | | A signature is a tag that a TextClassifier may use to identify an object it returned for a given query. This is useful for logging purposes. This cl also removes: - TextClassification.getLogType() and related logging. This is already covered by selection event logging. - TextClassification.getVersionInfo(), TextSelection.getVersionInfo()/getSourceClassifier(). These are now featured in the signature. TODO: Write a container class that generates and parses signatures. Bug: 69791269 Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest Change-Id: I294f7e4d16c98c6512d56d08d488b204c1f91d47
* TRON: Log "textAssist" actions.Abodunrinwa Toki2017-04-191-4/+29
| | | | | | | | | | - Logs when the assist menu item appears in the text selection menu. - Logs when the assist menu item is selected. - Logs the the type of the assist menu item that was presented. Test: Manually tested by looking at the logs. See: go/tron-howto Bug: 32572232 Change-Id: Ibbbf59423b3f510ab6f2f072962a556c3d6e2f65
* TRON logging for TextView gesture - Long press.Abodunrinwa Toki2016-11-171-0/+40
Bug: 32572232 Test: Manually confirmed that stats were sent for logging by checking adb logs according to go/tron-howto. Change-Id: I1ea09174190247c219ce42f70c7db75148033685