aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-02-22Remove logs now that we don't need them any more.Jean Chalard1-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
2012-02-22Add debug prints to help with debuggingJean Chalard1-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
2012-02-22Import translations. DO NOT MERGEEric Fischer2-4/+2
Change-Id: Ibcf6712652c6faf320cefb3fe408b172adf130e0
2012-02-22Add some unit tests.Jean Chalard1-0/+51
- 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
2012-02-22Rename cancelCommit to revertCommitJean Chalard2-6/+6
This wording is easier to understand, and it matches the other revert* functions. Change-Id: Ibc2ec79fb5a0f9bf508e5cdeb75e54abd9241d0c
2012-02-22Remove a useless code path (A7)Jean Chalard1-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
2012-02-22Rename cancelAutoCorrect to cancelCommit (A6)Jean Chalard2-18/+7
Also remove a test in debug mode that would check for absence of a situation which is now expected. Change-Id: Ia5be350bc98a604b3bf8f6057652c5534f6a19af
2012-02-22Activate the code to cancel a manual pick (A5)Jean Chalard3-19/+8
This finally makes active the behavior described in Bug: 5968922 Change-Id: I363ed23270c3dea75411ea806011225097b5d07c
2012-02-22Implement cancelling a manual pick (A4)Jean Chalard1-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
2012-02-21Use the stored separator instead of reading it back (A3)Jean Chalard2-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
2012-02-21Give LastComposedWord knowledge of the separator (A2)Jean Chalard5-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
2012-02-21Add Georgian keyboardTadashi G. Takaoka6-1/+997
Bug: 5002108 Change-Id: Ia5751181bffc96e2e6c5daed3c7de8408078f91b
2012-02-21Give LastComposedWord knowledge of the committed word (A1)Jean Chalard3-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
2012-02-21Add next/prev navigate action more keys and remove tab keyTadashi G. Takaoka22-602/+271
Bug: 6037537 Bug: 5961814 Change-Id: I9c6dedf953452a180fcd5bce7bfadfd3c821f224
2012-02-21Dismiss the hint on a non-word-starting non-separatorJean Chalard1-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
2012-02-21Add "#" and "%" to punctuation more keysTadashi G. Takaoka2-2/+2
Bug: 6029665 Change-Id: I976326a900876a0d39067a760459366f52101c96
2012-02-21Rename resources to reflect current usageJean Chalard3-30/+30
Bug: 6010403 Change-Id: Ia02ff31007296fdf6901504f238dfd9e4621f658
2012-02-21Remove a useles parensJean Chalard1-1/+1
...I could swear I had compiled :/ Change-Id: I4e1fb2b1dda0a4ceffe2082935395d05297c63ec
2012-02-21Rewrite a conditionJean Chalard1-5/+5
Change-Id: I805c9579788d99b015feb2075ad4771756c7adc5
2012-02-21Extract a method to reset the ime stateJean Chalard1-22/+16
Change-Id: I921184b85b94418cf360508ee3f67e85b10b3d72
2012-02-21Import translations. DO NOT MERGEEric Fischer2-3/+2
Change-Id: Ic09c089b8b42fdd672138d14f52a0ffb21733677
2012-02-19Converge paths of an if() branchJean Chalard1-2/+12
This is to help with further refactoring. Change-Id: Ib2459903862570cf7022fd90f2d5c524a6bbbe19
2012-02-19Rename variables and add commentsJean Chalard1-14/+22
Change-Id: I746f2364d9f02f22aa6ab57d7060013ee114f4e3
2012-02-17Read the initial selection value.Jean Chalard1-11/+5
It turns out this was available in an unexpected place. Fixes both the following bugs Bug: 5948469 Bug: 6023118 Change-Id: Ie1a91b8268540ea0f0df02bee94c3bbdeb0fa4c5
2012-02-17Import translations.Eric Fischer49-52/+1
Change-Id: I59fdeb4d9df08e82e56d5545ffaaa66e5a04304e
2012-02-17Settings key always exists in more keys of shortcut/f1 keyTadashi G. Takaoka36-329/+154
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
2012-02-17Support fixed order more keysTadashi G. Takaoka18-524/+4012
Change-Id: I979f54e8b54243da4d23cfbe08198d2aa495f870
2012-02-16Don't assume a word has been added to the user dictJean Chalard1-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
2012-02-16Use additional proximity chars even when no key is detected.Tadashi G. Takaoka1-27/+36
Change-Id: I06a8c66421fcdd43066934ec31d0a38a7cf12bf2
2012-02-16Remove unnecessary and harmful KeyboardState.onUpdateShiftState callTadashi G. Takaoka9-7/+149
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
2012-02-16Import translations.Eric Fischer39-113/+69
Change-Id: I20bcfc0d6296dc3606ab027e9c78f17e960e62dc
2012-02-15Activate bigram predictions from the binary dictionaryJean Chalard2-10/+8
Change-Id: If1cc50539d7677b854b1cd3bea3423c8c0865de5
2012-02-15Reactivate the bigram prediction optionJean Chalard1-9/+7
Change-Id: Ib4dcd05c4ecf38bdf3d28371fcd9e2259a59ec0c
2012-02-14Import translations.Eric Fischer20-182/+92
Change-Id: I9ee2da4706d6847b00f37766f79e73f83ea930d8
2012-02-15Follow up to Ie2416ccdKen Wakasa2-2/+2
space &#x0020 got lost in some parsing process Change-Id: I36f5a9ca7172013ce049041886b9cd98659d38f9
2012-02-15Use more standard Unicode notations in keyboard layout resource files.Ken Wakasa67-2682/+2710
bug: 5988656 Change-Id: Ie2416ccd790f29934a37e9dc77d7525e5113048a
2012-02-13Import translations.Eric Fischer49-771/+458
Change-Id: I20219089b9431b0b481b943a298b693e3060ba13
2012-02-13Import translations. DO NOT MERGEEric Fischer49-771/+458
Change-Id: I8be564ef6befc36c59caa155f4b9c6c74740d75b
2012-02-14Minor string updates in Android keyboard settingsKen Wakasa2-2/+2
bug: 5999345 Change-Id: I77560b02c71c3ba0c525572b7062ebbfd66b3b85
2012-02-11Replace UTF-8 string resources with their hex representationsKen Wakasa55-1086/+2546
bug: 5988656 Change-Id: Ifc3c3a2eccfc23d75b4066c2c9c02c48dacda55b
2012-02-10Import translations.Eric Fischer49-130/+896
Change-Id: I126a880289de548e914ac442740e789e067e5124
2012-02-10Import translations. DO NOT MERGEEric Fischer49-130/+896
Change-Id: I6a592e84d239cf9df93f01aa0c2815c8caba7b41
2012-02-10Refactor MoreKeysKeyboard.BuilderTadashi G. Takaoka2-1152/+1351
Change-Id: Ib5f58b1143be60c748b81299ccc3b237d2587846
2012-02-09Import translations. DO NOT MERGEEric Fischer4-8/+4
Change-Id: I221670b8e4796346d13a44848f8958904e9bac80
2012-02-09Import translations. DO NOT MERGEEric Fischer4-8/+4
Change-Id: Ibbf47bac70a1c684a3b139f34291607bddbaa2ca
2012-02-10Key should be distinguished also by moreKeys contents and etc.Tadashi G. Takaoka1-5/+9
Change-Id: Ib2caabee6af78153b5a7be0e4df522288f2a7d48
2012-02-08Import translations. DO NOT MERGEEric Fischer8-26/+35
Change-Id: Ia22dacfc8e78a6e4c78f24375c3ef96a01fd4321
2012-02-09Add finalsJean Chalard1-2/+3
Change-Id: Ib81be9a0df34c5e9fc49d2b5d9bf02297ea2b499
2012-02-09Some more simplificationJean Chalard2-8/+2
Remove useless method calls, and ultimately remove useless method. Change-Id: I3f353b1b37460d5e9ceae5cb5dde3fff0da81c21
2012-02-09Allow revert swap punctuation againJean Chalard1-1/+1
This may not be the best behavior, but it's the same as ICS. Bug: 5981844 Change-Id: Ibb7798e2a315312310ed3be4e731d0fe1ac04456