aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add more options for calling removeWordFromPersonalizedDicts.Tom Ouyang2015-02-193-5/+64
| | | | | | Bug: 19441205 Change-Id: I41aff536a64271d2dc9489a20df33d64170756cc
* 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
|\
| * Add a method for handling for words not found in dictionary.Chieu Nguyen2015-01-141-0/+10
| | | | | | | | | | | | | | | | | | This is apparently called only once for every unique word, so repeated instances of the same word are not handled separately. Upon changing orientation of the device, however, all invalid words in the textbox are underlined again and this method is called for each unique instance in order. Change-Id: Ic57e4b9e5675bd7abd723644aa318d964f7f875f
* | Merge "AOSP change for showing the app icon."Dan Zivkovic2015-01-164-144/+14
|\ \
| * | AOSP change for showing the app icon.Dan Zivkovic2015-01-164-144/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | This change deletes a bunch of code that was used to conditionally show/hide the keyboard app icon given system states and user preferences. Bug 19001197. Change-Id: I69a57aa21872a571af87a193b3e52b7f985e5168
* | | Merge "Fix moving the cursor inside composition in lang w/o spaces"Jean Chalard2015-01-162-2/+17
|\ \ \ | |/ / |/| |
| * | Fix moving the cursor inside composition in lang w/o spacesJean Chalard2014-12-222-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | Also introduce the cursor move event, which we needed to do anyway Bug: 18827118 Change-Id: I30e994764c095b4423b874dc05d1bbedc0de592f
* | | Fix NPE in PunctuationSuggestions.Dan Zivkovic2015-01-131-5/+11
| |/ |/| | | | | | | | | | | | | The NPE happens when the keyboard doesn't specify any punctuation suggestions. Bug 18047927. Change-Id: I9f8aa35df4f163b527dc6580a99afc6da45a96b8
* | Rename production flag for cloud sync featureJatin Matani2014-12-291-3/+3
|/ | | | Change-Id: I24cbe94f128f54fb9bfeeef78cf271fee2216c8e
* [3]Ping dictionary stats:Pass DictionaryFacilitatorJatin Matani2014-12-181-1/+2
| | | | | | | | Pass dictionaryFacilitator to StatsUtilsManager from LatinIME Bug:16553957 Change-Id: I912a0b447e5684909ff67e3653a4bd8649cd03c5
* Merge "[2]Pass context to StatsUtilsManager for alarms."Jatin Matani2014-12-181-2/+2
|\
| * [2]Pass context to StatsUtilsManager for alarms.Jatin Matani2014-12-171-2/+2
| | | | | | | | | | | | | | | | Change corresponding to ag/605384 Bug:16553957 Change-Id: I77024957b9497c45296bbbb24ca972b26348a8c3
* | Merge "Cleanup InputMethodInfoCache"Tadashi G. Takaoka2014-12-171-22/+32
|\ \
| * | Cleanup InputMethodInfoCacheTadashi G. Takaoka2014-12-121-22/+32
| | | | | | | | | | | | Change-Id: I40afeb4557c3b1ad32bd90f67502a625df2bc3fb