aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove the Callback interface for simpler code. (A17)Jean Chalard2012-06-263-40/+3
| | | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I009b54fc2e73cadca6734bdca074d033e81f6a2b
* Remove the callback argument to getBigrams() (A16)Jean Chalard2012-06-267-17/+14
| | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I7457ac04f8cd4019fb86c986725aae3de1b1a65e
* Remove the callback argument to getWords() (A15)Jean Chalard2012-06-268-29/+18
| | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I919bf70a1213ab5d7c7a9e5715bd72a6e257148b
* Do away with Utils#addAllSuggestions (A14)Jean Chalard2012-06-264-15/+1
| | | | | | It's not used any more. Change-Id: Id9da40fdbf7078f3ac647d1368237d6601f5a2ba
* Neutralize AndroidSpellChecker.SuggestionsGatherer#addWords (A13)Jean Chalard2012-06-261-2/+16
| | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: Ia54e1e44e1fd4e8ba2c9316928c0595cbe3f933c
* Neutralize Suggest#addWords (A12)Jean Chalard2012-06-261-4/+39
| | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: Id923367342a62a650a5f1d38e2fa0e913030dca8
* Refactoring (A11)Jean Chalard2012-06-261-5/+9
| | | | Change-Id: I86bd7587dd80773a51ba6db312ba55dc41e7c8c7
* Remove an unused method and inline another (A10)Jean Chalard2012-06-261-43/+10
| | | | Change-Id: Ifd71ce79711b0c15c7764e97351dbb1b8e4c0c2d
* Merge the interface of two methods that do the same thing (A9)Jean Chalard2012-06-262-12/+25
| | | | Change-Id: Ia5701d713d0fd5bb646b54a03a1a5602dad0a9e6
* Change the return type of getWords and getBigrams (A8)Jean Chalard2012-06-268-45/+86
| | | | | | | | This only returns stuff, but it doesn't change yet how the data is really passed. It merely adds a way of getting the same data. Later, the old way will be removed. Change-Id: If3a064de362175fc5a6781b7a97b65d8730aaf3c
* Remove dependency on WordCallback from BinaryDictionary (A7)Jean Chalard2012-06-261-5/+14
| | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I8245698fbd170e0f5cbad3c0109774bcaddc0614
* Remove useless code and storage (A6)Jean Chalard2012-06-261-29/+2
| | | | | | | | | This is only used as temporary storage to be then added to the other variable, relying on the fact that it is hopefully sorted. It's better to just add it right away to the final storage. Change-Id: I5da702ac9dc579593ab21feb2021a01e5dfdf4dc
* Remove a duplicate processing (A5)Jean Chalard2012-06-261-25/+4
| | | | | | | This filtering is already done in native code. It's useless (and costly) to do it again here. Change-Id: Ide6794d7a8682a881f097f33e222f10d30f297bd
* Merge "Remove another dependency to WordCallback (A4)"Jean Chalard2012-06-251-8/+11
|\
| * Remove another dependency to WordCallback (A4)Jean Chalard2012-06-261-8/+11
| | | | | | | | | | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I5b277124dc9244e78c4a1f4d542a55071eb479bd
* | Merge "fix IllegalOutOfBoundsException"Kurt Partridge2012-06-251-0/+3
|\ \ | |/ |/|
| * fix IllegalOutOfBoundsExceptionKurt Partridge2012-06-251-0/+3
| | | | | | | | | | | | | | | | StringUtils.toCodePointArray() had thrown IllegalOutOfBoundsException if passed an empty string. change to just return an empty int[]. Bug: 6188932 Change-Id: Ic41c628c0d407f49fc98cd48cb7ea13d8d5bdd77
* | Remove "Key popup dismiss delay" when "Popup on keypress" is suppressedKen Wakasa2012-06-261-23/+28
|/ | | | | bug: 6714783 Change-Id: Idf674e8e1af80642f2c53f7ae5c03e21c9e04292
* Change JNI for GestureSatoshi Kataoka2012-06-258-31/+42
| | | | Change-Id: I774a0052038d16677f60f7efa11fd266cb5f3088
* Merge "Refactoring and groundwork to fix a bug with older apps"Jean Chalard2012-06-251-7/+9
|\
| * Refactoring and groundwork to fix a bug with older appsJean Chalard2012-06-251-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has a good, although small, impact on performance : it removes a two-way IPC call in a most frequent case, while possibly adding one in a rather unfrequent and less critical case. Also, this fixes a bug with surrogate pairs. This specific branch of code now correctly handles surrogate pairs. Aside from this, it should have no impact on behavior. However, since it does delay access to the previous character in the text view by a two-way IPC call, it actually goes a long way toward fixing bug#6668226. It is not really a fix and the race condition still exists, but this change makes it much, much harder to hit. Bug: 6668226 Change-Id: Id11cc6a0b7488d6bd392227cafdcf3a8d4c62f6c
* | Merge "Tentatively remove a dependency on WordCallback (A3)"Jean Chalard2012-06-243-24/+43
|\ \
| * | Tentatively remove a dependency on WordCallback (A3)Jean Chalard2012-06-213-24/+43
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: Id5a59eaec2aeefa0ba4524420a8e035d383f6545
* | | Merge "Improve compatibility for ICS."Jean Chalard2012-06-241-10/+23
|\ \ \ | |_|/ |/| |
| * | Improve compatibility for ICS.Jean Chalard2012-06-201-10/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | ICS didn't have a SHORTCUT column in the user dictionary. If running on a build under JellyBean, we should not ask for it lest we crash. Bug: 6600617 Change-Id: Iac0cbcc63c10064f01e2d51eec5931fd9cdd0922
* | | Merge "Fix possible NPE from a concurrent problem in LatinIME"Satoshi Kataoka2012-06-211-2/+3
|\ \ \
| * | | Fix possible NPE from a concurrent problem in LatinIMESatoshi Kataoka2012-06-191-2/+3
| | | | | | | | | | | | | | | | | | | | Bug: 6620746 Change-Id: Icc18de92d7edc6888c712c2cf5ce479a65f8bfad
* | | | Merge "Allow punctuation through privacy filter"Kurt Partridge2012-06-211-29/+44
|\ \ \ \
| * | | | Allow punctuation through privacy filterKurt Partridge2012-06-211-29/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also cleaned up the privacy code a bit. multi-project commit with Change-Id: Ic0919a6929ebb2623ff4124f7adc96d9e5f8df3c Bug: 6188932 Change-Id: Id470fe7cc6e4a8fb01f1ea5b178a74cd27d59218
* | | | | Merge "Update an outdated comment"Jean Chalard2012-06-201-2/+1
|\ \ \ \ \
| * | | | | Update an outdated commentJean Chalard2012-06-161-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3d02dc8597ed14d998caeaa056813353e2d7ec1a
* | | | | | Cleanup, part 10 : remove from the code obsolete options (C10)Jean Chalard2012-06-211-21/+3
| |_|_|_|/ |/| | | | | | | | | | | | | | Change-Id: Id0806ad3dc7ccb632713eebaca76f0bab26ece5d
* | | | | Cleanup, part 9 (C9)Jean Chalard2012-06-212-11/+3
| |/ / / |/| | | | | | | | | | | Change-Id: Ifb15553824915d0634aea83689302c2418b093f3
* | | | Cleanup, part 8 (C8)Jean Chalard2012-06-202-16/+11
| | | | | | | | | | | | | | | | Change-Id: Iecc9b3d43c191614c2951408e14085cb77eefd4d
* | | | Cleanup, part 7 (C7)Jean Chalard2012-06-202-15/+5
| | | | | | | | | | | | | | | | Change-Id: I662be9d3b31fb9e157722f38cab1e6fb8a1152ab
* | | | Merge "Cleanup, part 6 (C6)"Jean Chalard2012-06-191-8/+0
|\ \ \ \
| * | | | Cleanup, part 6 (C6)Jean Chalard2012-06-161-8/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: I184f3a336278559df255c5d600a98fbba468a243
* | | | | Merge "Cleanup, part 4 (C4)"Jean Chalard2012-06-193-8/+18
|\| | | |
| * | | | Cleanup, part 4 (C4)Jean Chalard2012-06-163-8/+18
| | | | | | | | | | | | | | | | | | | | Change-Id: I2821ae71ec49e4b6b512157d17b80198f74321e4
* | | | | Merge "Cleanup, part 3 (C3)"Jean Chalard2012-06-193-8/+7
|\| | | |
| * | | | Cleanup, part 3 (C3)Jean Chalard2012-06-163-8/+7
| | | | | | | | | | | | | | | | | | | | Change-Id: Ib0be8dc26b6fa366a3dabeea940d466602073244
* | | | | Remove a member (B5)Jean Chalard2012-06-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new call in the test ensures getCurrentInputEditorInfo actually works. Change-Id: I2ee407bd9927d22db537d12f339e2b977a38054a
* | | | | Simplification (B4)Jean Chalard2012-06-191-5/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: Id5abf722a533980ed2d89381dbddc0a71b6f5b6b
* | | | | Move a settings method to SettingsValues (B3)Jean Chalard2012-06-192-18/+16
| | | | | | | | | | | | | | | | | | | | Change-Id: Ibfa27bd919c92be219c4d107b3ace008ca80a19f
* | | | | Merge "Make a variable final (A2)"Jean Chalard2012-06-181-7/+7
|\ \ \ \ \
| * | | | | Make a variable final (A2)Jean Chalard2012-06-161-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is never changed, and probably doesn't need to be. It's public because it's going to be used elsewhere in a future change Change-Id: Iec8d65859c470de5e1fb0b05533356fbc3b8e91b
* | | | | | Merge "Add a kind to the suggestion for bookkeeping (A1)"Jean Chalard2012-06-183-13/+25
|\| | | | |
| * | | | | Add a kind to the suggestion for bookkeeping (A1)Jean Chalard2012-06-163-13/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will help for debug as well as serve as groundwork for Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I74d0a7b943fb22c514ad79dc064d69ddf336d3ef
* | | | | | Merge "Cleanup, part 2 (C2)"Jean Chalard2012-06-181-7/+3
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Cleanup, part 2 (C2)Jean Chalard2012-06-161-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I860f41807e9bc2e38b6ad84e1527fc8707a9aa40