Commit graph

14976 commits

Author SHA1 Message Date
Jean Chalard
fe77485ff3 am eec3067f: Merge "Generalize constuctors & add tests"
* commit 'eec3067fd071f1682151c2995ac592c75ae7574f':
  Generalize constuctors & add tests
2013-07-04 01:54:34 -07:00
Jean Chalard
eec3067fd0 Merge "Generalize constuctors & add tests" 2013-07-04 08:53:19 +00:00
Keisuke Kuroynagi
4ee4486803 am 24025135: Merge "Allow force auto commit when the top is long multiword."
* commit '24025135562791d3f569e39509425b4c9624e310':
  Allow force auto commit when the top is long multiword.
2013-07-04 01:47:05 -07:00
Keisuke Kuroynagi
2402513556 Merge "Allow force auto commit when the top is long multiword." 2013-07-04 08:46:11 +00:00
Keisuke Kuroynagi
a829188f54 Allow force auto commit when the top is long multiword.
Bug: 9688196
Change-Id: I73ff2cd77b932bf7307b3541ea9da3fa4afa11b4
2013-07-04 17:39:01 +09:00
Jean Chalard
fe156213d7 Add a two-args constructor to BinaryDictIOTests
Change-Id: Ie26e22754bfa5d58135349164c57007c86bd97e8
2013-07-04 17:14:02 +09:00
Jean Chalard
b6cc4333a8 Generalize constuctors & add tests
If there is any two-args constructor with the right arg types
in a test class, use it. Also, add a test suite to dicttool test.

Also, have the return value of dicttool reflect success or
failure.

Change-Id: I51ab2a4abb93a0a483e8d6ef3c39d1ff1bce1dbd
2013-07-04 17:13:58 +09:00
Tadashi G. Takaoka
2babbfb8b0 am fe202d67: Add Azerbaijani keyboard
* commit 'fe202d6738e57187925560bdac9051468aadd63e':
  Add Azerbaijani keyboard
2013-07-03 22:59:31 -07:00
Tadashi G. Takaoka
fe202d6738 Add Azerbaijani keyboard
Bug: 7963448
Change-Id: I39c192b342278e82e30ac6ef12c6d150c817ae70
2013-07-04 14:47:33 +09:00
Tadashi G. Takaoka
ed69cc3163 am 0e007eaf: Add Kazakh keyboard
* commit '0e007eaff6c2b0c583de17970f1c8ecddadd6fd5':
  Add Kazakh keyboard
2013-07-03 22:47:00 -07:00
Tadashi G. Takaoka
0e007eaff6 Add Kazakh keyboard
Bug: 9697273
Change-Id: Ic9943569ed60d601f093181bf135e45a25399121
2013-07-04 13:10:38 +09:00
Kurt Partridge
6d7c647470 Do not output string-encoded MotionEvent.
JsonUtils knows how to output MotionEvents into json; that mechanism
should be reused for SuddenJumpingTouchEventHandler.

Change-Id: Id4c36c05533a3a329bf43ba33d57c0830dc4d196
2013-07-03 10:13:59 -07:00
Keisuke Kuroynagi
9ed68c84c0 am 55de0bd9: Merge "Use ReentrantReadWriteLock in ExpandableBinaryDictionary."
* commit '55de0bd981d6dc3ad4465c654d60072604ed1f9d':
  Use ReentrantReadWriteLock in ExpandableBinaryDictionary.
2013-07-03 04:40:27 -07:00
Keisuke Kuroynagi
55de0bd981 Merge "Use ReentrantReadWriteLock in ExpandableBinaryDictionary." 2013-07-03 11:39:17 +00:00
Keisuke Kuroynagi
f939f60bd4 am 0f276de0: Merge "Disable shortcut output for multi-word suggestions."
* commit '0f276de04d3493a4777a29eebbc88253db427edb':
  Disable shortcut output for multi-word suggestions.
2013-07-03 04:35:11 -07:00
Keisuke Kuroynagi
0f276de04d Merge "Disable shortcut output for multi-word suggestions." 2013-07-03 11:34:15 +00:00
Keisuke Kuroynagi
72f69fd621 Return NOT_A_PROBABILITY in getProbability for inalid dictionary.
Bug: 9682742
Change-Id: Ifad4b9811bb5e1a94aed59eba7aedcdb6da5cf9c
2013-07-03 20:12:38 +09:00
Tadashi G. Takaoka
41f1399b2b am 88d0138d: Merge "Add missing letter THEH to Perisan keyboard layout"
* commit '88d0138d9818b49d37cf44a25b96440ea0fba507':
  Add missing letter THEH to Perisan keyboard layout
