aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ResearchLogging upload via serviceKurt Partridge2012-08-174-246/+264
| | | | | | | | | | | | 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
* ResearchLogging log when preferences changeKurt Partridge2012-08-171-0/+13
| | | | | | | DO NOT MERGE Bug: 6188932 Change-Id: Ia7ee65e7f3be10d031a065aaa6c3d18610c7dff0
* ResearchLogging capture full n-gram dataKurt Partridge2012-08-179-481/+617
| | | | | | | | | | | | | | | | | 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
* ResearchLogger to track simple statisticsKurt Partridge2012-08-172-1/+202
| | | | | | | DO NOT MERGE Bug: 6188932 Change-Id: I4667f8f60aa356c73f925c298318520f71e144c5
* ResearchLogger log RichInputConnectionKurt Partridge2012-08-173-184/+189
| | | | | | | | | | | | | | | | 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
* 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
* | 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