Commit graph

33860 commits

Author SHA1 Message Date
Tadashi G. Takaoka
10a93dc80c Add info log of custom input styles
Bug: 17622871
Change-Id: Ia97c7bc2f0923417b458b178fbd8776d5cd0758c
2014-09-26 12:51:42 +09:00
Tadashi G. Takaoka
90058c3d1f Add an internal state test to ImportantNoticeUtilsTests
On some 32bit-x86 testing emulators, it seems the internal state after
clear the related settings seems like a contradiction state. This CL
adds an test to check such internal state in order to investigate what
is happening on these emulators.

Bug: 17635340
Change-Id: Iba85f06c46959b1dc22e2a9213c50c9e7e30949b
2014-09-26 12:16:54 +09:00
Tadashi G. Takaoka
dd052f006b Fix unit tests' size to @LargeTest for action label tests
Bug: 17654015
Change-Id: Id6a5030881603ad29cb38909f02ac3c0709c8aaf
2014-09-26 11:47:39 +09:00
Sandeep Siddhartha
2c4fbe4710 Merge "Add the sync related permissions to LatinIme too" 2014-09-25 23:31:07 +00:00
Sandeep Siddhartha
3980675f18 Save/restore account preference when running tests
Change-Id: I0b1ec2144007b60fc53b4fcfa04be1b6dc21ced2
2014-09-25 11:47:28 -07:00
Sandeep Siddhartha
d0a144282e Add the sync related permissions to LatinIme too
This can go in master because the actual code changes will also go in here,
and not in lmp-dev

Bug: 17464069
Change-Id: Ica1a22c61aa07efb6dadf8db53513607be437b73
2014-09-25 10:30:31 -07:00
Tadashi G. Takaoka
88984aedae Split up long unit tests into smaller ones
Bug: 17654015
Change-Id: Ia2fe61554c1c5752fe38928ae6433ebaedcfdda7
2014-09-26 00:39:35 +09:00
Tadashi G. Takaoka
f99cce8615 Merge "Fix checking a11y status just before calling an a11y method" 2014-09-25 14:14:28 +00:00
Tadashi G. Takaoka
aaefd56661 Add !string/<resource_name> reference
This CL introduces new text reference notation !string/<resource_name>
to refer a string resource on the fly.

This notation is mainly used to represent action key labels may refer
a string in a system locale in run-time.

This notation is needed to implement Hinglish and Serbian-Latin
keyboards that need to refer its own action key labels.

Bug: 17169632
Bug: 9687668
Change-Id: I042f6bd04714e0e448cd92031730eb9fb422e6d3
2014-09-25 18:27:23 +09:00
Tadashi G. Takaoka
dbb2182e39 Introduce subtype filter to unit test
Change-Id: I3de573ffa38c46b78e1f8a602f99c49c164516f0
2014-09-25 18:26:21 +09:00
Tadashi G. Takaoka
04cd8794e0 Fix checking a11y status just before calling an a11y method
Bug: 17035860
Change-Id: I9627d525a570ced085281b4db93fe6896081e818
2014-09-25 18:24:17 +09:00
Keisuke Kuroyanagi
951252bf47 Merge "Get stats from dictionary." 2014-09-25 08:24:55 +00:00
Tadashi G. Takaoka
22e2fa372c Merge "Add allowRedundantMoreKeys attribute" 2014-09-25 08:20:19 +00:00
Jean Chalard
2828d9eda7 Merge "[ML10.1] Adjust call for additional features" 2014-09-25 08:19:47 +00:00
Tadashi G. Takaoka
0be4e6e585 Add allowRedundantMoreKeys attribute
This CL also adds a couple of custom layout tests of Nordic languages.

