aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/research/FixedLogBuffer.java (unfollow)
Commit message (Expand)AuthorFilesLines
2013-04-15Fix a typo•••Change-Id: I27b925be030e9e6ee8ae49dc13f39accec996d7e Jean Chalard1-1/+1
2013-04-15Fix Binary dict tests•••There are two problems here. The first one is the tests would send an invalid unicode character. Although we could want dicttool to handle this more gracefully, it's fine for now. The second problem is much more serious. If a node has more than 128 children, then the java code will crash trying to read the dictionary back because of a bug that this change fixes. In theory, it's possible that happens when we try to load the user history dictionary back from the disk - native code is not affected so there is no other point that may cause a problem. In the practice, that means you'd need to have 129 words with a common prefix (including empty string) but all different after this. It's almost impossible with Google Keyboard since there are only so many keys on the keyboard that you can make a word out of, and then again you'd have to do it repeatedly until it actually enters the user history dictionary, wait for it to get saved on the disk. The bad news is, if you manage to get this far, the keyboard will crash every time and won't be able to get up until you clear data for the package. The good news is, the dictionary itself is not corrupted and only the reading code is wrong. So updating to a newer version would actually even recover from this situation. All in all, considering how almost-impossible this is to trigger, I don't think even a single user actually did hit this bug. Bug: 8583091 Change-Id: Iabb2a7f47cbd9ed3193d2a3487318d280753e071 Jean Chalard2-5/+8
2013-04-15fix assertion•••Change-Id: I34ff470122aa0f34c66425d2eeae7590187d3074 Satoshi Kataoka1-1/+1
2013-04-15Tighten unit test condition of MoreKeysKeyboardBuilder•••Bug: 8601979 Change-Id: Icf584f3b35adce69cc3dfc46f3aacfef05e5dd2a Tadashi G. Takaoka2-8/+8
2013-04-12Import translations. DO NOT MERGE•••Change-Id: I2cb68d3f0804a0c9990916a89e079510b465253f Auto-generated-cl: translation import Baligh Uddin97-354/+1768
2013-04-12Import translations. DO NOT MERGE•••Change-Id: Ie74fdb8041ac5d7eb5d15a49f9aac834751cc9c2 Auto-generated-cl: translation import Baligh Uddin44-354/+178
2013-04-12Fix failing tests•••RichInputConnection#getWordRangeAtCursor may now returning either a SpannableString or a String. We can't test that with String#equals(), but TextUtils#equals() does the job for us. Change-Id: I59ebe54207e92f4d90b49476b64f1e12fd4929cb Jean Chalard1-7/+8
2013-04-12Fix a bug with bad application completions•••Bug: 8561056 Change-Id: I91fb0ac76dabfc841bafc0e2c0ea9f63e6f604f9 Jean Chalard3-2/+48
2013-04-12Restart suggestions when the cursor moves.•••This uses the old suggestions. It does not try to recompute new suggestions if there are no old suggestions yet: this is coming in a later change. If there are no suggestions, this shows the word itself as a suggestion. Bug: 8084810 Change-Id: I4c2e25df0ff3673be1825f57a0c19a9d23d47a48 Jean Chalard7-15/+103
2013-04-12Remove voodoo magic.•••There was a much, much simpler way of achieving the same thing. Bug: 8583091 Change-Id: I8882f389312caad3b17335672892a31d30cd00bc Jean Chalard1-32/+9
2013-04-12Make shortcut-only user dict entry non-words.•••Bug: 7369456 Change-Id: Iecd6f6d617f31bd2aa6749516711aeb1f0549622 Jean Chalard3-6/+8
2013-04-12Remove the dialog to insert words to the dictionary.•••Bug: 8562529 Change-Id: Ibd853f0cb995e7fb35f8730eafcef73ead58c869 Jean Chalard3-22/+63
2013-04-12Fix a native crash in AOSP LatinIME•••bug: 8597610 Change-Id: I585c629636a52a1ac45b8cc686bc94427bb601df Ken Wakasa1-2/+3
2013-04-11Add a class to encapsulate getting the metadata URI•••Bug: 8376173 Change-Id: Icaac8ad412e0180c44e6a955943e3b208981b2ea Jean Chalard2-1/+29
2013-04-11Move some values to a place where they are easier to override•••Bug: 8418765 Change-Id: Iff0edd4ed8da9d0d1a6fb9545224b232ba374469 Jean Chalard2-7/+4
2013-04-11Change the default vibration duration to 20msec•••Bug: 8556975 Change-Id: Ia6a0fe230585c9826199a0696fb0c1367e917134 Tadashi G. Takaoka1-2/+6
2013-04-11Add some utility functions.•••Bug: 7657025 Change-Id: I4889721b5348c77ed56c5157557e9988dea48a02 Jean Chalard2-0/+150
2013-04-11Reorder advanced settings menu•••Bug: 8247224 Change-Id: I339f285304824b778635f435d8587893fc241c4e Tadashi G. Takaoka1-4/+5
2013-04-11Add debug message to detect unusual zero width condition•••Bug: 8452013 Change-Id: I0169dc6b0d08d1b4d9e01a5fa2ad01e9db292bda Tadashi G. Takaoka1-0/+12
2013-04-11Add TypefaceUtils•••Change-Id: I2d939bc1e3279253902b28ff12bbf7861716b64d Tadashi G. Takaoka8-128/+178
2013-04-11add a debug flag to evaluate the most probable string•••Change-Id: I34dc08c14feb9cbc0304c1d0ff06922e3b65819d Satoshi Kataoka2-0/+6
2013-04-11More precise geometry checking for more keys keyboard•••Bug: 8484528 Change-Id: I0dd09530a5262fee9c19bb0f11d5830b00306944 Tadashi G. Takaoka1-2/+3
2013-04-10Preserve a class for testing•••Addresses b/8583091 Change-Id: I89605223784312d9572dfc7c8aaa7e5eba44c4f6 Kurt Partridge1-0/+3
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: Iafc0a5506abef8e709d76ebf4600bacae7dd1e00 Auto-generated-cl: translation import Baligh Uddin49-196/+373
2013-04-10Better isolate ResearchLogging data•••Calls to LatinIME#onStartInputViewInternal log important information about the context in which an IME is used. This is reported as a single LogStatement. Previously, this was not placed into a separate LogUnit, and was mixed in with general word data. This change wraps this LogStatement in its own LogUnit. Change-Id: I0fecd41c8a1de622a764cc4b5d6902336697046c Kurt Partridge1-0/+3
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 two bugs in dicttool•••Both bugs only affect debug mode. One has the wrong object tested with equals, the other has the iteration failing in some cases. Change-Id: Ie9100d257a3f9e3be340cf3e38116f63417bdc1a Jean Chalard1-3/+6
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-09Hide Setup Wizard icon for stock keyboard•••Bug: 8581647 Change-Id: Id530f1a33a5c919f4a732ec0d545dfbe76e56316 Tadashi G. Takaoka3-1/+34
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-10Use SparseIntArray instead of TreeMap<Integer, Integer>•••Change-Id: I56a64228a5fd85d440d0d08ac67cba8bf2e5690d Tadashi G. Takaoka1-42/+24
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-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