History log of /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
604158669b407a40cd0f23538fad4dce5d738f24 15-Jul-2015 Mohammadinamul Sheik <inamul@google.com> [LatinIME] Support MNC permissions.


This build has been compiled against API 23

This build is approved to go out with the M OTA, but may NOT be released
to the public until the Play Store has enabled API level 23 apps

Version: 4.1.2300x.build_id

1. Replaces the personalization is on information with the suggest
contacts.
2. Enables "Use Contacts" only if the app has permission to read
contacts.
3. Disables the contacts dictionary in the Facilitator.
4. Do not register/read the contacts in the contact observer.

Bug: 22236416
Change-Id: I9674e13d0d0f4a2014c5024fde0178de684c07e7
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
0e15ff6b48adfe5d2ff8ac988314f3d5eaaa43de 19-May-2015 Dan Zivkovic <zivkovic@google.com> Fix on-commit bug in AOSP keyboard.

Bug 21272977.

Change-Id: Id561040c29a7f2576cd9ef0514c31751a4360ef8
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
9bad1ac33f65dc3454a689b88560988b77a00a87 04-May-2015 Dan Zivkovic <zivkovic@google.com> Look up thresholds during decoder reset.

Bug 20701628.

Change-Id: I4de89587776a0859aeda5d2ed76ab1eb4f918458
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
f22571e2d9756294fa2fa332a395c06010f54d92 01-May-2015 Dan Zivkovic <zivkovic@google.com> Delete history on upgrade in LatinIME.

Bug 20733902.

Change-Id: Ibe27e6cafe4db87ba62d7df708229e0d8564ffa8
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
459b4f353e6138b644c1f06de68e93532ee0d856 29-Apr-2015 Dan Zivkovic <zivkovic@google.com> Spelling cannot cache words across invocations.

We want to let the facilitator decide if a word is valid or invalid, and cache
the answer in the facilitator's cache. The spell checker session doesn't need
its own word cache, except as a crutch to communicate suggestions to the code
that populates the suggestion drop-down. We leave that in place.

Bug 20018546.

Change-Id: I3c3c53e0c1d709fa2f64a2952a232acd7380b57a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
541ef56e057eb7d81eae6e294ce9eb364f825867 09-Apr-2015 Dan Zivkovic <zivkovic@google.com> Personal dictionary feeds a personal LM.

Bug 20043003.

Change-Id: I5ccac344c089855474263d1cdc547da1e6779301
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
72278d30478335b914b2a9758fda0131bde9c70e 24-Mar-2015 Dan Zivkovic <zivkovic@google.com> Change DictionaryStats to report content version.

Bug 19908719.

Change-Id: I5a00b5277e9cd7d964b53ff5823bada21be110fa
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
755b3d882f9d74ceaec7b59fe618dff3ad54f304 20-Mar-2015 Dan Zivkovic <zivkovic@google.com> Notify the facilitator on IME start/finish.

Allows the facilitator to flush language models without a recurring task.

Bug 19773937.

Change-Id: I01a3c10da26f9df38fee05df33387eb082e2ff33
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
eaa710d4aaac75ff2b7e29608d004fe7662b392e 13-Mar-2015 Dan Zivkovic <zivkovic@google.com> Separate executor for the Spelling decoder.

Bug 19710676.

Change-Id: I6e66eddd507c11e424105869833fe6841b90275d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
107fb4c476779df16be23e245547253978c197ac 12-Mar-2015 Dan Zivkovic <zivkovic@google.com> Remove ALS from LatinIME.

This fixes unit tests and brings us closer to a green build.

Change-Id: Iffcc392eda4a7671a238b79cc7367320ca648725
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
9a289da4e6ea40417422a540e821069d5d6e4a82 11-Mar-2015 Dan Zivkovic <zivkovic@google.com> Remove deprecated distractor filtering methods.

Change-Id: I10ccf75d9c00d66b4e85de6c3c019242f2e90b0e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
bdd6c995cee664e6cd025235be2d00fc439afb1d 11-Mar-2015 Dan Zivkovic <zivkovic@google.com> Delete user history files.

