aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/research/LoggingUtils.java (unfollow)
Commit message (Expand)AuthorFilesLines
2013-04-10Add ability to handle digraphs in gesture and tap typing•••Example: Gesture the German word "ueber" and the system will now replace the transliteration "ue" with the correct u-umlaut. Bug: 8493920 Change-Id: I03e1d6311b4187b6c7f802d8fef43a50eee12721 Tom Ouyang2-4/+25
2013-04-10Add mechanism to handle digraphs in DicNode•••This is needed to support for German umlaut handling for both gesture and typing input. Bug: 8493920 Change-Id: I292e2a4911c54aa5566c38411016a220bb35a1f4 Tom Ouyang4-21/+114
2013-04-10Import translations. DO NOT MERGE•••Change-Id: Icb4c4f32b1549f3d98b99a48b7c2f1b0de1b5a04 Auto-generated-cl: translation import Baligh Uddin4-32/+16
2013-04-10Import translations. DO NOT MERGE•••Change-Id: I47d7f8fc86fcee4702c43fc6d7bdb946801951e1 Auto-generated-cl: translation import Baligh Uddin4-32/+16
2013-04-10Better release build reporting•••The ResearchLogger reports whether a build is a release build or not to avoid polluting data with IME debugging work by developers. Previously this was done by checking a constant flag, which was also serving the dual purpose of masking out debug code in release builds. This change introduces a heuristic to determine whether a build was created by a developer (using the package versionName), and annotating the data sent to the server appropriately. Change-Id: Icbad17c66b703cabf6d23d05e2c7c41bcceaae45 Kurt Partridge1-4/+21
2013-04-10Fix a bug where a space would not be inserted before a gesture•••Bug: 8583675 Change-Id: I14924fef5663f48481994c02c56be45f9f85be65 Jean Chalard1-1/+2
2013-04-10Use private object as a lock instead of synchronized method•••Change-Id: I0b9a935d8c97ddfb18ab7950a9d6bf542863072a Tadashi G. Takaoka1-123/+145
2013-04-10Use private lock object instead of synchronized method•••Change-Id: Ifc62bacbd0583a7d102009681a94bdd9ccff7d47 Tadashi G. Takaoka1-22/+31
2013-04-10Protect simultaneously modifying gesture preview data•••Bug: 8556775 Change-Id: I83272e3adbfc0c9cc14f9e8b479e926aabf4fa2a Tadashi G. Takaoka1-1/+15
2013-04-10Fix a faulty test•••Change-Id: I5c03cea41e9b6e936e8f93b7d756f0fc9520002d Jean Chalard1-1/+1
2013-04-10Fix a bug where autocorrection status would be wrong.•••Change-Id: Ic220129dc59f585164dbf63591cd1c96de17fe6f Jean Chalard9-20/+41
2013-04-10Don't override EXTRA_SHOW_FRAGMENT if exists•••Bug: 8541190 Change-Id: I37d3de12558efd55f157389d2e0b51fc83dc5da1 Tadashi G. Takaoka1-1/+4
2013-04-10Separate StringUtils.capitalizeFirstCharacter•••Bug: 8582061 Change-Id: Iac8f65defdd92d7df533bdf0e2937ad897d96363 Tadashi G. Takaoka5-9/+16
2013-04-10Typing double letters via a 'circle' on the key.•••Bug: 8550980 Change-Id: I5e432dea0e025ccea196f80e90a6bf945488e130 Keisuke Kuroynagi4-22/+33
2013-04-10Hide Setup Wizard icon for stock keyboard•••Bug: 8581647 Change-Id: Id530f1a33a5c919f4a732ec0d545dfbe76e56316 Tadashi G. Takaoka3-1/+34
2013-04-09Fix touch coordinate calibration•••TRT: I3b5f3ed07eabc59306a17 Bug: 8505668 Change-Id: I574d25a4e9886c521f013f9a8ffc09cc145fc0fc Satoshi Kataoka10-32/+51
2013-04-09Offer to add any OOV typed word to the dictionary.•••That includes gestures, which used not to work. Bug: 8532637 Change-Id: I04606565d7000faadf954c4a806c39d4d162a2c1 Jean Chalard3-8/+14
2013-04-08Add method to get dictionary flags from DicTraverseSession•••This is needed for the traversal algorithm to know which digraphs (if any) are associated with the current dictionary. Bug: 8493920 Change-Id: I6ae088b55e50c0c2c7066d045b304c5068e23390 Tom Ouyang6-6/+17
2013-04-08Import translations. DO NOT MERGE•••Change-Id: I3605a7fd941d9ebe76460d114f384b1e233b3440 Auto-generated-cl: translation import Baligh Uddin49-196/+389
2013-04-08Import translations. DO NOT MERGE•••Change-Id: I435964e615a92c4c7835769112c3f94b8616a143 Auto-generated-cl: translation import Baligh Uddin49-196/+389
2013-04-08Update comments•••Change-Id: I6aef328ec9041666cc168c8323bed04d39591b71 Ken Wakasa2-4/+4
2013-04-08Tiny clean up in Makefile•••Change-Id: Iff6f363894f01a4c30c795fe88892c2bb8e0a856 Ken Wakasa1-5/+2
2013-04-08Cleanup the include paths•••Change-Id: Ic93d39e230170cfc9f5be6d81d42006e1a61e347 Ken Wakasa20-61/+69
2013-04-08Suppress bigram native log•••Change-Id: I0b3900e0a205b6925ab9a2be55d375f6b14c803c Satoshi Kataoka1-3/+3
2013-04-08Cleanup suggest interface•••Change-Id: Ibe334a1d3ab3af69acfa64412c80f0ea24cd2c46 Satoshi Kataoka9-162/+71
2013-04-08Clean up a few option strings under the Advanced settings•••Change-Id: If41ac016128fce401dedcab0fa7d6c23edaca158 Ken Wakasa1-6/+6
2013-04-05Fix bugs and add tests•••Change-Id: I6b56b91ace57f4a49584b5dceb71b145859f839e Jean Chalard2-9/+66
2013-04-05Move a generic string utility to StringUtils•••Change-Id: I9cc2e9a7ac0b3346af40bcb083f939333336cf09 Jean Chalard3-36/+36
2013-04-04Add DigraphUtils class•••Add a new DigraphUtils class to manage digraph handling for both gesture and typing input. Bug: 8493920 Change-Id: I3a509e1311b9039653f9f488d3c28bb54205f416 Tom Ouyang5-29/+153
2013-04-04Force inlining Correction::isSingleQuote•••Also, only apply -Winline with GCC 4.6. There are some copy constructors that GCC 4.7/4.8 fail to inline. Change-Id: I97906045224e89377e8ea6add07a79fa088648af Ben Cheng2-2/+2
2013-04-04Add flag to turn on new suggest implementation for typing•••Bug: 8277656 Change-Id: I974f560050cc5339d110b97620df1c5b496977fe Tom Ouyang4-14/+42
2013-04-03Import translations. DO NOT MERGE•••Change-Id: I66b30c5f9673fc4ed3b96753cfec023e7d498dec Auto-generated-cl: translation import Baligh Uddin8-57/+29
2013-04-03Import translations. DO NOT MERGE•••Change-Id: Icf73894934ceedf45d493c67cdc4018ebcb3f7a1 Auto-generated-cl: translation import Baligh Uddin8-57/+29
2013-04-03Import translations. DO NOT MERGE•••Change-Id: Icc098a0e892cee76ccef2492d32798d38a621dfb Auto-generated-cl: translation import Baligh Uddin8-57/+29
2013-04-03Import translations. DO NOT MERGE•••Change-Id: Ic405d085ced9e64efd9b7da38097734c71808fbc Auto-generated-cl: translation import Baligh Uddin8-57/+29
2013-04-03Move suggest logic to AOSP•••Bug: 8197301 Change-Id: I2d0ffbbc9d4d57ebfc2fe43e6cb75e8b44dae466 Satoshi Kataoka6-3/+727
2013-04-02Refactor SpellCheckerProximityInfo as extending ProximityInfo•••Change-Id: I544eec9d661796d57749dbaa2163bc1e2a891353 Tadashi G. Takaoka3-56/+59
2013-04-02Change which backdoor the tests goes through•••Yes that's even harder to understand. The old technique doesn't work any more, so I have to drill a new hole in this class. Bug: 8303100 Change-Id: I70a41b5094dab2bb56a17eaf55b2a2df853e4bb6 Jean Chalard1-8/+12
2013-04-02Fix a test.•••The test was not passing the correct input type when it was creating the text view, resulting in mismatched types seen from TextView and LatinIME with some bad results. The test would even go as far as restoring it after it's been fixed by TextView. Additionally, since we want to enter litteral carriage returns, the input type should be MULTI_LINE. If not, TextView does not allow carriage returns. Bug: 8302690 Change-Id: I1c20bcf6ca554ad981048ec181e19c649f6c742e Jean Chalard1-3/+3
2013-04-02Move typing policy to AOSP•••Bug: 8197301 Change-Id: Ife9b41a465d7b8d707623a6d3e4c1c88c3c3c4ab Satoshi Kataoka10-1/+704
2013-04-02Revert "[DO NOT MERGE] Activate hardware keyboard handling"•••This reverts commit c741f1f83b98293bf0040b6b81e95b75ecf3f6bc DO NOT MERGE is ignored and this is merged anyway :( Change-Id: Ie044cdfc6021933379ec97ad7346c5c8591f70bf Jean Chalard1-1/+1
2013-04-02[DO NOT MERGE] Activate hardware keyboard handling•••Change-Id: Ifdec9338a454291621b2b87c899f5d4301480b27 Jean Chalard1-1/+1
2013-04-01Allow logging while replaying•••Previously logging was disabled during replay. This makes it impossible to use logged data as a regression test, since the new log was unavailable. This change corrects this problem. Change-Id: I19dc31def2f2f87fd219dc561c739d18e4ab9c9c Kurt Partridge1-2/+1
2013-04-01Do not record log split time when handling separator•••Previously handleSeparator() caused the ResearchLogger to mark the time at which a LogUnit should be broken. However, this causes the motion data associated with a separator to be associated with the LogUnit of the previous word. This change corrects this bug. Change-Id: I8b4d4fa6de2a013de9e2a28bb668c446a07f1957 Kurt Partridge1-1/+0
2013-04-01Deactivate hardware keyboard handling.•••Bug: 8000119 Change-Id: I021481343d6d87efd8ff6110e9aa0906a1a3d11d Jean Chalard1-1/+1
2013-04-01Interpolate gesture preview trails•••There is the boolean flag to kill interpolation. Bug: 7167303 Change-Id: Iac7e4cb88cf437c2ee77c003c9cddb92416025c7 Tadashi G. Takaoka4-16/+507
2013-04-01Move policy and session to AOSP•••Bug: 8197301 Change-Id: I742ff0d939f9ad1ee2cd8b959b6c5ee2757fd177 Satoshi Kataoka10-1/+1032
2013-04-01Ask the client to make itself known when it's not•••Upon invoking the settings of the dictionary pack with an unknown client, we now launch an intent to ask the client to make itself known. This change also includes the code that receives this intent and acts upon it. Bug: 8492879 Change-Id: I2c6496dea845646961ecafcf64e282cb93ee91dc Jean Chalard8-10/+134
2013-04-01Fix two nasty bugs with surrogate pairs.•••The important bug is in findWordInTree. The problem, which is not obvious, is that we were calling codePointAt() with the code point index in the string, instead of the char index. The other bug this change fixes was harmless in the practice, because it's in the iteration which is only used for debug and pretty printing purposes. It's very similar in that it would substract a length in code point to a length in chars and truncate a StringBuilder at that length, so it would fail in a quite similar manner. This changes the meaning of the "length" attribute in Position, but it's clearer this way anyway. Bug: 8450145 Change-Id: If396f883a9e6449de39351553ba83f5be5bd30f0 Jean Chalard3-27/+141
2013-04-01Move dicnode to AOSP•••Bug: 8187060 Change-Id: I72398fa45b12683bd46d23c5ca69e6bcd5ca2b7e Satoshi Kataoka15-1/+2308