aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge "fix findWordInTree." into jb-mr1-devKen Wakasa2012-08-161-1/+10
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | fix findWordInTree.Yuichiro Hanada2012-08-161-1/+10
| | | | | | | | | | | | Change-Id: I9d81c815494a0670afa81219ad7bad82274d997e
* | | Merge "Refresh editor info when the text field attributes changes." into ↵Jean Chalard2012-08-153-5/+17
|\ \ \ | | | | | | | | | | | | jb-mr1-dev
| * | | Refresh editor info when the text field attributes changes.Jean Chalard2012-08-153-5/+17
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | For some reason we get a "restarting" flag from the browser some times when the input field is different. The attributes however are not the same, so we can detect that and reload appropriately. Bug: 6946793 Change-Id: I6762dae6f41db690497b026a707d9cc89c840b34
* | | Merge "Ensure #offer always actually offers something." into jb-mr1-devJean Chalard2012-08-152-3/+29
|\ \ \
| * | | Ensure #offer always actually offers something.Jean Chalard2012-08-152-3/+29
| |/ / | | | | | | | | | | | | | | | | | | | | | This will allow remaining requests after a call to terminate correctly. Bug: 6963142 Change-Id: Iff67058bb8a39f2f1b468d3894861e8125de6659
* / / Step 28-A Introduce the session Id to getSuggestionSatoshi Kataoka2012-08-154-10/+56
|/ / | | | | | | Change-Id: I39d9bf1a7c272eb16d6ed4698f52457579b40f10
* / Fix the build.alanv2012-08-141-1/+1
|/ | | | Change-Id: I744f6232e81981ab694d3d1e92bab5fd6efa46c0
* Merge "Change accessibility event type for app-driven speech." into jb-mr1-devCharles Chen2012-08-143-10/+29
|\
| * Change accessibility event type for app-driven speech.alanv2012-08-103-10/+29
| | | | | | | | | | Bug: 6614400 Change-Id: I0ef309b7f3f35bf37b4664ea599c9e6ffb1a4ab8
* | Preemptive anti-deadlock deviceJean Chalard2012-08-142-7/+27
| | | | | | | | | | | | | | | | | | | | We don't know of any actual bug in the implementation of the pool that may result in a deadlock, but this still implements a means out of a deadlock if one ever arises anyway. It's meant to improve the resilience of the spell checker. Bug: 5441027 Change-Id: I689491090792dbb89110ee56631965c5bb2dc712
* | Fix a bug that would prevent spell checkingJean Chalard2012-08-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | java.lang.ArrayIndexOutOfBoundsException: [I offset=0 length=528 src.length=512 com.android.inputmethod.keyboard.ProximityInfo .setProximityInfoNative(Native Method) com.android.inputmethod.keyboard.ProximityInfo .createSpellCheckerProximityInfo(ProximityInfo.java:85) com.android.inputmethod.latin.spellcheck.AndroidSpellCheckerService .createDictAndProximity(AndroidSpellCheckerService.java:411) The array was too small with respect with the passed size. Change-Id: I7777d7aecd17375d3fbf82854a66eb7a5a289ce6
* | 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
* | 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