2013-07-03 04:08:45 -07:00
Tadashi G. Takaoka
b7c3c75e73 am d3ef3f0a: Merge "Add missing letter THEH to Arabic keyboard layout"
* commit 'd3ef3f0ac713c80d366061adac116c3cdb10ce98':
  Add missing letter THEH to Arabic keyboard layout
2013-07-03 04:08:44 -07:00
Tadashi G. Takaoka
88d0138d98 Merge "Add missing letter THEH to Perisan keyboard layout" 2013-07-03 11:07:18 +00:00
Tadashi G. Takaoka
d3ef3f0ac7 Merge "Add missing letter THEH to Arabic keyboard layout" 2013-07-03 11:07:08 +00:00
Tadashi G. Takaoka
5b3a54fada Add missing letter THEH to Perisan keyboard layout
With this change, the phone keyboard layout use quite similar one of
the oridinal PC.  The differences from the ordinal PC keyboard layout
are:

- Add letter JEH between letter TAH and ZAIN at 3rd row.
- Move letter TCHEN from the most left of 1st row to the most left of
  3rd row.

The tablet keyboard layout is the same of of the phone except:

- Add letter ALEF with MADDA above between letter WAW and letter TCHEN
  at 3rd row.

This change also moves the delete key and the enter key on tablet to
1st and 2nd row respectively.

Bug: 9371393
Change-Id: I964589055eb15549fe20e5ec45e02f7dc6b5686e
2013-07-03 19:50:14 +09:00
Tadashi G. Takaoka
614347bfd9 Add missing letter THEH to Arabic keyboard layout
With this change, the tablet keyboard layout both 7inch and 10inch use
quite similar one of the ordinal PC.  The differences from the ordinal
PC keyboard layout are:

- Move letter THAL from the most left of digits' row to the most left
  of 3rd row.
- Move letter DAL from the most right of 1st row to the most right of
  3rd row.
- Omit ligature LAM with ALEF from 3rd row and move to more keys of
  letter LAM on 2nd row.

The phone keyboard layout is the same one of the tablet except:

- Omit letter YEH with HAMZA avobe from 3rd row and move to more keys
  of letter ALEF MAKSURA on 3rd row.

Bug: 9371393
Change-Id: I1cd164ce7c1c3a5cae67b9985f1b167aef028ca0
2013-07-03 19:49:16 +09:00
Keisuke Kuroynagi
0b1c08bf5a Use ReentrantReadWriteLock in ExpandableBinaryDictionary.
Bug: 6669677

Change-Id: I2acde0517d5ed5cbd7b7149709e35fc36651335d
2013-07-03 19:46:08 +09:00
Tadashi G. Takaoka
a444698ce9 am 28852fd6: Followup com.android.inputmethod.latin.utils change
* commit '28852fd6588e627c5f8df4ab79272524c314695b':
  Followup com.android.inputmethod.latin.utils change
2013-07-03 03:32:08 -07:00
Tadashi G. Takaoka
28852fd658 Followup com.android.inputmethod.latin.utils change
This is a folowup of I1c5b27c8ed.

Change-Id: I12c422a26e599923cadf21c3ab24e4b901cf94cc
2013-07-03 19:05:32 +09:00
Keisuke Kuroynagi
9a4f7a3761 Disable shortcut output for multi-word suggestions.
Bug: 9682742
Change-Id: I9e0a5acd9053d141e018c4653e4baf0f77aacb45
2013-07-03 17:22:36 +09:00
Keisuke Kuroynagi
5ae8722bd5 Read version 3 dictionary header.
The header structure of version 3 dictionary is same as version 2.

Bug: 6669677
Change-Id: I26c8723333938fbf102de1a40f11d97444da9075
2013-07-03 17:10:48 +09:00
Tadashi G. Takaoka
9caf1791f2 am d365d82d: Merge "Handling key repeat by emulating key press and code input"
* commit 'd365d82d518e75eff3e9fb67a5ce24c73f83eaed':
  Handling key repeat by emulating key press and code input
2013-07-02 12:33:13 -07:00
Tadashi G. Takaoka
d365d82d51 Merge "Handling key repeat by emulating key press and code input" 2013-07-02 10:58:06 +00:00
Tadashi G. Takaoka
f87e8f7ec1 Handling key repeat by emulating key press and code input
This change also eliminates a reference of
AudioAndHapticFeedbackManager from KeyboardSwitcher and MainKeyboard.

