Commit graph

4619 commits

Author SHA1 Message Date
Jean Chalard
93e154715c am 82ddd168: Stop avoiding adding what the user typed to candidates
* commit '82ddd168893892cfe4366e1e2fa9e9bfeb5478a5':
  Stop avoiding adding what the user typed to candidates
2012-01-16 02:12:19 -08:00
Jean Chalard
82ddd16889 Stop avoiding adding what the user typed to candidates
There does not seem to be any reason other than a historical
one to avoid doing this, but it takes processing power and
makes things more complicated.

This has a very limited impact on regression tests:
5 -> 3 [He,           the]
5 -> 3 [An,           an]
5 -> 3 [Where,        where]
5 -> 3 [This,         this]
7 -> 1 [wAtch,        watch]
6 -> 4 [oveNs,        oceans]
5 -> 1 [Ahere,        Where]
7 -> 1 [Hast,         Hast]
7 -> 5 [bjp,          bill]
5 -> 1 [What,         What]
5 -> 3 [Sound,        So und]
7 -> 3 [causalities,  casualties]
7 -> 3 [discontentment, discontent]
7 -> 3 [irregardless, regardless]

5 -> 1 : 2
5 -> 3 : 5
6 -> 4 : 1
7 -> 1 : 2
7 -> 3 : 3
7 -> 5 : 1

+1       4
-1       0
+2       0
-2       0
+3       8
-3       0
+4       1
-4       0
+5       1
-5       7
+6       0
-6       1
+7       0
-7       6

Change-Id: I6407cf922f27bbd3992df11d63690e71fc61111b
2012-01-16 18:58:10 +09:00
Jean Chalard
082d3f6255 am d64b8c97: Merge "Read the group count correctly from the binary format"
* commit 'd64b8c97fea0ab5dd6d16feef329127dc7ecc833':
  Read the group count correctly from the binary format
2012-01-16 01:14:14 -08:00
Jean Chalard
d64b8c97fe Merge "Read the group count correctly from the binary format" 2012-01-16 01:12:00 -08:00
Jean Chalard
9b8b2c757d Read the group count correctly from the binary format
...in makedict, for reverse makedict.

Change-Id: I74774b50998eb605e8091d95cebdda6ad7f5fce3
2012-01-16 18:08:46 +09:00
Tadashi G. Takaoka
a6a8f4ef8e am 1f79c876: Merge "Add more KeyboardState unit test cases"
* commit '1f79c87675d3f03691ae949860cdfc5c2f3195ce':
  Add more KeyboardState unit test cases
2012-01-16 01:02:03 -08:00
Tadashi G. Takaoka
1f79c87675 Merge "Add more KeyboardState unit test cases" 2012-01-16 00:59:48 -08:00
satok
53c4248c6f am 67e13976: Merge "Store suggestions for each input length for missing space algorithm etc."
* commit '67e13976b78619ec7bc45b5377a9f5da2534cfd5':
  Store suggestions for each input length for missing space algorithm etc.
2012-01-16 00:20:06 -08:00
Jean Chalard
65b489cd76 am 9c283804: Merge "Write multi-byte chargroup count to the binary dict"
* commit '9c283804efedd0e44f493e8dffd442156e76b69e':
  Write multi-byte chargroup count to the binary dict
2012-01-16 00:20:05 -08:00
Tadashi G. Takaoka
6d5c9c9edc Add more KeyboardState unit test cases
Bug: 5708602
Change-Id: Ib9d2b7a2878f78adecc857fd569fba8965cf4a03
2012-01-16 17:19:54 +09:00
satok
67e13976b7 Merge "Store suggestions for each input length for missing space algorithm etc." 2012-01-16 00:18:37 -08:00
Jean Chalard
9c283804ef Merge "Write multi-byte chargroup count to the binary dict" 2012-01-16 00:18:23 -08:00
Tadashi G. Takaoka
53e3d682d8 am d3f1caec: Merge "Add auto caps function simulation to MockKeyboardSwitcher"
* commit 'd3f1caec0ed2e65fdd489e61c487f61d6f169678':
  Add auto caps function simulation to MockKeyboardSwitcher
2012-01-16 00:15:10 -08:00
Tadashi G. Takaoka
d3f1caec0e Merge "Add auto caps function simulation to MockKeyboardSwitcher" 2012-01-16 00:13:35 -08:00
satok
6ad15fcd15 Store suggestions for each input length for missing space algorithm etc.
Change-Id: Ief8f6ddd29e043744863e5b9be3a51a70987291c
2012-01-16 17:11:17 +09:00
Tadashi G. Takaoka
8ece45bb32 Add auto caps function simulation to MockKeyboardSwitcher
Change-Id: I049c224994a37121de031b9fd61edb52eb912e20
2012-01-16 16:30:50 +09:00
Jean Chalard
2c0903b1d1 Write multi-byte chargroup count to the binary dict
Change-Id: I093739933652c1e8c70c06f92077d1e3dbd7d7da
2012-01-16 16:29:37 +09:00
Jean Chalard
06f2692c78 am fe9dca7e: Merge "Read multi-byte char group counts"
* commit 'fe9dca7ec3814956e6e545c383106156f568d047':
  Read multi-byte char group counts
2012-01-15 23:28:07 -08:00
Jean Chalard
fe9dca7ec3 Merge "Read multi-byte char group counts" 2012-01-15 23:26:06 -08:00
Tadashi G. Takaoka
44cf7a12f6 am 610a7d90: Merge "Make MockKeyboardSwitcher top level class"
* commit '610a7d904e245625846cb3a754e3d7fe4b5555e6':
  Make MockKeyboardSwitcher top level class