Bug 19669016.

Change-Id: I8069fe561347851bf3c27423dbd8ba99d38c049e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
f9e2d271ca101a53a6aac772ca770242805793ef 09-Mar-2015 Dan Zivkovic <zivkovic@google.com> Use a single background executor.

Bug 19625976.

Change-Id: Ia03f440a31b059b5af42d162e1145330bf7b5ddf
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
38b9bffa3f60785f30d7976879ddf936f747d7dd 05-Mar-2015 Dan Zivkovic <zivkovic@google.com> Handle words longer tha 256 characters.

Bug 19612315.

Change-Id: I75e84df88b4da5cfc6a39b956613972841342c4b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
c809dc26a1e5667de6568ae1ef8c64269f884a4f 03-Mar-2015 Chieu Nguyen <cvnguyen@google.com> Add DictionaryFacilitator dump().

Change-Id: I8b75aded3fc2b9b33128b6ba5a3e8d943dfca352
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
e4619f029e84fd845b0771871218274b99c30ffa 26-Feb-2015 Dan Zivkovic <zivkovic@google.com> Merge "Don't assume that correctable words are invalid"
5551302d275e3f54da9d86bcea633556ad12db8e 26-Feb-2015 Dan Zivkovic <zivkovic@google.com> Don't assume that correctable words are invalid

Currently, the Delight3DictionaryFacilitator sets a boolean flag when the top
suggestion score exceeds the auto-correction threshold. This flag is used to
trigger auto-correction of the typed word. Also, the existing logic assumes
that if allowsToBeAutoCorrected then the word is invalid, which is no longer
true after we stopped using whitelists.

Bug 19518376.

Change-Id: Ifa7f6a09c07d25ac68c6cf3aec91f358bd88689f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
487e038ff329b6099ff5343fb2d7bdc60a6fd699 25-Feb-2015 Mario Tanev <radix@google.com> Use Keyboard in several interfaces.

Simplify interfaces by passing Keyboard instead of
KeyboardLayout and ProximityInfo directly. Also require
the Keyboard passed be non-null and change the SpellChecker
to bail out if there is no keyboard for the locale.

Change-Id: I960f15ff60171f55d3e0a96fd6469b7dc3a045e2
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
2b8d763c65b2482fcdc7efe301907ac18133fa42 10-Feb-2015 Martin Paraskevov <paraskevov@google.com> Pass ComposedData to the decoder instead of WordComposer.

Change-Id: I8bd544d03d9087a02294b08a9986cad229dae795
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
94b8523566a6155f83abe8ba191a3522f7280ce1 24-Feb-2015 Jatin Matani <jatinm@google.com> Pass long timestamps to DictionaryFacilitator

Change-Id: I95500f210ed409c0ff254b08b68fe3b5b59ba4f4
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
83e9a29c3379e9b5a304cffe5ddcbd1188cfa677 20-Feb-2015 Jatin Matani <jatinm@google.com> Remove unused APIs in DIctionaryFacilitator

Change-Id: Iae20a0a3b7c1aa0c2f6d29cef780fb50dc9010cb
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
01b023730ee3d86d60016c21915608376c724442 10-Feb-2015 Jatin Matani <jatinm@google.com> Add tests for Contact* classes

Also add empty implementation for dictionary
facilitator iteration APIs
Change-Id: Ia847e3faa75075c819fcfda89193d1024d2d5aca
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
076f76cc124a98906e643147dc6867488bdbf491 19-Feb-2015 Tom Ouyang <ouyang@google.com> Merge "Add more options for calling removeWordFromPersonalizedDicts."
edea47ff2e901d02b381bf88aa6cb35c4b5ee811 19-Feb-2015 Tom Ouyang <ouyang@google.com> Add more options for calling removeWordFromPersonalizedDicts.

Bug: 19441205

Change-Id: I41aff536a64271d2dc9489a20df33d64170756cc
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
0b03f13cabec84d2d841fde47ce9fec0d531b6a1 18-Feb-2015 Dan Zivkovic <zivkovic@google.com> Sanitize the usage of executors.

