aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2012-03-02Support Greek Keyboard•••Bug: 5679585 Change-Id: I540d5ea42a830be8b85440e794cfcee92a23838e Tadashi G. Takaoka6-1/+607
2012-03-02Support dividers in MoreKeysKeyboard•••Bug: 6080806 Change-Id: Iacd78c6aab6abf948717d34da7489a79c41316d2 Tadashi G. Takaoka9-14/+69
2012-03-02Support Macedonian Keyboard•••This change also fixes missing Cyrillic DJE key of Seribian keyboard on 10-inch tablet. Bug: 5934396 Change-Id: I18ae5f0e54f788b65f649a52bdbbef1813334d96 Tadashi G. Takaoka14-73/+177
2012-03-02Optimization•••Avoid doing some useless processing. Change-Id: I4ce0a188e10db30322bd25751dc5c09492cea301 Jean Chalard1-3/+3
2012-03-02Precompute two values that never change•••Change-Id: Ic54e7926028ea8374564da5e5004d710f42c53e1 Jean Chalard1-2/+2
2012-03-02Change a parameter type to make a call clearer•••Change-Id: I2918d0a8b00da743689b919f80128bbf36973f24 Jean Chalard1-6/+5
2012-03-02Move a method up a level•••Change-Id: I6b9a697480127e4745698ab19f8a360b86ff39ca Jean Chalard1-2/+6
2012-03-02Break out a method•••Change-Id: Ia14fc320422b7f198c33ba522bb93dd70fbcb2c1 Jean Chalard1-0/+3
2012-03-02Revert "Make a member read-only"•••This reverts commit 6a43e39bf077bcb706be5e5a84056a3f62580ad7Jean Chalard3-7/+3
2012-03-02Make a member read-only•••Change-Id: I9a718eaf07e1b6c659e649350d3605f365db2839 Jean Chalard3-3/+7
2012-03-02Small refactor (A1)•••Change-Id: Ia0838bbce47a2b60067f464685ad6d55ee4ec934 Jean Chalard1-10/+9
2012-03-02Remove a useless method•••Change-Id: Ic00520b18f74838fe1002a679952f62bc7226c15 Jean Chalard1-38/+0
2012-03-02Readable debug output•••Change-Id: I4110791832d2ab1d681b01c9e8a237567442c827 Tadashi G. Takaoka1-1/+1
2012-03-02Remove obsolete tests•••Change-Id: Ibfbe6b39580ae13e4c32fb2ceab7a6c6f3a24ccb Tadashi G. Takaoka6-663/+0
2012-03-02Support time, date, and datetime keyboard•••Bug: 6030364 Change-Id: I2bd4daf264757d8f3fa7c946d10a39c36ccf5905 Tadashi G. Takaoka12-72/+169
2012-03-02Fix correction utility•••Bug: 6096247 Change-Id: Ie17c60dde9bd081790b79312ce8d96d292c5128c satok1-1/+9
2012-03-02Add basic tests for auto-correct indicator.•••Bug: 5975557 Change-Id: I39e782f89813b9d585e369e590d6288e696168a2 Jean Chalard1-0/+119
2012-03-01Explicitly specify that labels might be in more keys•••Bug: 6080806 Bug: 6081427 Change-Id: I455a0210e65ea2a7774e0e0071cea5f4a99577bd Tadashi G. Takaoka6-23/+58
2012-03-01Change a dangerous ID•••The message id 0 is used intrinsically by the framework for all messages without a specific ID. Using 0 here we can't reliably use the post(Runnable) method on our handler, because these would in *some* respects be taken for update_suggestion messages, but not all. For example, they'd be removed on removeMessage() but they would not trigger the actual process. This would lead to utter confusion. Change-Id: I5d9b01d38e2ff090cd0d80c27421dc8a41c317b8 Jean Chalard1-1/+1
2012-03-01Refactor more keys spec handling•••Change-Id: Ibd95eff0725724ea35ad58e1d1ec7ec3d02a6e90 Tadashi G. Takaoka5-56/+78
2012-03-01Make makedict able to write binary format versions 1 and 2•••Version 2 provides for a variable-length header region. The first step is to allow the implementation to simply step over the header, which will allow us to put any ignored metadata we want. This change implements the makedict part of this. Bug: 5686638 Change-Id: I97f1a8a4f84d15e1bedbad74e54303852aef6e0b Jean Chalard2-19/+87
2012-03-01Try to survive unavailability of local storage•••Bug: 6035465 Change-Id: Ibe2d542349ec598824f78b91d374a977082fc2d1 Jean Chalard2-13/+45
2012-03-01Reset previous symbols shifted state when auto switch backed•••Bug: 6072517 Change-Id: I00337b3ed5c85df4627e8f5a02465d406c4d9178 Tadashi G. Takaoka2-2/+7
2012-03-01Fix spacebar icon position on phone/number keyboard•••Change-Id: I4d6bb0f2f12e7b263ff951f3173cac8e41d0f23e Tadashi G. Takaoka2-11/+6
2012-02-29Shift+Smiley can register enter in textMultiLine field•••Bug: 2498607 Change-Id: Ied2217c49665394a01c7d3451a93c0bc647d392f Tadashi G. Takaoka1-0/+9
2012-02-29Add a method to run the handler's messages from the tests•••This is really brutal, but after trying many many things I didn't find a better way. It works with the current implementation of MessageQueue. Since this only introduces a utility method it doesn't really do anything, but the functionality it provides will be essential to Bug: 5975557 Change-Id: I81c4113a08f9a8d8a88294d7dd3b6c8c483c8b1d Jean Chalard1-0/+47
2012-02-24Import translations. DO NOT MERGE•••Change-Id: I6e4e75a7713a683dcb4d9159179103b412ab41be Eric Fischer1-1/+1
2012-02-22Remove logs now that we don't need them any more.•••This has served its purpose, we don't need this any more. The logging function itself can be kept since it's not called any more. It may come in handy later. Bug: 6053661 Change-Id: Icb40dad131793a704dbe6514cf7433e43ea04450 Jean Chalard1-1/+0
2012-02-22Add debug prints to help with debugging•••This is intended to help tracking #6048808. Another bug has been filed to remove this once we're done with the debugging: #6053661 Change-Id: I4547fb71926af6dc2e9c23ee4b44e4e345be6657 Jean Chalard1-0/+62
2012-02-22Import translations. DO NOT MERGE•••Change-Id: Ibcf6712652c6faf320cefb3fe408b172adf130e0 Eric Fischer2-4/+2
2012-02-22Add some unit tests.•••- Type "tgis", manually pick "thus", press backspace. Backspace should revert the manual pick. Check "tgis" is the result. - Type "tgis" followed by a period. Period should trigger auto-correct to "this". Check "this" is the result. - Type "tgis" followed by a period, then backspace. Period should trigger auto-correct to "this", and backspace should revert the auto-correction. Check "tgis." is the result. Change-Id: I7e23c8a26fbdbe23336149a05ff01bc51707422e Jean Chalard1-0/+51
2012-02-22Rename cancelCommit to revertCommit•••This wording is easier to understand, and it matches the other revert* functions. Change-Id: Ibc2ec79fb5a0f9bf508e5cdeb75e54abd9241d0c Jean Chalard2-6/+6
2012-02-22Remove a useless code path (A7)•••This is never called any more, since we now use the cancelCommit path to react to a backspace after a manual pick. This concludes the run of changes to implement feature request #5968922 Change-Id: I23df653bb2a3de2ba0152394d5d616a42ac7519b Jean Chalard1-53/+17
2012-02-22Rename cancelAutoCorrect to cancelCommit (A6)•••Also remove a test in debug mode that would check for absence of a situation which is now expected. Change-Id: Ia5be350bc98a604b3bf8f6057652c5534f6a19af Jean Chalard2-18/+7
2012-02-22Activate the code to cancel a manual pick (A5)•••This finally makes active the behavior described in Bug: 5968922 Change-Id: I363ed23270c3dea75411ea806011225097b5d07c Jean Chalard3-19/+8
2012-02-22Implement cancelling a manual pick (A4)•••This is new code, but simple code. The new code path is never used for now, but it will be in an upcoming change. This serves to implement feature request #5968922 Change-Id: I3e67731ec6e9fc0b86c5cbd972e9c081781c11a9 Jean Chalard1-1/+3
2012-02-21Use the stored separator instead of reading it back (A3)•••Now that we have stored our committing separator, we can use it directly instead of reading it back from the text view paying the IPC cost. This prepares for feature request #5968922. Change-Id: Ifeaa2d659cf12b91c89d28e6ff7d07a669258184 Jean Chalard2-9/+27
2012-02-21Give LastComposedWord knowledge of the separator (A2)•••This stores the separator that was used to commit the word in the LastComposedWord. It may be NOT_A_SEPARATOR if there was no separator (for example, the cursor moved causing a commit, or there was a manual pick). This is necessary to implement feature request #5968922. Change-Id: I5fcf19a78ec66d68d4df89418eaef13952588207 Jean Chalard5-17/+31
2012-02-21Add Georgian keyboard•••Bug: 5002108 Change-Id: Ia5751181bffc96e2e6c5daed3c7de8408078f91b Tadashi G. Takaoka6-1/+997
2012-02-21Give LastComposedWord knowledge of the committed word (A1)•••There is no point storing the prospective autocorrect - we are recomputing it anyway. The committed word however will be necessary to implement feature request #5968922. Change-Id: I588c18e1a5a1050a791d601de465f421ccbe36cd Jean Chalard3-16/+17
2012-02-21Add next/prev navigate action more keys and remove tab key•••Bug: 6037537 Bug: 5961814 Change-Id: I9c6dedf953452a180fcd5bce7bfadfd3c821f224 Tadashi G. Takaoka22-602/+271
2012-02-21Dismiss the hint on a non-word-starting non-separator•••This would happen when a character is not a separator but is not a word starter. Such characters include single quote and dollar, and others non-letter, non-separator chars. We set the bigram predictions if any - if not so configured, this will fallback on setting back punctuations into the strip. Bug: 6010408 Change-Id: Id203bbe87f8c13de0d5027b555c9067c7ec98f92 Jean Chalard1-0/+9
2012-02-21Add "#" and "%" to punctuation more keys•••Bug: 6029665 Change-Id: I976326a900876a0d39067a760459366f52101c96 Tadashi G. Takaoka2-2/+2
2012-02-21Rename resources to reflect current usage•••Bug: 6010403 Change-Id: Ia02ff31007296fdf6901504f238dfd9e4621f658 Jean Chalard3-30/+30
2012-02-21Remove a useles parens•••...I could swear I had compiled :/ Change-Id: I4e1fb2b1dda0a4ceffe2082935395d05297c63ec Jean Chalard1-1/+1
2012-02-21Rewrite a condition•••Change-Id: I805c9579788d99b015feb2075ad4771756c7adc5 Jean Chalard1-5/+5
2012-02-21Extract a method to reset the ime state•••Change-Id: I921184b85b94418cf360508ee3f67e85b10b3d72 Jean Chalard1-22/+16
2012-02-21Import translations. DO NOT MERGE•••Change-Id: Ic09c089b8b42fdd672138d14f52a0ffb21733677 Eric Fischer2-3/+2
2012-02-19Converge paths of an if() branch•••This is to help with further refactoring. Change-Id: Ib2459903862570cf7022fd90f2d5c524a6bbbe19 Jean Chalard1-2/+12
2012-02-19Rename variables and add comments•••Change-Id: I746f2364d9f02f22aa6ab57d7060013ee114f4e3 Jean Chalard1-14/+22