aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | Merge "Make some usages of SparseArray thread-safe" into jb-mr1-devTadashi G. Takaoka2012-08-191-11/+16
|\ \ \ \ \ \
| * | | | | | Make some usages of SparseArray thread-safeTadashi G. Takaoka2012-08-201-11/+16
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a follow up of I39d9bf1a7c272eb16d6ed4698f52457579b40f10. Change-Id: Ic3288e491175f9a85679a21064093f9db5a65466
* | | | | | Merge "Fix capitalization, part 1" into jb-mr1-devJean Chalard2012-08-191-0/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Fix capitalization, part 1Jean Chalard2012-08-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The case this fixes is typing "Ah.\n" in gmail for example Bug: 6950087 Change-Id: Ia4bf3a57dde49b9c9d47d315e9f85b7ffc7ee6e3
* | | | | | Merge "Remove the whitelist dictionary." into jb-mr1-devJean Chalard2012-08-195-155/+4
|\ \ \ \ \ \
| * | | | | | Remove the whitelist dictionary.Jean Chalard2012-08-175-155/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The functionality now lives in the binary dictionary. This finalizes work on Bug: 6906525 Change-Id: Id106d871e8afdf9afa886d2a30bea87ff89f2d24
* | | | | | | Merge "Remove access to the whitelist class." into jb-mr1-devJean Chalard2012-08-191-9/+0
|\| | | | | |
| * | | | | | Remove access to the whitelist class.Jean Chalard2012-08-171-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...which becomes useless. It will be entirely removed in an upcoming change. Change-Id: I2f1d27f1eceda79454b01f21e057b98f2953131a
* | | | | | | Merge "Hack to skip reading an outdated binary file." into jb-mr1-devJean Chalard2012-08-192-9/+63
|\ \ \ \ \ \ \
| * | | | | | | Hack to skip reading an outdated binary file.Jean Chalard2012-08-202-9/+63
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 7005813 Change-Id: Ie0d8d4b2d5eb147838ca23bdd5ec1cecd4f01151
* / | | | | | Add standard view constructors of PrevewPlacerViewTadashi G. Takaoka2012-08-202-11/+21
|/ / / / / / | | | | | | | | | | | | | | | | | | Change-Id: I00d7ae4d2330804c342a5e51cf8c0df6ed8a85d6
* | / / / / Cosmetic fixesKen Wakasa2012-08-191-17/+28
| |/ / / / |/| | | | | | | | | | | | | | Change-Id: I5460252af534d4455ba22273a06ac956bc904831
* | | | | Fix NPE in LatinIME.addToUserHistoryDictionary()Ken Wakasa2012-08-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | bug: 7007063 Change-Id: Ie3e2f77dcbc597dda0c0df9a970336e5aac0edba
* | | | | Merge "add reconstructBigramFrequency" into jb-mr1-devKen Wakasa2012-08-172-8/+25
|\ \ \ \ \
| * | | | | add reconstructBigramFrequencyYuichiro Hanada2012-08-172-8/+25
| |/ / / / | | | | | | | | | | | | | | | Change-Id: Iff20dcb9ca0d6064bb118247887fe24b812c0c61
* / / / / Reword a confusing commentJean Chalard2012-08-171-4/+4
|/ / / / | | | | | | | | | | | | | | | | Bug: 7005645 Change-Id: Ifd942b3ce242aeeec512e132e1cee31329e994b1
* | | | Merge "fix findWordInTree." into jb-mr1-devJean Chalard2012-08-161-0/+1
|\ \ \ \
| * | | | fix findWordInTree.Yuichiro Hanada2012-08-171-0/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I8f42df28f76188677db9d4e55885e1fc6a40b53f
* | | | | Merge "Fix a debug method" into jb-mr1-devJean Chalard2012-08-161-1/+1
|\ \ \ \ \
| * | | | | Fix a debug methodJean Chalard2012-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Icf78fb0d5f7caea78f053fffd1ecd4289629964a
* | | | | | 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