Commit Graph

15040 Commits

Author SHA1 Message Date
Keisuke Kuroynagi
3bf996f936 Merge "Add a test for user history for switching languages." 2013-07-16 06:53:58 +00:00
Keisuke Kuroynagi
8a7129530b Replace NOT_VALID_WORD with NOT_A_VALID_WORD_POS
Bug: 6669677
Change-Id: If5fb58e8a98b04b767eaaf624cb6a40841b64f54
2013-07-16 15:53:03 +09:00
Tadashi G. Takaoka
20d498a78d Add xxhdpi assets
Bug: 8976566
Change-Id: I00034994fe2c619e91362cbaddc722597a1ae22f
2013-07-16 15:46:04 +09:00
Tadashi G. Takaoka
0a951d55a0 am 0d47f284: Merge "Move punctuations to more key of z in dvorak"
* commit '0d47f2844809afb173a54a38ff582c909af4c069':
  Move punctuations to more key of z in dvorak
2013-07-15 23:03:54 -07:00
Tadashi G. Takaoka
0d47f28448 Merge "Move punctuations to more key of z in dvorak" 2013-07-16 06:02:22 +00:00
Jean Chalard
8850a158f8 am 988a1f31: Merge "Fix a bug with bad view reuse."
* commit '988a1f3132d2e13fcd108ef945f91d9f30d8e222':
  Fix a bug with bad view reuse.
2013-07-15 22:46:07 -07:00
Jean Chalard
988a1f3132 Merge "Fix a bug with bad view reuse." 2013-07-16 05:43:15 +00:00
Jean Chalard
a45075f3ca am 4d4310df: Merge "Fix a wrong call to cancel downloads"
* commit '4d4310df755a12be7b93f18c25f8e2389c33831c':
  Fix a wrong call to cancel downloads
2013-07-15 22:42:54 -07:00
Jean Chalard
4d4310df75 Merge "Fix a wrong call to cancel downloads" 2013-07-16 05:40:16 +00:00
Tadashi G. Takaoka
ac675de10d Move punctuations to more key of z in dvorak
Bug: 9862531
Change-Id: I957729b30e5cf3cf6f3f1ea4bb643922bc7ed068
2013-07-16 14:36:13 +09:00
Jean Chalard
6912342a48 Fix a bug with bad view reuse.
There are many ways to fix this problem but this is the most
direct way. Removing a view from the cache when any animation
is started will ensure it won't be used again, and will be garbage
collected when it's possible. Since views are created on demand
anyway, a new one will just get created when needed, and that's
it.

Bug: 9400128
Change-Id: I4945d2859d642e79694d51ae90cf4f5bde9a5f1d
2013-07-16 14:12:55 +09:00
Keisuke Kuroynagi
28a70b63c5 Add a test for user history for switching languages.
testStressTestForSwitchingLanguageAndAddingWords took 101996 ms

Bug: 6669677
Change-Id: I62849674147e4845955060124221da8211e9b3ca
2013-07-16 12:17:56 +09:00
Keisuke Kuroynagi
df266ac7aa am b6f286bf: Merge "Make bigram dictionary and traverse session use structure policy."
* commit 'b6f286bfa549ed91c67d591fc1725e35b114742b':
  Make bigram dictionary and traverse session use structure policy.
2013-07-15 19:47:55 -07:00
Keisuke Kuroynagi
1a16cdc60c am 4944827e: Merge "Add methods for dynamic updating binary dictionary."
* commit '4944827e0fdb5657a7f9305c317464edb0ef2b08':
  Add methods for dynamic updating binary dictionary.
2013-07-15 19:47:53 -07: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
83196d0b57 am 8bfd5782: Merge "Do not output string-encoded MotionEvent."
* commit '8bfd57820f840d82dafad33c1d2f44c54f461fc1':
  Do not output string-encoded MotionEvent.
2013-07-15 10:38:59 -07:00
Kurt Partridge
8bfd57820f Merge "Do not output string-encoded MotionEvent." 2013-07-15 17:36:56 +00:00
Jean Chalard
d6c621cd87 Don't put spaces before and after asterisks
Change-Id: I3c87745c3d4e7a0c531f6c2e68120fada556b44b
2013-07-12 13:37:40 +09:00
Baligh Uddin
5f18b4bec1 am f6c9201d: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'f6c9201d7329ee7169c2de19b494b5986d51da25':
  Import translations. DO NOT MERGE
2013-07-11 18:03:44 -07:00
Baligh Uddin
f6c9201d73 Merge "Import translations. DO NOT MERGE" 2013-07-12 01:01:39 +00:00
Keisuke Kuroynagi
6df2b0ba3b am 34047d89: Quit ignoring language cost of exact matches.
* commit '34047d8905fbd2cbe4c99618aab105556ebee9ed':
  Quit ignoring language cost of exact matches.
2013-07-11 01:43:22 -07: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
Jean Chalard
faa729c47c Fix a wrong call to cancel downloads
This resulted in downloads not being correctly canceled.

Bug: 9715797
Change-Id: I786d869977df225f85cb69ec7ea9c96b039258fe
2013-07-11 17:15:45 +09: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
551091ef39 am cfbb7fbd: Fix: Read lock is wrongly used for gutSuggestions.
* commit 'cfbb7fbd48125909ed61e58500e56b06afc12709':
  Fix: Read lock is wrongly used for gutSuggestions.
2013-07-09 01:54:44 -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
Baligh Uddin
8eddeffdaf Import translations. DO NOT MERGE
Change-Id: I94e8a1dd3472e65b3c784ba285514a9117d3c776
Auto-generated-cl: translation import
2013-07-08 12:31:49 -07: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
70147fa026 am 58b2a637: Merge "Update ExpandableDictionary.BASE_CHARS[]"
* commit '58b2a6372fd0404e27bbe137bbac18bbdf70e153':
  Update ExpandableDictionary.BASE_CHARS[]
2013-07-07 20:23:59 -07: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
a5424c82a9 am f5be54f7: Merge "Move TypefaceUtils and ViewUtils to utils package"
* commit 'f5be54f710e2855b88f51bfb34b60742ebe3913c':
  Move TypefaceUtils and ViewUtils to utils package
2013-07-05 03:36:45 -07:00
Tadashi G. Takaoka
b6b6fa7dcf am bac479bb: Merge "Reorganize Utils class"
* commit 'bac479bbe1d6daa074c375845bb3af42c931ecbd':
  Reorganize Utils class
2013-07-05 03:36:44 -07: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
0f92484597 am 0c6e0778: Merge "Remove flags from dicNodeProperties."
* commit '0c6e077875a9a6ef1d46ea26610e18156a81a9fe':
  Remove flags from dicNodeProperties.
2013-07-05 02:36:43 -07:00
Keisuke Kuroynagi
0c6e077875 Merge "Remove flags from dicNodeProperties." 2013-07-05 09:35:50 +00:00
Tadashi G. Takaoka
c85efa92bf am 72c2feb5: Use TimeUnit instead of DateUtils for readability
* commit '72c2feb57369527b5f0d2b89505f94503978b928':
  Use TimeUnit instead of DateUtils for readability
2013-07-05 02:25:08 -07: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
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