aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Don't cache resource value that depends on orientationTadashi G. Takaoka2012-01-162-3/+8
| | | | | Bug: 5794655 Change-Id: Ib324366c772e20bb54aba63c2f4540dc0f9de515
* Merge "Fix SuggestTests"Tadashi G. Takaoka2012-01-131-1/+1
|\
| * Fix SuggestTestsTadashi G. Takaoka2012-01-131-1/+1
| | | | | | | | | | | | | | We need revised scoring test because dictionary look up algorithm has been changed significantly since this SuggestTests was made. Change-Id: I69d527a6bfa24ed0dc189fddad1afab0566c6eb8
* | Merge "Fix a bug in the logic to show 3 dots of the ime switcher"satok2012-01-122-5/+16
|\ \ | |/ |/|
| * Fix a bug in the logic to show 3 dots of the ime switchersatok2012-01-132-5/+16
| | | | | | | | | | Bug: 5806103 Change-Id: I67b3f0bb25d5fb9cfb902c03f41ae3e582107187
* | Merge "Move auto correction thresthold to the native code"satok2012-01-124-99/+24
|\|
| * Move auto correction thresthold to the native codesatok2012-01-124-99/+24
| | | | | | | | | | | | bug: 5858137 Change-Id: Ic4b6270c6e51ef4ed25a6a1d8ddd7fdfa70fd78d
* | Merge "Fix a bug where last candidate would not be reset"Jean Chalard2012-01-111-0/+6
|\ \
| * | Fix a bug where last candidate would not be resetJean Chalard2012-01-121-0/+6
| | | | | | | | | | | | | | | Bug: 5851148 Change-Id: Ic270318842d8e16bc62d78d5fe0d6be0ca1fb532
* | | Merge "Add a sanity check"Jean Chalard2012-01-111-0/+8
|\ \ \ | |_|/ |/| |
| * | Add a sanity checkJean Chalard2012-01-121-0/+8
| |/ | | | | | | | | | | | | | | | | Check if any character is both a magic space swapper and a magic space stripper for the current language, and throw an exception if found. Since this is expensive, it's done only in debug mode. Change-Id: Ibd166db87c91495b76878ea0e4f420a62c7bb276
* | Remove an excessive parensJean Chalard2012-01-121-1/+1
| | | | | | | | Change-Id: If8aa4253ab0f664e628ed7f4d7a3adc02a898cc7
* | Fix a crash where revertSwap would be wrongly calledJean Chalard2012-01-121-2/+3
|/ | | | | | | | | | | | | | This would crash the program when inputting a punctuation symbol that should not swap with a weak space through the suggestion strip, then press backspace. Those include all two-part punctuation symbols in French for example, as well as magic space strippers like the dash in English. For English all suggestion strips symbols happen to be magic space swappers so this would not happen in English by default. Also fix a typo. Change-Id: Ia40678c264e978509b5786290a75a3c57181648e
* Get rid of Keyboard.CODE_DUMMYTadashi G. Takaoka2012-01-101-1/+1
| | | | Change-Id: Id2320f4d9b5f22f0ac844ab20ce42b0c4e7c6880
* Call KeyboardState.onUpdateShiftState from onCodeInput if code is a normal ↵Tadashi G. Takaoka2012-01-101-2/+0
| | | | | | | | letter This will be helpful to write unit test code. Change-Id: Ib61cc46ac547084e0dc9ecd3a50814fecf08ace2
* Fix a typo. A follow up to I68dd6b8dKen Wakasa2011-12-211-1/+1
| | | | Change-Id: I16fa4099c75faac35344b0e4d3c2b866ddac896a
* Fix a bug with wrong auto-correct cancellationJean Chalard2011-12-212-13/+47
| | | | | | | | Auto-correct cancellation would sometimes kick in at wrong times, causing crashes. Bug: 5784542 Change-Id: I68dd6b8d9237ce9b66af2dc63e77ba6dd5fd69dd
* Fix a bug with TYPE_TEXT_CLASSJean Chalard2011-12-201-12/+17
| | | | | | | | | This was introduced by a badly-rebased commit. The culprit was I103d6851. There was also another bug lurking there introduced by a previous commit that this fixes. Bug: 5775347 Change-Id: I133b54a5159e19714f4bcae8ffbb4824cff9f466
* Reorganize the auto-correction memoryJean Chalard2011-12-192-38/+38
| | | | Change-Id: I31cce9db471dcd4a7b3477bcb037a8ff482b7696
* Move KeyboardBuilder and KeyboardParams classes into Keyboard classTadashi G. Takaoka2011-12-182-4/+79
| | | | | | | This change also moves XmlParseUtils to com.android.inputmethod.latin package. Bug: 5778201 Change-Id: I7d9faa344460753ce178ad4048e0fadb65c75614
* Remove LatinKeyboard classTadashi G. Takaoka2011-12-183-17/+15
| | | | Change-Id: I68c667b00dadf2ed9f1c62fb7da37d2cf499cd81
* Move spacebar drawing code from LatinKeyboard to LatinKeyboardViewTadashi G. Takaoka2011-12-181-5/+3
| | | | | | | | | Also this change moves LatinKeyboard attributes, autoCorrectionSpacebarLedEnabled, autoCorrectionSpacebarLedIcon, spacebarTextRatio, spacebarTextColor, and spacebarTextShadowColor to LatinKeyboardView. Change-Id: I7cc27ce1fc550e9f620a9ed0fbe4b8172902d5a1
* Get rid of Key.needsSpecialPopupHint and relatedTadashi G. Takaoka2011-12-181-1/+1
| | | | Change-Id: I28e87ea3af9581f12094770b42f113e9018886c4
* 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
|\