Tadashi G. Takaoka
327c6828a5
Merge "Cleanup KeyboardStateTests a bit"
2012-01-15 17:15:34 -08:00
Tadashi G. Takaoka
d3bf4b172d
Cleanup KeyboardStateTests a bit
...
Move test target KeyboardState into MockKeyboardSwitcher.
Change-Id: I0998a5306a59e777360df9d1321b545313b939f9
2012-01-16 10:04:10 +09:00
Jean Chalard
a3e52e94fb
Merge "Fix a native crash with shortcuts"
2012-01-13 04:02:47 -08:00
Jean Chalard
512c669fee
Fix a native crash with shortcuts
...
Creation of the TerminalAttributes object failed to take into
account that there may be children on this node.
Change-Id: I8224a1a51532d1a40a8555f46425e3744388326b
2012-01-13 20:50:43 +09:00
Tadashi G. Takaoka
4cabb04971
Use KeyboardSet for unit test
...
Change-Id: I6a08e04628bac0222140e5b1b108f6bcb39859a2
2012-01-13 19:14:42 +09:00
Tadashi G. Takaoka
ca132ce8e2
Merge "Remove reference of SubtypeSwitcher and SettingsValues from KeyboardSet"
2012-01-13 01:39:50 -08:00
Tadashi G. Takaoka
211680e375
Merge "Fix SuggestTests"
2012-01-13 01:39:43 -08:00
Tadashi G. Takaoka
4087ba69fa
Remove reference of SubtypeSwitcher and SettingsValues from KeyboardSet
...
Change-Id: I6c1150eea5f0a931d01578b0157f06e0aff0cc65
2012-01-13 18:05:28 +09:00
satok
9fb6f47a6a
New LOG lib
...
Change-Id: I977e7e10fa58c0a64ca0c3c7b5cb2272446e3efe
2012-01-13 18:04:15 +09:00
satok
b960477952
Use placement new to construct the queue
...
Change-Id: I455f9954165bd4524f2883db7ea24a6fed3015f9
2012-01-13 17:32:55 +09:00
Tadashi G. Takaoka
9c735b8038
Fix SuggestTests
...
We need revised scoring test because dictionary look up algorithm has
been changed significantly since this SuggestTests was made.
Change-Id: I69d527a6bfa24ed0dc189fddad1afab0566c6eb8
2012-01-13 15:25:28 +09:00
Tadashi G. Takaoka
f67f001e40
Merge "Cleanup UtilsTests"
2012-01-12 22:17:33 -08:00
Tadashi G. Takaoka
06eb042616
Merge "Fix UserBigramSuggestTests"
2012-01-12 22:17:28 -08:00
Tadashi G. Takaoka
76dede6b3b
Merge "Fix SubtypeLocaleTests"
2012-01-12 22:17:20 -08:00
Tadashi G. Takaoka
1d161a9038
Cleanup UtilsTests
...
Change-Id: I5631d010194423fd3d9c216db760ffa726131977
2012-01-13 14:49:14 +09:00
Tadashi G. Takaoka
fb9b0f493c
Fix UserBigramSuggestTests
...
Change-Id: I3363fba44ee70876fd7ba8e27c6ca3c83753b53a
2012-01-13 14:46:45 +09:00
Tadashi G. Takaoka
4015a64a26
Fix SubtypeLocaleTests
...
Change-Id: Id85814aa3bcd9cacbe446b2dfda3ca2ab9146c13
2012-01-13 14:35:43 +09:00
satok
4da8e8e4d3
Merge "Fix a bug in the logic to show 3 dots of the ime switcher"
2012-01-12 19:41:12 -08:00
satok
83a018419a
Fix a bug in the logic to show 3 dots of the ime switcher
...
Bug: 5806103
Change-Id: I67b3f0bb25d5fb9cfb902c03f41ae3e582107187
2012-01-13 11:50:31 +09:00
The Android Open Source Project
16d5e196dc
am 201a8ba8
: Reconcile with ics-mr1-release
...
* commit '201a8ba8531191b133ef4549b9cf0a61818a02d2':
2012-01-12 09:00:24 -08:00
The Android Open Source Project
201a8ba853
Reconcile with ics-mr1-release
...
Change-Id: I028e92611bbe6a091de34d99aa58e04b5bcf4892
2012-01-12 08:56:54 -08:00
satok
21814c56f0
Merge "Move auto correction thresthold to the native code"
2012-01-12 02:58:35 -08:00
satok
be0cf72253
Move auto correction thresthold to the native code
...
bug: 5858137
Change-Id: Ic4b6270c6e51ef4ed25a6a1d8ddd7fdfa70fd78d
2012-01-12 19:56:15 +09:00
Jean Chalard
ab34a4a7f5
Merge "Fix a bug where last candidate would not be reset"
2012-01-11 21:47:35 -08:00
Jean Chalard
cda8a42cbe
Merge "Add a sanity check"
2012-01-11 21:47:26 -08:00
satok
53f56ddef9
Merge "Change the application name of aosp latin ime"
2012-01-11 21:31:46 -08:00
satok
c1da6566dd
Change the application name of aosp latin ime
...
Change-Id: I96281709736bc20d70e63af170bfb48b5df3f18d
2012-01-12 14:27:22 +09:00
Jean Chalard
a8c8ab1cb4
Remove an excessive parens
...
Change-Id: If8aa4253ab0f664e628ed7f4d7a3adc02a898cc7
2012-01-12 14:07:56 +09:00
Jean Chalard
852630ba34
Add a sanity check
...
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-12 12:44:49 +09:00
Jean Chalard
9de5cfc67a
Fix a crash where revertSwap would be wrongly called
...
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-12 11:55:40 +09:00
Jean Chalard
cd2286fff1
Fix a bug where last candidate would not be reset
...
Bug: 5851148
Change-Id: Ic270318842d8e16bc62d78d5fe0d6be0ca1fb532
2012-01-12 11:16:51 +09:00
The Android Automerger
294d519cf1
merge in ics-mr1-release history after reset to ics-mr1
2012-01-11 16:29:54 -08:00
Ken Wakasa
8c111043b8
am ed043c61
: (-s ours) am 4b23789e
: Merge "DO NOT MERGE. Fix more keys for fr_CA and fr_CH. Also tidy up more keys for de_ZZ as well." into ics-mr1
...
* commit 'ed043c61eae95a9476a233d88f058ea0c163cfcb':
DO NOT MERGE. Fix more keys for fr_CA and fr_CH. Also tidy up more keys for de_ZZ as well.
2012-01-11 16:04:56 -08:00
Tadashi G. Takaoka
e895db8ff6
am e7fecbc5
: (-s ours) am 3e405f3a
: DO NOT MERGE. Save keyboard layout only when it is shown
...
* commit 'e7fecbc5631490e5ae05897cfc29dfecf4bc73b3':
DO NOT MERGE. Save keyboard layout only when it is shown
2012-01-11 16:04:56 -08:00
Ken Wakasa
ed043c61ea
am 4b23789e
: Merge "DO NOT MERGE. Fix more keys for fr_CA and fr_CH. Also tidy up more keys for de_ZZ as well." into ics-mr1
...
* commit '4b23789ecbc3108808c26fee35936d719df2bf73':
DO NOT MERGE. Fix more keys for fr_CA and fr_CH. Also tidy up more keys for de_ZZ as well.
2012-01-11 14:52:23 -08:00
Tadashi G. Takaoka
e7fecbc563
am 3e405f3a
: DO NOT MERGE. Save keyboard layout only when it is shown
...
* commit '3e405f3afd9bf5c5978d05c07dc186e862885f78':
DO NOT MERGE. Save keyboard layout only when it is shown
2012-01-11 14:50:33 -08:00
Ken Wakasa
4b23789ecb
Merge "DO NOT MERGE. Fix more keys for fr_CA and fr_CH. Also tidy up more keys for de_ZZ as well." into ics-mr1
2012-01-11 14:49:45 -08:00
satok
0f925efb5c
Merge "Add EnabledWhenDefaultIsNotAsciiCapable to English keyboard subtype"
2012-01-11 01:52:56 -08:00
Jean Chalard
903e58886e
Add internal structure support for isShortcutOnly (B8)
...
Change-Id: Iaac80937540a45849c347f80400762032b27c82c
2012-01-11 18:18:51 +09:00
satok
6d3b422f97
Add EnabledWhenDefaultIsNotAsciiCapable to English keyboard subtype
...
Bug: 5806103
Change-Id: Iffdc68565f4a8b5af98247a4dff9dc4e76b4056a
2012-01-11 14:06:06 +09:00
Jean Chalard
b751dbb6c8
Add shortcuts to XML output of makedict (B7)
...
Change-Id: I579e43cd147c4323c390cf1c9bf5e94ae79f9d86
2012-01-11 12:39:33 +09:00
Tadashi G. Takaoka
2611d3d751
Merge "Get rid of Keyboard.CODE_DUMMY"
2012-01-10 01:52:53 -08:00
Tadashi G. Takaoka
8cab0b56eb
Get rid of Keyboard.CODE_DUMMY
...
Change-Id: Id2320f4d9b5f22f0ac844ab20ce42b0c4e7c6880
2012-01-10 18:19:36 +09:00
Tadashi G. Takaoka
82b3727c83
Fix proguard.flags to keep method for testing
...
Change-Id: Iab6c9a4104e8eec3eeb55fdb063d4368338ac74d
2012-01-10 17:19:01 +09:00
Tadashi G. Takaoka
33e2813d09
Merge "Call KeyboardState.onUpdateShiftState from onCodeInput if code is a normal letter"
2012-01-09 22:25:37 -08:00
Tadashi G. Takaoka
cc39125e8e
Merge "Fix Slavic layout on phone device"
2012-01-09 22:25:31 -08:00
Tadashi G. Takaoka
ee4be6e3c6
Call KeyboardState.onUpdateShiftState from onCodeInput if code is a normal letter
...
This will be helpful to write unit test code.
Change-Id: Ib61cc46ac547084e0dc9ecd3a50814fecf08ace2
2012-01-10 15:13:05 +09:00
Jean Chalard
342d5d5dd0
Wire the Xml-read shortcuts into the dict creation code (B6)
...
Change-Id: I352064835abb62c294b48e080d9709ff013c7bb0
2012-01-10 12:58:53 +09:00
Tadashi G. Takaoka
0723b94ec2
Fix Slavic layout on phone device
...
Change-Id: I7da35502072e336ba2c32fc78827f5dff1bedddc
2012-01-10 12:52:55 +09:00
Jean Chalard
8edd306718
Add methods to read and write shortcut to binary files (B5)
...
Change-Id: I8e6a4242a73b2ec95ce9e8b4739e16dfeb9f1204
2012-01-06 19:03:30 +09:00