Commit Graph

5997 Commits (12776925199fd969626c49674d78eaec8e5f9b43)

Author SHA1 Message Date
Tadashi G. Takaoka 58e782a225 Remove duplicate logic from KeyboardSwitcher and KeyboardState
Change-Id: I1d331ee7f71501baa4ec2df01df39340499834e4
2012-01-16 19:16:26 +09:00
Tadashi G. Takaoka e47bd3f4fb KeyboardState unit tests for non-distinct multitouch device
Bug: 5708602
Change-Id: Id85db2f8b7b427ba62205f5aaad481a3d33e65fc
2012-01-16 19:14:18 +09:00
Tadashi G. Takaoka 93281dc578 am af951181: Merge "Fix double tap shift key to turn off capslock mode"
* commit 'af951181090339ac5747daa6dd9cd11325b671ad':
  Fix double tap shift key to turn off capslock mode
2012-01-16 02:14:14 -08:00
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
Tadashi G. Takaoka af95118109 Merge "Fix double tap shift key to turn off capslock mode" 2012-01-16 02:12:07 -08:00
Jean Chalard 6145b73523 Add shortcut only to xml output.
Change-Id: I23b53826ce30b0ac81962d2f916514cb60bea6ff
2012-01-16 19:06:37 +09:00
Jean Chalard c599f2e9d6 Actually add shortcut-only entries.
Change-Id: I84bec8fb560cec2ad9cc857397a3f77a96b1d12d
2012-01-16 19:04:37 +09: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
Tadashi G. Takaoka 7bc61ca183 Fix double tap shift key to turn off capslock mode
Bug: 5873562
Change-Id: If1f5ae1684905c1418ae43e55df38509444d29e2
2012-01-16 18:54:25 +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