Jean Chalard
1588252968
Small debug helper
...
So that I don't have to find out everything again each time the
test facility finds a case that does not work, and I want to dump
the output to a combined file.
Change-Id: I9f77f86055d1609c2e37747ac47421db1ba2498e
2013-07-16 15:57:09 +09:00
Keisuke Kuroynagi
b6f286bfa5
Merge "Make bigram dictionary and traverse session use structure policy."
2013-07-16 02:45:36 +00:00
Keisuke Kuroynagi
4944827e0f
Merge "Add methods for dynamic updating binary dictionary."
2013-07-16 02:45:01 +00:00
Kurt Partridge
8bfd57820f
Merge "Do not output string-encoded MotionEvent."
2013-07-15 17:36:56 +00:00
Baligh Uddin
f6c9201d73
Merge "Import translations. DO NOT MERGE"
2013-07-12 01:01:39 +00:00
Keisuke Kuroynagi
34047d8905
Quit ignoring language cost of exact matches.
...
Handle exact matches in DicNode::compare() and calculateFinalScore().
Bug: 8844931
Change-Id: I17c78d4e352b0a4308727229b02a8004b38468bf
2013-07-11 08:25:17 +00:00
Baligh Uddin
0abf16a331
Import translations. DO NOT MERGE
...
Change-Id: I580f44f5334d0af91339646c0cfe94293f96711f
Auto-generated-cl: translation import
2013-07-10 23:56:58 -07:00
Keisuke Kuroynagi
cfbb7fbd48
Fix: Read lock is wrongly used for gutSuggestions.
...
Bug: 9737865
Change-Id: I017f80b46c5dc48c40f2de7c4d516a042992feb4
2013-07-09 08:40:43 +00:00
Keisuke Kuroynagi
1311cdcb62
Make bigram dictionary and traverse session use structure policy.
...
Bug: 6669677
Change-Id: I5a13290366afbb788da997b98d1c593963e92f3e
2013-07-08 14:25:50 +09:00
Ken Wakasa
58b2a6372f
Merge "Update ExpandableDictionary.BASE_CHARS[]"
2013-07-08 03:22:15 +00:00
Ken Wakasa
d0ca62678d
Update ExpandableDictionary.BASE_CHARS[]
...
This should be the same as CharUtils::BASE_CHARS[] in the native code.
Change-Id: I72ed4a43fd5c26a4439ef791b6b1cf703845c3a1
2013-07-05 20:29:21 +09:00
Tadashi G. Takaoka
f5be54f710
Merge "Move TypefaceUtils and ViewUtils to utils package"
2013-07-05 10:34:50 +00:00
Tadashi G. Takaoka
bac479bbe1
Merge "Reorganize Utils class"
2013-07-05 10:34:15 +00:00
Tadashi G. Takaoka
ccf4a31027
Move TypefaceUtils and ViewUtils to utils package
...
Change-Id: Iccd47c27670248c43de9a539c1951111d7733111
2013-07-05 19:24:59 +09:00
Tadashi G. Takaoka
4be6198cb7
Reorganize Utils class
...
Change-Id: I7294d1547def5dcfcae9d1d53b277cb3cc9f2d18
2013-07-05 19:24:40 +09:00
Keisuke Kuroynagi
0c6e077875
Merge "Remove flags from dicNodeProperties."
2013-07-05 09:35:50 +00:00
Tadashi G. Takaoka
72c2feb573
Use TimeUnit instead of DateUtils for readability
...
Bug: 9550800
Change-Id: I087205530a5dbcff4bf08f48f4aa7068aae93215
2013-07-05 17:57:01 +09:00
Keisuke Kuroynagi
5b03213db1
Remove flags from dicNodeProperties.
...
Bug: 6669677
Change-Id: I6f4aef8c4e4376f078ed8375394823788aa35002
2013-07-05 16:35:07 +09: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
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
49910a9d77
Merge "Fix: release lock in UserHistoryDictionary."
2013-07-04 15:13:09 +00:00
Keisuke Kuroynagi
0933353c0c
Merge "Read version 3 dictionary header."
2013-07-04 14:19:35 +00: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
cac66f29eb
Merge "Return NOT_A_PROBABILITY in getProbability for inalid dictionary."
2013-07-04 09:59:40 +00:00
Jean Chalard
b242ce4e6b
Merge "Add a two-args constructor to BinaryDictIOTests"
2013-07-04 09:14:03 +00:00
Jean Chalard
eec3067fd0
Merge "Generalize constuctors & add tests"
2013-07-04 08:53:19 +00: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
fe202d6738
Add Azerbaijani keyboard
...
Bug: 7963448
Change-Id: I39c192b342278e82e30ac6ef12c6d150c817ae70
2013-07-04 14:47:33 +09: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
55de0bd981
Merge "Use ReentrantReadWriteLock in ExpandableBinaryDictionary."
2013-07-03 11:39:17 +00: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
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
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