Bug: 6522943
Change-Id: Iac42ec8ff00c66deb76a660ffc07477923a58959
2013-07-02 19:50:34 +09:00
Keisuke Kuroynagi
7d4b812275 am 07718a5e: Merge "Fix: Reading invalid dictionary position."
* commit '07718a5e7d31fee7aa9bcddda38ce04fabf6c5ac':
  Fix: Reading invalid dictionary position.
2013-07-02 02:44:15 -07:00
Keisuke Kuroynagi
07718a5e7d Merge "Fix: Reading invalid dictionary position." 2013-07-02 09:42:53 +00:00
Keisuke Kuroynagi
f6aa9e9a1d Fix: Reading invalid dictionary position.
Bug: 6669677

Change-Id: I3f4078aaa8cf72f3b366e7851457e9c753c0102f
2013-07-02 18:39:56 +09:00
Keisuke Kuroynagi
1b1f6ddc3e am 21648562: Merge "Move children filtering methods to DicNodeChildrenFilter."
* commit '21648562050af77147c5ffd1b111de8906c66697':
  Move children filtering methods to DicNodeChildrenFilter.
2013-07-02 02:36:50 -07:00
Keisuke Kuroynagi
2164856205 Merge "Move children filtering methods to DicNodeChildrenFilter." 2013-07-02 09:35:06 +00:00
Jean Chalard
1c06791ed7 am b6f5d3e3: Fix offdevice compilation
* commit 'b6f5d3e39d1f3073c4e7d75e9d4309112879dc6e':
  Fix offdevice compilation
2013-07-01 23:58:31 -07:00
Jean Chalard
b6f5d3e39d Fix offdevice compilation
Change-Id: I8bccccbc51b308fddfbbc990f7bfe1c490259372
2013-07-02 15:19:16 +09:00
Jean Chalard
eb7cd63858 am 7eba0198: Dump binary dictionary information when opening
* commit '7eba0198c0344ce7aac9867711d7944811dd3ad5':
  Dump binary dictionary information when opening
2013-07-01 02:45:16 -07:00
Jean Chalard
7eba0198c0 Dump binary dictionary information when opening
Bug: 9459517
Change-Id: I122583e734936ae0284e1c7500c6c9242bc7973b
2013-07-01 18:41:00 +09:00
Jean Chalard
c68f945d74 am edf58425: Merge "Add args to dicttool test."
* commit 'edf5842568c5e763fdc91220079782cb8774918e':
  Add args to dicttool test.
2013-07-01 00:39:24 -07:00
Jean Chalard
edf5842568 Merge "Add args to dicttool test." 2013-07-01 07:37:54 +00:00
Keisuke Kuroynagi
ace4e39ba3 am 28ade093: Merge "Remove format version 1 related logic."
* commit '28ade0938eeb8d05c42bb2fec8be21ee209b4fa2':
  Remove format version 1 related logic.
2013-07-01 00:33:07 -07:00
Keisuke Kuroynagi
28ade0938e Merge "Remove format version 1 related logic." 2013-07-01 07:31:45 +00:00
Keisuke Kuroynagi
92db5e10b1 Remove format version 1 related logic.
Removed from DictionaryStructurePolicyFactory

Bug: 9617181
Change-Id: Ice4b4a24e019c88b0ec129dc69176c7541f8530c
2013-07-01 16:28:06 +09:00
Jean Chalard
0fed749de6 am e5a3b776: Merge "Move Range out of RichInputConnection and rename it."
* commit 'e5a3b77664db1ecfd95601a806649f063eb604d3':
  Move Range out of RichInputConnection and rename it.
2013-07-01 00:22:38 -07:00
Jean Chalard
e5a3b77664 Merge "Move Range out of RichInputConnection and rename it." 2013-07-01 07:20:51 +00:00
Keisuke Kuroynagi
d749af1664 am 109ba3ac: Merge "Regenerate old version dictionaries using new format."
* commit '109ba3ace3815a7650a9fb0485b187968ddf8c29':
  Regenerate old version dictionaries using new format.
2013-07-01 00:18:25 -07:00
Keisuke Kuroynagi
109ba3ace3 Merge "Regenerate old version dictionaries using new format." 2013-07-01 07:16:15 +00:00
Jean Chalard
0ae2498bbb am 70ee2201: Merge "Do not re-resume suggestion if it\'s not needed."
* commit '70ee2201a09af63f9fc87b408cc9b48c25a39605':
  Do not re-resume suggestion if it's not needed.
2013-07-01 00:14:12 -07:00