aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Pretty print for InputAttributes"Jean Chalard2011-12-162-4/+10
|\
| * Pretty print for InputAttributesJean Chalard2011-12-162-4/+10
| | | | | | | | Change-Id: I5e4b2b6f3cd943c8f6187aaed21d67ec786bf5df
* | Remove a write-only variable.Jean Chalard2011-12-161-10/+1
| | | | | | | | Change-Id: I825307a429f46b31ed9bd940b5a97d2713127dfe
* | Merge "Use the WordComposer to check if we are composing a word"Jean Chalard2011-12-162-18/+18
|\ \ | |/ |/|
| * Use the WordComposer to check if we are composing a wordJean Chalard2011-12-162-18/+18
| | | | | | | | | | | | | | | | ...instead of the hard-to-understand mHasUncommittedTypedChars. This is possible because now the word composer is actually aware of commits. Change-Id: I36b664ce8402a280f801e87b9ebe161f416b0853
* | General cleanup.Jean Chalard2011-12-162-28/+14
| | | | | | | | | | | | | | Move variables around, inline useless functions, remove useless local variables. Change-Id: Icb89d8b211a2ad4bc3619137c2276a649c2a5e34
* | Initialize input attributes in the InputAttribute classJean Chalard2011-12-162-86/+85
| | | | | | | | Change-Id: I103d6851f54f47cbffdb567fb0f4c505c4697b05
* | Merge "Make applicationSpecifiedCompletionOn final."Jean Chalard2011-12-161-4/+6
|\ \
| * | Make applicationSpecifiedCompletionOn final.Jean Chalard2011-12-161-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | This is the last one (whew) Also move a somewhat unrelated initialization out of the input attribute initialization function. Change-Id: Icc77b32fd16b112ab43786715061b1c9dca31c04
* | | Merge "Move KeyboardSwitcher.getKeyboard to KeyboardSet"Tadashi G. Takaoka2011-12-161-1/+1
|\ \ \ | |/ / |/| |
| * | Move KeyboardSwitcher.getKeyboard to KeyboardSetTadashi G. Takaoka2011-12-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This change also gets rid of XML id from KeyboardId. Bug: 5002108 Bug: 5679585 Change-Id: I7086c7da3c01ba4ade7f77ee5cc731310da46404
* | | Make inputTypeAutoCorrect final.Jean Chalard2011-12-161-12/+9
|/ / | | | | | | Change-Id: I550eba1fc3fa2843d007a8208d81fad208c1196b
* | Make isSettingsSuggestionStripOn final.Jean Chalard2011-12-161-12/+12
| | | | | | | | Change-Id: Iabb99a7f8f3f1777f9a87ae2bddff9795a50fa92
* | Small refactoringJean Chalard2011-12-161-5/+12
| | | | | | | | | | | | This helps to make following changes smaller Change-Id: I95ba2901ac3bf1ed70a748c35a0babdd9af1df63
* | Merge "Make insertSpaceOnPickSuggestionManually final."Jean Chalard2011-12-161-16/+18
|\ \
| * | Make insertSpaceOnPickSuggestionManually final.Jean Chalard2011-12-161-16/+18
| | | | | | | | | | | | Change-Id: I32fce0ea8c5c58b6f920d0758c8bf57769f39a12
* | | Merge "Use temporary variables for computing editor attributes"Jean Chalard2011-12-161-17/+24
|\| |
| * | Use temporary variables for computing editor attributesJean Chalard2011-12-161-17/+24
| | | | | | | | | | | | | | | | | | | | | | | | The ultimate intent is to make these variables final, which will allow to move the computing function to the InputAttributes class. Change-Id: Ifb1fc7321a19b10d60aa63fa0daaa2708deda2cf
* | | Merge "Create a class for input attributes."Jean Chalard2011-12-162-35/+72
|\| |
| * | Create a class for input attributes.Jean Chalard2011-12-162-35/+72
| |/ | | | | | | Change-Id: I834390c83865aac59fb758d5c66cf9b74103abd8
* | Merge "Send touch event in usability study mode"satok2011-12-161-0/+1
|\ \ | |/ |/|
| * Send touch event in usability study modesatok2011-12-161-0/+1
| | | | | | | | Change-Id: I0cdcd57bfd31c9b21cfb932d7ff91bd013cde6d7
* | Merge "Make the word composer aware of commits."Jean Chalard2011-12-152-6/+29
|\ \
| * | Make the word composer aware of commits.Jean Chalard2011-12-162-6/+29
| |/ | | | | | | Change-Id: I04e691fbc9227d4df195429bca89edea93575347
* | Add com.android.inputmethod.latin.suggestions packageTadashi G. Takaoka2011-12-164-6/+16
| | | | | | | | Change-Id: If4b823768ab9c073625da3034ecc8091be1df230
* | Add colorValidTypedWord and alphaValidTypedWordTadashi G. Takaoka2011-12-161-1/+9
|/ | | | | | This change fixes Gingerbread theme. Change-Id: I142437ac0173df48ab36390f47ed67c6cea24a65
* Merge "Cleanup unused variables and parameters"Tadashi G. Takaoka2011-12-154-22/+18
|\
| * Cleanup unused variables and parametersTadashi G. Takaoka2011-12-154-22/+18
| | | | | | | | Change-Id: Iad756a7a775c93f3344c6962e7b3456ef8339490
* | Merge "Group all input-related info into an inner class."Jean Chalard2011-12-151-33/+50
|\ \
| * | Group all input-related info into an inner class.Jean Chalard2011-12-151-33/+50
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, these variables hold the info about the composing word, or maybe some outdated info, and it's not very clear which it is. LatinIME is maintaining the freshness info in a separate boolean, and uses it throughout the code for many, many things, leading to much confusion. The idea in grouping this info is, it can be saved in another instance and restored later. It can be tested against to know whether there is actually outdated but kept info or not, and it should allow to straighten out what is actually currently being typed. Ultimately, it will eliminate the need for LatinIME to keep track of the status of the info in the word composer. Change-Id: I00e2c690f303f8320c9be35590a6df4583e9e456
* | Merge "Fix auto correction spacebar LED"Tadashi G. Takaoka2011-12-153-21/+26
|\ \
| * | Fix auto correction spacebar LEDTadashi G. Takaoka2011-12-153-21/+26
| |/ | | | | | | Change-Id: I4894d188d5612380cc9f8eec7cb72544e37fb2b0
* / Change visibility to avoid synthetic accessor methodTadashi G. Takaoka2011-12-155-99/+99
|/ | | | Change-Id: Ie93c7437fb9a3fe63adaa48c2d4a723f96c0a0e1
* CleanupJean Chalard2011-12-141-6/+5
| | | | Change-Id: I724df0be7ac07ffb9f1f4974175aed5a2606221b
* Move some code inside a function to simplify flowJean Chalard2011-12-141-12/+8
| | | | | | | Also rename the function to reflect better the behavior. An upcoming change will clean up the remnants Change-Id: I19bdf0d9e95f62ee749e1f64fe17132c4a5ef0bc
* Fail faster in case of a bugJean Chalard2011-12-141-4/+4
| | | | Change-Id: Ibea64133f200dce80034c641d4798b62843a2512
* Refactoring.Jean Chalard2011-12-141-17/+15
| | | | | | Small simplification of the code. Change-Id: I1f67ae529bbb2c9316bf5e083d367c57040ea22c
* Merge "Record onStartInputView"Tadashi G. Takaoka2011-12-132-4/+9
|\
| * Record onStartInputViewTadashi G. Takaoka2011-12-142-4/+9
| | | | | | | | | | Bug: 5722703 Change-Id: I56bcf6ccde82b4176093de4f197a8736b0cc8c10
* | Merge "Utilize KeyboardSet XML definitions"Tadashi G. Takaoka2011-12-131-1/+1
|\ \
| * | Utilize KeyboardSet XML definitionsTadashi G. Takaoka2011-12-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This change introduces KeyboardSet and SubKeyboard XML definitions to represent a set of keyboard layouts. Bug: 5002108 Bug: 5679585 Change-Id: Ib6c8d5936187381bb6725c9fe574e93871c01a86
* | | Merge "Fix a long-standing race condition."Jean Chalard2011-12-131-15/+15
|\ \ \ | |_|/ |/| |
| * | Fix a long-standing race condition.Jean Chalard2011-12-141-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upon autocorrection, there is visual feedback in the text view that quickly flashes the background of the text that just changed. This fixes a race condition that happens upon autocorrection when typing fast, and that results in flashing one character too far left (typically, the flashing area includes the whitespace before the corrected word and not the last character of the corrected word). This happens because the call to commitCorrection may happen before or after the IPC sent by sendKeyChar, but the arguments are fit only for the case where it arrives first. Change-Id: I9b5442a665aad5a9bc66cd49228075b9056b37fa
* | | Merge "Decouple member logic from control flow"Jean Chalard2011-12-131-4/+8
|\ \ \
| * | | Decouple member logic from control flowJean Chalard2011-12-131-4/+8
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | This place is very confusing because a member variable with a consistent meaning is hijacked for the duration of a function to mean something else. This is in the way of easy-to-understand refactoring. Change-Id: If79bc771950d6bfc0ad5f0e9c51c7ef1dbb45b66
* / / Various mini-cleanupsJean Chalard2011-12-134-10/+11
|/ / | | | | | | | | | | | | | | | | | | - Stop the word composer from escaping - take a page from the law of Demeter and only report what is actually needed. - Fix typos in comments. - Add a comment for a fishy processing. - Remove a useless local variable. Change-Id: I5fa78901cbb5483fc9683bfb7094f47244b85df6
* | Merge "Remove the input connection sidework from handleCharacter"Jean Chalard2011-12-131-6/+10
|\ \
| * | Remove the input connection sidework from handleCharacterJean Chalard2011-12-131-6/+10
| | | | | | | | | | | | Change-Id: I3d376dfda3acd8864274390de3ff5752b18456e0
* | | Move mBestWord to the word composer.Jean Chalard2011-12-132-19/+55
|/ / | | | | | | | | | | | | | | | | | | mBestWord has a confusing name - it's actually an auto-correction. It's cleaner if it lives in the word composer because an auto-correction should be tied to a specific user input, and should be reset each time the user input changes to avoid race conditions. Change-Id: I718d29395bc747372067e6440e090c6a181994ae
* | Merge "Tighten conditions for space-related cancelling"Jean Chalard2011-12-131-4/+10
|\ \