aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* am e58f3af8: Treat apostrophe as single quote in spell checkersatok2012-05-071-6/+9
|\ | | | | | | | | * commit 'e58f3af8a7bf852c3b100de1bd85d95d13e0e15e': Treat apostrophe as single quote in spell checker
| * Treat apostrophe as single quote in spell checkersatok2012-05-071-6/+9
| | | | | | | | | | Bug: 6435348 Change-Id: Iaaac9042e7e6cb21a3f2243bc6e8e055cc24f74d
* | am 165725ab: Fix buildTadashi G. Takaoka2012-05-062-6/+5
|\| | | | | | | | | * commit '165725aba8a179440af9c93869b35f206b2e133f': Fix build
| * Fix buildTadashi G. Takaoka2012-05-072-6/+5
| | | | | | | | | | Related-change: I173a3dc0 Change-Id: I4b5adedb70f7501e84fd3604aa240161c97dc713
* | am 8e50c5d1: Fix subtype name for a custom input style with en_US and en_GBTadashi G. Takaoka2012-05-063-14/+61
|\| | | | | | | | | * commit '8e50c5d198f65beb6679a9a1e0102e5fc52d7707': Fix subtype name for a custom input style with en_US and en_GB
| * Fix subtype name for a custom input style with en_US and en_GBTadashi G. Takaoka2012-05-073-14/+61
| | | | | | | | | | | | | | | | This change utilizes "UntranslatableReplacementStringInSubtypeName" subtype extra value to display keyboard layout name dynamically. Bug: 6449315 Change-Id: I9ef4c3d66ff9a223aa8c89c346d04cb72e4f6263
* | am 4e6c6046: Merge "Fix newly created custom input style display name" into ↵Tadashi G. Takaoka2012-05-061-8/+14
|\| | | | | | | | | | | | | jb-dev * commit '4e6c60464580213cda67c46499259d2ff0bbc493': Fix newly created custom input style display name
| * Merge "Fix newly created custom input style display name" into jb-devTadashi G. Takaoka2012-05-061-8/+14
| |\
| | * Fix newly created custom input style display nameTadashi G. Takaoka2012-05-071-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | This will revert I4263632e Bug: 6443665 Bug: 6410653 Change-Id: Id9ad1a204ed9802488abfc2c536a95d62d55afe0
* | | am 3665e2a8: Merge "Tidy up the MakedictLog class." into jb-devKen Wakasa2012-05-061-12/+16
|\| | | | | | | | | | | | | | * commit '3665e2a8fc29c9bbe98d1c73e00af26abd6a5421': Tidy up the MakedictLog class.
| * | Merge "Tidy up the MakedictLog class." into jb-devKen Wakasa2012-05-061-12/+16
| |\ \ | | |/ | |/|
| | * Tidy up the MakedictLog class.Ken Wakasa2012-05-051-12/+16
| | | | | | | | | | | | | | | | | | Follow up to I436b2b7b Change-Id: Id17b134dab2f876b874a505e92a379c8b5567fa4
* | | am 4c9bdcc9: Merge "Fix missing synchronized modifier" into jb-devTadashi G. Takaoka2012-05-061-1/+1
|\| | | | | | | | | | | | | | * commit '4c9bdcc9579288ca379c49d36c0ba0ec81515ef7': Fix missing synchronized modifier
| * | Merge "Fix missing synchronized modifier" into jb-devTadashi G. Takaoka2012-05-061-1/+1
| |\ \
| | * | Fix missing synchronized modifierTadashi G. Takaoka2012-05-071-1/+1
| | |/ | | | | | | | | | Change-Id: Ied70a86bedb08adcf8353b189367172459f55292
* | | am 90b73b85: Merge "Get subtype name string resource from its own locale" ↵Tadashi G. Takaoka2012-05-061-3/+14
|\| | | | | | | | | | | | | | | | | | | | into jb-dev * commit '90b73b85e4d1846b84f97fb3b1a5f7897f89b985': Get subtype name string resource from its own locale
| * | Get subtype name string resource from its own localeTadashi G. Takaoka2012-05-071-3/+14
| |/ | | | | | | | | Bug: 6443655 Change-Id: Ib9ee55178f0d0f885aa0640b9cba4a179cf0c566
* | Merge "record full text after finishing session"Kurt Partridge2012-05-042-5/+61
|\ \
| * | record full text after finishing sessionKurt Partridge2012-05-042-4/+60
| | | | | | | | | | | | | | | | | | | | | uses onWindowHidden() callback as proxy for finishing session. Bug: 6188932 Change-Id: Ic63b47c946ca91fc35f80d71b2f9e24e2d0339ac
* | | am 03b423f3: Suppress debug log from makedict in LatinIMEKen Wakasa2012-05-041-1/+4
|\ \ \ | | |/ | |/| | | | | | | * commit '03b423f313cccb85890346ec4e6e347335f89fbf': Suppress debug log from makedict in LatinIME
| * | Suppress debug log from makedict in LatinIMEKen Wakasa2012-05-051-1/+4
| | | | | | | | | | | | | | | bug: 6447900 Change-Id: I436b2b7b261b422a7edca9cb99a4689b63877fe0
* | | associate a per-device UUID with the researchLogKurt Partridge2012-05-021-0/+16
| | | | | | | | | | | | | | | | | | | | | logged upon starting a session Bug: 6188932 Change-Id: I197d231fbc1d87cf5a3649b485a9be4b17898ba3
* | | am 9ba92faa: Merge "Fix build breakage" into jb-devsatok2012-05-021-1/+1
|\| | | | | | | | | | | | | | * commit '9ba92faa81f864c721ee1a9ba8b97c3ead49a38d': Fix build breakage
| * | Fix build breakagesatok2012-05-021-1/+1
| | | | | | | | | | | | Change-Id: I22305137b336c9aab019d044a517ae8bc5fefe45
* | | am 57007ed5: Merge "Workaround return preserved backing view height when the ↵satok2012-05-021-2/+17
|\| | | | | | | | | | | | | | | | | | | | backing view is not ready" into jb-dev * commit '57007ed582fbe89b2f2ac24e06a15a4fb5a948df': Workaround return preserved backing view height when the backing view is not ready
| * | Merge "Workaround return preserved backing view height when the backing view ↵satok2012-05-021-2/+17
| |\ \ | | |/ | |/| | | | is not ready" into jb-dev
| | * Workaround return preserved backing view height when the backing view is not ↵satok2012-05-021-2/+17
| | | | | | | | | | | | | | | | | | ready Change-Id: If4f24500ead516c46e6a93a95291e0897548c2f0
* | | Merge "log packageName in researchLogger on startup"Kurt Partridge2012-05-011-0/+2
|\ \ \ | |/ / |/| |
| * | log packageName in researchLogger on startupKurt Partridge2012-04-301-0/+2
| |/ | | | | | | | | | | Bug: 6188932 Change-Id: I85f434bf284d6b481893f7d41c884a4f0c57ce49
* | Fix checking if subtype belongs to this imeTadashi G. Takaoka2012-05-012-3/+17
| | | | | | | | | | Bug: 6422318 Change-Id: I5779c0e277444315191fa964a976dcb4316cc24a
* | Don't autocorrect after suggestion resumingJean Chalard2012-05-012-0/+15
|/ | | | | Bug: 6105732 Change-Id: I92e7a9c6d6eb648f747c3b396d7993479fd8478a
* Avoid Resources$NotFoundExceptionKen Wakasa2012-04-282-2/+6
| | | | | bug: 6410653 Change-Id: I4263632e76b44abf8ecd9114a9eb185ad39201fd
* Add a flag for bigram presence in the headerJean Chalard2012-04-262-4/+34
| | | | | | | This is a cherry-pick of Icb602762 onto jb-dev. Bug: 6355745 Change-Id: Icb602762bb0d81472f024fa491571062ec1fc4e9
* Merge "Ignore bigrams that are not also listed as unigrams" into jb-devJean Chalard2012-04-263-26/+29
|\
| * Ignore bigrams that are not also listed as unigramsJean Chalard2012-04-263-26/+29
| | | | | | | | | | | | | | This is a cherry pick of I14b67e51 on jb-dev Bug: 6340915 Change-Id: Iaa512abe1b19ca640ea201f9761fd7f1416270ed
* | Merge "Fix SubtypeSwitcher incomplete initialization" into jb-devTadashi G. Takaoka2012-04-251-1/+2
|\ \
| * | Fix SubtypeSwitcher incomplete initializationTadashi G. Takaoka2012-04-261-1/+2
| |/ | | | | | | | | Bug: 6400718 Change-Id: Id5dce156ad397b911bfeaedeeddd4aeb21a10b3a
* / Fix "no language" subtype name (DO NOT MERGE)Tadashi G. Takaoka2012-04-265-66/+50
|/ | | | | | | | | | | * Move SubtypeLocale.get{Full,Middle,Short}DisplayName() to LatinLeyboardView and add unit tests (SpacebarTextTests). * Add SubtypeLocale.getSubtypeDisplayName() This is a cherry-pick of I57420c6a from Master. Bug: 6393865 Change-Id: I68748189c17c73984ac4ae05a5a40fb54bf46453
* Cancel SubtypePreference dialog properlyTadashi G. Takaoka2012-04-251-1/+10
| | | | | | Bug: 6384416 Bug: 6387408 Change-Id: Ia7b0653a09410b42a55915815c887bf0ad56c856
* Save & restore additional subtype dialog state when orientation is changedTadashi G. Takaoka2012-04-251-67/+100
| | | | | Bug: 6384416 Change-Id: Id5fa4742ad900fafb82cc37a0bbb9f380b99254d
* Ignore unknown keyboard layout safelyTadashi G. Takaoka2012-04-253-11/+19
| | | | | Bug: 6393755 Change-Id: I3a74b23f934cd52925026ad04647cc76de92ee07
* Merge "Change expandable binary dict write to a temp file first."Tom Ouyang2012-04-241-1/+4
|\
| * Change expandable binary dict write to a temp file first.Tom Ouyang2012-04-241-1/+4
| | | | | | | | | | Bug: 6380724 Change-Id: Ic1d0d902dc45ecb41a1792f33a60ab85e606fcef
* | Merge "Fix binary reading code performance."Jean Chalard2012-04-231-1/+10
|\ \
| * | Fix binary reading code performance.Jean Chalard2012-04-241-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is not the Right fix ; the Right fix would be to read the file in a buffered way. However this delivers tolerable performance for a minimal amount of code changes. We may want to skip submitting this patch, but keep it around in case we need to use the functionality until we have a good patch. Change-Id: I1ba938f82acfd9436c3701d1078ff981afdbea60
* | | Merge "Make the "Touch again to save" hint text touchable."Tadashi G. Takaoka2012-04-231-7/+18
|\ \ \
| * | | Make the "Touch again to save" hint text touchable.Tadashi G. Takaoka2012-04-241-7/+18
| | | | | | | | | | | | | | | | | | | | Bug: 6355346 Change-Id: I96933719cc94f25e6c7ecb1d6345c11b6acc4134
* | | | Merge "Fix a bug where a node size would be seen as increasing."Jean Chalard2012-04-231-5/+25
|\ \ \ \
| * | | | Fix a bug where a node size would be seen as increasing.Jean Chalard2012-04-241-5/+25
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The core reason for this is quite shrewd. When a word is a bigram of itself, the corresponding chargroup will have a bigram referring to itself. When computing bigram offsets, we use cached addresses of chargroups, but we compute the size of the node as we go. Hence, a discrepancy may happen between the base offset as seen by the bigram (which uses the recomputed value) and the target offset (which uses the cached value). When this happens, the cached node address is too large. The relative offset is negative, which is expected, since it points to this very charnode whose start is a few bytes earlier. But since the cached address is too large, the offset is computed as smaller than it should be. On the next pass, the cache has been refreshed with the newly computed size and the seen offset is now correct (or at least, much closer to correct). The correct value is larger than the previously computed offset, which was too small. If it happens that it crosses the -255 or -65335 boundary, the address will be seen as needing 1 more byte than previously computed. If this is the only change in size of this node, the node will be seen as having a larger size than previously, which is unexpected. Debug code was catching this and crashing the program. So this case is very rare, but in an even rarer occurence, it may happen that in the same node, another chargroup happens to decrease it size by the same amount. In this case, the node may be seen as having not been modified. This is probably extremely rare. If on top of this, it happens that no other node has been modified, then the file may be seen as complete, and the discrepancy left as is in the file, leading to a broken file. The probability that this happens is abyssally low, but the bug exists, and the current debug code would not have caught this. To further catch similar bugs, this change also modifies the test that decides if the node has changed. On grounds that all components of a node may only decrease in size with each successive pass, it's theoritically safe to assume that the same size means the node contents have not changed, but in case of a bug like the bug above where a component wrongly grows while another shrinks and both cancel each other out, the new code will catch this. Also, this change adds a check against the number of passses, to avoid infinite loops in case of a bug in the computation code. This change fixes this bug by updating the cached address of each chargroup as we go. This eliminates the discrepancy and fixes the bug. Bug: 6383103 Change-Id: Ia3f450e22c87c4c193cea8ddb157aebd5f224f01
* | | | Fix NPE in AdditionalSubtypeSettingsTadashi G. Takaoka2012-04-241-0/+1
| |/ / |/| | | | | | | | | | | Bug: 6384416 Change-Id: I878071b8b78acce51649f9637b59830ab681c696