aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Precompute two values that never changeJean Chalard2012-03-021-2/+2
| | | | Change-Id: Ic54e7926028ea8374564da5e5004d710f42c53e1
* Change a parameter type to make a call clearerJean Chalard2012-03-021-6/+5
| | | | Change-Id: I2918d0a8b00da743689b919f80128bbf36973f24
* Move a method up a levelJean Chalard2012-03-021-2/+6
| | | | Change-Id: I6b9a697480127e4745698ab19f8a360b86ff39ca
* Break out a methodJean Chalard2012-03-021-0/+3
| | | | Change-Id: Ia14fc320422b7f198c33ba522bb93dd70fbcb2c1
* Merge "Revert "Make a member read-only""Jean Chalard2012-03-023-7/+3
|\
| * Revert "Make a member read-only"Jean Chalard2012-03-023-7/+3
| | | | | | This reverts commit 6a43e39bf077bcb706be5e5a84056a3f62580ad7
* | Merge "Small refactor (A1)"Jean Chalard2012-03-021-10/+9
|\ \
| * | Small refactor (A1)Jean Chalard2012-03-021-10/+9
| | | | | | | | | | | | Change-Id: Ia0838bbce47a2b60067f464685ad6d55ee4ec934
* | | Merge "Make a member read-only"Jean Chalard2012-03-023-3/+7
|\ \ \ | |/ / |/| / | |/
| * Make a member read-onlyJean Chalard2012-03-023-3/+7
| | | | | | | | Change-Id: I9a718eaf07e1b6c659e649350d3605f365db2839
* | Remove a useless methodJean Chalard2012-03-021-38/+0
|/ | | | Change-Id: Ic00520b18f74838fe1002a679952f62bc7226c15
* Readable debug outputTadashi G. Takaoka2012-03-021-1/+1
| | | | Change-Id: I4110791832d2ab1d681b01c9e8a237567442c827
* Support time, date, and datetime keyboardTadashi G. Takaoka2012-03-026-44/+26
| | | | | Bug: 6030364 Change-Id: I2bd4daf264757d8f3fa7c946d10a39c36ccf5905
* Merge "Explicitly specify that labels might be in more keys"Tadashi G. Takaoka2012-03-014-18/+53
|\
| * Explicitly specify that labels might be in more keysTadashi G. Takaoka2012-03-014-18/+53
| | | | | | | | | | | | Bug: 6080806 Bug: 6081427 Change-Id: I455a0210e65ea2a7774e0e0071cea5f4a99577bd
* | Merge "Change a dangerous ID"Jean Chalard2012-03-011-1/+1
|\ \ | |/ |/|
| * Change a dangerous IDJean Chalard2012-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Refactor more keys spec handlingTadashi G. Takaoka2012-03-013-51/+69
|/ | | | Change-Id: Ibd95eff0725724ea35ad58e1d1ec7ec3d02a6e90
* Merge "Try to survive unavailability of local storage"Jean Chalard2012-02-292-13/+45
|\
| * Try to survive unavailability of local storageJean Chalard2012-03-012-13/+45
| | | | | | | | | | Bug: 6035465 Change-Id: Ibe2d542349ec598824f78b91d374a977082fc2d1
* | Merge "Reset previous symbols shifted state when auto switch backed"Tadashi G. Takaoka2012-02-291-2/+5
|\ \
| * | Reset previous symbols shifted state when auto switch backedTadashi G. Takaoka2012-03-011-2/+5
| |/ | | | | | | | | Bug: 6072517 Change-Id: I00337b3ed5c85df4627e8f5a02465d406c4d9178
* / Fix spacebar icon position on phone/number keyboardTadashi G. Takaoka2012-03-012-11/+6
|/ | | | Change-Id: I4d6bb0f2f12e7b263ff951f3173cac8e41d0f23e
* Remove logs now that we don't need them any more.Jean Chalard2012-02-221-1/+0
| | | | | | | | | 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
* Add debug prints to help with debuggingJean Chalard2012-02-221-0/+62
| | | | | | | | 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
* Rename cancelCommit to revertCommitJean Chalard2012-02-222-6/+6
| | | | | | | This wording is easier to understand, and it matches the other revert* functions. Change-Id: Ibc2ec79fb5a0f9bf508e5cdeb75e54abd9241d0c
* Remove a useless code path (A7)Jean Chalard2012-02-221-53/+17
| | | | | | | | | 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
* Rename cancelAutoCorrect to cancelCommit (A6)Jean Chalard2012-02-222-18/+7
| | | | | | | Also remove a test in debug mode that would check for absence of a situation which is now expected. Change-Id: Ia5be350bc98a604b3bf8f6057652c5534f6a19af
* Merge "Activate the code to cancel a manual pick (A5)"Jean Chalard2012-02-223-19/+8
|\
| * Activate the code to cancel a manual pick (A5)Jean Chalard2012-02-223-19/+8
| | | | | | | | | | | | | | This finally makes active the behavior described in Bug: 5968922 Change-Id: I363ed23270c3dea75411ea806011225097b5d07c
* | Merge "Implement cancelling a manual pick (A4)"Jean Chalard2012-02-221-1/+3
|\|
| * Implement cancelling a manual pick (A4)Jean Chalard2012-02-221-1/+3
| | | | | | | | | | | | | | | | 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
* | Merge "Use the stored separator instead of reading it back (A3)"Jean Chalard2012-02-222-9/+27
|\|
| * Use the stored separator instead of reading it back (A3)Jean Chalard2012-02-212-9/+27
| | | | | | | | | | | | | | | | 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
* | Merge "Give LastComposedWord knowledge of the separator (A2)"Jean Chalard2012-02-215-17/+31
|\|
| * Give LastComposedWord knowledge of the separator (A2)Jean Chalard2012-02-215-17/+31
| | | | | | | | | | | | | | | | | | | | 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
* | Merge "Give LastComposedWord knowledge of the committed word (A1)"Jean Chalard2012-02-213-16/+17
|\|
| * Give LastComposedWord knowledge of the committed word (A1)Jean Chalard2012-02-213-16/+17
| | | | | | | | | | | | | | | | 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
* | Merge "Add next/prev navigate action more keys and remove tab key"Tadashi G. Takaoka2012-02-216-74/+59
|\ \ | |/ |/|
| * Add next/prev navigate action more keys and remove tab keyTadashi G. Takaoka2012-02-216-74/+59
| | | | | | | | | | | | Bug: 6037537 Bug: 5961814 Change-Id: I9c6dedf953452a180fcd5bce7bfadfd3c821f224
* | Dismiss the hint on a non-word-starting non-separatorJean Chalard2012-02-211-0/+9
| | | | | | | | | | | | | | | | | | | | | | 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
* | Rename resources to reflect current usageJean Chalard2012-02-212-22/+22
| | | | | | | | | | Bug: 6010403 Change-Id: Ia02ff31007296fdf6901504f238dfd9e4621f658
* | Remove a useles parensJean Chalard2012-02-211-1/+1
| | | | | | | | | | | | ...I could swear I had compiled :/ Change-Id: I4e1fb2b1dda0a4ceffe2082935395d05297c63ec
* | Rewrite a conditionJean Chalard2012-02-211-5/+5
| | | | | | | | Change-Id: I805c9579788d99b015feb2075ad4771756c7adc5
* | Extract a method to reset the ime stateJean Chalard2012-02-211-22/+16
| | | | | | | | Change-Id: I921184b85b94418cf360508ee3f67e85b10b3d72
* | Converge paths of an if() branchJean Chalard2012-02-191-2/+12
| | | | | | | | | | | | This is to help with further refactoring. Change-Id: Ib2459903862570cf7022fd90f2d5c524a6bbbe19
* | Rename variables and add commentsJean Chalard2012-02-191-14/+22
| | | | | | | | Change-Id: I746f2364d9f02f22aa6ab57d7060013ee114f4e3
* | Read the initial selection value.Jean Chalard2012-02-171-11/+5
| | | | | | | | | | | | | | | | | | It turns out this was available in an unexpected place. Fixes both the following bugs Bug: 5948469 Bug: 6023118 Change-Id: Ie1a91b8268540ea0f0df02bee94c3bbdeb0fa4c5
* | Merge "Don't assume a word has been added to the user dict"Jean Chalard2012-02-171-5/+0
|\ \ | |/ |/|
| * Don't assume a word has been added to the user dictJean Chalard2012-02-161-5/+0
| | | | | | | | | | | | | | | | | | | | 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