aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/research/LoggingUtils.java (unfollow)
Commit message (Expand)AuthorFilesLines
2013-04-15If there are no suggestion span, recompute suggestions.•••Bug: 8084810 Change-Id: I1743c09c43ca6835bb2f607684b037bf17d36335 Jean Chalard4-16/+148
2013-04-15Enable touch coordinate correction for new algorithm•••Bug: 8505668 Change-Id: I07eb785c74c446777524104a3d2b61f0f591a498 Satoshi Kataoka8-48/+94
2013-04-15Reject a previously user-refused suggestion.•••If the user gestures a word, then hits backspace in disapproval, and gestures about the same thing again, make sure that we don't suggest the same thing again. Bug: 7549311 Change-Id: I793bc4df7c3841fa8f2f4146707c26e873f374c1 Jean Chalard3-0/+27
2013-04-15Remove unnecessary harmful finish() from SettingsActivity•••Bug: 8560722 Change-Id: I825b135bd13aca17e712330660978b834648dbc3 Tadashi G. Takaoka1-7/+2
2013-04-15Add preference dependency to gesture input related options•••Bug: 8613600 Change-Id: I279d3264080aede59203205c45763c7f8ff08ae6 Tadashi G. Takaoka2-4/+2
2013-04-15Update dictionaries•••>>> dictionaries/en_GB_wordlist.combined.gz Header : date : 1355802832 <=> 1366003032 version : 29 <=> 31 Body : Deleted: HTTP 95 Deleted: WWW 72 Added: mm 135 >>> dictionaries/en_US_wordlist.combined.gz Header : date : 1355112451 <=> 1366003070 version : 28 <=> 31 Body : Deleted: HTTP 95 Deleted: WWW 71 Added: mm 135 >>> dictionaries/en_wordlist.combined.gz Header : date : 1355802851 <=> 1366003861 version : 29 <=> 31 Body : Deleted: HTTP 95 Deleted: WWW 71 Added: mm 135 >>> dictionaries/fr_wordlist.combined.gz Header : date : 1357617878 <=> 1366003217 version : 29 <=> 31 Body : Not a word: re false -> true Shortcut added: re le 15 >>> dictionaries/nb_wordlist.combined.gz Header : date : 1355802836 <=> 1366003450 version : 29 <=> 31 Body : Freq changed: iPhone 91 -> 30 Added: app 30 >>> dictionaries/ru_wordlist.combined.gz Header : date : 1358763720 <=> 1366003693 version : 30 <=> 31 Body : Freq changed: за 140 -> 181 Freq changed: не 140 -> 191 Freq changed: про 131 -> 151 Freq changed: эры 125 -> 140 >>> dictionaries/sv_wordlist.combined.gz Header : date : 1355802856 <=> 1366003804 version : 29 <=> 31 Body : Added: vi 180 >>> java/res/raw/main_en.dict Header : date : 1355802851 <=> 1366003861 version : 29 <=> 31 Body : Deleted: HTTP 95 Deleted: WWW 71 Added: mm 135 >>> java/res/raw/main_fr.dict Header : date : 1357617878 <=> 1366003217 version : 29 <=> 31 Body : Not a word: re false -> true Shortcut added: re le 15 >>> java/res/raw/main_ru.dict Header : date : 1358763720 <=> 1366003693 version : 30 <=> 31 Body : Freq changed: за 140 -> 181 Freq changed: не 140 -> 191 Freq changed: про 131 -> 151 Freq changed: эры 125 -> 140 Bug: 8560415 Bug: 7556679 Change-Id: If1c628edcb1cc5efd67e1715acf94f19c0eb4643 Jean Chalard10-0/+0
2013-04-15Ignore modifier key while sliding key input•••Bug: 8284624 Change-Id: I839d7a769d98f29be647dbe511ba3f73ca44446d Tadashi G. Takaoka1-3/+3
2013-04-15Clean up tests and increase speed•••Conservatively reduce the number of unigrams to test from 1000 to 100. Bug: 8583091 Change-Id: I48621ec44ff5f0590640d7c6b174ab5a6d267aaf Jean Chalard1-5/+6
2013-04-15Reset vertical correction when more suggestions are in modal mode•••Bug: 8605150 Change-Id: Iadbebfb80e765c97e58e8524eb87419f2a9e41d4 Tadashi G. Takaoka3-3/+9
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-15Suppress calling onPressKey and onReleaseKey while detecting gesture•••Bug: 8284624 Change-Id: I14470bb2373965aefa921b2c94948450bfa438e3 Tadashi G. Takaoka1-2/+2
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: I7c8b83b352dcc840ee2a8a6f0b8e6d4d28b4e08f 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-10Import translations. DO NOT MERGE•••Change-Id: I47d7f8fc86fcee4702c43fc6d7bdb946801951e1 Auto-generated-cl: translation import Baligh Uddin4-32/+16
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