Commit Graph

14947 Commits (116bfe935616dac36d4083f3f35b482a9fb78f0c)

Author SHA1 Message Date
Jean Chalard c29acb5b69 am cb13d11c: Add a trace.
* commit 'cb13d11c0af95b0621c012be9c01e04a463e40c5':
  Add a trace.
2013-07-04 21:12:54 -07:00
Jean Chalard cb13d11c0a Add a trace.
Emit a trace when a new dictionary is copied to LatinIME
successfully, not just when it fails. That will help diagnosing
some problems by being able to ensure this step succeeded
looking at the log.
This does not happen often (like, maybe 3 times at device
activation, and once every few weeks afterwards), so I think
the extra line in the log is more than acceptable.

Change-Id: I1674bc22d950a7be801076c5aa7e8bbebccab14b
2013-07-05 12:44:47 +09:00
Jean Chalard 7511b2eb1e am 9aa1efdf: Merge "Change how the length of the random words are chosen."
* commit '9aa1efdf46ce333425466e91061793301307ad01':
  Change how the length of the random words are chosen.
2013-07-04 19:49:48 -07:00
Jean Chalard cbc1fd044b am db6984c7: Merge "Have random words stick to a restricted (random) charset"
* commit 'db6984c7bd0f3a933581cd0af201cf5e70643e45':
  Have random words stick to a restricted (random) charset
2013-07-04 19:49:47 -07:00
Jean Chalard 9aa1efdf46 Merge "Change how the length of the random words are chosen." 2013-07-05 02:48:13 +00:00
Jean Chalard db6984c7bd Merge "Have random words stick to a restricted (random) charset" 2013-07-05 02:47:57 +00:00
Keisuke Kuroynagi 89ca0e13d1 am 49910a9d: Merge "Fix: release lock in UserHistoryDictionary."
* commit '49910a9d774120479d89f537c7e1b4d43e6f153a':
  Fix: release lock in UserHistoryDictionary.
2013-07-04 08:14:58 -07:00
Keisuke Kuroynagi 49910a9d77 Merge "Fix: release lock in UserHistoryDictionary." 2013-07-04 15:13:09 +00:00
Keisuke Kuroynagi 2e22356da4 am 0933353c: Merge "Read version 3 dictionary header."
* commit '0933353c0c8823ec5ca1dcc5cd68014b87a6e045':
  Read version 3 dictionary header.
2013-07-04 07:23:32 -07:00
Keisuke Kuroynagi 0933353c0c Merge "Read version 3 dictionary header." 2013-07-04 14:19:35 +00:00
Keisuke Kuroynagi 06e8860e3d am db296305: Merge "DictionaryWriter to abstract binary dictionary writing."
* commit 'db296305d61f9d7c8f9121eb0e663d3d0a2f6ecc':
  DictionaryWriter to abstract binary dictionary writing.
2013-07-04 07:17:13 -07:00
Keisuke Kuroynagi db296305d6 Merge "DictionaryWriter to abstract binary dictionary writing." 2013-07-04 14:15:24 +00:00
Keisuke Kuroynagi 65db026265 Fix: release lock in UserHistoryDictionary.
Change-Id: I050c252910c6b5b0a79cd2d52c525679f2d6091d
2013-07-04 23:12:49 +09:00
Jean Chalard 4a1c26aba7 Change how the length of the random words are chosen.
This is much more robust and much better for testing.

Change-Id: I43f900f9debc1d1ae4c3f3dd07dbe0ac85d31f52
2013-07-04 22:22:34 +09:00
Jean Chalard cea80fd955 Have random words stick to a restricted (random) charset
Change-Id: Ib4045ebc9659f1b60183f2356e60e449d62c5be9
2013-07-04 22:21:27 +09:00
Keisuke Kuroynagi f8d2796724 Add methods for dynamic updating binary dictionary.
Bug: 6669677
Change-Id: I7e681ceec2af712214a647630350cb20be6b0354
2013-07-04 21:17:49 +09:00
Keisuke Kuroynagi edd1992ed3 DictionaryWriter to abstract binary dictionary writing.
UserHistoryDictionary should become to use ExpandableBinaryDictionary.

Bug: 6669677

Change-Id: I6831c7dd2d84207d1a8f51ba15d52e0a72205d0c
2013-07-04 21:06:04 +09:00
Keisuke Kuroynagi 7f601359b4 am cac66f29: Merge "Return NOT_A_PROBABILITY in getProbability for inalid dictionary."
* commit 'cac66f29ebd8df26b25c21b0c228dfe63ea109ad':
  Return NOT_A_PROBABILITY in getProbability for inalid dictionary.
2013-07-04 03:01:04 -07:00
Keisuke Kuroynagi cac66f29eb Merge "Return NOT_A_PROBABILITY in getProbability for inalid dictionary." 2013-07-04 09:59:40 +00:00
Jean Chalard 8c80b1f14b am b242ce4e: Merge "Add a two-args constructor to BinaryDictIOTests"
* commit 'b242ce4e6b599f568bb3bae5749a9e5f65e6a773':
  Add a two-args constructor to BinaryDictIOTests
2013-07-04 02:16:23 -07:00
Jean Chalard b242ce4e6b Merge "Add a two-args constructor to BinaryDictIOTests" 2013-07-04 09:14:03 +00:00
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