aboutsummaryrefslogtreecommitdiffstats
path: root/java (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-06-26Simplify a method call.Jean Chalard1-24/+21
Change-Id: Ieede787a13cef79353f13af52488ef3732ac9850
2012-06-26Refactor and squash long-standing bugs (A2)Jean Chalard1-13/+9
This is awesome. - Improve performance by stopping useless string/array conversions. - Simplify method interface. - Fix localization bugs - we now know our locale - Fix bugs with surrogate code points Bug: 4769095 Change-Id: I8a8ee224b713429ee0a4ce5bd52f1b63378cf56f
2012-06-26Remember the locale in the Suggest object (A1)Jean Chalard1-0/+5
This will be necessary for uppercasing and titlecasing words correctly. Change-Id: I0f446a4c82bc482240ff730a2ad6586a61571d6b
2012-06-26Remove a useless member (A2)Jean Chalard1-7/+6
Change-Id: Ia727ffc2946352bbf79e0c97684f8fa98f428cef
2012-06-26Convert a member to a local variable (A1)Jean Chalard1-17/+17
Change-Id: I9eab910989443704f83711cf4fb0070c5987a13a
2012-06-26Reword the 'word prediction' optionJean Chalard1-13/+4
Bug: 6694141 Change-Id: Ic8fd902554cdf81998f3806a58484d9733848d99
2012-06-26Remove an unused method (A22)Jean Chalard1-8/+0
Change-Id: I2195f365df1799c8b3b2a53670d1df535ab1a742
2012-06-26Simplification and optimization (A20)Jean Chalard1-25/+14
Change-Id: Ia837e553ccfe67cd4303096290194a5186df059b
2012-06-26Preparation for a simplification (A19)Jean Chalard1-0/+4
Change-Id: I4605a571faf5fbc68b18ce525d6019600bfa8cf7
2012-06-26Remove a meaningless separation (A18)Jean Chalard2-26/+18
Change-Id: I267177044c7d7b0d9119839a11057b2bbf41f75f
2012-06-26Remove the Callback interface for simpler code. (A17)Jean Chalard3-40/+3
Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I009b54fc2e73cadca6734bdca074d033e81f6a2b
2012-06-26Remove the callback argument to getBigrams() (A16)Jean Chalard7-17/+14
Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I7457ac04f8cd4019fb86c986725aae3de1b1a65e
2012-06-26Remove the callback argument to getWords() (A15)Jean Chalard8-29/+18
Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I919bf70a1213ab5d7c7a9e5715bd72a6e257148b
2012-06-26Do away with Utils#addAllSuggestions (A14)Jean Chalard4-15/+1
It's not used any more. Change-Id: Id9da40fdbf7078f3ac647d1368237d6601f5a2ba
2012-06-26Neutralize AndroidSpellChecker.SuggestionsGatherer#addWords (A13)Jean Chalard1-2/+16
Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: Ia54e1e44e1fd4e8ba2c9316928c0595cbe3f933c
2012-06-26Neutralize Suggest#addWords (A12)Jean Chalard1-4/+39
Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: Id923367342a62a650a5f1d38e2fa0e913030dca8
2012-06-26Refactoring (A11)Jean Chalard1-5/+9
Change-Id: I86bd7587dd80773a51ba6db312ba55dc41e7c8c7
2012-06-26Remove an unused method and inline another (A10)Jean Chalard1-43/+10
Change-Id: Ifd71ce79711b0c15c7764e97351dbb1b8e4c0c2d
2012-06-26Add skeleton classes for gestureSatoshi Kataoka9-8/+238
Change-Id: I6ada110a934b0dafc57d0dcd87723275fa733548
2012-06-26Merge the interface of two methods that do the same thing (A9)Jean Chalard2-12/+25
Change-Id: Ia5701d713d0fd5bb646b54a03a1a5602dad0a9e6
2012-06-26Change the return type of getWords and getBigrams (A8)Jean Chalard8-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
2012-06-26Remove dependency on WordCallback from BinaryDictionary (A7)Jean Chalard1-5/+14
Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I8245698fbd170e0f5cbad3c0109774bcaddc0614
2012-06-26Remove useless code and storage (A6)Jean Chalard1-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
2012-06-26Remove a duplicate processing (A5)Jean Chalard1-25/+4
This filtering is already done in native code. It's useless (and costly) to do it again here. Change-Id: Ide6794d7a8682a881f097f33e222f10d30f297bd
2012-06-26Update current key reference in PointerTracker when keyboard is changedTadashi G. Takaoka2-6/+21
This change also checks that the current key is the same key that started the key repeat, when key repeat timer is fired. Bug: 6722052 Change-Id: Id69880ded3338a5a3cbe7f8bf951f94f2651119c
2012-06-25fix IllegalOutOfBoundsExceptionKurt Partridge1-0/+3
StringUtils.toCodePointArray() had thrown IllegalOutOfBoundsException if passed an empty string. change to just return an empty int[]. Bug: 6188932 Change-Id: Ic41c628c0d407f49fc98cd48cb7ea13d8d5bdd77
2012-06-26Remove another dependency to WordCallback (A4)Jean Chalard1-8/+11
Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I5b277124dc9244e78c4a1f4d542a55071eb479bd
2012-06-26Tune CHAR LIMITTadashi G. Takaoka1-1/+1
Bug: 6513247 Change-Id: I55e36620bd8b2e7b47a51ccde1b0bf3e277cd56b
2012-06-25Import translations. DO NOT MERGEEric Fischer2-3/+3
Change-Id: I8b66b0f81300af586db2db3f653ce3e2882a7efe
2012-06-25Import translations. DO NOT MERGEEric Fischer2-3/+3
Change-Id: Ie741f7f0dccd2aef3ba43ac02776eaac9cb4f9af
2012-06-26Remove "Key popup dismiss delay" when "Popup on keypress" is suppressedKen Wakasa1-23/+28
bug: 6714783 Change-Id: Idf674e8e1af80642f2c53f7ae5c03e21c9e04292
2012-06-25Change JNI for GestureSatoshi Kataoka10-44/+68
Change-Id: I774a0052038d16677f60f7efa11fd266cb5f3088
2012-06-25Refactoring and groundwork to fix a bug with older appsJean Chalard1-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
2012-06-25Pull the "next word prediction" option up a level.Jean Chalard1-6/+6
Bug: 6694141 Change-Id: Ib01575b0994e69ef232a234c575242ec49ed0679
2012-06-21Import translations. DO NOT MERGEEric Fischer1-2/+2
Change-Id: Ida61fe3b2464868d3bb6d4b42032273edbf39689
2012-06-21Import translations. DO NOT MERGEEric Fischer1-2/+2
Change-Id: If472b6e3c80691ad057990f7c6e2710fc8758e2a
2012-06-21Allow punctuation through privacy filterKurt Partridge1-29/+44
Also cleaned up the privacy code a bit. multi-project commit with Change-Id: Ic0919a6929ebb2623ff4124f7adc96d9e5f8df3c Bug: 6188932 Change-Id: Id470fe7cc6e4a8fb01f1ea5b178a74cd27d59218
2012-06-20Improve compatibility for ICS.Jean Chalard1-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
2012-06-21Cleanup, part 10 : remove from the code obsolete options (C10)Jean Chalard4-38/+4
Change-Id: Id0806ad3dc7ccb632713eebaca76f0bab26ece5d
2012-06-21Tentatively remove a dependency on WordCallback (A3)Jean Chalard3-24/+43
Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: Id5a59eaec2aeefa0ba4524420a8e035d383f6545
2012-06-21Cleanup, part 9 (C9)Jean Chalard2-11/+3
Change-Id: Ifb15553824915d0634aea83689302c2418b093f3
2012-06-20Import translations. DO NOT MERGEYing Wang1-2/+2
Change-Id: Ic9cd1c250611e5b25604d55d4115391068052f36
2012-06-20Cleanup, part 8 (C8)Jean Chalard2-16/+11
Change-Id: Iecc9b3d43c191614c2951408e14085cb77eefd4d
2012-06-20Cleanup, part 7 (C7)Jean Chalard2-15/+5
Change-Id: I662be9d3b31fb9e157722f38cab1e6fb8a1152ab
2012-06-18Shorten the key typing timeout parameter to 350msTadashi G. Takaoka1-1/+1
Bug: 6688921 Change-Id: Ia6d6d98577769a3ce6a39873559993229156f2b8
2012-06-18Import translations. DO NOT MERGEYing Wang3-6/+6
Change-Id: I1f989dc6fc44d4e5a7632630fc2717d6a51b9eb8
2012-06-18Import translations. DO NOT MERGEYing Wang2-5/+5
Change-Id: I151800deab6dc7754d4671e860585dec1b057472
2012-06-19Fix possible NPE from a concurrent problem in LatinIMESatoshi Kataoka1-2/+3
Bug: 6620746 Change-Id: Icc18de92d7edc6888c712c2cf5ce479a65f8bfad
2012-06-19Remove a member (B5)Jean Chalard2-4/+4
The new call in the test ensures getCurrentInputEditorInfo actually works. Change-Id: I2ee407bd9927d22db537d12f339e2b977a38054a
2012-06-19Simplification (B4)Jean Chalard1-5/+1
Change-Id: Id5abf722a533980ed2d89381dbddc0a71b6f5b6b