Bug: 10787354
Change-Id: I5e875d3f30863395511afa82f0a02deb093d3a6f
2014-09-25 15:12:06 +09:00
Jean Chalard
8da2052113 [ML10.1] Adjust call for additional features
Bug: 11230254
Change-Id: I7b60d9174d7d267eb1b3cd848cff36cdbea75b12
2014-09-25 12:50:11 +09:00
Keisuke Kuroyanagi
4cc9c8b587 Merge "Quit reading unigram probability in Ver4PatriciaTrieNodeReader." 2014-09-25 03:20:41 +00:00
Keisuke Kuroyanagi
a2251ef47b Merge "Use std::move for dictionary properties." 2014-09-25 03:20:28 +00:00
Keisuke Kuroyanagi
a40db55d9b Merge "Fix typo." 2014-09-25 02:52:12 +00:00
Keisuke Kuroyanagi
97465afbf8 Fix typo.
Change-Id: Ib090a3dfa7e53232e0d1ef5e4d2cbe48130f657f
2014-09-25 11:50:30 +09:00
Keisuke Kuroyanagi
cb4f544198 Quit reading unigram probability in Ver4PatriciaTrieNodeReader.
Bug: 14425059
Change-Id: I4fc7b0e236151a2c64e7131772264024c6597633
2014-09-25 11:41:50 +09:00
Keisuke Kuroyanagi
2842e50c4b Use std::move for dictionary properties.
Change-Id: I15056b36b7493f4bac1dbcbb46a0b44343ede153
2014-09-25 11:36:52 +09:00
Sandeep Siddhartha
145f05d637 Merge "Add account change receiver to handle account removal" 2014-09-24 23:40:58 +00:00
Sandeep Siddhartha
d4aec65f65 Add account change receiver to handle account removal
Also cleanup the manifest to group similar components together.
Moving LoginAccountUtils to its own package

Bug: 17464068
Change-Id: Iad7928855531d58334b1e4039bb45b97dde75462
2014-09-24 13:10:54 -07:00
Keisuke Kuroyanagi
ed77b37e6b Merge "Use CodePointArrayView in WordProperty." 2014-09-24 07:38:37 +00:00
Keisuke Kuroyanagi
7313b0debe Merge "Refactoring method to get code points and code point count." 2014-09-24 07:24:48 +00:00
Tadashi G. Takaoka
9f38c419bd Merge "Cleanup action key label unit tests" 2014-09-24 06:51:38 +00:00
Tadashi G. Takaoka
97294530d9 Merge "Stop showing more suggestions while important notice is showing" 2014-09-24 06:51:27 +00:00
Keisuke Kuroyanagi
bd0ac97917 Fix: native unit test.
Bug: 14425059
Change-Id: I7c5103eac35e01a5732f1f4594d730df06dfca96
2014-09-24 15:26:26 +09:00
Keisuke Kuroyanagi
c912957f3f Merge "Move word flags to language model dict content." 2014-09-24 05:22:51 +00:00
Keisuke Kuroyanagi
80d139a694 Use CodePointArrayView in WordProperty.
Change-Id: I45a9755c413003831788d190beb499fee8ce63aa
2014-09-24 14:15:36 +09:00
Keisuke Kuroyanagi
65a7ccfa00 Refactoring method to get code points and code point count.
Bug: 14425059
Change-Id: I4731bd6076d34556e46e6714180fed324fb6aba3
2014-09-24 14:15:36 +09:00
Keisuke Kuroyanagi
7d911d6f91 Move word flags to language model dict content.
Bug: 14425059
Change-Id: I64712e5c83d0bc241e6f0f16117ab47b5d75bd4b
2014-09-24 14:15:34 +09:00
Tadashi G. Takaoka
21f038ee0a Stop showing more suggestions while important notice is showing
Bug: 15812659
Change-Id: I314e235cfffae3ae655320a9a75867efc28066bf
2014-09-24 14:12:05 +09:00
Tadashi G. Takaoka
51333ba4c3 Cleanup action key label unit tests
Change-Id: Iae08ef5689235310ad59035f4f19c6d631ca0602
2014-09-24 14:09:21 +09:00
Sandeep Siddhartha
a2dbc44895 Merge "Handle split layout tests for phones" 2014-09-24 03:41:06 +00:00
Tadashi G. Takaoka
064ba6bc0a Merge "Fix Turkish/Azerbaijani keyboard to add more accented letters" 2014-09-24 03:36:10 +00:00
Tadashi G. Takaoka
9a73a79cbe Merge "Fix not intercepting touch event while in modal mode" 2014-09-24 03:24:18 +00:00
Keisuke Kuroyanagi
b5dface8da Merge "Call stopTestModeInNativeCode() in testDecaying()." 2014-09-24 02:46:33 +00:00
Jean Chalard
3db17c5394 Merge "[ML9.1] Add option for multi-lingual support" 2014-09-24 02:42:46 +00:00
Keisuke Kuroyanagi
a8321242c6 Call stopTestModeInNativeCode() in testDecaying().
Change-Id: I939fdbda31ff066ea6e807ad1438a8f77fb6ddef
2014-09-24 08:51:19 +09:00
Tadashi G. Takaoka
620bfb9bb9 am 4c4ba10b: am 71b51590: am a76e11a2: am 1f490d6c: am be4e0d0e: Fix when to show important notice
* commit '4c4ba10bbb257036d7cb6ae8a128263285b7384f':
  Fix when to show important notice
