aboutsummaryrefslogtreecommitdiffstats
path: root/java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Eliminate redundant time parameter from gesture detection code" into ↵Tadashi G. Takaoka2012-08-132-7/+8
|\ | | | | | | jb-mr1-dev
| * Eliminate redundant time parameter from gesture detection codeTadashi G. Takaoka2012-08-132-7/+8
| | | | | | | | | | | | | | This change also uses the key width to determine the sampling rate of the gesture points (instead of the key height). Change-Id: I987487825693b4883d8359eb5b31f1d668cd5ef4
* | Merge "Cleanups in geometry_utils.h" into jb-mr1-devKen Wakasa2012-08-131-8/+9
|\ \
| * | Cleanups in geometry_utils.hKen Wakasa2012-08-131-8/+9
| |/ | | | | | | Change-Id: Ic051703e5b67adfc62753ebd9ab254296719c6e9
* / Remove unnecessary drawing pointTadashi G. Takaoka2012-08-132-7/+4
|/ | | | Change-Id: Ib9cba3484a72306320eb9c1744d940da1a0998c7
* Remove gesture detection hacking codeTadashi G. Takaoka2012-08-132-22/+4
| | | | Change-Id: Idaec3753592ca0a5c5545eb5ab65254a3e32e662
* Clean up constructorsKen Wakasa2012-08-134-39/+8
| | | | | | | | | | | And, use C++ style casts and use float math functions rather than double ones to save memory space. Also, stop using FloatMath and NativeUtils as standard Math methods are faster now. See http://code.google.com/p/android/issues/detail?id=36199 and https://android-review.googlesource.com/40700 multi-project commit with I4259fb5ab8a15ac5760a7f04fc8f4c860529f04a Change-Id: I0b81cff8c91769f7559a59b9528c75a5aabb4211
* Merge "Fix JNI" into jb-mr1-devsatok2012-08-123-4/+9
|\
| * Fix JNIsatok2012-08-113-4/+9
| | | | | | | | Change-Id: If134baf52e78fbe18b78611a23870f5d10c80955
* | Import translations. DO NOT MERGEBaligh Uddin2012-08-101-2/+2
|/ | | | | Change-Id: I22eacc83a5aaa0f4e50e02e84ebf2b176dd08fe6 Auto-generated-cl: translation import
* Use JNI Region calls also in getSuggestions()Ken Wakasa2012-08-101-10/+8
| | | | Change-Id: I9cc0208397c202aeb6f7b5bb5ad59e00c5afbd80
* Workaround to stop init dict traverse sessionSatoshi Kataoka2012-08-101-4/+4
| | | | Change-Id: I3d46c54a96a9fc0359ef75b9d2f8590b44164a8b
* Accept whitelisted entries from any source.Jean Chalard2012-08-101-3/+12
| | | | | | | ...not only the WhitelistDictionary. Bug: 6906525 Change-Id: I7f181eb6936ec17bbccdc4e736fd09292af24e9c
* Optimization & SimplificationJean Chalard2012-08-102-17/+12
| | | | | | | | | It's useless to do the whitelist lookup twice. Also, putting this test out of this method will allow whitelist entries to come from other sources. Bug: 6906525 Change-Id: I4afe678cae6556d16642d155ce770fbf4e61ad49
* Merge "Pass the type from native code all the way to Java." into jb-mr1-devJean Chalard2012-08-101-2/+3
|\
| * Pass the type from native code all the way to Java.Jean Chalard2012-08-101-2/+3
| | | | | | | | | | Bug: 6906525 Change-Id: I057390d47a223450e22d8338509e22c28fc0d5f6
* | Merge "Remove conservative MainKeyboardView.draw" into jb-mr1-devTadashi G. Takaoka2012-08-091-14/+0
|\ \
| * | Remove conservative MainKeyboardView.drawTadashi G. Takaoka2012-08-101-14/+0
| |/ | | | | | | Change-Id: I52f58d1e013dfe1f1b0f8320cba903d3dbb4eabd
* / Add arguments for dic traverse sessionSatoshi Kataoka2012-08-102-7/+8
|/ | | | Change-Id: I8776ad528eeea9a5fc4dcf394ca13bb80c04fb6d
* Use more JNI Region callsKen Wakasa2012-08-101-11/+7
| | | | Change-Id: I371db517ff4749c0b7e5bdb4362e6310c91a24dc
* Add reset method for dic travserse sessionSatoshi Kataoka2012-08-091-2/+12
| | | | Change-Id: Ia3dd924f92549da2cf8302ef77c629902d4f275b
* Optimize keyboard drawing code a bitTadashi G. Takaoka2012-08-091-15/+10
| | | | | | | | * Remove useless boolean flag. * Use invalidate(int,int,int,int). * Don't draw background when hardware acceleration is enabled. Change-Id: Id560ac84f33b5151437a42a4ff22736284d71e2d
* Update dictionary availability at onStartInputViewTadashi G. Takaoka2012-08-091-0/+1
| | | | | | This is a follow up of I7901c0f9489b4deb79314c2c903b138611bfd78e Change-Id: I38c22e886db247c402a964e3ddd10b09a461151c
* Merge "Fix NPE and don't call UI API from non-UI thread" into jb-mr1-devTadashi G. Takaoka2012-08-086-43/+45
|\
| * Fix NPE and don't call UI API from non-UI threadTadashi G. Takaoka2012-08-096-43/+45
| | | | | | | | | | | | | | | | | | This change also reverts I29ec3e9f10484f30288fac76f0c45b3707bc2259 Bug: 6956969 Bug: 6891020 Bug: 6947253 Change-Id: I7901c0f9489b4deb79314c2c903b138611bfd78e
* | Merge "Pass traverse session" into jb-mr1-devSatoshi Kataoka2012-08-082-4/+9
|\ \
| * | Pass traverse sessionSatoshi Kataoka2012-08-082-4/+9
| | | | | | | | | | | | Change-Id: I84bfaaa406e3f51421c08a7ee8f9576ebdba54d4
* | | Merge "Add traverse session" into jb-mr1-devSatoshi Kataoka2012-08-082-0/+62
|\| | | |/ |/|
| * Add traverse sessionSatoshi Kataoka2012-08-082-0/+62
| | | | | | | | | | | | Bug: 6942265 Change-Id: I384cf701f5ee44c4b1037e5b8ddfa3d570286f55
* | Merge "Add toString() method to Keyboard" into jb-mr1-devTadashi G. Takaoka2012-08-081-0/+5
|\ \
| * | Add toString() method to KeyboardTadashi G. Takaoka2012-08-081-0/+5
| |/ | | | | | | Change-Id: I74c8f006323ed78ec67414fd17849ab40966968e
* | Merge "Add SuggestInitializationListener to ↵Tadashi G. Takaoka2012-08-082-12/+11
|\ \ | | | | | | | | | BinaryDictionary.resetMainDict()" into jb-mr1-dev
| * | Add SuggestInitializationListener to BinaryDictionary.resetMainDict()Tadashi G. Takaoka2012-08-082-12/+11
| |/ | | | | | | Change-Id: I4c01f172ddb2ca60fa6e604384610c90b76e5457
* | Merge "Use ArrayList to implement PointerTrackerQueue" into jb-mr1-devTadashi G. Takaoka2012-08-072-47/+114
|\ \ | |/ |/|
| * Use ArrayList to implement PointerTrackerQueueTadashi G. Takaoka2012-08-082-47/+114
| | | | | | | | Change-Id: Ie386e6c7869df4df940e09fccffc5cd661134557
* | Import translations. DO NOT MERGEBaligh Uddin2012-08-072-3/+3
|/ | | | | Change-Id: I48e2fcef3c0384fb745f6329b8877a8c1a1cd815 Auto-generated-cl: translation import
* Add PointerTrackerQueue unit testsTadashi G. Takaoka2012-08-072-32/+37
| | | | | | This is a groundwork to elminate LinkedList from PointerTrackerQueue. Change-Id: Ib77780537ceb0b4273fb8e483977ab76124c5ce7
* Lingering gesture floating preview text a bitTadashi G. Takaoka2012-08-079-52/+129
| | | | | Bug: 6936095 Change-Id: I873343e9aa6afdf6bdb223795f03232509b012a7
* Import translations. DO NOT MERGEBaligh Uddin2012-08-062-6/+6
| | | | | Change-Id: I8cb76298b75155a9d2d4726127759ad9542a93fc Auto-generated-cl: translation import
* Cleanup unused import and dead codeTadashi G. Takaoka2012-08-063-6/+0
| | | | Change-Id: Ife877620561d29a8f25602916420741186104617
* Fix duplicate getSuggestions() call for main dictionaryTadashi G. Takaoka2012-08-061-1/+1
| | | | Change-Id: I092480063452505cdf03dbd83b9c64e535822931
* Fix Utils.getStackTrace()Tadashi G. Takaoka2012-08-061-1/+1
| | | | Change-Id: Iaf160af32bb77b3ad5929cb5ee8eccd01165bdf6
* Separate updateSuggestionStrip from commitTypedTadashi G. Takaoka2012-08-061-5/+7
| | | | | | | | | The commitTyped() called updateSuggestionStrip(), and that led to call Suggest.getSuggestedWordsForTypingInput() even after a batch input was started because WordComposer.commitWord() reset the batch input state. Bug: 6932442 Change-Id: If645b1ef0343aa1e21ca71a9275b40c6c3be13df
* Fix IllegalStateException of KeyDetectorTadashi G. Takaoka2012-08-062-4/+7
| | | | | | | | | A KeyDetector without Keyboard may exist in some rare cases. This change eliminates throwing IllegalStateException and checks explicitly against null. Bug: 6891020 Change-Id: I29ec3e9f10484f30288fac76f0c45b3707bc2259
* Import translations. DO NOT MERGEYing Wang2012-08-035-25/+13
| | | | | Change-Id: I9510061c7ae1f4020cd5c5d24ed75348556ee085 Auto-generated-cl: translation import
* Merge "Cleanup unused code" into jb-mr1-devJean Chalard2012-08-031-5/+1
|\
| * Cleanup unused codeJean Chalard2012-08-041-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | The Italian dictionary has been amended to contain words that include apostrophes, and accordingly the apostrophe is now excluded from word separators in Italian. This code was only used for Italian, and in the general case it does the wrong thing; it was only needed by limitations of the old dictionary. Bug: 6929108 Change-Id: I7ff4615e01899a1cebed2c4c51679cd0746740fe
* | Make a makedict command for dicttool (A3)Jean Chalard2012-08-042-6/+6
|/ | | | | | | | | | | This behaves exactly as the old makedict command. Further changes will redirect the calls to makedict to this, so as to consolidate similar code. Groundwork for Bug: 6429606 Change-Id: Ibeadbf48bec70f988a15ca36ebf5d1ce3b5b54ea
* Merge "Update French and Italian separators." into jb-mr1-devJean Chalard2012-08-032-24/+3
|\
| * Update French and Italian separators.Jean Chalard2012-08-042-24/+3
| | | | | | | | | | | | | | | | | | | | French and Italian separators used to be decided this way because of how the old dictionaries were made. However, the new dictionaries actually do include the composite words, and in both French and Italian, apostrophes and dashes shouldn't be treated as separators any more. Change-Id: If11c42625c819e223502a76749dbe797163d3c18