aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-01-12Move auto correction thresthold to the native codesatok4-99/+24
bug: 5858137 Change-Id: Ic4b6270c6e51ef4ed25a6a1d8ddd7fdfa70fd78d
2012-01-12Change the application name of aosp latin imesatok2-2/+4
Change-Id: I96281709736bc20d70e63af170bfb48b5df3f18d
2012-01-12Remove an excessive parensJean Chalard1-1/+1
Change-Id: If8aa4253ab0f664e628ed7f4d7a3adc02a898cc7
2012-01-12Fix a crash where revertSwap would be wrongly calledJean Chalard1-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
2012-01-11Add internal structure support for isShortcutOnly (B8)Jean Chalard2-14/+39
Change-Id: Iaac80937540a45849c347f80400762032b27c82c
2012-01-11Add EnabledWhenDefaultIsNotAsciiCapable to English keyboard subtypesatok1-1/+1
Bug: 5806103 Change-Id: Iffdc68565f4a8b5af98247a4dff9dc4e76b4056a
2012-01-11Add shortcuts to XML output of makedict (B7)Jean Chalard1-0/+10
Change-Id: I579e43cd147c4323c390cf1c9bf5e94ae79f9d86
2012-01-10Get rid of Keyboard.CODE_DUMMYTadashi G. Takaoka12-72/+70
Change-Id: Id2320f4d9b5f22f0ac844ab20ce42b0c4e7c6880
2012-01-10Fix proguard.flags to keep method for testingTadashi G. Takaoka1-1/+1
Change-Id: Iab6c9a4104e8eec3eeb55fdb063d4368338ac74d
2012-01-10Call KeyboardState.onUpdateShiftState from onCodeInput if code is a normal ↵Tadashi G. Takaoka5-16/+33
letter This will be helpful to write unit test code. Change-Id: Ib61cc46ac547084e0dc9ecd3a50814fecf08ace2
2012-01-10Wire the Xml-read shortcuts into the dict creation code (B6)Jean Chalard2-12/+31
Change-Id: I352064835abb62c294b48e080d9709ff013c7bb0
2012-01-10Fix Slavic layout on phone deviceTadashi G. Takaoka1-2/+1
Change-Id: I7da35502072e336ba2c32fc78827f5dff1bedddc
2012-01-06Add methods to read and write shortcut to binary files (B5)Jean Chalard2-18/+98
Change-Id: I8e6a4242a73b2ec95ce9e8b4739e16dfeb9f1204
2012-01-06Actually add shortcut targets to the suggestions (A4)Jean Chalard1-2/+9
Change-Id: Ia6f551d36b2897863e7faf5143bc319522b0668e
2012-01-06Fill in the format-specific shortcut reading methods (A3)Jean Chalard1-8/+15
Change-Id: Ie5d8b344ed46873c92f3ef878a1e45017eb699c6
2012-01-06Fix indentations.Ken Wakasa8-21/+20
Change-Id: I25c26e2fe50427d11d97b6204174a4f651963d24
2012-01-06Add methods to read shortcuts from the binary dict (A2)Jean Chalard3-5/+89
This contains stubs only, it does not work yet, however it doesn't break anything. Change-Id: If912ae84ff3ccd7a2d6588ffd6fbb9974f87ef3d
2012-01-05Make the dictionary iterator shortcut-aware (B4)Jean Chalard3-5/+8
Change-Id: I529dff4a50276d1a4f4896c66d1aa35296b21000
2012-01-05Add shortcut support to the in-memory format of makedict (B3)Jean Chalard4-27/+56
Change-Id: Icb8427c82694e24c8d08a5376157c7d1444af979
2012-01-05DO NOT MERGE. Save keyboard layout only when it is shownTadashi G. Takaoka1-1/+3
This is a cherrypick of I150b4a05 from master to ics-mr1. Bug: 5130446 Bug: 5787394 Change-Id: Ie0d58283042166537ff161344564c3c51b0d1296
2012-01-05Parse the shortcuts list file. (B2)Jean Chalard1-0/+20
This does not use the shortcuts yet, it only reads up the file in memory. Change-Id: Ib9b8594c2dd6a38b1209b01c80e8894696312998
2011-12-29Import revised translations.Eric Fischer47-106/+106
Change-Id: Ie6d481360e801a67f4bc0309a7151b1640bd3c40
2011-12-28Error out when given an unknown argumentJean Chalard1-2/+5
Bug: 5802658 Change-Id: I3a3871f17a5001dc61e835111944d35540aa5bcd
2011-12-28Make bigram handler a son of a more generic class (B1)Jean Chalard1-24/+47
Change-Id: I71aa109d3e67ff139e4f385344882d906f687c77
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-26DO NOT MERGE. Fix more keys for fr_CA and fr_CH. Also tidy up more keys ↵Ken Wakasa3-6/+51
for de_ZZ as well. This is a cherry pick of http://android-git.corp.google.com/g/156427 from master. bug: 5800592 Change-Id: Ifb249e8b6d432bbd1a5faf1a8731deea02962d39
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