4dd4314744022566af2c53cd5bb79d19faae21a0 |
|
02-May-2018 |
Tony Mak <tonymak@google.com> |
WIDGET_TYPE_UNSELECTABLE_TEXTVIEW is missing in the WidgetType Test: None Bug: 72534351 Change-Id: I9cde8d98d2cd32aae91513fd65010011e3570470
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
4f9d750e91061923da90ef174a592fc59d0eff9e |
|
07-Apr-2018 |
Jan Althaus <jalt@google.com> |
Merge "Remove legacy logger" into pi-dev
|
5a03094ebc91df1c64a2232be648ac3ed26657ce |
|
04-Apr-2018 |
Jan Althaus <jalt@google.com> |
Remove legacy logger Migrate DefaultLogger implementation to SelectionSessionLogger. This cleans up after the API refactor and fixes two bugs: - All events are currently logged twice. - Interfaces accept a null signature, but it currently crashes the legacy logger. Bug: 73392698 Bug: 77659305 Test: atest FrameworksCoreTests:TextClassificationManagerTest Test: atest FrameworksCoreTests:TextClassificationTest Test: atest CtsViewTestCases:TextClassificationManagerTest Test: atest CtsViewTestCases:TextClassifierValueObjectsTest Test: atest CtsWidgetTestCases:TextViewTest Test: atest CtsWidgetTestCases:EditTextTest Test: Manually examined logs Change-Id: I0d2b925abf5cab12d71fc2cc0fa527530c86ab10
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
5f77b6a35a6de6b3c7439ef8432e5992c31dfb2b |
|
05-Apr-2018 |
Richard Ledley <rledley@google.com> |
Add null check for Nullable argument. Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest FrameworksCoreTests:android.view.textclassifier.TextLinksTest Bug: 77624093 Change-Id: I527c4e7f6758c699d4d4e7258cf8474f833040c7
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
7b7e87eeb522c18c9808e6cb03cdc6dd307d7ae2 |
|
05-Apr-2018 |
Richard Ledley <rledley@google.com> |
Merge "Use Collection instead of List for entity list" into pi-dev
|
ab669a01a7cbb77107e4335f4940f4e39da0e2d7 |
|
03-Apr-2018 |
Richard Ledley <rledley@google.com> |
Use Collection instead of List for entity list Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest FrameworksCoreTests:android.view.textclassifier.TextLinksTest Bug: 76448224 Change-Id: I354fa05f14b22075c2172624925f5b953956f3a4
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
ae82e7ad280e55dca22014c6abc857372229f89c |
|
04-Apr-2018 |
Abodunrinwa Toki <toki@google.com> |
Fix TCS crash due to API changes. - Brings by old deleted APIs and hides them - Except parceling and hidden APIs that won't have been called anyway - Option holds a reference to the Request object so we don't have to rebuild it Bug: 77523413 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: I4277c48a950c3334439649373885ed7fe54f898e
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.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/java/android/view/textclassifier/TextClassifier.java
|
88be5a6cee59868eaee6f7b52fd8b2e6f6f28429 |
|
23-Mar-2018 |
Abodunrinwa Toki <toki@google.com> |
Implement Stateful TextClassifier APIs. Outstanding work tbd in other CLs - Introduce request objects with session Ids - Implement character based indexing for Selection events. This CL hides the old Logger API but still keeps running so that we can check that the modifications to the new API does not break anything. We will remove the old Logger once we're convinced this is stable. Please refer to I3c9ceea0863099fc4f0a5ce5e823c648ee9c4521 for previous reviews related to this CL. 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 Change-Id: Iea744f1fa5964b4399290c31863ebeffa99af8d3
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
6563833cf3c79e8cd211e32357422ae899674437 |
|
16-Mar-2018 |
Abodunrinwa Toki <toki@google.com> |
Fix smart_linkify_enabled flag. The flag should only ensure that smart linkify calls behave in the legacy way instead of totally disabling linkify. Also, to keep the flag consistent with smart_selection_enabled and smart_text_share_enabled flags, the flag should only disable the SmartLinkify (i.e. Linkify.addLinksAsync) feature not TextClassifier APIs (i.e. TextClassifier.generateLinks). Also fixes issue with non-focusable TextViews by firing the primary action instead of showing the floating toolbar. (b/73156794) Bug: 75967597 Bug: 73156794 Test: bit FrameworksCoreTests:android.text.util.LinkifyTest Test: bit CtsTextTestCases:android.text.util.cts.LinkifyTest Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest Test: manual - checked behaviour turning flag on/off Test: manual - checked behaviour with TextView.setFocusableInTouchMode(true/false) Change-Id: I541f60161b9cd63ce7e57235607500f2fb0841e7
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
ad52f4b97c897689d0b4dbfe344229a9970136eb |
|
07-Feb-2018 |
Abodunrinwa Toki <toki@google.com> |
TextClassifierService.onSelectionEvent Bug: 74466564 Bug: 67609167 Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest Test: bit FrameworksCoreTests:android.view.textclassifier.logging.SelectionEventTest Merged-In: Ib5af1ec80a38432d1201fbc913acdc3597d6ba82 Change-Id: Ib5af1ec80a38432d1201fbc913acdc3597d6ba82
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
f1d939910f1c9580297878cd13784a0f4b3be3a4 |
|
02-Mar-2018 |
Abodunrinwa Toki <toki@google.com> |
Merge textclassifier/logging/ into textclassifier/ This is based on feedback on Ib5af1ec80a38432d1201fbc913acdc3597d6ba82 Bug: 74466564 Bug: 67609167 Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest Test: bit CtsViewTestCases:android.view.textclassifier.cts.LoggerTest Merged-In: Ic8d58acb2bbd63cedcac4aa16940b4ac852aadc8 Change-Id: Ic8d58acb2bbd63cedcac4aa16940b4ac852aadc8
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
c7073a4b050238457074cc5c290d77bd95bde928 |
|
01-Mar-2018 |
Abodunrinwa Toki <toki@google.com> |
Add TCM.getTextClassifier(int type) Bug: 72747726 Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationConstantsTest Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest Change-Id: I0d6cb5eaf3f9baa0564672c4d4b680fb00f40a51
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
db8fc314d2ac9a2ce3209fe9e842c985e6f57d06 |
|
26-Feb-2018 |
Abodunrinwa Toki <toki@google.com> |
Associate TCconstants with the TCM instead of TCImpl Also updates flags list. Bug: 72946306 Bug: 72946123 Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationConstantsTest Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest Change-Id: I8af9d3d1da01836fbadcbbf6ce7c1c0db7456a05
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
1fc998b0fda051188665e599c891da4a5750581d |
|
16-Feb-2018 |
Richard Ledley <rledley@google.com> |
Replace Entity Presets with hints and an explicit factory. This remove APIs to inspect the list of entities a TextClassifier will choose. We decided the developer should have no need to see these, and by not exposing it we allow more flexibility on the TextClassifier. Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest FrameworksCoreTests:android.view.textclassifier.TextLinksTest Bug: 67629726 Change-Id: I70978e692bb8a1edee1567a10c31d5ded44baa49
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
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/java/android/view/textclassifier/TextClassifier.java
|
3bb443613820c7e54512cef9659ef2e9428243c6 |
|
05-Dec-2017 |
Abodunrinwa Toki <toki@google.com> |
Implement TextClassifier.getLogger API - Introduces getLogger() API. - A logger should run in the client's process. This helps us manage sessions specific to a client. - The logger exposes a tokenizer that clients may use to tokenize strings for logging purposes. - Logger subclasses need to provide a writeEvent() implementation. - SelectionEvent is serializable over IPC. - Logger takes care of the session management. It writes session specific information into the SelectionEvent. - We still keep the SmartSelectionEventTracker for now so clients can slowly move off of it. The plan is to delete it. - The plan is to include support other event types. e.g. link events. Bug: 64914512 Bug: 67609167 Test: See topic Change-Id: Ic9470cf8f969add8a4c6570f78603d0b118956cd
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
d32906c202db3b84151c310ecd89a07bb41208f7 |
|
18-Jan-2018 |
Abodunrinwa Toki <toki@google.com> |
Introduce a TextClassifierManagerService. Apps wanting to use a TextClassifier service (instead of an in-app-process TextClassifier) bind to this service. The service binds to and reroutes calls to a configured system TextClassifierService. TextClassifierManagerService manages the lifecycle of the configured TextClassifierService and binds/unbinds to preserve system health. A configurable TextClassifierService extends TextClassifierService, declares an android.textclassifier.TextClassifierService intent, and requires a permission that is only granted to the system so only the system may bind to it. The TextClassifierManagerService implements a similar interface to TextClassifierService (i.e. ITextClassifierService) but doesn't have to. This is done for simplicity sake and things may change in the future. The configuration of the default service is in config.xml. OEMs may change this with a config overlay. If no TextClassifierService is specified, the default in app process TextClassifierImpl is used. Bug: 67609167 Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest Test: tbd Change-Id: I8e7bd6d12aa1a772897529c3b12f47f48757cfe6
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
705b9e9a1b435c7b8ab3b47d300ced487ed2262e |
|
22-Jan-2018 |
Jan Althaus <jalt@google.com> |
Adding intent generation for dates and flights Bug: 67667478 Test: Added, and manually verified intent handling Change-Id: Ib9e5a0df651690c852b7f44f226ffa768ce524e1
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
1331068084d94141c06179506566093615f26151 |
|
18-Jan-2018 |
Jan Althaus <jalt@google.com> |
Fixing incorrect doc string Test: N/A Change-Id: I718c44902c44097b5883fd1f204ef66279b5cca4
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
0d9fbb9bd15fb1c6eae171d316a2de65aaffeb48 |
|
28-Nov-2017 |
Jan Althaus <jalt@google.com> |
Making TextClassifier helper objects parcelable - EntityConfidence is no longer generic because it doesn't mix well with being Parcelable. - Deprecated OnClick listeners in TextClassification as they can't be parceled. (Outright removed the secondary listeners that were not part of any release) - Classes that were present in previous releases have their parceling factored out into ParcelableWrapper helper classes for backwards compatibility. Bug: 67609167 Test: Added Change-Id: I820ca4abc6b80f90007ab4424bc5df2a14f797b0
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
db18a578f1aa2e39f88a53eab962ed6470ca2fe1 |
|
30-Nov-2017 |
Richard Ledley <rledley@google.com> |
Add entity types to Options. Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest Bug: b/67629726 Change-Id: I9cad0159ab539a71d9f504019ebe91fe18206d60
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
5db9a911354271abdc13a2a645d0de7d2619010e |
|
09-Dec-2017 |
Jeff Sharkey <jsharkey@android.com> |
Add auto-doc support for @StringDef. Behaves pretty much the same as @IntDef, but now supports "suffix" in addition to "prefix" when matching constants. Test: manual docs output looks sane Bug: 70406696 Change-Id: I35064b0f9f36f1f13ccdb40302d818a004014f15
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
008f387e8344f9f98149856cd737086c14752f4d |
|
27-Nov-2017 |
Abodunrinwa Toki <toki@google.com> |
Add a signature to TextSelection and TextClassification 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
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
4d232d6243af42e2784664f6fab040e853f05223 |
|
23-Nov-2017 |
Abodunrinwa Toki <toki@google.com> |
TextClassifier cleanup #1 - Introduces TextClassifier methods that do not take options - Adds warning to TextClassifier implementations not to implement or call certain default methods. Ideally, only one of the overloaded interface methods (the one that takes Options) needs to be implemented - Changes TextLinks.Options to a mutable type - Updates tests TODO: Introduce a TextClassification.Builder.setDefaultAction(...) and change addAction(...) to addExtraAction(...). TODO: Cts test to validate input params. Bug: 68846316 Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest Change-Id: I9a12935388e16a9b57567a71c97afaee63405183
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
6c37c45e2852bdc2ae17772b6dadeea622803523 |
|
08-Nov-2017 |
Richard Ledley <rledley@google.com> |
Remove old getLinks method Test: N/A Change-Id: I324887ec45823d8ec9199a203631c4572b7f3142
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
68d945234667d11a65a924a7cdc1f5753a41a80f |
|
05-Oct-2017 |
Richard Ledley <rledley@google.com> |
Initial implementation of generateLinks Test: Included, and ag/3141575 Change-Id: Ia91aa130e95ff347c55981b68b8d975bc8131a73
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
2b6020fc80dc239114ecc7ecd501d382d4883641 |
|
28-Oct-2017 |
Abodunrinwa Toki <toki@google.com> |
Optional parameters for TextClassifier APIs. TextClassifier methods now take a @Nullable Options parameter which is a container for optional parameters to its methods. This way, if we need to pass an optional parameter to one of TextClassifier's methods, we won't have to overload the method. Instead, we'll introduce a new Options field. This CL also adds a hidden optional field for suggestSelection. This is used to make sure that "dark launched" models do not return new selection indices to clients. Clients e.g. TextView that are dark-launch aware may use the field to explicitly request for dark-launch results. Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest Test: Also see I843eadff8a2b674388055364c1f25c8d4ccea771 Change-Id: I58e44451ac8a8e3a5bc3959198447f5549870902
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
33ff200cbf5595f931ec38422cc0d4351990b762 |
|
24-Oct-2017 |
Abodunrinwa Toki <toki@google.com> |
Update TextClassifier Javadoc. Bug: 65112496 Test: none Change-Id: Id3732a2c8ed372be0f717346e6aa92b9e614ad04
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
0e6b43ed58074725d8021401ded8e22a685d15e1 |
|
20-Sep-2017 |
Abodunrinwa Toki <toki@google.com> |
Flags to enable/disable smart selection in EditText 1. smart_selection_enabled_for_edit_text Disables smart selection for editable text. 2. smart_selection_dark_launch Dark launch TextClassifierImpl.suggestSelection(...) In this mode we run the method, but never change the user's selection to measure the quality of the results based on what the user actually wanted. Bug: 65959640 Test: Manually tested flags turn on/off feature with 'adb shell settings put global' and GServices override. Test: bit FrameworksCoreTests:android.provider.SettingsBackupTest Change-Id: Iacc561c8ee004b0123de66ad1ee06b1f56b4e4b4
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
692b196cc12f6852b0bb9009c882a69b67dda4d8 |
|
15-Aug-2017 |
Abodunrinwa Toki <toki@google.com> |
Introduce SmartSelectionEventTracker. This will be used for logging text selection interaction. Bug: 64914512 Test: No test. Everything builds fine. Change-Id: Idb28864e0fc969be05d81855b2e7cd8389bd835e
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
9115eeb483d70e01b7a98dc0ec197556d0e97a1b |
|
23-May-2017 |
Abodunrinwa Toki <toki@google.com> |
Make TextClassifier.getLinks(...) a default method. Fixes: 37907518 Test: cts-tradefed run cts-dev -o -m CtsSignatureTestCases -t android.signature.cts.SignatureTest Change-Id: I876781eccb2574ea01b6b460e14afd4e970a01b4
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
1d77557517918258cbf4264e647a138d1b9b648f |
|
08-May-2017 |
Abodunrinwa Toki <toki@google.com> |
TRON: Count smart selection events. Logs: - Smart selection occured - TextView menu item activated on smart selection - Smart selection reset - Smart selection modified Test: Manually checked logging happens as per go/tron-howto and verified nothing is broken in related classes by running: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest bit FrameworksCoreTests:android.widget.TextViewActivityTest Bug: 32572232 Change-Id: Ia9081d92ae9aea50d863455be770eecd0c73be1a
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
e0b57893c68a685d287664df28467694a39e4432 |
|
28-Apr-2017 |
Abodunrinwa Toki <toki@google.com> |
TextClassifier: API rename getTextClassificationResult() -> classifyText() TextClassificationResult -> TextClassification Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest Bug: 37769880 Change-Id: I2d926e89058babf06bcff390bee3a45e965984e8
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
85ae12aee1a5d75aedf30651740c95ea5f1f6212 |
|
21-Apr-2017 |
Abodunrinwa Toki <toki@google.com> |
Hide TextClassifier.getLinks API. Test: none Bug: 37565246 Change-Id: I275a9d055ef0ab68f3ca339c37ee939257c4bd54
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
45cb3e6c1fce0792fe0222e4ae8e16eda49084ad |
|
29-Mar-2017 |
Abodunrinwa Toki <toki@google.com> |
Hide TextClassifier.EntityType from the public API. Test: current.txt and friends updated correctly. Bug: 35959173 Change-Id: I74011020a4e509bad98b94738d2e929fc068d9ae
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
9841ea07c044e5f28f387198a233adbd9ba19ce2 |
|
22-Mar-2017 |
Abodunrinwa Toki <toki@google.com> |
TextClassifier cleanup. - Remove "removed" methods. - Temporarily log more information about the classification result. Test: Successfully builds. Manually inspected logs. Change-Id: I81312ac9992c08ce6137610bd16b339777f8f1fc
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
4cfda0beefc7f21f1818c689ca54dd11480c68f2 |
|
28-Feb-2017 |
Abodunrinwa Toki <toki@google.com> |
TextClassifier: Introduce LocaleList in the API. Test: API change. Ensured that tests (see topic) compiles Bug: 35257733 Change-Id: I036af7948fcd691b8a7de586a9cc1b3165946f8a
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
9b4c82a83cc3c1aafac2325d7a601ba3e090b90b |
|
06-Feb-2017 |
Abodunrinwa Toki <toki@google.com> |
TextClassifierImpl: Handle urls. This cl also updates label strings, renames an internal method, and fixes some bugs in TextClassifierImpl caught by tests. Test: See: I31ee94177e58c986e61e9b24c6c5816fa4b022e1 Bug: 34778263 Bug: 34922928 Change-Id: Ibf60d345d462dfc8a13dead6f01053f1ae50f35a
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|
f001fefff3745c29e2ff6903d69ad921df1ea277 |
|
05-Jan-2017 |
Abodunrinwa Toki <toki@google.com> |
Update TextAssistant interface. Rename to TextClassifier Move to android.view.textclassifier package Adds getTextClassifierInfo(...) Changes addLinks(...) to getLinks(...) This CL also integrates this interface with framework components and passes a context to TextClassificationManager. Test: Tests will be added with implementation. Bug: 34661057 Change-Id: If9e90f034ebb702c1f78e72b6a844f39eebf738f
/frameworks/base/core/java/android/view/textclassifier/TextClassifier.java
|