aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/SynchronouslyLoadedUserBinaryDictionary.java (unfollow)
Commit message (Expand)AuthorFilesLines
2012-08-20Revert "ResearchLogging log when preferences change"•••This reverts commit c58f5d904bceab9b33840a7de4e3de4323b2126b Change-Id: Ifab54ecc8b7898fe0af6446d397efd6cdb28f670 Kurt Partridge1-13/+0
2012-08-20Revert "ResearchLogging upload via service"•••This reverts commit baf1f0bd616ca1fc3b53ad832012f498b3601afb Change-Id: I7d959b9b626c8fb69a57788e243752952258fa80 Kurt Partridge5-268/+246
2012-08-20Cleaup gesture preview drawing code a bit•••Change-Id: Ie75d497ba88805d945d6039ecad09ed0e8e5e4d3 Tadashi G. Takaoka1-19/+22
2012-08-20Make some usages of SparseArray thread-safe•••This is a follow up of I39d9bf1a7c272eb16d6ed4698f52457579b40f10. Change-Id: Ic3288e491175f9a85679a21064093f9db5a65466 Tadashi G. Takaoka1-11/+16
2012-08-20Remove the whitelist resources•••Bug: 6906525 Change-Id: I1524b9e4c56d28a701d444aa2afbfdcecf0da571 Jean Chalard2-440/+0
2012-08-20Hack to skip reading an outdated binary file.•••Bug: 7005813 Change-Id: Ie0d8d4b2d5eb147838ca23bdd5ec1cecd4f01151 Jean Chalard2-9/+63
2012-08-20Fix capitalization, part 1•••The case this fixes is typing "Ah.\n" in gmail for example Bug: 6950087 Change-Id: Ia4bf3a57dde49b9c9d47d315e9f85b7ffc7ee6e3 Jean Chalard1-0/+1
2012-08-20Add standard view constructors of PrevewPlacerView•••Change-Id: I00d7ae4d2330804c342a5e51cf8c0df6ed8a85d6 Tadashi G. Takaoka2-11/+21
2012-08-19Cosmetic fixes•••Change-Id: I5460252af534d4455ba22273a06ac956bc904831 Ken Wakasa1-17/+28
2012-08-17ResearchLogging log when preferences change•••DO NOT MERGE Bug: 6188932 Change-Id: Ia7ee65e7f3be10d031a065aaa6c3d18610c7dff0 Kurt Partridge1-0/+13
2012-08-17ResearchLogging upload via service•••DO NOT MERGE Upload using an intent service rather than just a thread. More robust in case the keyboard is closed and the upload hasn't finished yet. multi-project commit with I40db74fb780e01364609339764e150f0291d3f9b Bug: 6188932 Change-Id: Ie980d38a713d15c01083d41bd73f0602ec75dd16 Kurt Partridge5-246/+268
2012-08-17ResearchLogging capture full n-gram data•••DO NOT MERGE - Captures complete motion data for all words in an n-gram. - Also filters n-grams properly; if any word in the n-gram is not in the dictionary, it is not included. - Simplify ResearchLog to not require explicit state - Added LogBuffer class MainLogBuffer class to allow n-gram-level decisions about privacy. - Moved LogUnit out from ResearchLogger multi-project change with Ie2bc79fd7fe6b951b24771e94b8d4ca21989af65 Bug: 6188932 Change-Id: I568c90d4af07e7c759c1e7fc64b716bd8c7b4ae5 Kurt Partridge10-482/+619
2012-08-17ResearchLogger to track simple statistics•••DO NOT MERGE Bug: 6188932 Change-Id: I4667f8f60aa356c73f925c298318520f71e144c5 Kurt Partridge2-1/+202
2012-08-17ResearchLogger log RichInputConnection•••Move many ResearchLogger data collection points to RichInputConnection. By collecting data here, developers do not have to remember to keep the ResearchLog consistent with calls to the RichInputConnection. In addition, some unnecessary log points were removed, and the ResearchLogger is now independent of LatinImeLogger. multi-project change with Ib71f841044ec1072610ab5638a5edfce29b7c05b DO NOT MERGE Bug: 6188932 Change-Id: I9ec7500a5b18bfe1a5a5bb1e5bf21c43351fc59e Kurt Partridge3-184/+189
2012-08-18Fix NPE in LatinIME.addToUserHistoryDictionary()•••bug: 7007063 Change-Id: Ie3e2f77dcbc597dda0c0df9a970336e5aac0edba Ken Wakasa1-0/+1
2012-08-17(DO NOT MERGE) Remove useless module tags from makefiles•••Change-Id: If77482da66e80b762cf205369f7d53d069cd8072 Ken Wakasa2-2/+0
2012-08-17add reconstructBigramFrequency•••Change-Id: Iff20dcb9ca0d6064bb118247887fe24b812c0c61 Yuichiro Hanada2-8/+25
2012-08-17Reword a confusing comment•••Bug: 7005645 Change-Id: Ifd942b3ce242aeeec512e132e1cee31329e994b1 Jean Chalard1-4/+4
2012-08-17Remove the whitelist dictionary.•••The functionality now lives in the binary dictionary. This finalizes work on Bug: 6906525 Change-Id: Id106d871e8afdf9afa886d2a30bea87ff89f2d24 Jean Chalard5-155/+4
2012-08-17Small cleanups•••Change-Id: Ib66507b8934bc8019a762d24d5311411e044ec84 Ken Wakasa4-16/+17
2012-08-17Remove access to the whitelist class.•••...which becomes useless. It will be entirely removed in an upcoming change. Change-Id: I2f1d27f1eceda79454b01f21e057b98f2953131a Jean Chalard1-9/+0
2012-08-17Allow one-character suggestions.•••Bug: 6906525 Change-Id: I62117653ac1281f825afc4ebb30f7e786902b750 Jean Chalard4-42/+35
2012-08-17fix findWordInTree.•••Change-Id: I8f42df28f76188677db9d4e55885e1fc6a40b53f Yuichiro Hanada2-0/+7
2012-08-17Fix a debug method•••Change-Id: Icf78fb0d5f7caea78f053fffd1ecd4289629964a Jean Chalard2-3/+3
2012-08-16Import translations. DO NOT MERGE•••Change-Id: I5d02e55780596d25356a602027f3c41913057810 Auto-generated-cl: translation import Baligh Uddin3-0/+789
2012-08-16fix findWordInTree.•••Change-Id: I9d81c815494a0670afa81219ad7bad82274d997e Yuichiro Hanada2-1/+52
2012-08-16Cleanup and fix method visibility.•••Change-Id: Ia9e8c69da21ce22bf674ec6c7b2536008a360ea3 Ken Wakasa4-95/+92
2012-08-15Refresh editor info when the text field attributes changes.•••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 Jean Chalard3-5/+17
2012-08-15Ensure #offer always actually offers something.•••This will allow remaining requests after a call to terminate correctly. Bug: 6963142 Change-Id: Iff67058bb8a39f2f1b468d3894861e8125de6659 Jean Chalard2-3/+29
2012-08-15Step 30-A Constize gesture•••Change-Id: I6c0b89d96532dc1c8ca71bb730ba22de5592ec67 Satoshi Kataoka7-11/+14
2012-08-15Step 28-A Introduce the session Id to getSuggestion•••Change-Id: I39d9bf1a7c272eb16d6ed4698f52457579b40f10 Satoshi Kataoka4-10/+56
2012-08-14Fix the build.•••Change-Id: I744f6232e81981ab694d3d1e92bab5fd6efa46c0 alanv1-1/+1
2012-08-14Retire LOCAL_NDK_VERSION.•••Bug: 6932421 Change-Id: I6cb8cdb3869c9c1c3d908f9c182e6f634ae76322 Ying Wang1-2/+0
2012-08-14Cleanup casts.•••Change-Id: I3bf33ca407cc3bee9f5c4c6f929cdb1421b92c50 Ken Wakasa6-22/+19
2012-08-14A couple of cleanups. Remove unnecessary casts.•••Change-Id: Ice530aa83a9a688da35aec408be2a60242699157 Ken Wakasa6-29/+28
2012-08-14Preemptive anti-deadlock device•••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 Jean Chalard2-7/+27
2012-08-14Fix a bug that would prevent spell checking•••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 Jean Chalard1-0/+1
2012-08-13Import translations. DO NOT MERGE•••Change-Id: I36bb28cfdf548a38bfdd3127ddafa6c7d938376e Auto-generated-cl: translation import Baligh Uddin1-1/+1
2012-08-14Step 26-A Cleanup geometory_utils•••Change-Id: I839c498c85009a5d6428a71f121a2906fd667db8 Satoshi Kataoka3-26/+18
2012-08-13Eliminate redundant time parameter from gesture detection code•••This change also uses the key width to determine the sampling rate of the gesture points (instead of the key height). Change-Id: I987487825693b4883d8359eb5b31f1d668cd5ef4 Tadashi G. Takaoka2-7/+8
2012-08-13Cleanups in geometry_utils.h•••Change-Id: Ic051703e5b67adfc62753ebd9ab254296719c6e9 Ken Wakasa2-29/+28
2012-08-13Tag the whitelisted entries in native code.•••Since this is already used in Java land, this actually does activate the whitelist path, and the code is now fully functional. We still have to remove the old whitelist resource and to compile the dictionary that includes the whitelist. Bug: 6906525 Change-Id: Iacde5313e303b9ed792940efaf6bcfa4ee1317bd Jean Chalard6-21/+49
2012-08-13Remove useless backslashes from the whitelist dictionary•••For some reason, these are necessary for resources, but XML standard does not require them. Change-Id: I7cdaecb6815aa4020e0d453e33be38ff2968df50 Jean Chalard1-41/+41
2012-08-13Step 24-A remove setdict•••Change-Id: Iab28bf0fd785b9e81fc86837e64a1ef2e315a229 Satoshi Kataoka4-20/+0
2012-08-13Remove unnecessary drawing point•••Change-Id: Ib9cba3484a72306320eb9c1744d940da1a0998c7 Tadashi G. Takaoka2-7/+4
2012-08-13Remove gesture detection hacking code•••Change-Id: Idaec3753592ca0a5c5545eb5ab65254a3e32e662 Tadashi G. Takaoka2-22/+4
2012-08-13Fix typo in include guard macro, and some cleanups.•••Change-Id: I455f6a52667b1c6ae5eb9f58b3494dd87eb2c3f5 Ken Wakasa1-26/+24
2012-08-13Clean up constructors•••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 Ken Wakasa23-190/+114
2012-08-11Fix JNI•••Change-Id: If134baf52e78fbe18b78611a23870f5d10c80955 satok4-9/+16
2012-08-10Change accessibility event type for app-driven speech.•••Bug: 6614400 Change-Id: I0ef309b7f3f35bf37b4664ea599c9e6ffb1a4ab8 alanv3-10/+29