aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/compat/InputMethodInfoCompatWrapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
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
2012-02-17Read the initial selection value.•••It turns out this was available in an unexpected place. Fixes both the following bugs Bug: 5948469 Bug: 6023118 Change-Id: Ie1a91b8268540ea0f0df02bee94c3bbdeb0fa4c5 Jean Chalard1-11/+5
2012-02-17Import translations.•••Change-Id: I59fdeb4d9df08e82e56d5545ffaaa66e5a04304e Eric Fischer49-52/+1
2012-02-17Settings key always exists in more keys of shortcut/f1 key•••This change also * Fix comman/f1 key for Arabic keyboard. * Removes "show settings key option" and related stuff. * Renames and simplifies F2 key to shortcut key on 7 inch tablet. Change-Id: Ib1cf99ad00d9780a2f0d170260e756771e161521 Tadashi G. Takaoka36-329/+154
2012-02-17Support fixed order more keys•••Change-Id: I979f54e8b54243da4d23cfbe08198d2aa495f870 Tadashi G. Takaoka18-524/+4012
2012-02-16Don't assume a word has been added to the user dict•••The user may now cancel or edit a word upon adding to the user dictionary. We can no longer assume the word has been added as is and for the current locale. We should just rely on standard mechanisms that inform us of new insertions. Bug: 6015347 Change-Id: I069b19c0c844ca29d6de4c4d162306f9413adea8 Jean Chalard1-5/+0
2012-02-16Use additional proximity chars even when no key is detected.•••Change-Id: I06a8c66421fcdd43066934ec31d0a38a7cf12bf2 Tadashi G. Takaoka1-27/+36
2012-02-16Remove unnecessary and harmful KeyboardState.onUpdateShiftState call•••This change also cancels double tap and long press timers if other letter key is pressed after shift key. Bug: 5693999 Bug: 6017610 Change-Id: I3b5f3debfb8915fa73a93b409a38afadf24132e9 Tadashi G. Takaoka9-7/+149