There should be 1 executor each for static and dynamic language models.
This prevents too many dynamic LM updates from running in parallel,
competing for resources.

Change-Id: I8ec439e0ea2d92fba275bc20a0b8c9193346a0c1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
4084fa5caeee09ef7993957c5e922dab14c57f3f 09-Feb-2015 Jatin Matani <jatinm@google.com> Refactor content provider code from ContactsDict

Break contacts binary dictionary into two parts
- one that talks to contacts content provider and maintains
local state. Includes a manager class and a content observer
- other one that just manages the dict code.

Change-Id: Ie8f89ac9ce174c803ff3168ee0bee5cbe7721d5b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
a7805e9870430eac3049129d47bebb312d457477 06-Feb-2015 Jatin Matani <jatinm@google.com> Add a addOrIncrement term api to DicFacilitator

The API is used by the decoder to add term to the
dictionary.

Change-Id: I607c8c676b7650f3052b2d3ed3f7f656573fca45
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
644a709a5fec65c3ac1c96f18af397458fac7658 07-Feb-2015 Dan Zivkovic <zivkovic@google.com> Remove distracter filter from client.

Bug 19296201.

Change-Id: Ic834e5956347cd86a96bd14024c42ad8ee258659
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
d6a8adcb044dd8b73a1c96776a835b411a978b46 06-Feb-2015 Dan Zivkovic <zivkovic@google.com> Cleanup in preparation of distracter change.

Bug 19296201.

Change-Id: If016da2b7f4b3ecb9afd6d7aed9d19fbd4938758
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
23d19626f3edd142eab2c58e41e40fdfc27b8b2b 05-Feb-2015 Dan Zivkovic <zivkovic@google.com> Use shared constants in old+new facilitators.

Change-Id: I18b701df6ecbcc20ff0c664c218289179c4b2b2d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
c0eb57124fd295ceb85c3350de3189c40594ee96 05-Feb-2015 Dan Zivkovic <zivkovic@google.com> Don't check user dictionary, except for spelling.

We check different lists of dictionaries based on the use case.

Bug 19270992.

Change-Id: Ide69f2855978ebad32a58e9689b3a8d47e095994
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
b00c054125d9f2aa31c2147920cc52cbf2a45ccc 04-Feb-2015 Mohammadinamul Sheik <inamul@google.com> AOSP changes to use KeyboardLayout to support the new DictionaryFacilitator

Change-Id: Ie0c9ce805d9ad009fc9bbaac37b715aff90cd844
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
0d3f01f3014e7a519b08c9337bc4b73670f741ef 04-Feb-2015 Dan Zivkovic <zivkovic@google.com> Remove last vestiges of contextual+personal dictionary.

Change-Id: I20746381583ee8a4d7d42b1243f5c7ba45529e5e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
23574d1231296e090e6efb41a50c7885a116ddb4 03-Feb-2015 Dan Zivkovic <zivkovic@google.com> LatinIME portion of "green plus" feature.

Removes the feature that adds strings to the user dictionary,
aka the "green highlight with a plus sign".

Bug 19237189.

Change-Id: I2387129a3add2d69d625f2ff16ed8cab3f10a735
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
15acbdc9050a04f3c5d8724bb3902a57084c96db 03-Feb-2015 Jatin Matani <jatinm@google.com> Nuke Amanatto

Change-Id: Ieff2cd37f869dca69abf53ac32a576c2e45cc1e3
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java
ab6f3b36d0303bc4cc1ad0fbbc72a64ca2df0eb2 27-Jan-2015 Mario Tanev <radix@google.com> Change DictionaryFacilitator.java to an interface, create its
implementation DictionaryFacilitatorImpl.java and add a java-overridable
factory DictionaryFacilitatorProvider.java used to create a
DictionaryFacilitator.

Change-Id: Id4a58ae31feaa4d12a048a772c8d76ff82fdee45
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryFacilitatorImpl.java