aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-12-27Add a forgotten constantJean Chalard1-0/+6
This fixes the build. A constant was used before it was declared in another file. Change-Id: I72dfca2f76f0c3b7dd64072d062cd48c9bfcbd56
2011-12-27Fix a bug where attributes would have the wrong freq (B0)Jean Chalard1-1/+7
The reading code is accepting 0..15 and this outputs 0..31. Change-Id: Ia638950dc2ce0b8743cbb6a71fbad866e9208786
2011-12-27Skip shortcut targets if any. (A1)Jean Chalard1-7/+7
Change-Id: I1e83bba2b36bdc0429debb22425ce75001e61c81
2011-12-26Optimize KeybaordView.invalidateAllKeys a bitTadashi G. Takaoka1-0/+1
Change-Id: I118c792219f649b7297477c78fa725c678650159
2011-12-26Fix automatic temporary upper case mode shift key graphicsTadashi G. Takaoka2-9/+15
Bug: 5802387 Change-Id: I4f59fb2f971c543748ed32b37af528767a0549e4
2011-12-26Make Estonian keyboard Scandinavian variantTadashi G. Takaoka10-5/+56
This change also fixes Scandinavian keyboard layout around "a" key. Bug: 5627326 Change-Id: I65da7a56a28d90eabcffcd616164d8e8c1111c96
2011-12-24Fix more keys for fr_CA and fr_CH. Also tidy up more keys for de_ZZ as well.Ken Wakasa3-6/+51
bug: 5800592 Change-Id: I0c9abc807ab0100b3839fc7f0f40c6c1a66e0a6e
2011-12-21Fix a typo. A follow up to I68dd6b8dKen Wakasa1-1/+1
Change-Id: I16fa4099c75faac35344b0e4d3c2b866ddac896a
2011-12-21Fix a bug with wrong auto-correct cancellationJean Chalard2-13/+47
Auto-correct cancellation would sometimes kick in at wrong times, causing crashes. Bug: 5784542 Change-Id: I68dd6b8d9237ce9b66af2dc63e77ba6dd5fd69dd
2011-12-20Fix a bug with TYPE_TEXT_CLASSJean Chalard1-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
2011-12-19Follow-up fix for I68c667b0Ken Wakasa1-1/+4
Should have preserved the logic of LatinKeyboard.getNearestKeys(). Change-Id: I97b05aa24006402be03088a215fa07abda9477df
2011-12-19Reorganize the auto-correction memoryJean Chalard2-38/+38
Change-Id: I31cce9db471dcd4a7b3477bcb037a8ff482b7696
2011-12-19Prepare for proximity + two word correction No2satok5-21/+64
Change-Id: Idfa1413e853299f1db459ef07da3efa932047981
2011-12-19Get rid of public reference to KeyboardIconsSet.ICON_* constantsTadashi G. Takaoka13-93/+93
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
2011-12-18Move KeyboardBuilder and KeyboardParams classes into Keyboard classTadashi G. Takaoka11-1050/+1011
This change also moves XmlParseUtils to com.android.inputmethod.latin package. Bug: 5778201 Change-Id: I7d9faa344460753ce178ad4048e0fadb65c75614
2011-12-18Remove LatinKeyboard classTadashi G. Takaoka8-123/+69
Change-Id: I68c667b00dadf2ed9f1c62fb7da37d2cf499cd81
2011-12-18Move spacebar drawing code from LatinKeyboard to LatinKeyboardViewTadashi G. Takaoka12-279/+261
Also this change moves LatinKeyboard attributes, autoCorrectionSpacebarLedEnabled, autoCorrectionSpacebarLedIcon, spacebarTextRatio, spacebarTextColor, and spacebarTextShadowColor to LatinKeyboardView. Change-Id: I7cc27ce1fc550e9f620a9ed0fbe4b8172902d5a1
2011-12-18Add extra key icons to KeyboardIconsSetTadashi G. Takaoka15-93/+56
* 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
2011-12-18Remove LatinKeyboard.adjustLabelCase overrideTadashi G. Takaoka2-12/+2
Change-Id: If032605c1cd6bb8e913d465e20dec70798c4b8fb
2011-12-18Add LatinKeyboardView styleTadashi G. Takaoka11-29/+82
As a result, this change moves shortcut related update code to LatinKeyboardView from LatinKeyboard. Change-Id: I1882672577f61e73c90d6c018b7dbb61f3fe21e4
2011-12-18Get rid of Key.needsSpecialPopupHint and relatedTadashi G. Takaoka6-25/+30
Change-Id: I28e87ea3af9581f12094770b42f113e9018886c4
2011-12-18Can override key drawing methods of KeyboardViewTadashi G. Takaoka1-51/+61
Change-Id: Ie303df4f5e944ea868f5c28ba3bb72a57cc9a35f
2011-12-18Fix broken buildTadashi G. Takaoka1-0/+6
This is a followup change of I8376f4f5 Change-Id: I4de4cbc903beb71d805e62b5172076a949854bc0
2011-12-18Add LatinKeyboard.spacebarTextRatio attributeTadashi G. Takaoka12-40/+21
Bug: 5776979 Change-Id: Ia568d1170ed33a000eb3bb02ecdf611e4b5ff2d5
2011-12-18Get rid of LatinKeyboardParam classTadashi G. Takaoka1-32/+5
Change-Id: I8376f4f570e72929679c5e4955986c48881abd75
2011-12-17Preparatory small clean up for bug: 5776979Ken Wakasa1-1/+7
Change-Id: I96b20d3775180366fac50c2bb4e0b47a92ee4cdb
2011-12-17Remove redundant logsKen Wakasa1-0/+3
bug: 5722703 Change-Id: I6b7285ad6f5c0c8486d24712f22249f83a1c6396
2011-12-16Add Vietnamese keyboardTadashi G. Takaoka3-1/+77
Bug: 5738545 Change-Id: I96abf6807e9375e352a505b822dd50b4d1a7a252
2011-12-16Add Slovenian keyboardTadashi G. Takaoka3-1/+74
Bug: 5738545 Change-Id: Id88a30d3fe46988ac2e0ad129b7bea53b8c7ab07
2011-12-16Add Slovak keyboardTadashi G. Takaoka3-12/+62
Bug: 5738545 Change-Id: I40178f8fc0be4a9fcfc7496dae262574dd0267f9
2011-12-16Add Rumanian keyboardTadashi G. Takaoka3-2/+50
Bug: 5738545 Change-Id: I88ef1a461cf94f10578b5751d0a2fd6abbfd84d9
2011-12-16Add Ukrainian keyboardTadashi G. Takaoka3-1/+72
Bug: 5738545 Change-Id: I78ff8d1c7aa96f3522989e138334b96c5f2aba02
2011-12-16Add Kyrgyz keyboardTadashi G. Takaoka3-1/+73
Bug: 5738545 Change-Id: I9fda2c75654ab4bbaaeb9ee2442dda0a73a3e07e
2011-12-16Fix swapped alphabet and symbols keyboardsTadashi G. Takaoka1-2/+2
Change-Id: I956684332d607cb9ab01d12af7a924c15def7fce
2011-12-16Use Set to group Keys in Keyboard instead of ListTadashi G. Takaoka5-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
2011-12-16Get rid of key index from ProxymityInfoTadashi G. Takaoka4-44/+38
Change-Id: I9bee0a643d09cdd89e42ae913285c9e78d875c1c
2011-12-16Add Belarusian keyboardTadashi G. Takaoka3-1/+72
Bug: 5738545 Change-Id: I60113c248a5a122e71e20273d44406e8199fa0eb
2011-12-16Remove a write-only variable.Jean Chalard1-10/+1
Change-Id: I825307a429f46b31ed9bd940b5a97d2713127dfe
2011-12-16Generalize Russian to Slavic layoutTadashi G. Takaoka8-32/+48
Adding Belarusian, Kyrgyz, and Ukrainian keyboards will follows. Bug: 5738545 Change-Id: I05055d519fac8c67f728cee693b133c3dfb29047
2011-12-16Pretty print for InputAttributesJean Chalard2-4/+10
Change-Id: I5e4b2b6f3cd943c8f6187aaed21d67ec786bf5df
2011-12-16General cleanup.Jean Chalard2-28/+14
Move variables around, inline useless functions, remove useless local variables. Change-Id: Icb89d8b211a2ad4bc3619137c2276a649c2a5e34
2011-12-16Initialize input attributes in the InputAttribute classJean Chalard2-86/+85
Change-Id: I103d6851f54f47cbffdb567fb0f4c505c4697b05
2011-12-16Move KeyboardSwitcher.getKeyboard to KeyboardSetTadashi G. Takaoka9-120/+135
This change also gets rid of XML id from KeyboardId. Bug: 5002108 Bug: 5679585 Change-Id: I7086c7da3c01ba4ade7f77ee5cc731310da46404
2011-12-16Make applicationSpecifiedCompletionOn final.Jean Chalard1-4/+6
This is the last one (whew) Also move a somewhat unrelated initialization out of the input attribute initialization function. Change-Id: Icc77b32fd16b112ab43786715061b1c9dca31c04
2011-12-16Make inputTypeAutoCorrect final.Jean Chalard1-12/+9
Change-Id: I550eba1fc3fa2843d007a8208d81fad208c1196b
2011-12-16Make isSettingsSuggestionStripOn final.Jean Chalard1-12/+12
Change-Id: Iabb99a7f8f3f1777f9a87ae2bddff9795a50fa92
2011-12-16Small refactoringJean Chalard1-5/+12
This helps to make following changes smaller Change-Id: I95ba2901ac3bf1ed70a748c35a0babdd9af1df63
2011-12-16Make insertSpaceOnPickSuggestionManually final.Jean Chalard1-16/+18
Change-Id: I32fce0ea8c5c58b6f920d0758c8bf57769f39a12
2011-12-16Use temporary variables for computing editor attributesJean Chalard1-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
2011-12-16Create a class for input attributes.Jean Chalard2-35/+72
Change-Id: I834390c83865aac59fb758d5c66cf9b74103abd8