aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Remove unused APIs in DIctionaryFacilitator"Jatin Matani2015-02-212-44/+4
|\
| * Remove unused APIs in DIctionaryFacilitatorJatin Matani2015-02-202-44/+4
| | | | | | | | Change-Id: Iae20a0a3b7c1aa0c2f6d29cef780fb50dc9010cb
* | Merge "Spell checker uses cache of size 1."Dan Zivkovic2015-02-202-78/+21
|\ \ | |/ |/|
| * Spell checker uses cache of size 1.Dan Zivkovic2015-02-202-78/+21
| | | | | | | | | | | | This is a step in the direction of removing the LRU cache completely. Change-Id: I8886f7ef74e6b1b35135e68f169cb461682964e9
* | Add tests for Contact* classesJatin Matani2015-02-204-3/+22
|/ | | | | | Also add empty implementation for dictionary facilitator iteration APIs Change-Id: Ia847e3faa75075c819fcfda89193d1024d2d5aca
* Rename in preparation of caching an instance.Dan Zivkovic2015-02-192-2/+2
| | | | Change-Id: I112c957e20d4573daaa71aa218b575037585385c
* Merge "Schedule with 0 delay is the same as execute."Dan Zivkovic2015-02-191-2/+1
|\
| * Schedule with 0 delay is the same as execute.Dan Zivkovic2015-02-191-2/+1
| | | | | | | | Change-Id: Ifadae8aee668edbe2b507735d3ed6e68d52ef329
* | Merge "If contacts observer is running, return early."Dan Zivkovic2015-02-191-5/+13
|\|
| * If contacts observer is running, return early.Dan Zivkovic2015-02-191-5/+13
| | | | | | | | Change-Id: I084a251b0f72288243c73b6166d992b427449635
* | Merge "Add more options for calling removeWordFromPersonalizedDicts."Tom Ouyang2015-02-193-5/+64
|\ \ | |/ |/|
| * Add more options for calling removeWordFromPersonalizedDicts.Tom Ouyang2015-02-193-5/+64
| | | | | | | | | | | | Bug: 19441205 Change-Id: I41aff536a64271d2dc9489a20df33d64170756cc
* | Sanitize the usage of executors.Dan Zivkovic2015-02-195-67/+100
|/ | | | | | | | 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
* Add Decoder specific dictionary suffix to resource lookupMohammadinamul Sheik2015-02-121-3/+4
| | | | Change-Id: Ia2c74acdc8ac6f7b605bb06a1078d23b32f388a1
* Switch from script to language codes.Dan Zivkovic2015-02-121-27/+29
| | | | | | | | Unfortunately, our Locale objects don't always have a script code. But we can get almost the same functionality by specifying script codes for some languages, and defaulting the rest to Latin. Change-Id: Id81ff67bf44c84f44707a2e167c2787c60c6ecee
* Map ISO 15924 codes to internal IME script codes.Dan Zivkovic2015-02-121-33/+34
| | | | | | | | This way we can support all the languages for which we define a script code. Bug 19340741. Change-Id: Ia80eca4cc2511b70f11058f73bd31746948ded19
* Refactor content provider code from ContactsDictJatin Matani2015-02-118-202/+424
| | | | | | | | | 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
* Fix master build.Dan Zivkovic2015-02-117-15/+18
| | | | | | For some reason, we can't import android.os package in our Constants. Change-Id: I357ed72d13c5039a83c6e2489cdf5ef74d0ffea8
* Remove shortcut support from LatinIME.Dan Zivkovic2015-02-1121-493/+94
| | | | | | Note this change does not affect the native decoder interface. Change-Id: I73b7dc008a5acaf75a31a36a2d332b5afabd82d0
* Merge "Add new class spellcheck.UserDictionaryLookup that can look up the ↵Mario Tanev2015-02-102-0/+463
|\ | | | | | | system "Personal dictionary" in the event that the DictionaryFacilitator doesn't."
| * Add new class spellcheck.UserDictionaryLookup that can look up theMario Tanev2015-02-102-0/+463
| | | | | | | | | | | | | | system "Personal dictionary" in the event that the DictionaryFacilitator doesn't. Change-Id: Ib4f15ec4d8f06ea43c2e063f5a13a2f699afbb8a
* | Add a addOrIncrement term api to DicFacilitatorJatin Matani2015-02-103-1/+20
| | | | | | | | | | | | | | The API is used by the decoder to add term to the dictionary. Change-Id: I607c8c676b7650f3052b2d3ed3f7f656573fca45
* | Remove distracter filter from client.Dan Zivkovic2015-02-099-584/+22
| | | | | | | | | | | | Bug 19296201. Change-Id: Ic834e5956347cd86a96bd14024c42ad8ee258659
* | Merge "Move decoder specific constants to DecoderSpecificConstants.java"Mohammadinamul Sheik2015-02-0612-31/+40
|\ \
| * | Move decoder specific constants to DecoderSpecificConstants.javaMohammadinamul Sheik2015-02-0512-34/+40
| |/ | | | | | | Change-Id: Ie4d325b3152e1e7e424b8b436e222e194e4d9da0
* / Cleanup in preparation of distracter change.Dan Zivkovic2015-02-067-46/+29
|/ | | | | | Bug 19296201. Change-Id: If016da2b7f4b3ecb9afd6d7aed9d19fbd4938758
* Merge "Add accessor methods for typed word info to SuggestedWords and for ↵Chieu Nguyen2015-02-051-0/+16
|\ | | | | | | word and source dictionary to SuggestedWordInfo."
| * Add accessor methods for typed word info to SuggestedWords and for wordChieu Nguyen2015-02-041-0/+16
| | | | | | | | | | | | and source dictionary to SuggestedWordInfo. Change-Id: Ic3bdf67a9edd5352f3b911f5cb72a25986e31e2c
* | Use shared constants in old+new facilitators.Dan Zivkovic2015-02-043-31/+32
| | | | | | | | Change-Id: I18b701df6ecbcc20ff0c664c218289179c4b2b2d
* | Fix accidentally inverted if check.Dan Zivkovic2015-02-041-1/+1
| | | | | | | | Change-Id: I9c28f4154f69c63564a2bda357c16cef4e68dc0d
* | Don't check user dictionary, except for spelling.Dan Zivkovic2015-02-044-36/+57
| | | | | | | | | | | | | | | | We check different lists of dictionaries based on the use case. Bug 19270992. Change-Id: Ide69f2855978ebad32a58e9689b3a8d47e095994
* | Merge "Removing code from RichInputConnection."Dan Zivkovic2015-02-052-55/+4
|\ \
| * | Removing code from RichInputConnection.Dan Zivkovic2015-02-042-55/+4
| | | | | | | | | | | | | | | | | | Followup CL that removes some more unused methods and variables. Change-Id: I4163c7cd017f59d1fd445adb6294fc89dcaafe6e
* | | Merge "Selections spans should not split surrogate pair."Dan Zivkovic2015-02-051-1/+24
|\| |
| * | Selections spans should not split surrogate pair.Dan Zivkovic2015-02-041-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When committing a span after a revert, the offset logic was such that it split a surrogate unicode pair used to express an emoji. Checking the last character of the span lets us avoid this problem. Fix for bug 19255233. Change-Id: I07d18d9002b5075f7925319dd05962011656c311
* | | Merge "AOSP changes to use KeyboardLayout to support the new ↵Mohammadinamul Sheik2015-02-0511-22/+97
|\ \ \ | |/ / |/| | | | | DictionaryFacilitator"
| * | AOSP changes to use KeyboardLayout to support the new DictionaryFacilitatorMohammadinamul Sheik2015-02-0411-22/+97
| | | | | | | | | | | | Change-Id: Ie0c9ce805d9ad009fc9bbaac37b715aff90cd844
* | | Remnant of green [+] feature.Dan Zivkovic2015-02-041-38/+5
|/ / | | | | | | Change-Id: I059b1062e1d73b2fa439d9d4ee04ff0182795335
* | Remove last vestiges of contextual+personal dictionary.Dan Zivkovic2015-02-043-29/+2
| | | | | | | | Change-Id: I20746381583ee8a4d7d42b1243f5c7ba45529e5e
* | Fix delete handling in Emoji keyboard.Dan Zivkovic2015-02-031-2/+55
|/ | | | | | Bug 19113652. Change-Id: I4255c248a25bb92f5c12da6a185d17cc13a9a69d
* LatinIME portion of "green plus" feature.Dan Zivkovic2015-02-0317-1300/+29
| | | | | | | | | Removes the feature that adds strings to the user dictionary, aka the "green highlight with a plus sign". Bug 19237189. Change-Id: I2387129a3add2d69d625f2ff16ed8cab3f10a735
* Merge "Nuke Amanatto"Jatin Matani2015-02-039-494/+5
|\
| * Nuke AmanattoJatin Matani2015-02-029-494/+5
| | | | | | | | Change-Id: Ieff2cd37f869dca69abf53ac32a576c2e45cc1e3
* | Remove custom code for Emoji keyboard Delete key.Dan Zivkovic2015-02-021-131/+1
| | | | | | | | | | | | | | | | The code tries to implement a completely separate touch handler for the Delete key, so it can do fancy things like suppress haptic feedback during long press. This is not really necessary. Change-Id: I0eae758b617e94605035c40e0df15d972ae733c1
* | Merge "Create a new KeyboardLayout class to represent the layout."Mohammadinamul Sheik2015-01-313-1/+136
|\ \
| * | Create a new KeyboardLayout class to represent the layout.Mohammadinamul Sheik2015-01-303-1/+136
| |/ | | | | | | Change-Id: Ia08c8194f460271c831702675cfb687ab9f6678b
* / LatinIME portion of multi-lang option removal.Dan Zivkovic2015-01-2913-110/+5
|/ | | | | | Bug 19188067. Change-Id: Ic9a3637f59dda30c699141222b9dcac3cd624b99
* Disable the Burmese keyboard.Dan Zivkovic2015-01-294-342/+2
| | | | | | | | We'll resurrect this effort in the new code base. Bug 16900511. Change-Id: Iae4cd27cb29cb8f991e97cffd88ed59c30d66628
* Change DictionaryFacilitator.java to an interface, create itsMario Tanev2015-01-275-837/+1006
| | | | | | | | implementation DictionaryFacilitatorImpl.java and add a java-overridable factory DictionaryFacilitatorProvider.java used to create a DictionaryFacilitator. Change-Id: Id4a58ae31feaa4d12a048a772c8d76ff82fdee45
* Merge "Add a method for handling for words not found in dictionary."Chieu Nguyen2015-01-231-0/+10
|\