2012-01-15 23:00:48 -08:00
Jean Chalard
4c0eca6e41 Read multi-byte char group counts
Change-Id: Idc62382f1c814e9bd1466c9f7dda1fcc8ba4137d
2012-01-16 15:59:33 +09:00
Tadashi G. Takaoka
610a7d904e Merge "Make MockKeyboardSwitcher top level class" 2012-01-15 22:58:39 -08:00
Jean Chalard
2c8bf65602 am 6d419810: Remove a bunch of obsolete methods.
* commit '6d4198107bb0bcc383d7324fa39098351b5eceda':
  Remove a bunch of obsolete methods.
2012-01-15 22:56:46 -08:00
Tadashi G. Takaoka
549571cf5c Make MockKeyboardSwitcher top level class
Change-Id: I52c1bc237c20b8bd49fca2431b83843a6e2af10b
2012-01-16 15:49:24 +09:00
Jean Chalard
6d4198107b Remove a bunch of obsolete methods.
Change-Id: I218007bf411489d1d648fd9b8b408c5d27c41811
2012-01-16 15:19:47 +09:00
Tadashi G. Takaoka
c40819a09d am d82fd6c3: Merge "Don\'t cache resource value that depends on orientation"
* commit 'd82fd6c3cc58159bd294b85021c8680a70a123ac':
  Don't cache resource value that depends on orientation
2012-01-15 19:29:29 -08:00
Tadashi G. Takaoka
d82fd6c3cc Merge "Don't cache resource value that depends on orientation" 2012-01-15 19:27:58 -08:00
Tadashi G. Takaoka
9751a626ec Don't cache resource value that depends on orientation
Bug: 5794655
Change-Id: Ib324366c772e20bb54aba63c2f4540dc0f9de515
2012-01-16 12:26:34 +09:00
Jean Chalard
1eece82fe5 am eddfbb68: Add a helper method
* commit 'eddfbb68dcff55c85b3d5b82d406f543bd038825':
  Add a helper method
2012-01-15 19:24:35 -08:00
Jean Chalard
eddfbb68dc Add a helper method
Change-Id: I7a898940d5f672bbee0da0c02af7a08297051ec3
2012-01-16 12:07:03 +09:00
Tadashi G. Takaoka
2f7952c58e am c88026e1: Update shift state when alphabet keyboard has been set
* commit 'c88026e1dfa9dce6d2aee9b9964342a22644dcd1':
  Update shift state when alphabet keyboard has been set
2012-01-15 18:18:12 -08:00
Tadashi G. Takaoka
c88026e1df Update shift state when alphabet keyboard has been set
Bug: 5857492
Change-Id: I5ef78af21a76e8cf645e223d1ffa6212690bb1eb
2012-01-16 11:08:29 +09:00
Tadashi G. Takaoka
175d3296e8 am 327c6828: Merge "Cleanup KeyboardStateTests a bit"
* commit '327c6828a5324b152575667cad8ba55a8cc071e0':
  Cleanup KeyboardStateTests a bit
2012-01-15 17:16:58 -08:00
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
eaf8b15d98 am a3e52e94: Merge "Fix a native crash with shortcuts"
* commit 'a3e52e94fb4f37f00a647f1b1de5424ab597907a':
  Fix a native crash with shortcuts
2012-01-13 11:14:08 -08:00
Tadashi G. Takaoka
c2d44eeded am 4cabb049: Use KeyboardSet for unit test
* commit '4cabb049718003341edc75be23fbd87a7eea9cc6':
  Use KeyboardSet for unit test
2012-01-13 11:14:07 -08:00
Tadashi G. Takaoka
77ae64d8ab am ca132ce8: Merge "Remove reference of SubtypeSwitcher and SettingsValues from KeyboardSet"
* commit 'ca132ce8e224eaae6d7d9b01fb6183708779684b':
  Remove reference of SubtypeSwitcher and SettingsValues from KeyboardSet
2012-01-13 11:14:06 -08:00
Tadashi G. Takaoka
b19ac4f36e am 211680e3: Merge "Fix SuggestTests"
* commit '211680e3752cb3118ae7ec2af5fe20ecdf37159d':
  Fix SuggestTests
2012-01-13 11:14:06 -08:00
satok
53d4dd39e9 am 9fb6f47a: New LOG lib
* commit '9fb6f47a6a11f62d134d4d6259181ac987fc1ad3':
  New LOG lib
2012-01-13 11:14:05 -08:00
satok
4341d5ef32 am b9604779: Use placement new to construct the queue
* commit 'b960477952101633d053b459e669db46d3234ac3':
  Use placement new to construct the queue
2012-01-13 11:14:05 -08:00
Tadashi G. Takaoka
6a381444fa am f67f001e: Merge "Cleanup UtilsTests"
* commit 'f67f001e40f27c4dc7d2a4f5f0ff991ca8c1b9fc':
  Cleanup UtilsTests
2012-01-13 11:14:04 -08:00
Tadashi G. Takaoka
b785e40377 am 06eb0426: Merge "Fix UserBigramSuggestTests"
* commit '06eb042616d64aeed3dec6a1fcdad9de85252fee':
  Fix UserBigramSuggestTests
2012-01-13 11:14:03 -08:00
Tadashi G. Takaoka
f47e920c39 am 76dede6b: Merge "Fix SubtypeLocaleTests"
* commit '76dede6b3ba6025a0a9b93268127f619fb92a136':
  Fix SubtypeLocaleTests
2012-01-13 11:13:58 -08:00
satok
fadaef0d97 am 4da8e8e4: Merge "Fix a bug in the logic to show 3 dots of the ime switcher"
* commit '4da8e8e4d3bc430f1b0519840f63addbce949d84':
  Fix a bug in the logic to show 3 dots of the ime switcher
2012-01-13 11:13:35 -08: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