aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Add some comments about resuming auto-suggestionJean Chalard2012-01-171-0/+5
|/ / | | | | | | | | Bug: 5846646 Change-Id: Ib2c76ec173972eb7acadbfaae7e930849d546721
* / Fix double tap shift key to turn off capslock modeTadashi G. Takaoka2012-01-162-3/+12
|/ | | | | Bug: 5873562 Change-Id: If1f5ae1684905c1418ae43e55df38509444d29e2
* Don't cache resource value that depends on orientationTadashi G. Takaoka2012-01-162-3/+8
| | | | | Bug: 5794655 Change-Id: Ib324366c772e20bb54aba63c2f4540dc0f9de515
* Update shift state when alphabet keyboard has been setTadashi G. Takaoka2012-01-162-0/+12
| | | | | Bug: 5857492 Change-Id: I5ef78af21a76e8cf645e223d1ffa6212690bb1eb
* Merge "Remove reference of SubtypeSwitcher and SettingsValues from KeyboardSet"Tadashi G. Takaoka2012-01-133-40/+69
|\
| * Remove reference of SubtypeSwitcher and SettingsValues from KeyboardSetTadashi G. Takaoka2012-01-133-40/+69
| | | | | | | | Change-Id: I6c1150eea5f0a931d01578b0157f06e0aff0cc65
* | 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 SubtypeLocaleTests"Tadashi G. Takaoka2012-01-121-1/+1
|\ \
| * | Fix SubtypeLocaleTestsTadashi G. Takaoka2012-01-131-1/+1
| |/ | | | | | | Change-Id: Id85814aa3bcd9cacbe446b2dfda3ca2ab9146c13
* | 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-107-24/+24
| | | | Change-Id: Id2320f4d9b5f22f0ac844ab20ce42b0c4e7c6880
* 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