2014-09-23 16:18:45 +00:00
Baligh Uddin
108b34977f am d4f5cb8b: (-s ours) am 3cd7dfc0: (-s ours) am 2829f9ee: (-s ours) am b28e0bdd: (-s ours) am cf59579c: (-s ours) Import translations. DO NOT MERGE
* commit 'd4f5cb8bcd79d5d516bb1eb0e0efa584baabe051':
  Import translations. DO NOT MERGE
2014-09-23 16:18:44 +00:00
Keisuke Kuroyanagi
230b343e8c Merge "Quit using try catch in addAndWriteRandomWords." 2014-09-23 10:19:05 +00:00
Keisuke Kuroyanagi
9997853d6f Merge "Prepare supporting n-gram for user history dictionary." 2014-09-23 10:18:41 +00:00
Tadashi G. Takaoka
4c4ba10bbb am 71b51590: am a76e11a2: am 1f490d6c: am be4e0d0e: Fix when to show important notice
* commit '71b51590b28cfe6c51bea2677ccbeccaf3006313':
  Fix when to show important notice
2014-09-22 20:01:49 +00:00
Baligh Uddin
d4f5cb8bcd am 3cd7dfc0: (-s ours) am 2829f9ee: (-s ours) am b28e0bdd: (-s ours) am cf59579c: (-s ours) Import translations. DO NOT MERGE
* commit '3cd7dfc0fc077932bc34d1edec0691d2c3d53909':
  Import translations. DO NOT MERGE
2014-09-22 20:01:38 +00:00
Tadashi G. Takaoka
71b51590b2 am a76e11a2: am 1f490d6c: am be4e0d0e: Fix when to show important notice
* commit 'a76e11a24aac700638ec3a7fc5ed754e15aecfbe':
  Fix when to show important notice
2014-09-22 19:38:51 +00:00
Baligh Uddin
3cd7dfc0fc am 2829f9ee: (-s ours) am b28e0bdd: (-s ours) am cf59579c: (-s ours) Import translations. DO NOT MERGE
* commit '2829f9eec9d90f67eb78d52cc568d752f94a8147':
  Import translations. DO NOT MERGE
2014-09-22 19:38:50 +00:00
Tadashi G. Takaoka
a76e11a24a am 1f490d6c: am be4e0d0e: Fix when to show important notice
* commit '1f490d6c10805246f2b8724c2e9f21d4bfdea8d6':
  Fix when to show important notice
2014-09-22 19:19:46 +00:00