aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Call KeyboardState.onUpdateShiftState from onCodeInput if code is a normal ↵Tadashi G. Takaoka2012-01-104-10/+26
| | | | | | | | letter This will be helpful to write unit test code. Change-Id: Ib61cc46ac547084e0dc9ecd3a50814fecf08ace2
* Merge "Optimize KeybaordView.invalidateAllKeys a bit"Tadashi G. Takaoka2011-12-261-0/+1
|\
| * Optimize KeybaordView.invalidateAllKeys a bitTadashi G. Takaoka2011-12-261-0/+1
| | | | | | | | Change-Id: I118c792219f649b7297477c78fa725c678650159
* | Fix automatic temporary upper case mode shift key graphicsTadashi G. Takaoka2011-12-262-9/+15
|/ | | | | Bug: 5802387 Change-Id: I4f59fb2f971c543748ed32b37af528767a0549e4
* 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
* Merge "Reorganize the auto-correction memory"Jean Chalard2011-12-192-38/+38
|\
| * Reorganize the auto-correction memoryJean Chalard2011-12-192-38/+38
| | | | | | | | Change-Id: I31cce9db471dcd4a7b3477bcb037a8ff482b7696
* | Follow-up fix for I68c667b0Ken Wakasa2011-12-191-1/+4
|/ | | | | | Should have preserved the logic of LatinKeyboard.getNearestKeys(). Change-Id: I97b05aa24006402be03088a215fa07abda9477df
* Get rid of public reference to KeyboardIconsSet.ICON_* constantsTadashi G. Takaoka2011-12-195-82/+73
| | | | | | | | | | | | | | As a consequence, * Add Key.iconDisabledKey has been introduced and Key.getIcon honors the enabled state of the key. * The attribute id of disabled icon for shortcut key, Keyboard_iconShortcutKeyDisabled, is renamed to Keyboard_iconDisbledShortcutKey * KeyboardIconsSet has getIconByIconId and getIconByAttrId methods instead of getIcon. Bug: 5778201 Change-Id: Ica93b073b9a04acd18ead7a33b60e3c6d813e7a1
* Move KeyboardBuilder and KeyboardParams classes into Keyboard classTadashi G. Takaoka2011-12-1810-1046/+1009
| | | | | | | This change also moves XmlParseUtils to com.android.inputmethod.latin package. Bug: 5778201 Change-Id: I7d9faa344460753ce178ad4048e0fadb65c75614
* Remove LatinKeyboard classTadashi G. Takaoka2011-12-187-119/+61
| | | | Change-Id: I68c667b00dadf2ed9f1c62fb7da37d2cf499cd81
* Move spacebar drawing code from LatinKeyboard to LatinKeyboardViewTadashi G. Takaoka2011-12-184-242/+225
| | | | | | | | | Also this change moves LatinKeyboard attributes, autoCorrectionSpacebarLedEnabled, autoCorrectionSpacebarLedIcon, spacebarTextRatio, spacebarTextColor, and spacebarTextShadowColor to LatinKeyboardView. Change-Id: I7cc27ce1fc550e9f620a9ed0fbe4b8172902d5a1
* Add extra key icons to KeyboardIconsSetTadashi G. Takaoka2011-12-186-59/+35
| | | | | | | | | | | * Get rid of Key.keyIconShifted attribute. Add Keyboard.iconShiftKeyShifted to KeyboardIconsSet. * Get rid of LatinKeyboardView.disabledShortcutIcon attribute. Add Keyboard.iconShortcurKeyDisabled to KeyboardIconsSet. * Add Keyboard.iconSpaceKeyForNumber to KeyboardIconsSet. * Fix misplaced autoCorrectionSpacebarLedIcon resources. Change-Id: I381bff3789254977ab3cb18f58f95b3c433b1e1a
* Remove LatinKeyboard.adjustLabelCase overrideTadashi G. Takaoka2011-12-182-12/+2
| | | | Change-Id: If032605c1cd6bb8e913d465e20dec70798c4b8fb
* Add LatinKeyboardView styleTadashi G. Takaoka2011-12-183-26/+30
| | | | | | | As a result, this change moves shortcut related update code to LatinKeyboardView from LatinKeyboard. Change-Id: I1882672577f61e73c90d6c018b7dbb61f3fe21e4
* Get rid of Key.needsSpecialPopupHint and relatedTadashi G. Takaoka2011-12-186-25/+30
| | | | Change-Id: I28e87ea3af9581f12094770b42f113e9018886c4
* Can override key drawing methods of KeyboardViewTadashi G. Takaoka2011-12-181-51/+61
| | | | Change-Id: Ie303df4f5e944ea868f5c28ba3bb72a57cc9a35f
* Merge "Add LatinKeyboard.spacebarTextRatio attribute"Tadashi G. Takaoka2011-12-171-37/+11
|\
| * Add LatinKeyboard.spacebarTextRatio attributeTadashi G. Takaoka2011-12-181-37/+11
| | | | | | | | | | Bug: 5776979 Change-Id: Ia568d1170ed33a000eb3bb02ecdf611e4b5ff2d5
* | Fix broken buildTadashi G. Takaoka2011-12-181-0/+6
|/ | | | | | This is a followup change of I8376f4f5 Change-Id: I4de4cbc903beb71d805e62b5172076a949854bc0
* Get rid of LatinKeyboardParam classTadashi G. Takaoka2011-12-181-32/+5
| | | | Change-Id: I8376f4f570e72929679c5e4955986c48881abd75
* Preparatory small clean up for bug: 5776979Ken Wakasa2011-12-171-1/+7
| | | | Change-Id: I96b20d3775180366fac50c2bb4e0b47a92ee4cdb
* Remove redundant logsKen Wakasa2011-12-171-0/+3
| | | | | bug: 5722703 Change-Id: I6b7285ad6f5c0c8486d24712f22249f83a1c6396
* Merge "Use Set to group Keys in Keyboard instead of List"Tadashi G. Takaoka2011-12-165-26/+79
|\
| * Use Set to group Keys in Keyboard instead of ListTadashi G. Takaoka2011-12-165-26/+79
| | | | | | | | | | | | | | | | | | | | In deriving various shift stated alphabet keyboards from base/main keyboard, almost all keys should be shared among variants. Grouping keys in Set instead of List is a essential refactor to have. Bug: 5002108 Bug: 5679585 Change-Id: Idd5644d1c45a3276a24b61c984619c03d4e4c54c
* | Merge "Fix swapped alphabet and symbols keyboards"Tadashi G. Takaoka2011-12-161-2/+2
|\ \
| * | Fix swapped alphabet and symbols keyboardsTadashi G. Takaoka2011-12-161-2/+2
| | | | | | | | | | | | Change-Id: I956684332d607cb9ab01d12af7a924c15def7fce
* | | Merge "Get rid of key index from ProxymityInfo"Tadashi G. Takaoka2011-12-164-44/+38
|\ \ \ | |/ / |/| / | |/
| * Get rid of key index from ProxymityInfoTadashi G. Takaoka2011-12-164-44/+38
| | | | | | | | Change-Id: I9bee0a643d09cdd89e42ae913285c9e78d875c1c
* | 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-167-115/+129
|\ \ \ | |/ / |/| |
| * | Move KeyboardSwitcher.getKeyboard to KeyboardSetTadashi G. Takaoka2011-12-167-115/+129
| | | | | | | | | | | | | | | | | | | | | | | | 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
|\| |