aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | 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
* | Fix JNIsatok2012-08-112-4/+5
| | | | | | | | Change-Id: If134baf52e78fbe18b78611a23870f5d10c80955
* | 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
* / Use ArrayList to implement PointerTrackerQueueTadashi G. Takaoka2012-08-082-47/+114
|/ | | | Change-Id: Ie386e6c7869df4df940e09fccffc5cd661134557
* 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-076-52/+124
| | | | | Bug: 6936095 Change-Id: I873343e9aa6afdf6bdb223795f03232509b012a7
* 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
* 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 "Fix an OOB exception" into jb-mr1-devJean Chalard2012-08-031-2/+5
|\
| * Fix an OOB exceptionJean Chalard2012-08-031-2/+5
| | | | | | | | | | | | | | | | Not sure exactly how this can happen, but at least this should prevent us from crashing. Bug: 6920884 Change-Id: I451864756b48c5cb5e98b06edee917d88766d77f
* | Using hardware accelerated drawingTadashi G. Takaoka2012-08-033-27/+53
|/ | | | | | | When Canvas has been hardware accelerated, don't use offscreen bitmap. Bug: 6872994 Change-Id: I1121f76377991692bc29ebeedbfbfa1b2a12dbb7
* Merge "Small cleanup for keyboard drawing code" into jb-mr1-devTadashi G. Takaoka2012-08-021-35/+46
|\
| * Small cleanup for keyboard drawing codeTadashi G. Takaoka2012-08-021-35/+46
| | | | | | | | Change-Id: I8b562e03b30f82dddae311b49d316402e867cd31
* | Merge "Fix multi-touch input in auto-caps field" into jb-mr1-devTadashi G. Takaoka2012-08-012-4/+1
|\ \ | |/ |/|
| * Fix multi-touch input in auto-caps fieldTadashi G. Takaoka2012-08-012-4/+1
| | | | | | | | | | Bug: 6905194 Change-Id: I7f9f61f36b7f3aa2b40c126a68232a947976aad2
* | Enable hardware accelerated drawing for SoftInputWindow of LatinIMEKen Wakasa2012-08-022-0/+40
|/ | | | | | | Taking advantage of Ib6a8bda46223ce1153f32834daf02a820d16136e bug: 6872994 Change-Id: I799b25b6509980dd9f039bead9bc926b42cbb040
* Cancel the while-typing timer when user hits the spacebarTadashi G. Takaoka2012-07-312-15/+31
| | | | | Bug: 6689079 Change-Id: I6b366acdcefb8b2c0d973a4f2a12329fc12eb5c5
* Fix east slavic keyboard layoutsTadashi G. Takaoka2012-07-311-376/+396
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change affects Ukrainian, Belarusian, Kyrgyz, and Russian keyboard. The followings are the layout changes for each language respectively. [Ukrainian] * Replace useless CYRILLIC LETTER E with CYRILLIC LETTER UKRAINIAN IE. * Replace useless CYRILLIC LETTER HARD SIGN with CYRILLIC LETTER YI on 10-inch tablet. * Add CYRILLIC LETTER GHE WITH UPTURN as more keys of CYRILLIC LETTER GHE. [Belarusian] * Add CYRILLIC LETTER IO as more keys of CYRILLIC LETTER IE. * Replace useless CYRILLIC LETTER HARD SIGN with CYRILLIC LETTER IE on 10-inch tablet. [Kyrgyz] * Add CYRILLIC LETTER IO as more keys of CYRILLIC LETTER IE. * Remove CYRILLIC LETTER HARD SIGN from more keys of CYRILLIC LETTER HA because CYRILLIC LETTER SOFT SIGN has it. [Russian] * Remove CYRILLIC LETTER HARD SIGN from more keys of CYRILLIC LETTER HA because CYRILLIC LETTER SOFT SIGN has it. This change also replace misspelled "more_keys_for_cyrillic_ye" text name with "more_keys_for_cyrillic_ie". Bug: 6881007 Change-Id: I9e88c4e27f66225e1676f2b286a7e55b9f2cbf5b