aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-01-16Don't cache resource value that depends on orientationTadashi G. Takaoka2-3/+8
Bug: 5794655 Change-Id: Ib324366c772e20bb54aba63c2f4540dc0f9de515
2012-01-16Add a helper methodJean Chalard1-0/+10
Change-Id: I7a898940d5f672bbee0da0c02af7a08297051ec3
2012-01-16Update shift state when alphabet keyboard has been setTadashi G. Takaoka3-1/+17
Bug: 5857492 Change-Id: I5ef78af21a76e8cf645e223d1ffa6212690bb1eb
2012-01-16Cleanup KeyboardStateTests a bitTadashi G. Takaoka1-40/+85
Move test target KeyboardState into MockKeyboardSwitcher. Change-Id: I0998a5306a59e777360df9d1321b545313b939f9
2012-01-13Fix a native crash with shortcutsJean Chalard1-2/+3
Creation of the TerminalAttributes object failed to take into account that there may be children on this node. Change-Id: I8224a1a51532d1a40a8555f46425e3744388326b
2012-01-13Use KeyboardSet for unit testTadashi G. Takaoka5-19/+25
Change-Id: I6a08e04628bac0222140e5b1b108f6bcb39859a2
2012-01-13Remove reference of SubtypeSwitcher and SettingsValues from KeyboardSetTadashi G. Takaoka3-40/+69
Change-Id: I6c1150eea5f0a931d01578b0157f06e0aff0cc65
2012-01-13New LOG libsatok10-70/+74
Change-Id: I977e7e10fa58c0a64ca0c3c7b5cb2272446e3efe
2012-01-13Use placement new to construct the queuesatok3-12/+31
Change-Id: I455f9954165bd4524f2883db7ea24a6fed3015f9
2012-01-13Fix SuggestTestsTadashi G. Takaoka4-4/+5
We need revised scoring test because dictionary look up algorithm has been changed significantly since this SuggestTests was made. Change-Id: I69d527a6bfa24ed0dc189fddad1afab0566c6eb8
2012-01-13Cleanup UtilsTestsTadashi G. Takaoka1-2/+0
Change-Id: I5631d010194423fd3d9c216db760ffa726131977
2012-01-13Fix UserBigramSuggestTestsTadashi G. Takaoka1-1/+1
Change-Id: I3363fba44ee70876fd7ba8e27c6ca3c83753b53a
2012-01-13Fix SubtypeLocaleTestsTadashi G. Takaoka5-35/+22
Change-Id: Id85814aa3bcd9cacbe446b2dfda3ca2ab9146c13
2012-01-13Fix a bug in the logic to show 3 dots of the ime switchersatok2-5/+16
Bug: 5806103 Change-Id: I67b3f0bb25d5fb9cfb902c03f41ae3e582107187
2012-01-12Move auto correction thresthold to the native codesatok8-128/+148
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-12Add a sanity checkJean Chalard1-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
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-12Fix a bug where last candidate would not be resetJean Chalard1-0/+6
Bug: 5851148 Change-Id: Ic270318842d8e16bc62d78d5fe0d6be0ca1fb532
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