aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2012-03-05Move some treatment to a more sensical place.•••It makes more sense to catch words with the safety net in updateSuggestions() than in showSuggestions(). Also, it's useless to do it in updateBigramPredictions, because the result will always be provably false. This will also help with writing unit tests. Change-Id: Ifab81e6c5a74b1aa75cf85ef7742fee69a98f5ce Jean Chalard1-6/+6
2012-03-05Support embedded more key•••This is a followup change to Ie10b3e0b. Change-Id: I1f91d96e32357b83bd0546537d561d638b6ff0c6 Tadashi G. Takaoka5-17/+21
2012-03-05Move a method to a more sensical place.•••Change-Id: I11f87448f689cf828bff960ad7a3e4739a3457dc Jean Chalard4-10/+9
2012-03-05Remove a useless method•••Change-Id: I2002662ee07af2fcc626a52ea4e9ad8977b29ca2 Jean Chalard1-7/+0
2012-03-05Suppress more keys that share the same meaning with the parent key's imeAction•••Bug: 6080806 Change-Id: Ifc3145fd79f10b39442b95432a8d19a624c2fdfd Tadashi G. Takaoka1-0/+14
2012-03-05Replace a useless computation with a constant•••This is provably always false Change-Id: I88d783fa59fec0b7a729558ba974a6a58c158645 Jean Chalard1-1/+1
2012-03-05Remove a useless test•••With the current logic, this test provably always resolves to false. Change-Id: Iba84ef5f3a14cd8ac48c6a813519ab283bf605f8 Jean Chalard1-4/+0
2012-03-05Fix comment•••This is follow up of Ie10b3e0. Change-Id: Idefbe1575915bb87f1c86cb3ddb5efe578c5b760 Tadashi G. Takaoka1-3/+3
2012-03-05Omit InputMethodManagerCompatWrapper argument from some utility methods•••Change-Id: Ic837018c702c8c575de3e5e81fe8e31fee16fe22 Tadashi G. Takaoka4-12/+14
2012-03-02Fix long press behavior of akye that has altCode defined•••This issue has been introduced by I2bd4daf2 Change-Id: Ie10b3e0bb360986597a0f5a8e5b8253400f924c4 Tadashi G. Takaoka1-2/+5
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-02Some renaming•••Change-Id: I445277cb3af469a0145a8da0ffb801b7e19048cd Jean Chalard4-9/+9
2012-03-02Remove a useless method•••Change-Id: I038e6a82b6463a2a8ec494171a596d76fbc75fe1 Jean Chalard1-4/+0
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-02Some more simplification•••I wish "are we autocorrecting?" was not computed in a dozen places all depending on a hundred code paths More than likely, this fixes very subtle discrepancies between auto-correction indicator with the underline and with the LED on the spacebar - which is not displayed any more in the current version anyway. Especially, the LED probably would have been off when the word was caught by the safety net. Change-Id: Idda3021771081d6155b06915e728ecd64d9e042e Jean Chalard1-9/+10
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-28Added virtual view hierarchy for keyboard accessibility.•••Bug: 5829051 Change-Id: Ied1b6267eec616bd3b9337f6e761b0c740aa0eb2 alanv12-115/+561
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