Commit Graph

8582 Commits (fd6ea56b0f8c3493b3b3a8565b798802f231d8c9)

Author SHA1 Message Date
Jean Chalard 66a870cb53 [AC3] Start calling the methods for auto-commit.
Bug: 9059617
Change-Id: I190a4baf2fa831b70e00e129b5dfaa8c9c32b3a0
2013-08-20 19:26:11 +09:00
Jean Chalard e8ef095670 [AC2] Reference a dict rather than a string in suggestion infos
Bug: 9059617
Change-Id: Ic17bc0fd5d812268fd37d7fd35b4e9ebfb95fa5e
2013-08-20 19:18:09 +09:00
Jean Chalard ef1e363016 [AC1] Add a memory of where to cut the first word.
Bug: 9059617
Change-Id: I931b6d1eb49f9f7dd7d5b18956e35751d1b2b631
2013-08-20 18:43:19 +09:00
Satoshi Kataoka 7abed29a7a am 33f5f0df: Merge "Add a functionality to boost scores of personalization dictionary"
* commit '33f5f0df8b458269177d8f984d1050c0a20001c2':
  Add a functionality to boost scores of personalization dictionary
2013-08-20 02:11:39 -07:00
Satoshi Kataoka 33f5f0df8b Merge "Add a functionality to boost scores of personalization dictionary" 2013-08-20 09:08:41 +00:00
Yuichiro Hanada f5fd990f51 am 065aad95: Add DictDecoder.
* commit '065aad9501ae446aee5d73450c01dc21b8f3242a':
  Add DictDecoder.
2013-08-20 01:52:41 -07:00
Satoshi Kataoka d6ddb96ee8 Add a functionality to boost scores of personalization dictionary
Bug: 9429906
Change-Id: I1518c5cbc7d41188e7dc6a35d226da277ed5913f
2013-08-20 17:50:48 +09:00
Yuichiro Hanada 065aad9501 Add DictDecoder.
Change-Id: Ia1c32f21fe07081ce04d093660e18146b93275a4
2013-08-20 17:43:13 +09:00
Yuichiro Hanada ad531fd265 am 112257e4: Rename BinaryDictDecoder to Ver3DictDecoder.
* commit '112257e40f6f6d914fac1c3a45f39a770693b386':
  Rename BinaryDictDecoder to Ver3DictDecoder.
2013-08-20 01:39:03 -07:00
Yuichiro Hanada 112257e40f Rename BinaryDictDecoder to Ver3DictDecoder.
Change-Id: Ibf9b95b658df6e2c2218bdb62e2380f326a03832
2013-08-20 17:11:51 +09:00
Yuichiro Hanada 19c0b5b276 am 66004ce2: Remove populateOptions.
* commit '66004ce2de1579d8ae1fb3411ce98f1e9e37cf8b':
  Remove populateOptions.
2013-08-20 00:14:07 -07:00
Yuichiro Hanada 66004ce2de Remove populateOptions.
Change-Id: I1a1830aaa8ea586b68fc34ff3a27ae52b810e8af
2013-08-20 16:06:52 +09:00
Satoshi Kataoka bff4d24432 am 22f01a42: Add a functionality to clear and flush prediction dictionary
* commit '22f01a42fcd91dae2a4e723e2477a480a11daa8e':
  Add a functionality to clear and flush prediction dictionary
2013-08-19 20:40:27 -07:00
Satoshi Kataoka 22f01a42fc Add a functionality to clear and flush prediction dictionary
Bug: 9429906
Change-Id: I84ec444e9d46a0080dc3450b8ab32bfb99407cfe
2013-08-20 12:28:05 +09:00
Baligh Uddin 8e26b9c04a Import translations. DO NOT MERGE
Change-Id: I4cd33fe3c941bbe1fe4af7073762580c01d3df47
Auto-generated-cl: translation import
2013-08-19 16:06:26 -07:00
Yuichiro Hanada 4893fe5719 am 77bce05e: [Refactor] Rename BinaryDictReader and BinaryDictDecoder.
* commit '77bce05e6f6e3a988253f9305ae22e51f56f5b1a':
  [Refactor] Rename BinaryDictReader and BinaryDictDecoder.
2013-08-19 03:51:22 -07:00
Yuichiro Hanada 77bce05e6f [Refactor] Rename BinaryDictReader and BinaryDictDecoder.
BinaryDictReader -> BinaryDictDecoder.
BinaryDictDecoder -> BianryDictDecoderUtils.

Change-Id: Iadf2153b379b760538ecda488dda4f17225e5f37
2013-08-19 19:36:31 +09:00
Tadashi G. Takaoka 3b89a25774 am c8fb03e6: Merge "Save and restore Row attributes using stack"
* commit 'c8fb03e6a8859f29a51ca6aefdd9a5be9101bd3f':
  Save and restore Row attributes using stack
2013-08-19 03:05:53 -07:00
Tadashi G. Takaoka c8fb03e6a8 Merge "Save and restore Row attributes using stack" 2013-08-19 10:03:09 +00:00
Tadashi G. Takaoka bcd173dfa1 Save and restore Row attributes using stack
Change-Id: I5cb402060946a711384ee53fa1caaeac86aa10cc
2013-08-19 18:36:49 +09:00
Satoshi Kataoka b0045c06a0 am 6484a4f8: Consolidate onDictionaryClosed
* commit '6484a4f8869d79992e899207a33f9377cf5fdb9b':
  Consolidate onDictionaryClosed
2013-08-19 02:06:52 -07:00
Satoshi Kataoka 6484a4f886 Consolidate onDictionaryClosed
Bug: 9429906
Change-Id: I51eef4c321cc268eac1c8dfd6561ab6e716a1fb0
2013-08-19 17:45:20 +09:00
Satoshi Kataoka 8105b65a42 am ab69835b: Merge "Rename Personalization dictionary register functions"
* commit 'ab69835bc6eda8b022837a0ed6f8644054307d58':
  Rename Personalization dictionary register functions
2013-08-19 01:35:19 -07:00
Satoshi Kataoka ab69835bc6 Merge "Rename Personalization dictionary register functions" 2013-08-19 08:04:44 +00:00
Jean Chalard 216246a294 am e515acbc: Merge "Update dictionaries"
* commit 'e515acbcbdf27f31931cb391dba0fc28213c6017':
  Update dictionaries
2013-08-19 00:59:35 -07:00
Jean Chalard e515acbcbd Merge "Update dictionaries" 2013-08-19 07:56:30 +00:00
Satoshi Kataoka 0e6fcf2bf6 Rename Personalization dictionary register functions
Bug: 9429906
Change-Id: Ibdce8db61ab6cc5922765e7ed8b7f2c718759de8
2013-08-19 16:53:21 +09:00
Jean Chalard 5937c03f15 Update dictionaries
Bug: 10354668
Bug: 10188528

>>> dictionaries/fr_wordlist.combined.gz
Header :
  date : 1374634549 <=> 1376888819
  version : 36 <=> 37
Body :
Deleted: color 78
Deleted: men 85
Deleted: o 115
Added: nationaux 120

>>> dictionaries/iw_wordlist.combined.gz
Added. New dictionary.

>>> dictionaries/pt_BR_wordlist.combined.gz
Header :
  date : 1374634563 <=> 1376884524
  version : 36 <=> 37
Body :
Deleted: la 152

>>> dictionaries/pt_PT_wordlist.combined.gz
Header :
  date : 1357790930 <=> 1376884536
  version : 30 <=> 37
Body :
Deleted: la 152

>>> dictionaries/ru_wordlist.combined.gz
Header :
  date : 1372393835 <=> 1376897704
  version : 35 <=> 37
Body :
Freq changed: говно 68 -> 0

>>> java/res/raw/main_fr.dict
Header :
  date : 1374634549 <=> 1376888819
  version : 36 <=> 37
Body :
Deleted: color 78
Deleted: men 85
Deleted: o 115
Added: nationaux 120

>>> java/res/raw/main_pt_br.dict
Header :
  date : 1374634563 <=> 1376884524
  version : 36 <=> 37
Body :
Deleted: la 152

>>> java/res/raw/main_ru.dict
Header :
  date : 1372393835 <=> 1376897704
  version : 35 <=> 37
Body :
Freq changed: говно 68 -> 0

Change-Id: I87a85571c61068ff46a32d291aa43becbb75598a
2013-08-19 16:41:09 +09:00
Keisuke Kuroyanagi aafcd7b583 am c8ac8da4: Merge "Prepare ExpandableBinaryDictionary to make it updatable"
* commit 'c8ac8da4e46ffb73c175d882af86d135084abe95':
  Prepare ExpandableBinaryDictionary to make it updatable
2013-08-19 00:22:49 -07:00
Keisuke Kuroyanagi c8ac8da4e4 Merge "Prepare ExpandableBinaryDictionary to make it updatable" 2013-08-19 07:20:16 +00:00
Satoshi Kataoka 551f24eeed am 979f9f99: Merge "Consolidate hex string utils"
* commit '979f9f99394535c81a3b7eaa6f947a04d9ad7b3c':
  Consolidate hex string utils
2013-08-18 22:34:32 -07:00
Satoshi Kataoka 979f9f9939 Merge "Consolidate hex string utils" 2013-08-19 05:33:07 +00:00
Tadashi G. Takaoka ba24343a24 am 221929c6: Keyboard.Row can have keyLabelFlags attribute
* commit '221929c64302579dd7b4c02d8fab3aed3b8ec8db':
  Keyboard.Row can have keyLabelFlags attribute
2013-08-18 20:10:55 -07:00
Satoshi Kataoka 3894a5599b Consolidate hex string utils
Change-Id: Id4f4a287e3a2790b22bff7ad4a4617bf2ee82884
2013-08-19 12:09:59 +09:00
Tadashi G. Takaoka 221929c643 Keyboard.Row can have keyLabelFlags attribute
Change-Id: I5af1f1d88153068d7be6e496e6dd77bd5b09a894
2013-08-19 11:45:30 +09:00
Tadashi G. Takaoka ca723c70ab am 0154e362: Merge "Rename KeyStyle.getFlag to getFlags"
* commit '0154e3620f907f781d58e99a9a79824abd46aa3e':
  Rename KeyStyle.getFlag to getFlags
2013-08-18 19:43:39 -07:00
Tadashi G. Takaoka 6fc8e32d02 am 18546fa9: Merge "Make all KeyboardRow attributes private"
* commit '18546fa92c1dd11f76f2d8be244b0214a3514b02':
  Make all KeyboardRow attributes private
2013-08-18 19:43:38 -07:00
Tadashi G. Takaoka 0154e3620f Merge "Rename KeyStyle.getFlag to getFlags" 2013-08-19 02:41:49 +00:00
Tadashi G. Takaoka 18546fa92c Merge "Make all KeyboardRow attributes private" 2013-08-19 02:41:40 +00:00
Tadashi G. Takaoka 784416f73b Make all KeyboardRow attributes private
Change-Id: Ifaca6ad5e642964d8c3a77a96a1cd74f363ee996
2013-08-19 11:36:34 +09:00
Ken Wakasa 41aade7977 am a83e2564: Merge "Add HeaderReaderInterface."
* commit 'a83e25642f1eae1412d85ce72f27601edd0ac10d':
  Add HeaderReaderInterface.
2013-08-18 19:36:15 -07:00
Tadashi G. Takaoka 0cfd2b08af Rename KeyStyle.getFlag to getFlags
Change-Id: Iff3d850466cb6016a53bf86104cd5d22363f96a8
2013-08-19 11:35:11 +09:00
Ken Wakasa a83e25642f Merge "Add HeaderReaderInterface." 2013-08-19 02:34:23 +00:00
Yuichiro Hanada 376457477f am 8aaae56c: Fix unit test.
* commit '8aaae56cf6694ec75043be56f1c7812a343b24d5':
  Fix unit test.
2013-08-18 19:26:46 -07:00
Yuichiro Hanada d794b42f98 Add HeaderReaderInterface.
Change-Id: I298f86b70d18cd08b240509b6f757c72e1a59ffe
2013-08-19 11:15:03 +09:00
Yuichiro Hanada 8aaae56cf6 Fix unit test.
Change-Id: Ib104d5de71c2ab1a07921b407c74c21b0409d9af
2013-08-19 11:10:28 +09:00
Ken Wakasa ef7064b5aa am 606a056b: Merge "Make BinaryDictIOUtils and DynamicBinaryIOUtils use BinaryDictReader."
* commit '606a056b530c566f3397b8083f83288fe255bff8':
  Make BinaryDictIOUtils and DynamicBinaryIOUtils use BinaryDictReader.
2013-08-16 08:03:46 -07:00
Ken Wakasa 606a056b53 Merge "Make BinaryDictIOUtils and DynamicBinaryIOUtils use BinaryDictReader." 2013-08-16 12:46:07 +00:00
Jean Chalard 5b0aeafb5e am e3247561: Merge "Support languages that don\'t use spaces."
* commit 'e32475611ce52671802ca8d2f9694bbb82c4b120':
  Support languages that don't use spaces.
2013-08-16 05:08:58 -07:00
Yuichiro Hanada 3a73b37b30 Make BinaryDictIOUtils and DynamicBinaryIOUtils use BinaryDictReader.
Change-Id: I191dfe0e05ff3c2c5af99e8beebbb73b097748a3
2013-08-16 21:06:23 +09:00
Jean Chalard e32475611c Merge "Support languages that don't use spaces." 2013-08-16 12:05:16 +00:00
Ken Wakasa f404756b17 am c2f2d0d2: Merge "Limit the number of waiting UpdateBinaryTask to at most 1."
* commit 'c2f2d0d211fe4c765cda7a770004d061ff2b7711':
  Limit the number of waiting UpdateBinaryTask to at most 1.
2013-08-16 05:02:36 -07:00
Jean Chalard c239a34262 Support languages that don't use spaces.
Thai is an example.

Bug: 10138062
Change-Id: Ib9a8264c77ed42b4256432d7c8a60d08575dcdc7
2013-08-16 21:01:08 +09:00
Ken Wakasa c2f2d0d211 Merge "Limit the number of waiting UpdateBinaryTask to at most 1." 2013-08-16 11:58:57 +00:00
Yuichiro Hanada 2b16830322 am e72c4e5f: Remove a static buffer for thread safety.
* commit 'e72c4e5fc7531f23f5806efed91aafe5d1ba2d1f':
  Remove a static buffer for thread safety.
2013-08-16 04:31:47 -07:00
Yuichiro Hanada e72c4e5fc7 Remove a static buffer for thread safety.
Change-Id: I335c35eb182ff63abb8a5b04c053a98d44b7c6ce
2013-08-16 20:22:46 +09:00
Keisuke Kuroyanagi c8db6f21e9 Prepare ExpandableBinaryDictionary to make it updatable
Bug: 6669677

Change-Id: Iaa6100f58de78d104e19c7a3c41d67e7826264f9
2013-08-16 20:16:31 +09:00
Yuichiro Hanada 0d70bcc821 Limit the number of waiting UpdateBinaryTask to at most 1.
Change-Id: Ia588d8f29ab58983ea5321ff8c63ad273c33eab3
2013-08-16 19:44:47 +09:00
Ken Wakasa 861aa7beed am 47bac6eb: Merge "Remove unnecessary caching."
* commit '47bac6ebf237435faaf3913e353a6230e0299cb3':
  Remove unnecessary caching.
2013-08-16 01:38:13 -07:00
Jean Chalard 2b3ff52496 am 21dddb14: Merge "Rename Node to PtNodeArray"
* commit '21dddb1462df8f32b40365dbb27930ae6c8113b8':
  Rename Node to PtNodeArray
2013-08-16 01:38:11 -07:00
Ken Wakasa 47bac6ebf2 Merge "Remove unnecessary caching." 2013-08-16 08:28:19 +00:00
Yuichiro Hanada 6e26cc3f5d Remove unnecessary caching.
Change-Id: Ic4ccab9d344b30b72fca1503827eec1c628fa4ac
2013-08-16 17:10:45 +09:00
Jean Chalard 21dddb1462 Merge "Rename Node to PtNodeArray" 2013-08-16 08:00:55 +00:00
Satoshi Kataoka ef593b0101 am ad4c9093: Merge "Add hex string utils"
* commit 'ad4c90934be49e8f0327e865551814a937b4fc1f':
  Add hex string utils
2013-08-16 00:36:58 -07:00
Jean Chalard af30cbf0ee Rename Node to PtNodeArray
Bug: 10247660
Change-Id: I1a0ac19f58f96adb5efac5fd35c6404831618c99
2013-08-16 16:24:54 +09:00
Satoshi Kataoka 283cf9cfc9 Add hex string utils
Bug: 9429906
Change-Id: I3267d1d86122ab471c3e63008c73e9f9b758fc8e
2013-08-16 16:17:48 +09:00
Ken Wakasa a49bf12883 am 33fce975: Merge "[Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and BinaryDictDecoder."
* commit '33fce975c976424e923455e8f948f1ebe494a2cd':
  [Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and BinaryDictDecoder.
2013-08-15 04:31:11 -07:00
Satoshi Kataoka 10288e2c27 am 623e3f9d: Merge "Fix cosmetic source code formatting"
* commit '623e3f9d587a96caf3b4b88b8af8b7a81bc9347b':
  Fix cosmetic source code formatting
2013-08-15 04:31:10 -07:00
Tadashi G. Takaoka 12774e5d4f am 840e42d7: Merge "Add getters and copy constructor to Key class"
* commit '840e42d7f387d149b58ecea9b5960b7c875b5aa2':
  Add getters and copy constructor to Key class
2013-08-15 04:31:08 -07:00
Ken Wakasa 33fce975c9 Merge "[Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and BinaryDictDecoder." 2013-08-15 11:26:06 +00:00
Yuichiro Hanada 94460eba11 [Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and BinaryDictDecoder.
Change-Id: I7c3269d77e3e3b567e459dcaa1bc029903941744
2013-08-15 20:23:07 +09:00
Satoshi Kataoka 623e3f9d58 Merge "Fix cosmetic source code formatting" 2013-08-15 11:20:41 +00:00
Tadashi G. Takaoka 840e42d7f3 Merge "Add getters and copy constructor to Key class" 2013-08-15 11:15:42 +00:00
Tadashi G. Takaoka 25f0d73fa4 Fix cosmetic source code formatting
Change-Id: I33c14a20bc55b826082e468c0aecfa026ba5d9f3
2013-08-15 20:13:31 +09:00
Tadashi G. Takaoka 7dc60f9db7 Add getters and copy constructor to Key class
Change-Id: I78eb96dcc26378926dc63acbfeb4828cbd44435d
2013-08-15 20:12:46 +09:00
Jean Chalard f180c9a250 am e7870a2c: Add an initial JNI interface to dicttool.
* commit 'e7870a2c0d817e6548eb00c80278b9f7b86c1a5b':
  Add an initial JNI interface to dicttool.
2013-08-15 02:03:07 -07:00
Jean Chalard e7870a2c0d Add an initial JNI interface to dicttool.
Bug: 10100269
Change-Id: I883992c2033e7d9e7c754c0bf653767728b221b6
2013-08-15 17:58:55 +09:00
Ken Wakasa 8ad3602285 am dc83fe37: Merge "Revert "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils.""
* commit 'dc83fe37baafe1afe5410499d58d80a29b7cb1da':
  Revert "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils."
2013-08-15 01:58:53 -07:00
Ken Wakasa dc83fe37ba Merge "Revert "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils."" 2013-08-15 08:56:28 +00:00
Ken Wakasa 117f18e844 Revert "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils."
This reverts commit 4c63d0614e.

Change-Id: I1fa277d720bab4d895259df7d6d82eebfa5eb6c5
2013-08-15 08:54:29 +00:00
Ken Wakasa 20e3576f14 am f74ddfbb: Merge "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils."
* commit 'f74ddfbb06dbdd74fefee49bd63f2c1b9f61ad13':
  [Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils.
2013-08-14 23:57:14 -07:00
Ken Wakasa f74ddfbb06 Merge "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils." 2013-08-15 06:53:23 +00:00
Yuichiro Hanada 4c63d0614e [Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and BinaryDictOutputUtils.
Change-Id: I0d476abe763c11ba9005152f928e8dccf15ac9de
2013-08-15 15:46:58 +09:00
Satoshi Kataoka 14ddbda63d am a38a15dd: Merge "tiny refactor"
* commit 'a38a15ddc0aa314578828de29bba51cfcf39c8de':
  tiny refactor
2013-08-14 23:41:23 -07:00
Satoshi Kataoka a38a15ddc0 Merge "tiny refactor" 2013-08-15 06:38:49 +00:00
Satoshi Kataoka 1aae34873c tiny refactor
Change-Id: I776432b6c41cf8dee71fbd1565a6f3da9d762f9e
2013-08-15 13:38:05 +09:00
Yuichiro Hanada 326a3e5d5d am 1db93c9c: [Refactor] Move some helper methods to BinaryDictIOUtils.
* commit '1db93c9c0420d7d944e0ddef95d25de0738c3030':
  [Refactor] Move some helper methods to BinaryDictIOUtils.
2013-08-14 19:04:28 -07:00
Yuichiro Hanada 1db93c9c04 [Refactor] Move some helper methods to BinaryDictIOUtils.
Change-Id: Ib817a975dc1f82241f732b236c44b042fda25b3c
2013-08-15 10:49:40 +09:00
Satoshi Kataoka 8099342df3 am be4d38e6: Merge "Fix test breakage"
* commit 'be4d38e61fe96409764405af66cade5a609d6e1d':
  Fix test breakage
2013-08-14 04:44:37 -07:00
Satoshi Kataoka be4d38e61f Merge "Fix test breakage" 2013-08-14 11:40:34 +00:00
Satoshi Kataoka 2b39fab829 Fix test breakage
Change-Id: I10bd8fcc68711a039e000f715d7a65ae42095965
2013-08-14 20:38:32 +09:00
Satoshi Kataoka 91d2a3a40c am 5654a1f2: Merge "Fix a debug functionality for the personalization prediction"
* commit '5654a1f21e3858969d56d81ed82768bd3e99bcb5':
  Fix a debug functionality for the personalization prediction
2013-08-14 03:46:02 -07:00
Satoshi Kataoka 5654a1f21e Merge "Fix a debug functionality for the personalization prediction" 2013-08-14 10:43:31 +00:00
Ken Wakasa df6ca9c9fe am 8e398e21: Merge "Move some methods in BinaryDictIOUtils to DynamicBinaryDictIOUtils."
* commit '8e398e21477d5526ab2892d8ea431a6295f8e2d7':
  Move some methods in BinaryDictIOUtils to DynamicBinaryDictIOUtils.
2013-08-14 03:41:45 -07:00
Ken Wakasa 8e398e2147 Merge "Move some methods in BinaryDictIOUtils to DynamicBinaryDictIOUtils." 2013-08-14 10:38:15 +00:00
Satoshi Kataoka d09ad2e368 Fix a debug functionality for the personalization prediction
Bug: 9429906

Change-Id: I10d39e1f8758dcb64c9c0111d516e3abfe81b04e
2013-08-14 19:36:20 +09:00
Satoshi Kataoka 72d7af4f4c am 92038bca: Merge "Add a method to import one bigram and string utilities"
* commit '92038bcacd5210c667e67f7046a6675e085868b6':
  Add a method to import one bigram and string utilities
2013-08-14 03:34:12 -07:00
Yuichiro Hanada 3edb62c69b Move some methods in BinaryDictIOUtils to DynamicBinaryDictIOUtils.
Change-Id: I9ba55582c533fef0eb3e60c46bf23c8b16ee1ff4
2013-08-14 19:33:36 +09:00
Ken Wakasa 74537adb7d am f795f2b7: Merge "Add FusionDictionaryBufferFromWritableByteBufferFactory."
* commit 'f795f2b7899fc62d8e96ac064265bf3d44b25704':
  Add FusionDictionaryBufferFromWritableByteBufferFactory.
2013-08-14 03:30:51 -07:00
Satoshi Kataoka 92038bcacd Merge "Add a method to import one bigram and string utilities" 2013-08-14 10:29:06 +00:00
Ken Wakasa 4d29ac2fb1 am 0766f133: Merge "Move some constants in BinaryDictInputOutput to FormatSpec."
* commit '0766f13391b9b442ba6cdc7c28fabca83a2756db':
  Move some constants in BinaryDictInputOutput to FormatSpec.
2013-08-14 03:27:37 -07:00
Ken Wakasa f795f2b789 Merge "Add FusionDictionaryBufferFromWritableByteBufferFactory." 2013-08-14 10:26:21 +00:00
Ken Wakasa 0766f13391 Merge "Move some constants in BinaryDictInputOutput to FormatSpec." 2013-08-14 10:25:04 +00:00
Yuichiro Hanada 665592774c Move some constants in BinaryDictInputOutput to FormatSpec.
Change-Id: I6b12faf35b65238b9a64c82d4d1a6050f980e72e
2013-08-14 19:19:27 +09:00
Tadashi G. Takaoka a24d8c88d9 am bdef628a: Merge "Add empty key background type"
* commit 'bdef628a35222d7894c5f5916f94e6c3a8ef89bb':
  Add empty key background type
2013-08-14 03:18:01 -07:00
Tadashi G. Takaoka cd786db858 am ed5582ec: Merge "Thin out audio and haptic feedback while key repeat"
* commit 'ed5582ec651ffc106c8fba64d138adbec359c63e':
  Thin out audio and haptic feedback while key repeat
2013-08-14 03:14:32 -07:00
Tadashi G. Takaoka bdef628a35 Merge "Add empty key background type" 2013-08-14 10:13:33 +00:00
Tadashi G. Takaoka ed5582ec65 Merge "Thin out audio and haptic feedback while key repeat" 2013-08-14 10:11:43 +00:00
Tadashi G. Takaoka c8617c0070 am 693087f9: Merge "Remove unused drawables"
* commit '693087f97615f00b4bb148698202563fcd314c64':
  Remove unused drawables
2013-08-14 03:10:13 -07:00
Tadashi G. Takaoka 693087f976 Merge "Remove unused drawables" 2013-08-14 10:06:30 +00:00
Satoshi Kataoka 4ee953125a Add a method to import one bigram and string utilities
Bug: 9429906
Change-Id: I73bbf65985196d62470552c576bb076a7cb95008
2013-08-14 18:56:12 +09:00
Jean Chalard e4554028f3 am 5fd8b7eb: Merge "Add looksValidForDictionaryInsertion"
* commit '5fd8b7ebd5c75e64a1288cb4b697ecaf7161b93c':
  Add looksValidForDictionaryInsertion
2013-08-14 02:44:43 -07:00
Jean Chalard 5fd8b7ebd5 Merge "Add looksValidForDictionaryInsertion" 2013-08-14 09:41:49 +00:00
Jean Chalard af5fbe70ac Add looksValidForDictionaryInsertion
...and test it.

Also at the same time, add a facility to create a SettingsValues for
test, and some minor performance improvement to surrounding
methods.

Change-Id: I13b629ae14755c244af2a9406a7e9b4a4a16090f
2013-08-14 18:39:28 +09:00
Tadashi G. Takaoka ab16237e69 Thin out audio and haptic feedback while key repeat
Bug: 6522943
Change-Id: Id60f256ab0f8741578eda276116817fa48917325
2013-08-14 18:37:58 +09:00
Jean Chalard 668a441be9 am fdfc8ad2: Merge "Re-evaluate auto-caps earlier."
* commit 'fdfc8ad2d09d3b475df22ba22fca8593a63ae9f5':
  Re-evaluate auto-caps earlier.
2013-08-14 02:32:46 -07:00
Jean Chalard fdfc8ad2d0 Merge "Re-evaluate auto-caps earlier." 2013-08-14 09:29:48 +00:00
Tadashi G. Takaoka e18439d5c7 Add empty key background type
Change-Id: I9b07c58a9b70ae0228f87e1f066ca8cd959b4f03
2013-08-14 18:12:11 +09:00
Jean Chalard 9c396a24c9 am 4bc74d19: Merge "Delete surrogate together."
* commit '4bc74d19ef72a919e09611e7d7b0d2d3d9e00a30':
  Delete surrogate together.
2013-08-14 02:09:38 -07:00
Jean Chalard 4bc74d19ef Merge "Delete surrogate together." 2013-08-14 09:06:07 +00:00
Tadashi G. Takaoka 5c915bc749 Remove unused drawables
Change-Id: I83f752dcb0d607e3f77bfbee519993aa37bfd5e4
2013-08-14 17:58:22 +09:00
Jean Chalard b2d954cad6 Delete surrogate together.
Stop deleting them one after the other, it makes no sense. We
can know in advance if we should delete two of them, so let's
use that.

Bug: 6526420
Change-Id: Ifa2263cbde8fedc78bb750b84d4acd3f979774ea
2013-08-14 17:53:33 +09:00
Jean Chalard b7e782d868 Re-evaluate auto-caps earlier.
We have all we know to re-evaluate auto-caps in this case.
We don't need to wait until we get the callback from TextView.

Bug: 10287972
Change-Id: I87e4e26cd193a001f91fe852ffc5a8f728db2449
2013-08-14 17:40:23 +09:00
Jean Chalard 324d4d7290 am 1162c053: Merge "Remove dead code"
* commit '1162c0537d48fcec6dd5dc02594a16d24b4d1008':
  Remove dead code
2013-08-14 01:38:04 -07:00
Jean Chalard 1162c0537d Merge "Remove dead code" 2013-08-14 08:35:46 +00:00
Yuichiro Hanada bbc8a930f7 Add FusionDictionaryBufferFromWritableByteBufferFactory.
Change-Id: I23de0a178e7f11f2cf301fd433cde60c6152055b
2013-08-14 17:07:44 +09:00
Jean Chalard d81b9d0276 Remove dead code
isComposingWord() is actually defined as size > 0, so this test
can never be false.

Change-Id: If71afae6f0b16bff46178f0fae3244597354fecb
2013-08-14 16:38:37 +09:00
Jean Chalard f6236e7e9e am e18fdf80: Merge "Fix a bug with surrogate pairs"
* commit 'e18fdf804acdc7cd8db19c2a03adecc44d71f1ef':
  Fix a bug with surrogate pairs
2013-08-14 00:31:02 -07:00
Jean Chalard e18fdf804a Merge "Fix a bug with surrogate pairs" 2013-08-14 07:27:54 +00:00
Jean Chalard a74ae9c451 Fix a bug with surrogate pairs
Bug: 10316781
Change-Id: I528c59c8823cda11975cb01b0ae59f12cfadef3b
2013-08-14 16:00:28 +09:00
Ken Wakasa c95a7aa797 am ae59ce02: Merge "Remove audio and haptic feedback while key repeating"
* commit 'ae59ce026213cd9c92f8202ccb2a337e6495119d':
  Remove audio and haptic feedback while key repeating
2013-08-13 14:54:17 -07:00
Ken Wakasa ae59ce0262 Merge "Remove audio and haptic feedback while key repeating" 2013-08-13 21:50:20 +00:00
Ken Wakasa a3fe14b4cc am f27297d2: Merge "Add BinaryDictReader."
* commit 'f27297d2ece8a247a8b9e18d4e65dc0d0ba68b77':
  Add BinaryDictReader.
2013-08-13 04:07:57 -07:00
Ken Wakasa f27297d2ec Merge "Add BinaryDictReader." 2013-08-13 11:03:44 +00:00
Yuichiro Hanada 3feacba1eb Add BinaryDictReader.
Bug: 9618601

Change-Id: Ief07fa0c3c4f7f5999a3fafcef4e47b6b6fd8143
2013-08-13 19:55:05 +09:00
Tadashi G. Takaoka ed3856f18a am d03e5bd7: Merge "Rename maketext tool to make-keyboard-text"
* commit 'd03e5bd76164907e2cdfd0e647a0c4cd5e2a896b':
  Rename maketext tool to make-keyboard-text
2013-08-13 01:53:07 -07:00
Tadashi G. Takaoka d03e5bd761 Merge "Rename maketext tool to make-keyboard-text" 2013-08-13 08:49:56 +00:00
Ken Wakasa 855e6a22c8 am 7242bf1a: Merge "Make readHeader check the header size before using it."
* commit '7242bf1a159b909db8a7c74e786e2391a4361d85':
  Make readHeader check the header size before using it.
2013-08-13 01:40:19 -07:00
Ken Wakasa 7242bf1a15 Merge "Make readHeader check the header size before using it." 2013-08-13 08:14:43 +00:00
Yuichiro Hanada b7bb9c9722 Make readHeader check the header size before using it.
Change-Id: I5dc3e2b674f7343ef57317fde6bdb7349a7fe04c
2013-08-13 17:06:25 +09:00
Tadashi G. Takaoka d1d607287d Remove audio and haptic feedback while key repeating
Bug: 6522943
Change-Id: Iad1b11172e47bfbae2b4129361a56b9d793f8f62
2013-08-13 17:03:26 +09:00
Baligh Uddin 1e48fd0323 Merge "Import translations. DO NOT MERGE" 2013-08-13 07:59:40 +00:00
Baligh Uddin b0dd086081 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-08-13 07:59:14 +00:00
Tadashi G. Takaoka ca6acfdd6b Rename maketext tool to make-keyboard-text
Change-Id: Icceda22aec75f9e3602da8775c0e94b110283575
2013-08-13 15:33:14 +09:00
Tadashi G. Takaoka 201be01798 am 0adc8a2a: Merge "Fix parenthesis direction for RTL languages"
* commit '0adc8a2ad3630aa01984b4b6ccb2b7ca94cf8948':
  Fix parenthesis direction for RTL languages
2013-08-12 23:25:47 -07:00
Tadashi G. Takaoka 0adc8a2ad3 Merge "Fix parenthesis direction for RTL languages" 2013-08-13 06:22:12 +00:00
Satoshi Kataoka d9863e3e44 am 46961247: Merge "Call onDictionaryReady"
* commit '46961247a681aa3a8bdc7a6b9103e962dd3da829':
  Call onDictionaryReady
2013-08-12 22:43:37 -07:00
Satoshi Kataoka 46961247a6 Merge "Call onDictionaryReady" 2013-08-13 05:40:21 +00:00
Tadashi G. Takaoka d41c44498c Fix parenthesis direction for RTL languages
Bug: 10284912
Change-Id: Ie0fc09b101034482a775961c8f8f1fcdf6dbec8f
2013-08-13 12:23:25 +09:00
Satoshi Kataoka 310f8a0f06 Call onDictionaryReady
Bug: 9429906

Change-Id: Ifc538b38b7d37469aecccd32a7e3f95a90558be7
2013-08-13 11:41:48 +09:00
Baligh Uddin f9cb50a5b9 Import translations. DO NOT MERGE
Change-Id: I17e1fa887883a74297346d650cabfc4b0c411b2e
Auto-generated-cl: translation import
2013-08-12 15:26:34 -07:00
Baligh Uddin dc511a3f0a Import translations. DO NOT MERGE
Change-Id: Ic98e1061acd3abf96e1f594c6b9ba79a0664a169
Auto-generated-cl: translation import
2013-08-12 15:19:33 -07:00
Tadashi G. Takaoka fffd71fcbb am bab69d09: Merge "Remove redundant EditorInfo member from KeyboardLayoutSet.Builder"
* commit 'bab69d09f98030634ce2dd22c34a39154b437c24':
  Remove redundant EditorInfo member from KeyboardLayoutSet.Builder
2013-08-12 01:36:47 -07:00
Tadashi G. Takaoka bab69d09f9 Merge "Remove redundant EditorInfo member from KeyboardLayoutSet.Builder" 2013-08-12 08:25:46 +00:00
Satoshi Kataoka 39acbaeeaa am 1b7c1cd5: Merge "Add PersionalizationDictionaryRegister"
* commit '1b7c1cd513c53e1d1f07a328405c71509a0ecb6c':
  Add PersionalizationDictionaryRegister
2013-08-11 23:27:47 -07:00
Satoshi Kataoka 1b7c1cd513 Merge "Add PersionalizationDictionaryRegister" 2013-08-12 06:23:12 +00:00
Satoshi Kataoka 8c4fcb108f Add PersionalizationDictionaryRegister
Bug: 9429906
Change-Id: Ibd4d5cedb371c0b4ee1342a3e6d221c9e34c2402
2013-08-12 14:48:45 +09:00
Tadashi G. Takaoka 7215e06e60 Remove redundant EditorInfo member from KeyboardLayoutSet.Builder
Change-Id: I9bbba9c27d3d478421c094e6cd0e1da31fd4f4c8
2013-08-12 14:35:58 +09:00
Ken Wakasa ba218cd792 am 66a63db2: Merge "Rationalize how to use AdditionalFeaturesSettingUtils"
* commit '66a63db2d5c1613bdaa106f0c2830972e39f9f4e':
  Rationalize how to use AdditionalFeaturesSettingUtils
2013-08-11 18:39:42 -07:00
Ken Wakasa 66a63db2d5 Merge "Rationalize how to use AdditionalFeaturesSettingUtils" 2013-08-12 01:36:46 +00:00
Ken Wakasa 4a2f6a2216 am 25402fd5: am 724db044: Deallocate gesture trail bitmap when unneeded further
* commit '25402fd5309891884a843528d47f6b4646341a3f':
  Deallocate gesture trail bitmap when unneeded further
2013-08-09 15:53:29 -07:00
Ken Wakasa 6ceef84e7d am 724db044: Deallocate gesture trail bitmap when unneeded further
* commit '724db044957eb3544323c9814cbb4f20e81b8594':
  Deallocate gesture trail bitmap when unneeded further
2013-08-09 15:40:57 -07:00
Ken Wakasa 25402fd530 am 724db044: Deallocate gesture trail bitmap when unneeded further
* commit '724db044957eb3544323c9814cbb4f20e81b8594':
  Deallocate gesture trail bitmap when unneeded further
2013-08-09 15:21:44 -07:00
Ken Wakasa 02938c6baf Rationalize how to use AdditionalFeaturesSettingUtils
It should be called regardless of the gesture input being enabled or not

Change-Id: I223a823ef18389227fc04d000cc7bf750797ba31
2013-08-10 00:32:07 +09:00
Ken Wakasa 724db04495 Deallocate gesture trail bitmap when unneeded further
Follow up to I5bc980c4dc41bc304be3c190934c1f7c55c9d244

bug: 8967766
Change-Id: I7b916daa5269cfde359a77555e8ffadf0e4a8f92
2013-08-09 21:07:40 +09:00
Tadashi G. Takaoka 3f75c04144 am f76264dc: Merge "Remove key preview backing view"
* commit 'f76264dcf4942a0e2685a9f816f7581b3d9d76fb':
  Remove key preview backing view
2013-08-09 04:53:48 -07:00
Ken Wakasa cf575f8937 am cfcf6660: Reinstate a call to UsabilityStudyLogUtils#writeChar()
* commit 'cfcf6660fc369fefd4028451334a9c2eda9bc4e5':
  Reinstate a call to UsabilityStudyLogUtils#writeChar()
2013-08-09 04:30:46 -07:00
Yuichiro Hanada 5d7b46343b am 7ec9db2c: Remove the code and comments about version 1 format.
* commit '7ec9db2c34ee6bec2cbff6cf05cee9bf3c2f7122':
  Remove the code and comments about version 1 format.
2013-08-09 04:30:24 -07:00
Tadashi G. Takaoka c77684d1aa am 6ca0b371: Merge "Small clean up of KeyboardView.onMeasure"
* commit '6ca0b371de557b21dab5736802055cc367036f8d':
  Small clean up of KeyboardView.onMeasure
2013-08-09 04:30:18 -07:00
Tadashi G. Takaoka 2dfcfc5013 Remove key preview backing view
This change re-origanizes view hierarchy of IME's input view.

Change-Id: I9d0a07692d0f41de3345d207366393bcd5424f7e
2013-08-09 20:25:42 +09:00
Ken Wakasa cfcf6660fc Reinstate a call to UsabilityStudyLogUtils#writeChar()
The usability study mode has been broken.

bug: 10251399
Change-Id: Iaa301241f102f412fa073f0d8b897a4c8b265a9c
2013-08-09 19:32:02 +09:00
Yuichiro Hanada 7ec9db2c34 Remove the code and comments about version 1 format.
Change-Id: I827052f234eeaa4dbcfd37da69a99866896a158b
2013-08-09 16:05:07 +09:00
Tadashi G. Takaoka 6ca0b371de Merge "Small clean up of KeyboardView.onMeasure" 2013-08-09 03:00:13 +00:00
Satoshi Kataoka 6d2399c003 am 5c057b32: Merge "Fix unit tests."
* commit '5c057b32414fab5f5d8267f8fc8b4230b54d4cca':
  Fix unit tests.
2013-08-08 15:56:31 -07:00
Tadashi G. Takaoka c31f7d79be am 96b444d4: Merge "Remove processMotionEvent from MoreKeysKeyboardView"
* commit '96b444d4292f0834c94b8d56ae124a6d6a947bd3':
  Remove processMotionEvent from MoreKeysKeyboardView
2013-08-08 15:56:30 -07:00
Satoshi Kataoka 7cb1b82fe5 am 1181c5ac: Merge "Fix to follow the field naming conventions."
* commit '1181c5acbc6bd8834551d8fadca55d41c886a6d8':
  Fix to follow the field naming conventions.
2013-08-08 15:56:29 -07:00
Keisuke Kuroyanagi 9f2ba37fb9 am d7b76727: Merge "Make user and contacts dict use ver3 format."
* commit 'd7b76727b9411a003c66182af20617afd38edde5':
  Make user and contacts dict use ver3 format.
2013-08-08 15:56:28 -07:00
Jean Chalard 3cd6811e4b am 769aefe0: Merge "Increase CHAR_LIMIT to 29 to accommodate German."
* commit '769aefe00eac18240c70ad37ffd5b6b4fde81390':
  Increase CHAR_LIMIT to 29 to accommodate German.
2013-08-08 15:56:27 -07:00
Jean Chalard d7309ec469 am 4456d1a8: Merge "Have double-space-to-period cancel leave a single space"
* commit '4456d1a8c18a4c674c8394570550f2977f5f117b':
  Have double-space-to-period cancel leave a single space
2013-08-08 15:56:24 -07:00
Satoshi Kataoka 4869841560 am 5c057b32: Merge "Fix unit tests."
* commit '5c057b32414fab5f5d8267f8fc8b4230b54d4cca':
  Fix unit tests.
2013-08-08 03:17:43 -07:00
Tadashi G. Takaoka 4f1fdc30be Small clean up of KeyboardView.onMeasure
Change-Id: I46830f8482b46c6999b80793c8b4ae860b46e429
2013-08-08 19:15:13 +09:00
Satoshi Kataoka 5c057b3241 Merge "Fix unit tests." 2013-08-08 10:14:27 +00:00
Yuichiro Hanada 7d1ae52ded Fix unit tests.
Change-Id: Ic0013089625e112aaccc888d462330640ef7cc6f
2013-08-08 19:12:35 +09:00
Tadashi G. Takaoka eafd4b4ed9 am 96b444d4: Merge "Remove processMotionEvent from MoreKeysKeyboardView"
* commit '96b444d4292f0834c94b8d56ae124a6d6a947bd3':
  Remove processMotionEvent from MoreKeysKeyboardView
2013-08-08 01:35:24 -07:00
Satoshi Kataoka 6b48c8ba0c am 1181c5ac: Merge "Fix to follow the field naming conventions."
* commit '1181c5acbc6bd8834551d8fadca55d41c886a6d8':
  Fix to follow the field naming conventions.
2013-08-08 01:35:23 -07:00
Tadashi G. Takaoka 96b444d429 Merge "Remove processMotionEvent from MoreKeysKeyboardView" 2013-08-08 08:23:23 +00:00
Satoshi Kataoka 1181c5acbc Merge "Fix to follow the field naming conventions." 2013-08-08 08:06:45 +00:00
Keisuke Kuroyanagi 765179b355 am d7b76727: Merge "Make user and contacts dict use ver3 format."
* commit 'd7b76727b9411a003c66182af20617afd38edde5':
  Make user and contacts dict use ver3 format.
2013-08-08 00:54:41 -07:00
Keisuke Kuroyanagi d7b76727b9 Merge "Make user and contacts dict use ver3 format." 2013-08-08 07:51:36 +00:00
Tadashi G. Takaoka 33482a9b9c Remove processMotionEvent from MoreKeysKeyboardView
Change-Id: I5373df4a7c82f964f99acf70325bba8702111a75
2013-08-08 15:30:09 +09:00
Jean Chalard 1c558a31cf am 769aefe0: Merge "Increase CHAR_LIMIT to 29 to accommodate German."
* commit '769aefe00eac18240c70ad37ffd5b6b4fde81390':
  Increase CHAR_LIMIT to 29 to accommodate German.
2013-08-07 23:06:24 -07:00
Jean Chalard 7f2cb76990 Increase CHAR_LIMIT to 29 to accommodate German.
Bug: 10221961
Change-Id: Ib9967f7a258f499d24294da16a9191cc2dda4a32
2013-08-08 15:00:33 +09:00
Keisuke Kuroyanagi b6d48c4c0b Make user and contacts dict use ver3 format.
Bug: 6669677
Change-Id: I6a20eed2c8afdd1c16ada5bf85067864c7cd2a7f
2013-08-08 14:57:19 +09:00
Yuichiro Hanada 71ffcc6332 Fix to follow the field naming conventions.
Change-Id: I9b41b5f34e93a3f291a352cd85c5ac257beaa9ab
2013-08-08 12:03:36 +09:00
Jean Chalard 37fa494cd5 am 4456d1a8: Merge "Have double-space-to-period cancel leave a single space"
* commit '4456d1a8c18a4c674c8394570550f2977f5f117b':
  Have double-space-to-period cancel leave a single space
2013-08-07 19:56:49 -07:00
Jean Chalard 4456d1a8c1 Merge "Have double-space-to-period cancel leave a single space" 2013-08-08 02:52:24 +00:00
Jean Chalard 522d13c302 Have double-space-to-period cancel leave a single space
Bug: 8911898
Change-Id: Ifb4bb63c14dc960d0a53f1511908830093cca012
2013-08-08 11:49:27 +09:00
Baligh Uddin f9456855e0 Merge "Import translations. DO NOT MERGE" 2013-08-07 17:57:23 +00:00
Baligh Uddin 607143c9ce Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-08-07 17:56:37 +00:00
Tadashi G. Takaoka 72b5ff6645 am 083a40b2: Merge "Move createKeyboardSetForSpellChecker to AndroidSpellCheckService"
* commit '083a40b291dbd4d63aabbcb4a1dc1ca27bb46863':
  Move createKeyboardSetForSpellChecker to AndroidSpellCheckService
2013-08-07 03:35:08 -07:00
Tadashi G. Takaoka f6872b3601 am 15b80c4e: Merge "Add ResouceUtils.getDefaultKeyboardHeight"
* commit '15b80c4ec264d8fcc457988bc695453093e6f577':
  Add ResouceUtils.getDefaultKeyboardHeight
2013-08-07 03:35:06 -07:00
Tadashi G. Takaoka 083a40b291 Merge "Move createKeyboardSetForSpellChecker to AndroidSpellCheckService" 2013-08-07 10:32:56 +00:00
Tadashi G. Takaoka 15b80c4ec2 Merge "Add ResouceUtils.getDefaultKeyboardHeight" 2013-08-07 10:32:30 +00:00
Tadashi G. Takaoka 204e7b1401 Move createKeyboardSetForSpellChecker to AndroidSpellCheckService
Change-Id: I4a9065e703e98ffed50f2a6d76ace938dfc26ddf
2013-08-07 19:24:22 +09:00
Tadashi G. Takaoka 3897a43940 Add ResouceUtils.getDefaultKeyboardHeight
Change-Id: I377f6a83ec86b0345b170e7ad995d4577220d0ad
2013-08-07 19:23:31 +09:00
Tadashi G. Takaoka 3cbcdd3a14 am 2cb9a143: Merge "Make key label from supplementary code point"
* commit '2cb9a1434ea1d22a37f1396b20670c4b0589c120':
  Make key label from supplementary code point
2013-08-07 03:02:46 -07:00
Tadashi G. Takaoka 2cb9a1434e Merge "Make key label from supplementary code point" 2013-08-07 09:59:41 +00:00
Tadashi G. Takaoka 45d0205862 Make key label from supplementary code point
Change-Id: I0a7834b5c4908a2116a8772cf85985ab8bed7091
2013-08-07 18:34:20 +09:00
Satoshi Kataoka 3c6d5041bc am c05b3b56: Merge "Add a session for the personalization dictionary"
* commit 'c05b3b56cc6af7ae33983792b8601c869d2ff4aa':
  Add a session for the personalization dictionary
2013-08-07 01:47:26 -07:00
Satoshi Kataoka c05b3b56cc Merge "Add a session for the personalization dictionary" 2013-08-07 08:45:19 +00:00
Tadashi G. Takaoka 145ac75c0d am 7de0331a: Merge "Remove orientation member from KeyboardId"
* commit '7de0331a19bbe07a2689d7b49ae9a798a9451c2c':
  Remove orientation member from KeyboardId
2013-08-07 00:54:05 -07:00
Satoshi Kataoka 80aa7197b4 Add a session for the personalization dictionary
Bug: 9429906
Bug: 4192129

Change-Id: I361ab380edeee5a8a8b364df3f9f4ab202b79105
2013-08-07 16:44:30 +09:00
Tadashi G. Takaoka 15c42454c0 Remove orientation member from KeyboardId
Change-Id: I2c16134a24088dbc30b74ae7c5bc578a9d84a960
2013-08-07 16:32:54 +09:00
Jean Chalard f7959a3af5 am 0f47d516: Merge "Reword "No language""
* commit '0f47d5163dabb7b4205826dd2d829a55c8621577':
  Reword "No language"
2013-08-06 09:29:19 -07:00
Tadashi G. Takaoka 9f87373ea7 am 8ba87982: Merge "Consolidate forwardTouchEvent with dispatchTouchEvent"
* commit '8ba8798290388ed740f0ca4f01e74b11847b6d44':
  Consolidate forwardTouchEvent with dispatchTouchEvent
2013-08-06 09:29:17 -07:00
Tadashi G. Takaoka 7fbda5f047 am cc38bfb5: Merge "Add emoji icon and code as a groundwork"
* commit 'cc38bfb5d3bc48fae1a789d35441e96fd3d0d63c':
  Add emoji icon and code as a groundwork
2013-08-06 09:29:16 -07:00
Tadashi G. Takaoka 5f88fa8058 am daab5caf: Merge "Remove unnecessary suggestion strip container"
* commit 'daab5cafd288da696e9e9776eb0da8bd0863dcf7':
  Remove unnecessary suggestion strip container
2013-08-06 09:29:14 -07:00
Jean Chalard 0f47d5163d Merge "Reword "No language"" 2013-08-06 11:11:21 +00:00
Baligh Uddin e60fb5b716 Import translations. DO NOT MERGE
Change-Id: Idb528323e197ce6e2de7ec3fe5e764fffc72e53e
Auto-generated-cl: translation import
2013-08-06 02:29:15 -07:00
Baligh Uddin f8c8140106 Import translations. DO NOT MERGE
Change-Id: I1a07b23ba76af93435bc8305c20edfd23c51114c
Auto-generated-cl: translation import
2013-08-06 02:24:54 -07:00
Tadashi G. Takaoka 8ba8798290 Merge "Consolidate forwardTouchEvent with dispatchTouchEvent" 2013-08-06 06:38:33 +00:00
Tadashi G. Takaoka cc38bfb5d3 Merge "Add emoji icon and code as a groundwork" 2013-08-06 05:35:14 +00:00
Tadashi G. Takaoka b127d88285 Add emoji icon and code as a groundwork
The emoji switching key icon asset should be updated. The icons in
this change are just borrowed from Hangout.

Bug: 10179862
Bug: 6370846
Change-Id: Icea26d2cf2ac6a6df9beb4c98f646dbe309bdcd9
2013-08-06 14:16:15 +09:00
Tadashi G. Takaoka 88f840d2a2 Consolidate forwardTouchEvent with dispatchTouchEvent
Change-Id: Ib73962acff72be0a78a3565028572ad694fb8501
2013-08-06 11:04:51 +09:00
Tadashi G. Takaoka 52d220e71b Remove unnecessary suggestion strip container
Change-Id: I3710e1fe1574c0f69f7f448619e939fb45e9b8d3
2013-08-06 10:57:47 +09:00
Tadashi G. Takaoka 7c2ea3dfc0 am 20239759: Merge "Small optimization for readability"
* commit '202397598856d924c02c8f963425f224a2d9547f':
  Small optimization for readability
2013-08-05 17:08:01 -07:00
Tadashi G. Takaoka ce597c1319 am f8d162c3: Merge "Fix keyboard caching bug for testing"
* commit 'f8d162c315e90a2944f12255db43e55c2a22ad35':
  Fix keyboard caching bug for testing
2013-08-05 17:08:00 -07:00
Tadashi G. Takaoka 2023975988 Merge "Small optimization for readability" 2013-08-06 00:04:35 +00:00
Tadashi G. Takaoka f8d162c315 Merge "Fix keyboard caching bug for testing" 2013-08-06 00:03:59 +00:00
Tadashi G. Takaoka df6ac71e93 am c0a732f0: Remove CODE_RESEARCH
* commit 'c0a732f0320b0d125610adf23d14d742860b5fd3':
  Remove CODE_RESEARCH
2013-08-05 03:39:09 -07:00
Tadashi G. Takaoka c0a732f032 Remove CODE_RESEARCH
Instead of CODE_RESEARCH, special outputText ".research." is used to
invoke a research feedback dialog.

Change-Id: Ic95c956ab4f2b5f0c3f2205c9bbcdcfb67db5d6e
2013-08-05 19:05:07 +09:00
Tadashi G. Takaoka de7d659ebd am b2c21033: Merge "Small cleanup"
* commit 'b2c21033ab4c94a718b0bb8725a467d66083c353':
  Small cleanup
2013-08-05 02:49:16 -07:00
Tadashi G. Takaoka b2c21033ab Merge "Small cleanup" 2013-08-05 09:47:24 +00:00
Tadashi G. Takaoka 28a148681e Small cleanup
Change-Id: I7dce7373b371f1ed5a985815f5d43fb6c6ee1f84
2013-08-05 18:46:35 +09:00
Jean Chalard bb9603aa0f am 965b7266: Fix a typo
* commit '965b7266c2ed014bc08da6ef1f31c3d01d131b1e':
  Fix a typo
2013-08-05 02:19:44 -07:00
Jean Chalard c5beb522ed Reword "No language"
Bug: 10064334
Change-Id: Ie4e6c333566eee9000fa5c8e59e9df8b9b56a5b3
2013-08-05 18:16:35 +09:00
Jean Chalard 965b7266c2 Fix a typo
Change-Id: Ie724a444ce056ee43b7ca2f10f30cce5843e61ad
2013-08-05 18:13:29 +09:00
Tadashi G. Takaoka 0016d51ab8 Small optimization for readability
Change-Id: I8a24fc0981e58a7dc30f0577c4415a1d3bc5ed4d
2013-08-05 17:36:28 +09:00
Tadashi G. Takaoka 95f9b95dfb Fix keyboard caching bug for testing
Change-Id: I00584a68d868f38c065bb6a41e8e5f4eafd44e7f
2013-08-05 17:35:08 +09:00
Satoshi Kataoka bdc8767c03 am 93f4c84d: Fix build
* commit '93f4c84d9576c9e3b70f273940091b74cff23b13':
  Fix build
2013-08-02 04:44:46 -07:00
Satoshi Kataoka 93f4c84d95 Fix build
Change-Id: I5748f7fb753f06e7be31e94c5e665130d818c4a9
2013-08-02 20:39:48 +09:00
Satoshi Kataoka aa734f4199 am 33592d1b: Merge "Add a debug preference for using only personalization dictionary"
* commit '33592d1bee77f25321d6912f5f9f5fdd9e495885':
  Add a debug preference for using only personalization dictionary
2013-08-02 04:33:16 -07:00
Jean Chalard 9cd592c210 am ba2f4f84: Merge "Fix a concurrency bug."
* commit 'ba2f4f84cab1e5910968b93e26f1c2f08c8642b3':
  Fix a concurrency bug.
2013-08-02 04:33:13 -07:00
Ken Wakasa f56a8cc89c am 6333ed38: Small cleanup
* commit '6333ed3801089a7422465d9d7af00e5ec4c93138':
  Small cleanup
2013-08-02 04:33:11 -07:00
Satoshi Kataoka 33592d1bee Merge "Add a debug preference for using only personalization dictionary" 2013-08-02 11:30:20 +00:00
Jean Chalard ba2f4f84ca Merge "Fix a concurrency bug." 2013-08-02 11:28:45 +00:00
Jean Chalard 10d66669c7 Fix a concurrency bug.
This probably only ever happens in tests, but still, that's
the right thing to do.

Bug: 10139031
Change-Id: I259be9e7306162e19faf738a093a77762f2e7675
2013-08-02 20:26:37 +09:00
Ken Wakasa 6333ed3801 Small cleanup
Change-Id: I7a35eb4cb7cee4c120236a2bc1974d7b345f4188
2013-08-02 20:22:51 +09:00
Satoshi Kataoka d7491e6e81 Add a debug preference for using only personalization dictionary
Bug: 9429906
Change-Id: I2003060c7065e736d42f3b3303fbba549358dd18
2013-08-02 20:10:57 +09:00
Ken Wakasa 0a856c2d23 am 52876bbe: Remove unnecessary setLayerType() calls
* commit '52876bbefd774e8647910f73a2e4c17ac4e6bf5c':
  Remove unnecessary setLayerType() calls
2013-08-02 03:36:32 -07:00
Ken Wakasa 52876bbefd Remove unnecessary setLayerType() calls
Calling up setLayerType(LAYER_TYPE_HARDWARE, ..) on non-HW accelerated
devices was ending up with having a drawing cache in View that is not
quite needed for PreviewPlacerView.

bug: 8967766

Change-Id: Ic8e6eeaf536530ff5f23eb353b0a8e5ba96fa0e2
2013-08-02 19:30:05 +09:00
Ken Wakasa eba1ad955e am 82018f99: Forgot to reset the matrix of offscreen canvas
* commit '82018f99727a104aa77ab4d48f8b9a9858479453':
  Forgot to reset the matrix of offscreen canvas
2013-08-02 02:58:48 -07:00
Ken Wakasa 82018f9972 Forgot to reset the matrix of offscreen canvas
Follow up to I5bc980c4dc41bc304be3c190934c1f7c55c9d244

bug: 8967766
Change-Id: I37c2e8e70ff4966ca5e4f29e5cac8349d8fe73b6
2013-08-02 18:51:57 +09:00
Tadashi G. Takaoka 197c60342b am e08c418f: Move motion event dispatcher to PointerTracker
* commit 'e08c418ff8b374244677960903cee8dd52a4d831':
  Move motion event dispatcher to PointerTracker
2013-08-02 00:40:26 -07:00
Tadashi G. Takaoka e08c418ff8 Move motion event dispatcher to PointerTracker
Change-Id: I967bf4629b7d1002be6aff6007dc03d2db05c562
2013-08-02 16:34:44 +09:00
Ken Wakasa 31a61ce387 am ed56ea86: Merge "Deallocate offscreen buffer for non-HW-accel draw"
* commit 'ed56ea86d0114e85763e449a05b40e670addfc48':
  Deallocate offscreen buffer for non-HW-accel draw
2013-08-01 02:31:22 -07:00
Tadashi G. Takaoka f2b5432107 am 54dd1bed: Clean up ResearchLogger log method
* commit '54dd1bed528331208f15df2693bcd01004dd471a':
  Clean up ResearchLogger log method
2013-08-01 02:31:21 -07:00
Ken Wakasa ed56ea86d0 Merge "Deallocate offscreen buffer for non-HW-accel draw" 2013-08-01 09:29:24 +00:00
Tadashi G. Takaoka 54dd1bed52 Clean up ResearchLogger log method
Change-Id: I06c30aab462ce5b17157ff71d5d76f9755178080
2013-08-01 18:25:34 +09:00
Tadashi G. Takaoka a7739acfcb am b7f62601: Merge "Move non-distinct multitouch support to a separate class"
* commit 'b7f62601959e81dc08ce33013f023c67a0da9424':
  Move non-distinct multitouch support to a separate class
2013-08-01 02:25:03 -07:00
Tadashi G. Takaoka b6cc3a85ab Move non-distinct multitouch support to a separate class
Move code that support non-distinct multitouch screen device to the
NonDistinchMultitouchHelper class.

Change-Id: I2e44f782b83dbcd095ee8e51c36b0766da0cd457
2013-08-01 18:18:33 +09:00
Ken Wakasa e68d565d0f Deallocate offscreen buffer for non-HW-accel draw
Follow up to I5bc980c4dc41bc304be3c190934c1f7c55c9d244

This frees up 800KB on occam_svelte when LatinIME is in background.
Confirmed the performance effect in keyboard-bring up speed was unperceivable.

bug: 8967766
Change-Id: I0fab179c61179564bd3a0349c9825e7d61f7e1f2
2013-08-01 18:01:48 +09:00
Tadashi G. Takaoka 40f8a487e0 am a299421f: Merge "Remove getTimer() reference except from PointerTracker"
* commit 'a299421f67e6800e3d19021df275029f5d084a8b':
  Remove getTimer() reference except from PointerTracker
2013-08-01 00:57:30 -07:00
Tadashi G. Takaoka a299421f67 Merge "Remove getTimer() reference except from PointerTracker" 2013-08-01 07:53:45 +00:00
Satoshi Kataoka 3f30c09d88 am 503b7902: Merge "Connect the personalization dictionary"
* commit '503b79029a41d672f6a4c22e2d4f24709a1dfc80':
  Connect the personalization dictionary
2013-08-01 00:39:39 -07:00
Satoshi Kataoka 503b79029a Merge "Connect the personalization dictionary" 2013-08-01 07:36:17 +00:00
Satoshi Kataoka 60586b57cf Connect the personalization dictionary
Bug: 9429906
Bug: 4192129
Change-Id: I9c9f3ed7699f74339ad92be6dcddb8a52c377545
2013-08-01 16:33:20 +09:00
Tadashi G. Takaoka 5433ce64c0 Remove getTimer() reference except from PointerTracker
Change-Id: I142eb5b61b932e60452b9b3514d6ddca3d21ec9d
2013-08-01 16:22:53 +09:00
Tadashi G. Takaoka 5bd6016200 am c83da069: Merge "Move key repeat function to PointerTracker"
* commit 'c83da0693997280c1b996154f10ab808b3d957d6':
  Move key repeat function to PointerTracker
2013-08-01 00:09:09 -07:00
Tadashi G. Takaoka 8126e79e08 Move key repeat function to PointerTracker
Change-Id: I26e553692faf48e30e9c43c71fac6980b8432111
2013-08-01 15:45:58 +09:00
Tadashi G. Takaoka f9d919ec84 am 552a4b84: Merge "Add UsabilityStudyLogUtils.writeMotionEvent"
* commit '552a4b84f87452f2df6a3b85bcb6ef33547f70ca':
  Add UsabilityStudyLogUtils.writeMotionEvent
2013-07-31 07:25:27 -07:00
Tadashi G. Takaoka 552a4b84f8 Merge "Add UsabilityStudyLogUtils.writeMotionEvent" 2013-07-31 14:21:04 +00:00
Satoshi Kataoka c4ccf6370c am 567e7f05: Add the personalization prediction dictionary
* commit '567e7f05c131505c24dcad1ea04be09a59512c02':
  Add the personalization prediction dictionary
2013-07-31 06:05:31 -07:00
Satoshi Kataoka 567e7f05c1 Add the personalization prediction dictionary
Bug: 9429906
Bug: 4192129
Change-Id: I0663de025405b2c92eebd528339b82baec97e2ce
2013-07-31 21:37:33 +09:00
Satoshi Kataoka 746c9a4aff am 853d0fd1: Refactor the personalization dictionary
* commit '853d0fd122ab8fd06ee50217d5f7ff960614a144':
  Refactor the personalization dictionary
2013-07-31 05:19:26 -07:00
Satoshi Kataoka 853d0fd122 Refactor the personalization dictionary
Bug: 9429906
Bug: 4192129
Change-Id: I9f094bc5a6ce4652e310e090f1536e43f1f24ad1
2013-07-31 21:15:13 +09:00
Ken Wakasa ac4ec539b5 am 883bd364: Merge "Deallocate gesture trail bitmap when unneeded"
* commit '883bd364eb7905af94c470540950f055094f0d87':
  Deallocate gesture trail bitmap when unneeded
2013-07-31 04:51:12 -07:00
Ken Wakasa 883bd364eb Merge "Deallocate gesture trail bitmap when unneeded" 2013-07-31 11:46:25 +00:00
Ken Wakasa c8814e20b7 Deallocate gesture trail bitmap when unneeded
This frees up 1.7MB on Nexus 4 (occam), and 900KB on occam_svelte while
LatinIME goes to background.
The keyboard bring-up speed feels acceptable on both devices.

bug: 8967766
Change-Id: I5bc980c4dc41bc304be3c190934c1f7c55c9d244
2013-07-31 20:39:32 +09:00
Satoshi Kataoka e59fa27d75 am 3b1eb886: Merge "Refactor the user history dictionary"
* commit '3b1eb886582a6bfab63cee24323f0b139d70087f':
  Refactor the user history dictionary
2013-07-31 03:40:29 -07:00
Satoshi Kataoka 3b1eb88658 Merge "Refactor the user history dictionary" 2013-07-31 10:37:31 +00:00
Satoshi Kataoka 1439130442 Refactor the user history dictionary
Bug: 9429906
Bug: 4192129

Change-Id: If53bc3220627802d82ab7c396d0aabdb658573fa
2013-07-31 19:22:11 +09:00
Jean Chalard 465abf7b16 am 2d7e9273: Fix inconsistencies with mSuggest.
* commit '2d7e92735478115330be21b4fe250eea6e2f71b8':
  Fix inconsistencies with mSuggest.
2013-07-31 03:06:51 -07:00
Tadashi G. Takaoka 30977a151e Add UsabilityStudyLogUtils.writeMotionEvent
Change-Id: I41ee6d1879dc937e1554fedfc603d9bb5bec40f2
2013-07-31 19:05:14 +09:00
Jean Chalard 2d7e927354 Fix inconsistencies with mSuggest.
This should fix some NPEs, but they are so unlikely that we never
see them.

Bug: 10065412
Change-Id: I2aefea1f52024405cc3fda9106fea41a02aaf4d8
2013-07-31 18:59:18 +09:00
Satoshi Kataoka dfe1cfe898 am acb3cc74: Merge "Refactor on the user history dictionary"
* commit 'acb3cc74736342be10b4cbc9339eda383bc34a01':
  Refactor on the user history dictionary
2013-07-31 02:22:28 -07:00
Satoshi Kataoka acb3cc7473 Merge "Refactor on the user history dictionary" 2013-07-31 09:20:06 +00:00
Tadashi G. Takaoka befe69f589 am 310ea9ab: Remove sudden jump touch event hack
* commit '310ea9ab9058e922a562309cb0dc5d5e092000f1':
  Remove sudden jump touch event hack
2013-07-31 01:45:18 -07:00
Tadashi G. Takaoka 310ea9ab90 Remove sudden jump touch event hack
This hack was for Nexus One and Droid that can't run on ICS or later.

Change-Id: I1f9cef2022b0bbb333235e6b7c311c9785a1d894
2013-07-31 17:32:41 +09:00
Tadashi G. Takaoka 53d415370b am 3b5c05f1: Merge "Fix Catalan keyboard layout"
* commit '3b5c05f18c3628a99b5e676af636b6f64e58f1c5':
  Fix Catalan keyboard layout
2013-07-31 01:32:29 -07:00
Tadashi G. Takaoka 3b5c05f18c Merge "Fix Catalan keyboard layout" 2013-07-31 08:01:51 +00:00
Tadashi G. Takaoka 5e2e286290 am fea0862c: Merge "Fix missing Azerbaijani text resource"
* commit 'fea0862cf6eafb676238ea95a80a8ce47db12ce0':
  Fix missing Azerbaijani text resource
2013-07-31 01:01:46 -07:00
Tadashi G. Takaoka fea0862cf6 Merge "Fix missing Azerbaijani text resource" 2013-07-31 07:58:15 +00:00
Tadashi G. Takaoka 087c8a84a5 Fix Catalan keyboard layout
Bug: 10098472
Change-Id: I60e4aa6716f8166ca60ab5687b0faf2d84cd846b
2013-07-31 16:56:34 +09:00
Tadashi G. Takaoka d4a6869d38 Fix missing Azerbaijani text resource
Though Azerbaijani subtype is disabled temporary by Ib8a38f85f4.

Change-Id: I887cf3508bd2945016c506eae1969778ba4582d3
2013-07-31 16:54:46 +09:00
Satoshi Kataoka 87d06afc66 Refactor on the user history dictionary
Bug: 9429906
Bug: 4192129
Change-Id: I1a2bfe96e18119d30a72290aa48746f77a021018
2013-07-31 16:48:55 +09:00
Jean Chalard 5cc606aca6 am 8d46ea91: Merge "Fix some warnings"
* commit '8d46ea915645361856a0b3df3db1c83888cb39ff':
  Fix some warnings
2013-07-31 00:39:38 -07:00
Jean Chalard 81fb25aeb7 am 7d654d8c: Merge "Fix inconsistency with mutable settings."
* commit '7d654d8cae47f50127021918c24201bb1f0e9a06':
  Fix inconsistency with mutable settings.
2013-07-31 00:39:36 -07:00
Tadashi G. Takaoka afa9787573 am 21cabc98: Merge "Fix duplicated apostrophe on AZERTY/tablet"
* commit '21cabc98d58ef3b763ca2a56aec388310f5eb371':
  Fix duplicated apostrophe on AZERTY/tablet
2013-07-31 00:39:35 -07:00
Tadashi G. Takaoka 151a5683e8 am 536e0c79: Merge "Clean up PointerTracker a bit"
* commit '536e0c79cc6d34e03930e4298aa94112d2ec07aa':
  Clean up PointerTracker a bit
2013-07-31 00:39:33 -07:00
Jean Chalard 8d46ea9156 Merge "Fix some warnings" 2013-07-31 07:38:49 +00:00
Jean Chalard 7d654d8cae Merge "Fix inconsistency with mutable settings." 2013-07-31 07:38:22 +00:00
Tadashi G. Takaoka 21cabc98d5 Merge "Fix duplicated apostrophe on AZERTY/tablet" 2013-07-31 07:36:55 +00:00
Tadashi G. Takaoka 536e0c79cc Merge "Clean up PointerTracker a bit" 2013-07-31 07:36:27 +00:00
Jean Chalard 740cb9d29c am 561c4474: Merge "Fix a problem where settings were not renewed correctly."
* commit '561c4474046a665b5b4b06a2a09d31db92c39aab':
  Fix a problem where settings were not renewed correctly.
2013-07-31 00:20:42 -07:00
Jean Chalard 561c447404 Merge "Fix a problem where settings were not renewed correctly." 2013-07-31 07:17:49 +00:00
Jean Chalard 93445b4821 Fix some warnings
Change-Id: I7290cd1fb675a1b85b9b6ac2d464c932b5bca1dd
2013-07-31 16:17:01 +09:00
Tadashi G. Takaoka 2be611b602 Fix duplicated apostrophe on AZERTY/tablet
Bug: 10099353
Change-Id: I2394a7a7900f42a2cf9e962293fae9bd68e58dee
2013-07-31 14:56:17 +09:00
Tadashi G. Takaoka 212165b0b8 Clean up PointerTracker a bit
Change-Id: If4ff87348fbc40f271c68dad255dbc42f9b26eb6
2013-07-31 14:52:18 +09:00
Jean Chalard 37d17ab210 am f8c1aefd: Merge "Clarify the expected cursor position in RichInputConnection."
* commit 'f8c1aefd90fced4edec4eaa8d4a9ded0edc5ccf3':
  Clarify the expected cursor position in RichInputConnection.
2013-07-30 21:58:59 -07:00
Jean Chalard f8c1aefd90 Merge "Clarify the expected cursor position in RichInputConnection." 2013-07-31 04:56:35 +00:00
Jean Chalard aa108f1d7f Clarify the expected cursor position in RichInputConnection.
Change-Id: I4d36a23567415c3a293a588b51b46006256c148f
2013-07-31 12:22:15 +09:00
Baligh Uddin e9087931bd Merge "Import translations. DO NOT MERGE" 2013-07-30 16:38:53 +00:00
Satoshi Kataoka 607d35ccd8 am 323a7aae: Merge "Fix the title of the personal dictionary settings"
* commit '323a7aae6c23cbaf7a2827a6bad2234bc084f0ce':
  Fix the title of the personal dictionary settings
2013-07-30 01:33:48 -07:00
Satoshi Kataoka 323a7aae6c Merge "Fix the title of the personal dictionary settings" 2013-07-30 08:17:01 +00:00
Satoshi Kataoka 8befd36c65 Fix the title of the personal dictionary settings
Bug: 8976598
Change-Id: I9e07ff9e06449e2093b9ba8d6f28a030c69756bc
2013-07-30 15:39:41 +09:00
Jean Chalard c5c226c424 Fix inconsistency with mutable settings.
Change-Id: I0550044199273cecb6f5713aa2e43ae16319cd47
2013-07-30 14:30:24 +09:00
Satoshi Kataoka e71d9ab6da am ab2d2731: Merge "Fix the displayed name of the personal dictionary"
* commit 'ab2d273133a8fe2e1e0a66952d74127629394a4c':
  Fix the displayed name of the personal dictionary
2013-07-29 21:25:52 -07:00
Jean Chalard 74bcc911ea Fix a problem where settings were not renewed correctly.
Bug: 10065412
Change-Id: Id05284f45466cd5b2697a695c3d1bdfbf3cc1f24
2013-07-30 13:22:05 +09:00
Satoshi Kataoka ab2d273133 Merge "Fix the displayed name of the personal dictionary" 2013-07-30 04:21:58 +00:00
Satoshi Kataoka 5123427532 Fix the displayed name of the personal dictionary
Bug: 8976598
Change-Id: I11dd73c8c23b05288c5f417352dc4cc99d489b95
2013-07-30 13:14:08 +09:00
Baligh Uddin 1fa29ffa4a Import translations. DO NOT MERGE
Change-Id: Iac90270d4db88ffff492b36e15a424a50af8dddd
Auto-generated-cl: translation import
2013-07-29 15:52:19 -07:00
Ken Wakasa 856694c03b am b60e65a0: Rename a variable for SettingsValues
* commit 'b60e65a0cce9f20ee5e633921732785f99fffd2e':
  Rename a variable for SettingsValues
2013-07-29 03:00:35 -07:00
Ken Wakasa b60e65a0cc Rename a variable for SettingsValues
Change-Id: Icb4155532ea8724791c9194e8dc75ce32b6e8b16
2013-07-29 18:53:23 +09:00
Jean Chalard 7755379ebd am d9f0c1e0: Merge "Fix an NPE"
* commit 'd9f0c1e02065d457dc004fc26054fa75432e6661':
  Fix an NPE
2013-07-29 02:49:06 -07:00
Jean Chalard d9f0c1e020 Merge "Fix an NPE" 2013-07-29 09:46:32 +00:00
Jean Chalard 5408fec63a Fix an NPE
Also make mSuggest private for more security.

Bug: 10045657
Change-Id: I712505e4d2a2606efff5d09ba9b4c656f9e7c7a9
2013-07-29 18:09:48 +09:00
Satoshi Kataoka d19856b720 am fb9f448b: Merge "Add personalization dictionary helper"
* commit 'fb9f448b8d3ffc3b7d573e340772c38a77523ac4':
  Add personalization dictionary helper
2013-07-28 22:23:33 -07:00
Satoshi Kataoka fb9f448b8d Merge "Add personalization dictionary helper" 2013-07-29 05:21:14 +00:00
Satoshi Kataoka d45e4b6e5b Add personalization dictionary helper
Bug: 9429906
Bug: 4192129

Change-Id: Ic618b0b09a54ed46b20633bd4c1c570d4ac775af
2013-07-29 12:37:27 +09:00
Jean Chalard 35541a727e am 654b0a9c: Merge "Small optimization"
* commit '654b0a9c16b133019d5c68548d799a44164e7724':
  Small optimization
2013-07-26 04:35:03 -07:00
Jean Chalard c4310c43c2 am e7903101: Merge "Use cached data for getTextBeforeCursor."
* commit 'e7903101eaa72f54c78887f09bdb385ce526f1ac':
  Use cached data for getTextBeforeCursor.
2013-07-26 04:35:01 -07:00
Jean Chalard 654b0a9c16 Merge "Small optimization" 2013-07-26 11:30:50 +00:00
Jean Chalard e7903101ea Merge "Use cached data for getTextBeforeCursor." 2013-07-26 11:25:59 +00:00
Jean Chalard 0a064a5d88 Small optimization
Bug: 8864306
Change-Id: Ic8eecd64eff6a1150a90b9f5ec9ebbc5f1d2a6a9
2013-07-26 20:17:55 +09:00
Jean Chalard 8c6537edbd Use cached data for getTextBeforeCursor.
Bug: 8864306
Change-Id: Ia146f711f1de4336d7e3363208ab92eba856f5e1
2013-07-26 20:17:52 +09:00
Satoshi Kataoka d7f75dfb82 am 2a8c75fc: Merge "Add a place holder of the personalization dictionary"
* commit '2a8c75fc4313b44f3fde50ab964bc59c2227b174':
  Add a place holder of the personalization dictionary
2013-07-26 01:46:00 -07:00
Satoshi Kataoka 2a8c75fc43 Merge "Add a place holder of the personalization dictionary" 2013-07-26 08:44:26 +00:00
Satoshi Kataoka 5c15b8f442 Add a place holder of the personalization dictionary
Bug: 9429906
Bug: 4192129

Change-Id: Ieacd0559e0bf286c5933e9dba716289303f533d6
2013-07-26 16:03:04 +09:00
Jean Chalard 87677d7532 am 38e98026: Merge "Revert "Very simple refactoring""
* commit '38e9802690bbb96a00762ce5d172c5a37716fe1d':
  Revert "Very simple refactoring"
2013-07-26 00:01:19 -07:00
Jean Chalard 38e9802690 Merge "Revert "Very simple refactoring"" 2013-07-26 06:58:44 +00:00
Jean Chalard c6a07e16a5 Revert "Very simple refactoring"
This reverts commit f712dc9a4f.
It turns out this refactoring is not useful after all.

Change-Id: I0145c907b3cc5ac9a30a59abcd719cb546c9bd3a
2013-07-26 06:46:56 +00:00
Jean Chalard 25446d31f2 am 0dd23544: Merge "Very simple refactoring"
* commit '0dd23544ffec1ae50c4b56fced22b47e7772f5ed':
  Very simple refactoring
2013-07-25 22:33:22 -07:00
Jean Chalard 0dd23544ff Merge "Very simple refactoring" 2013-07-26 05:30:47 +00:00
Satoshi Kataoka d6ee1ded52 am ffcbbaf1: Refactor on UserHistoryDictionary
* commit 'ffcbbaf12788a9fc9398607a548e552d7d2bf05e':
  Refactor on UserHistoryDictionary
2013-07-25 21:05:21 -07:00
Satoshi Kataoka ffcbbaf127 Refactor on UserHistoryDictionary
Bug: 9429906
Change-Id: I576a91643bdaf5017cc826ac2e07a74a9a275d60
2013-07-26 13:00:19 +09:00
Jean Chalard f712dc9a4f Very simple refactoring
Bug: 8864306
Change-Id: I5c9b118cb6a8eb59efc52d5534b10fcab93182d6
2013-07-26 12:57:12 +09:00
Tadashi G. Takaoka 6360cef8db am adc91027: Merge "Update xxhdpi icon of microphone in label"
* commit 'adc91027d2466ef9539e79874230b3eb4502dee4':
  Update xxhdpi icon of microphone in label
2013-07-25 19:27:56 -07:00
Tadashi G. Takaoka bc6a89ddf1 Update xxhdpi icon of microphone in label
Bug: 8976566
Change-Id: I8718d793c7bbd42b69fafb5b51d49dfe6d8a732c
2013-07-26 10:45:36 +09:00
Tadashi G. Takaoka 3b1e8d55c6 am c3493382: Merge "Cancel all ongoing event when onFinishInputView"
* commit 'c34933828efc2fcb711be4bb7b2b9d7508c4e311':
  Cancel all ongoing event when onFinishInputView
2013-07-25 04:09:58 -07:00
Tadashi G. Takaoka c34933828e Merge "Cancel all ongoing event when onFinishInputView" 2013-07-25 11:08:08 +00:00
Tadashi G. Takaoka 5c095e59f6 Cancel all ongoing event when onFinishInputView
Bug: 9334755
Change-Id: If0c2ac49a50f4a529aefeca603569f9413367469
2013-07-25 20:05:39 +09:00
Tadashi G. Takaoka dfaf547b61 am 21c6d23d: Merge "Add MoreKeysPanel argument to Controller methods"
* commit '21c6d23dcd546cd988864dae086d383cd45d82cf':
  Add MoreKeysPanel argument to Controller methods
2013-07-25 04:01:35 -07:00
Tadashi G. Takaoka 21c6d23dcd Merge "Add MoreKeysPanel argument to Controller methods" 2013-07-25 11:00:25 +00:00
Tadashi G. Takaoka 0e08d70fe5 Add MoreKeysPanel argument to Controller methods
Bug: 9334755
Change-Id: I5a7104f4c98982f11fb4e060fa83c21bfc360558
2013-07-25 19:53:05 +09:00
Tadashi G. Takaoka 846044ce14 am 15c41a61: Merge "Remove boolean return value of dismissing more keys panel"
* commit '15c41a61ad6ad0281542ec4700eaf42fd7cdba0c':
  Remove boolean return value of dismissing more keys panel
2013-07-25 03:47:58 -07:00
Tadashi G. Takaoka 15c41a61ad Merge "Remove boolean return value of dismissing more keys panel" 2013-07-25 10:45:05 +00:00
Tadashi G. Takaoka 09e4530ca7 Remove boolean return value of dismissing more keys panel
Bug: 9334755
Change-Id: Ic29ab69cfbf9007e98fe67695f1854b4876eb976
2013-07-25 17:51:48 +09:00
Jean Chalard 2b6676d13f am e408bbb5: Merge "Fix a bug with multiple word insertion."
* commit 'e408bbb5bf67fa4b5a2846eeb60cb266e29358d9':
  Fix a bug with multiple word insertion.
2013-07-25 01:37:04 -07:00
Jean Chalard e408bbb5bf Merge "Fix a bug with multiple word insertion." 2013-07-25 08:34:41 +00:00
Jean Chalard 23a3fd5bfa Fix a bug with multiple word insertion.
This is a port of I5202bc52

Bug: 7903831
Change-Id: I3eb526de01a1f5b51212166e39b98de1d71e9eaf
2013-07-25 16:33:13 +09:00
Tadashi G. Takaoka 522707adb5 am 058f37f8: Merge "Cosmetic code optimization"
* commit '058f37f8badf646928cfa099240e612c4be76077':
  Cosmetic code optimization
2013-07-25 00:30:39 -07:00
Tadashi G. Takaoka 058f37f8ba Merge "Cosmetic code optimization" 2013-07-25 07:29:02 +00:00
Satoshi Kataoka f8c4d41370 am 5563dc3a: Show all languages if user enables multiple subtypes
* commit '5563dc3ad51a350f67ad857991aa97623a0084b8':
  Show all languages if user enables multiple subtypes
2013-07-25 00:06:39 -07:00
Tadashi G. Takaoka 5b696d8336 Cosmetic code optimization
Change-Id: If20c1936c8d5f23f0b86d02f21f4ff8a6444244c
2013-07-25 15:44:43 +09:00
Satoshi Kataoka 5563dc3ad5 Show all languages if user enables multiple subtypes
Bug: 8976598
Change-Id: I1c3c1ede1235f696eafb3a68ec5c29479768dd0f
2013-07-25 15:15:39 +09:00
Jean Chalard 333245a1b9 am 665e4ecc: Update dictionaries
* commit '665e4ecc621a8a88f92b371ae38fe00e244c3f82':
  Update dictionaries
2013-07-24 21:15:04 -07:00
Jean Chalard 665e4ecc62 Update dictionaries
>>> dictionaries/en_GB_wordlist.combined.gz
Header :
  date : 1374634548 <=> 1374721653
Body :
Added: Caltrain 30

>>> dictionaries/en_US_wordlist.combined.gz
Header :
  date : 1374634548 <=> 1374721654
Body :
Added: Caltrain 30

>>> dictionaries/en_wordlist.combined.gz
Header :
  date : 1374634568 <=> 1374721663
Body :
Added: Caltrain 30

>>> dictionaries/es_wordlist.combined.gz
Header :
  date : 1372393817 <=> 1374721654
  version : 35 <=> 36
Body :
Added: Caltrain 10

>>> java/res/raw/main_en.dict
Header :
  date : 1374634568 <=> 1374721663
Body :
Added: Caltrain 30

>>> java/res/raw/main_es.dict
Header :
  date : 1372393817 <=> 1374721654
  version : 35 <=> 36
Body :
Added: Caltrain 10

Bug: 9995706
Change-Id: Icf96bf01e45ef94d3ffd6d6a9d6431c52f0f5a86
2013-07-25 12:48:55 +09:00
Jean Chalard ea24dac97d am 289df0ec: Merge "[FD4] Separate cached address before/after update for groups"
* commit '289df0ecadb5b6320d8e1f484bf9decc1b726e53':
  [FD4] Separate cached address before/after update for groups
2013-07-24 20:04:57 -07:00
Jean Chalard 289df0ecad Merge "[FD4] Separate cached address before/after update for groups" 2013-07-25 03:03:09 +00:00
Tadashi G. Takaoka 808f6757c2 am cecb63c2: Merge "Make RunInLocale as top-level class"
* commit 'cecb63c2c9968b209258e491c218b86792050dfc':
  Make RunInLocale as top-level class
2013-07-24 06:39:21 -07:00
Tadashi G. Takaoka 2e94df081e am 9ef59af7: Merge "Move subtype related utility class to utils package"
* commit '9ef59af7ceda6facf37b382dfa504b9f3b3f9845':
  Move subtype related utility class to utils package
2013-07-24 06:39:19 -07:00
Tadashi G. Takaoka cecb63c2c9 Merge "Make RunInLocale as top-level class" 2013-07-24 13:34:52 +00:00
Tadashi G. Takaoka 9ef59af7ce Merge "Move subtype related utility class to utils package" 2013-07-24 13:34:35 +00:00
Jean Chalard 25de86a6a2 [FD4] Separate cached address before/after update for groups
This should fix bug#8526576 for good.

Bug: 8526576
Change-Id: I473aad26b69d64efa09d2ec9d8e69f29f5cf4819
2013-07-24 18:40:14 +09:00
Jean Chalard 4322d18832 am 9d313c6c: Merge "[FD3] Split stackNodes into two methods."
* commit '9d313c6ce96bbf47db7651445031793765094d7e':
  [FD3] Split stackNodes into two methods.
2013-07-24 01:40:56 -07:00
Jean Chalard 9d313c6ce9 Merge "[FD3] Split stackNodes into two methods." 2013-07-24 08:39:00 +00:00
Jean Chalard 429db8d61e [FD3] Split stackNodes into two methods.
In the future we need to have a method that computes only
from the size, as we used to have, to initialize the cached
addresses, and a much simpler and faster method to copy
the cached sizes.

Bug: 8526576
Change-Id: I6a5a790303ab8f3bf957c7ca266eb12da7c1ad9e
2013-07-24 17:26:16 +09:00
Jean Chalard 3014ff643f am 2c479e78: Merge "Update dictionaries"
* commit '2c479e783b86b3776cc6d5e9d9a71068b95b6947':
  Update dictionaries
2013-07-24 00:27:34 -07:00
Jean Chalard 2c479e783b Merge "Update dictionaries" 2013-07-24 07:25:05 +00:00
Tadashi G. Takaoka 0c3a9b549c Make RunInLocale as top-level class
Change-Id: I07ed606b7aba098a5be85533e5baff300b21fb44
2013-07-24 16:00:25 +09:00
Tadashi G. Takaoka a410cb48ea Move subtype related utility class to utils package
Change-Id: I3564796531ea85f2ebafde40cd822b806b8741df
2013-07-24 15:52:43 +09:00
Tadashi G. Takaoka 470cd988a4 am 9d802202: Merge "Temporarily disabled Azerbaijani subtype"
* commit '9d802202d73592ed18f2fe7835eff6156497e39d':
  Temporarily disabled Azerbaijani subtype
2013-07-23 23:41:52 -07:00
Tadashi G. Takaoka 9d802202d7 Merge "Temporarily disabled Azerbaijani subtype" 2013-07-24 06:38:57 +00:00
Jean Chalard f0046aea26 Update dictionaries
en, en_GB, en_US:
Add "id" -> "I'd" whitelist entry
Reinstate "id" and "ID" in the respective dicts

fr:
Remove many words that are not French
Change "google" to "Google"

pt_BR:
Delete "idéia"

Change-Id: I942266ac7995345580926f60de45d202aa257ae7
2013-07-24 12:10:06 +09:00
Tadashi G. Takaoka d94de42cb4 Temporarily disabled Azerbaijani subtype
Bug: 9698902
Change-Id: Ib8a38f85f44909bfba42eaf70407d5bd7346feb2
2013-07-24 11:13:31 +09:00
Jean Chalard 9b4d0c7047 am 5526d138: Merge "[FD2] Separate cached address before/after update for nodes."
* commit '5526d138fe76e7d19a58ab68c9ba7a0354172daa':
  [FD2] Separate cached address before/after update for nodes.
2013-07-23 18:57:46 -07:00
Jean Chalard 5526d138fe Merge "[FD2] Separate cached address before/after update for nodes." 2013-07-24 01:56:02 +00:00
Tadashi G. Takaoka d7da546fbb am 6587773f: Merge "Add default keypress vibration duration of HTC J One"
* commit '6587773fcfa26fa277901315859397005e3d1f27':
  Add default keypress vibration duration of HTC J One
2013-07-23 07:10:52 -07:00
Tadashi G. Takaoka 6587773fcf Merge "Add default keypress vibration duration of HTC J One" 2013-07-23 14:08:56 +00:00
Ken Wakasa 14ac4bf1e9 am b9eb3267: Cosmetic fix for the copyright header
* commit 'b9eb32679f27b28051fdd0c5e7cc59805f0bf20f':
  Cosmetic fix for the copyright header
2013-07-23 03:43:13 -07:00
Ken Wakasa b9eb32679f Cosmetic fix for the copyright header
Change-Id: I2a93ac21571d1f6255a72a1a238b03dbb95108de
2013-07-23 19:39:03 +09:00
Tadashi G. Takaoka 3029b25000 Add default keypress vibration duration of HTC J One
This change also removes obsolete HTC One Google Play edition's model
name.

Change-Id: Ic396d1a2288c8926782c3f0bc930170d468c047b
2013-07-23 19:38:29 +09:00
Ken Wakasa dc3b0c812a am 50a29b80: Merge "Fix wrong copyright header comment"
* commit '50a29b808257b71710f2c3dab04030b883e40d83':
  Fix wrong copyright header comment
2013-07-23 03:31:20 -07:00
Ken Wakasa 50a29b8082 Merge "Fix wrong copyright header comment" 2013-07-23 10:29:05 +00:00
Ken Wakasa db341afc65 Fix wrong copyright header comment
Change-Id: I75ffbc0508c00f7ac8004b764667a174b6ab0b63
2013-07-23 19:26:05 +09:00
Tadashi G. Takaoka 116bfe9356 am 8c04df20: Temporarily disabled Kazakh subtype
* commit '8c04df2006a0ff1f0733c7344aeb62e875cba4bb':
  Temporarily disabled Kazakh subtype
2013-07-23 03:14:15 -07:00
Tadashi G. Takaoka 8c04df2006 Temporarily disabled Kazakh subtype
Bug: 9698902
Change-Id: Ic44ef378a979de364ce56aa41c6c3c95fec9709c
2013-07-23 18:34:06 +09:00
Jean Chalard 91cbe3566d [FD2] Separate cached address before/after update for nodes.
Bug: 8526576
Change-Id: Ib9f8594a9e12dc75eba296faff2612c4bd7483d3
2013-07-23 17:52:54 +09:00
Tadashi G. Takaoka 34476d0205 am a005d09d: Merge "Fix prefs.xml"
* commit 'a005d09dd186254a50c60fb86b8b20012c561be3':
  Fix prefs.xml
2013-07-22 21:30:26 -07:00
Tadashi G. Takaoka 318cb109f1 Fix prefs.xml
This is a follow up of Id170dbfe2d.

Change-Id: I52e4f44b7d135f51551b912c44e1dd354c16d125
2013-07-23 13:24:45 +09:00
Tadashi G. Takaoka 20c03e2d16 am e6c51847: Fix NPE in SubtypeLocale.getSubtypeDisplayName
* commit 'e6c51847426121246cc8b48f42f8f5668db71cdb':
  Fix NPE in SubtypeLocale.getSubtypeDisplayName
2013-07-22 21:04:22 -07:00
Tadashi G. Takaoka e6c5184742 Fix NPE in SubtypeLocale.getSubtypeDisplayName
This change moves the methods that create the subtype display name for
spacebar from MainKeyboardView to SubtypeLocale class, and
consolidates SpacebarTextTests with SubtypeLocaleTests.

Bug: 9962955
Change-Id: Ifa0a08ff80bc30753a213c2feb471599ca63fa66
2013-07-23 13:00:04 +09:00
Jean Chalard 0f38876a62 am 1676b838: Merge "Fix a bug when moving the pointer in a > 48 chars word"
* commit '1676b8387f753212da2642f6caf6b838e649d827':
  Fix a bug when moving the pointer in a > 48 chars word
2013-07-22 01:30:59 -07:00
Ken Wakasa 4c606e6a25 am a6906a62: Merge "Move settings related classes to "settings""
* commit 'a6906a62483dbb2a60ef1477c46b84035a26e6b7':
  Move settings related classes to "settings"
2013-07-22 01:30:58 -07:00
Jean Chalard 1676b8387f Merge "Fix a bug when moving the pointer in a > 48 chars word" 2013-07-22 08:04:43 +00:00
Jean Chalard 5fa2202e36 Fix a bug when moving the pointer in a > 48 chars word
Bug: 9892261
Change-Id: I9db20c5b20a0764bd9f5b5e2bdc98180bbb9ec15
2013-07-22 17:02:09 +09:00
Ken Wakasa a6906a6248 Merge "Move settings related classes to "settings"" 2013-07-22 08:01:11 +00:00
Ken Wakasa a7d2fc6bef Move settings related classes to "settings"
Change-Id: Id170dbfe2dcfc93130b7be4a84615940403ec37f
2013-07-22 16:35:44 +09:00
Tadashi G. Takaoka 3b84f81ba4 am 71dc7a38: Fix missing Devanagari digit 9
* commit '71dc7a3876de2f8b10ca3cdc3b70015a29d2b978':
  Fix missing Devanagari digit 9
2013-07-21 23:05:50 -07:00
Tadashi G. Takaoka 71dc7a3876 Fix missing Devanagari digit 9
Change-Id: I487cb5177a6680ad8852a045392c10a324524df6
2013-07-22 14:55:46 +09:00
Tadashi G. Takaoka b62a5ed1e1 am dc711101: Merge "Fix IllegalArgumentException in MoreKeysKeyboard"
* commit 'dc7111013f84ca5f82998a875054c28fec829358':
  Fix IllegalArgumentException in MoreKeysKeyboard
2013-07-18 23:46:51 -07:00
Tadashi G. Takaoka dc7111013f Merge "Fix IllegalArgumentException in MoreKeysKeyboard" 2013-07-19 06:44:54 +00:00
Ken Wakasa db07b716fd am a4c44654: Merge "Move a couple classes to the utils package"
* commit 'a4c44654beb008b5f623f8c30b2e713b720aa457':
  Move a couple classes to the utils package
2013-07-18 20:15:05 -07:00
Ken Wakasa a4c44654be Merge "Move a couple classes to the utils package" 2013-07-19 03:13:57 +00:00
Tadashi G. Takaoka edc2bb730e am 2e0f750a: Reorder more keys of ALEF in Arabic and Persian
* commit '2e0f750abb7bd209d87acfdd1045a4269cb12558':
  Reorder more keys of ALEF in Arabic and Persian
2013-07-18 19:45:55 -07:00
Tadashi G. Takaoka b0e76724ed Fix IllegalArgumentException in MoreKeysKeyboard
It seems that MainKeyboardView.getMeasuredWidth() returns weird
value. Using KeyboardId.mWidth as main keyboard width may resolve the
issue.

Bug: 9684622
Change-Id: I975bfb934b8d2448e72555a3ccae0123341186b9
2013-07-19 11:43:50 +09:00
Tadashi G. Takaoka 2e0f750abb Reorder more keys of ALEF in Arabic and Persian
Regarding the frequency of letters, the visual order of the more keys
of Alef should be (in a left-to-righ fashion):

[Arabic]
1. Alef Madda above
2. Hamza
3. Alef Hamza above <-- center of the more keys
4. Alef Hamza below
5. Alef Wasla

[Persian]
1. Alef Wasla
2. Hamza
3. Alef Madda above <-- center of the more keys
4. Alef Hamza above
5. Alef Hamza below

Bug: 9371393
Change-Id: I5f458f1123fccb992b684878dacf15cce804bd51
2013-07-19 10:52:16 +09:00
Ken Wakasa b03447e1af Move a couple classes to the utils package
Change-Id: Ia14a2011d79bad7cd02697b9254705f6e2099442
2013-07-19 10:46:46 +09:00
Tadashi G. Takaoka def0cb3587 am 03a76a07: Merge "Restrict bogus events hack to certain classes of tablets"
* commit '03a76a07e2454271e67cfe1a6b563e7e32087a06':
  Restrict bogus events hack to certain classes of tablets
2013-07-18 01:42:22 -07:00
Tadashi G. Takaoka 03a76a07e2 Merge "Restrict bogus events hack to certain classes of tablets" 2013-07-18 08:40:44 +00:00
Tadashi G. Takaoka 536438a45e Restrict bogus events hack to certain classes of tablets
Bug: 9061320
Change-Id: Ib8c6a5e6db5da99c447bc00867fed51ca959cc3a
2013-07-18 15:49:11 +09:00
Jean Chalard 7a54dc88c4 am 257750d9: [FD1] Move parents\' address computation outside
* commit '257750d988b2f6499d5f7b2439c8f46df9ea3369':
  [FD1] Move parents' address computation outside
2013-07-17 04:53:17 -07:00
Jean Chalard 257750d988 [FD1] Move parents' address computation outside
There is no need to do it repeatedly in this loop: it's
clearer and faster to do it at the end only.

Bug: 8526576
Change-Id: I707571179c89479830891ec6d4fd06a9fffed7c1
2013-07-17 20:47:53 +09:00
Tadashi G. Takaoka a62621ca56 am 1a894aeb: Merge "Distinguish key press in repeat key"
* commit '1a894aeb82b635d345fbdf1e520d7c21395d7acb':
  Distinguish key press in repeat key
2013-07-16 03:28:22 -07:00
Tadashi G. Takaoka 1a894aeb82 Merge "Distinguish key press in repeat key" 2013-07-16 10:26:10 +00:00
Tadashi G. Takaoka 6455172a70 Distinguish key press in repeat key
Bug: 9859367
Change-Id: Iad643f9785b193e1918a8363de4fefc3b7558bdf
2013-07-16 19:21:16 +09:00
Jean Chalard 8ab3c1bf44 am d893fe5d: Merge "Don\'t put spaces before and after asterisks"
* commit 'd893fe5dbb81c77ebe8040cf46e4747d2b4e4095':
  Don't put spaces before and after asterisks
2013-07-16 01:31:18 -07:00
Jean Chalard d893fe5dbb Merge "Don't put spaces before and after asterisks" 2013-07-16 08:07:53 +00:00
Tadashi G. Takaoka c4c6d05c6f am 488659e1: Merge "Add xxhdpi assets"
* commit '488659e1541f5b6ea915682736d73256d601222d':
  Add xxhdpi assets
2013-07-16 00:34:03 -07:00
Tadashi G. Takaoka 488659e154 Merge "Add xxhdpi assets" 2013-07-16 07:31:43 +00:00
Jean Chalard d160926659 am 2bc980ee: Merge "Serialize commands sent to a separate threads"
* commit '2bc980ee28f899f9647b2f1d64569c1bf0a062fc':
  Serialize commands sent to a separate threads
2013-07-16 00:23:36 -07:00
Jean Chalard 2bc980ee28 Merge "Serialize commands sent to a separate threads" 2013-07-16 07:21:07 +00:00
Jean Chalard 6a7a569831 Serialize commands sent to a separate threads
Bug: 9715797
Change-Id: I1eda4d2f0056f70cfb8a92d658e0875706efc170
2013-07-16 15:54:39 +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 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 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
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
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 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
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
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
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 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 65db026265 Fix: release lock in UserHistoryDictionary.
Change-Id: I050c252910c6b5b0a79cd2d52c525679f2d6091d
2013-07-04 23:12:49 +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
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
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 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 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 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
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
Jean Chalard 70ee2201a0 Merge "Do not re-resume suggestion if it's not needed." 2013-07-01 07:12:24 +00:00
Jean Chalard 544e36d961 am 3f0858eb: Fix a bug where no URL means refresh never ends
* commit '3f0858eb2bcb9414dd94e01991b02c785af7b871':
  Fix a bug where no URL means refresh never ends
2013-06-30 23:45:47 -07:00
Jean Chalard 675bcf191c Move Range out of RichInputConnection and rename it.
Range has grown a bit too big to stay an internal class.

Change-Id: Ic3fbc48a5d10776eedd7559c4d696e5926b88288
2013-07-01 15:41:13 +09:00
Keisuke Kuroynagi a62b5b22ef Regenerate old version dictionaries using new format.
Bug: 9617181
Change-Id: I228a3eac959f81b38e4092015e8e3c429d46fa60
2013-07-01 15:25:33 +09:00
Jean Chalard 3f0858eb2b Fix a bug where no URL means refresh never ends
This patch does two things:
- If there is no URL to download new data from, then the
Refresh button is not shown.
- Even if for some reason refresh starts for a client for
which there is no URL, loading correctly finishes.

Bug: 9388602
Change-Id: I3fd9214da50faa4b59d0bd3e775293dd34f07547
2013-07-01 14:47:30 +09:00
Jean Chalard f0af452ce2 Do not re-resume suggestion if it's not needed.
This is much better interface-wise. It eliminates all blinking
of the line in the practice.

Bug: 8874148
Bug: 8864306
Change-Id: I87754e44784327c2e9c8b162d598d145e20668e8
2013-07-01 14:40:12 +09:00
Kurt Partridge a9e975baa2 am 8142a7b6: Merge "Record number of words entered"
* commit '8142a7b637326e8fe8736de94246b1fffb4f2886':
  Record number of words entered
2013-06-28 10:04:00 -07:00
Kurt Partridge 8142a7b637 Merge "Record number of words entered" 2013-06-28 17:01:18 +00:00
Jean Chalard 8873ac60f9 am a5e28acf: Merge "Fix a bug where AOSP Latin IME would not fill dictionaries"
* commit 'a5e28acf634988f7589e4b1f07962863f15a991a':
  Fix a bug where AOSP Latin IME would not fill dictionaries
2013-06-28 07:05:33 -07:00
Jean Chalard 4936fa348a am 21c3a529: Merge "Update dictionaries"
* commit '21c3a529142cb8d07ed82b207b8d514204094b8b':
  Update dictionaries
2013-06-28 07:05:30 -07:00
Jean Chalard a5e28acf63 Merge "Fix a bug where AOSP Latin IME would not fill dictionaries" 2013-06-28 13:21:31 +00:00
Jean Chalard 21c3a52914 Merge "Update dictionaries" 2013-06-28 07:52:31 +00:00
Jean Chalard ffe7dbbe7a Update dictionaries
>>> dictionaries/cs_wordlist.combined.gz
Header :
  date : 1355802831 <=> 1372393817
  version : 29 <=> 35
Body :
Added: LTE 25

>>> dictionaries/de_wordlist.combined.gz
Header :
  date : 1355802835 <=> 1372393817
  version : 29 <=> 35
Body :
Added: LTE 25

>>> dictionaries/en_GB_wordlist.combined.gz
Header :
  date : 1366272052 <=> 1372393817
  version : 31 <=> 35
Body :
Deleted: Sea 126
Added: LTE 25

>>> dictionaries/en_US_wordlist.combined.gz
Header :
  date : 1366272093 <=> 1372393817
  version : 31 <=> 35
Body :
Added: LTE 25

>>> dictionaries/en_wordlist.combined.gz
Header :
  date : 1366272977 <=> 1372393837
  version : 31 <=> 35
Body :
Deleted: Sea 126
Added: LTE 25

>>> dictionaries/es_wordlist.combined.gz
Header :
  date : 1355802832 <=> 1372393817
  version : 29 <=> 35
Body :
Added: LTE 25

>>> dictionaries/fr_wordlist.combined.gz
Header :
  date : 1366272255 <=> 1372393818
  version : 31 <=> 35
Body :
Deleted: R'n'B 95
Deleted: count 60
Deleted: d'Inti 34
Added: beurk 25

>>> dictionaries/hr_wordlist.combined.gz
Header :
  date : 1355802836 <=> 1372393818
  version : 29 <=> 35
Body :
Added: LTE 25

>>> dictionaries/it_wordlist.combined.gz
Header :
  date : 1355802836 <=> 1372393818
  version : 29 <=> 35
Body :
Added: LTE 25

>>> dictionaries/lt_wordlist.combined.gz
Header :
  date : 1355802843 <=> 1372393818
  version : 29 <=> 35
Body :
Added: LTE 25

>>> dictionaries/lv_wordlist.combined.gz
Header :
  date : 1355802843 <=> 1372393818
  version : 29 <=> 35
Body :
Added: LTE 25

>>> dictionaries/nb_wordlist.combined.gz
Header :
  date : 1366003450 <=> 1372393818
  version : 31 <=> 35
Body :
Added: LTE 25

>>> dictionaries/nl_wordlist.combined.gz
Header :
  date : 1355802844 <=> 1372393818
  version : 29 <=> 35
Body :
Added: LTE 25

>>> dictionaries/ru_wordlist.combined.gz
Header :
  date : 1370244430 <=> 1372393835
  version : 34 <=> 35
Body :
Freq changed: связывание 93 -> 0

>>> dictionaries/sl_wordlist.combined.gz
Header :
  date : 1355802835 <=> 1372393835
  version : 29 <=> 35
Body :
Added: LTE 25

>>> dictionaries/sr_wordlist.combined.gz
Header :
  date : 1355802853 <=> 1372393835
  version : 29 <=> 35
Body :
Added: LTE 25

>>> dictionaries/sv_wordlist.combined.gz
Header :
  date : 1366003804 <=> 1372393836
  version : 31 <=> 35
Body :
Added: LTE 25

>>> dictionaries/tr_wordlist.combined.gz
Header :
  date : 1355802858 <=> 1372393837
  version : 29 <=> 35
Body :
Added: LTE 25

>>> java/res/raw/main_de.dict
Header :
  date : 1355802835 <=> 1372393817
  version : 29 <=> 35
Body :
Added: LTE 25

>>> java/res/raw/main_en.dict
Header :
  date : 1366272977 <=> 1372393837
  version : 31 <=> 35
Body :
Deleted: Sea 126
Added: LTE 25

>>> java/res/raw/main_es.dict
Header :
  date : 1355802832 <=> 1372393817
  version : 29 <=> 35
Body :
Added: LTE 25

>>> java/res/raw/main_fr.dict
Header :
  date : 1366272255 <=> 1372393818
  version : 31 <=> 35
Body :
Deleted: R'n'B 95
Deleted: count 60
Deleted: d'Inti 34
Added: beurk 25

>>> java/res/raw/main_it.dict
Header :
  date : 1355802836 <=> 1372393818
  version : 29 <=> 35
Body :
Added: LTE 25

>>> java/res/raw/main_ru.dict
Header :
  date : 1370244430 <=> 1372393835
  version : 34 <=> 35
Body :
Freq changed: связывание 93 -> 0

Bug: 9301610
Bug: 9607966
Change-Id: I1117ed85d97fbb0ee50f11bc31776f1970b56f12
2013-06-28 14:54:51 +09:00
Jean Chalard 555c4236db Fix a bug where AOSP Latin IME would not fill dictionaries
There is no reason not to contact the dictionary provider
when we don't have internet permission or when the URL
is empty. It knows how to handle both these cases.

Bug: 9388602
Change-Id: I30c4540551ad2f5e527d3acd1842bbd749feca89
2013-06-28 12:48:41 +09:00
Kurt Partridge 169571b3c0 Record number of words entered
This change records the number of words entered in every LogUnit.
This metric is helpful for determining how much multi-word gestures
and spaceless tapping is used.

Change-Id: I4c6d0f9d78e4ac2dd63fd53ed2ec70b368366f15
2013-06-27 12:30:00 -07:00
Jean Chalard 1634f8a7c4 am e04794cb: Fix some warnings
* commit 'e04794cbbeafec7463a91554d7c069deacddc744':
  Fix some warnings
2013-06-27 05:45:17 -07:00
Jean Chalard e04794cbbe Fix some warnings
Mostly remove unused imports

Change-Id: If8ceffdfad79b78194094527759f5c334746973e
2013-06-27 21:36:52 +09:00
Satoshi Kataoka 120a8da91c am 4ded1af2: Improve the language list in the personal dictionary
* commit '4ded1af21097652dcd0750d9b3f2f24df2904e25':
  Improve the language list in the personal dictionary
2013-06-27 04:36:03 -07:00
Satoshi Kataoka 4ded1af210 Improve the language list in the personal dictionary
Bug: 9117704
Change-Id: I26e6f8369a3c7ffa4bb651b4b5a3e6f004121983
2013-06-27 20:31:02 +09:00
Satoshi Kataoka 2221b89564 am ec69a259: Merge "Open an API in ExternalDictionaryGetterForDebug"
* commit 'ec69a259c60b89cfe5157dc6b43aa17f2f60d6ca':
  Open an API in ExternalDictionaryGetterForDebug
2013-06-27 03:33:33 -07:00
Satoshi Kataoka b6408d81e0 am a2bfd46a: Use internal personal dictionary settings on JBMR2 or before
* commit 'a2bfd46adf6aca5864be3d6ef2204bc18008e9c9':
  Use internal personal dictionary settings on JBMR2 or before
2013-06-27 03:33:32 -07:00
Satoshi Kataoka ec69a259c6 Merge "Open an API in ExternalDictionaryGetterForDebug" 2013-06-27 10:32:05 +00:00
Satoshi Kataoka a2bfd46adf Use internal personal dictionary settings on JBMR2 or before
Bug: 9117704
Change-Id: I7e20b03daa23b59211235183cf48d933e32845e4
2013-06-27 19:20:05 +09:00
Satoshi Kataoka bd84a00fc1 Open an API in ExternalDictionaryGetterForDebug
and extend it

Change-Id: Id2ba8dd8928a6327d3b31eb35f7cc314e2d31050
2013-06-27 18:41:07 +09:00
Jean Chalard 5fee4909f1 am 2bbd78ab: Merge "Ignore spans that are not the right size."
* commit '2bbd78ab0a0e6eb15c22365d03f58ccbcaff51e6':
  Ignore spans that are not the right size.
2013-06-26 20:08:09 -07:00
Jean Chalard 2bbd78ab0a Merge "Ignore spans that are not the right size." 2013-06-27 03:06:47 +00:00
Jean Chalard 2f7f6257b6 Ignore spans that are not the right size.
Bug: 8839763
Bug: 8862327
Change-Id: I5d49c86edcbc0fc1b2b147856437cfbadd678377
2013-06-26 23:02:50 +09:00
Ken Wakasa 17e37743dd am 16c418be: Merge "Follow-up to I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a"
* commit '16c418bebcb0ff5347235b2a5963b983eae2fb64':
  Follow-up to I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a
2013-06-26 04:33:30 -07:00
Ken Wakasa 16c418bebc Merge "Follow-up to I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a" 2013-06-26 11:32:25 +00:00
Jean Chalard c98d08b6b0 am 6c0e4121: Merge "Resume suggestion at start input"
* commit '6c0e4121376e9ce0b96d656f3aea3bfd80f2215e':
  Resume suggestion at start input
2013-06-26 03:19:30 -07:00
Jean Chalard 6c0e412137 Merge "Resume suggestion at start input" 2013-06-26 10:18:32 +00:00
Ken Wakasa 0053bc5832 Follow-up to I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a
Change-Id: I741a12508a3a05e2e517e187a7f197e6a661eddb
2013-06-26 18:09:34 +09:00
Ken Wakasa fe7b76aca6 am b1b21d4e: Make sure to always keep native methods
* commit 'b1b21d4eeaae27057ece50307723ec3d5de8f2e3':
  Make sure to always keep native methods
2013-06-26 02:05:19 -07:00
Ken Wakasa b1b21d4eea Make sure to always keep native methods
Saw a problem with proguard

Change-Id: I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a
2013-06-26 17:58:39 +09:00
Jean Chalard f608f0a6d3 am a690f3bc: Merge "Readability improvement"
* commit 'a690f3bc40268ccee20c44c7e359890b34eb2a8a':
  Readability improvement
2013-06-26 00:38:43 -07:00
Jean Chalard 9252ea38a9 am 173f74bb: Merge "Fixing follow-up to I548d899b"
* commit '173f74bb18016ccab3e5fad4c86c5201add41c30':
  Fixing follow-up to I548d899b
2013-06-26 00:38:42 -07:00
Jean Chalard a690f3bc40 Merge "Readability improvement" 2013-06-26 07:37:15 +00:00
Jean Chalard 173f74bb18 Merge "Fixing follow-up to I548d899b" 2013-06-26 07:36:44 +00:00
Jean Chalard fb72890ac6 Readability improvement
Change-Id: I2f350145f333ba1fa4eb20027b0f41107c2df02c
2013-06-26 16:03:40 +09:00
Jean Chalard 7fcf304c97 Fixing follow-up to I548d899b
I548d899b introduced a new method to fix a sync miss between
the cursor position and the cached cursor position, but did not
take into account that it should also update the cached text
before and after the cursor in this case and that there was
already a method for doing this.

Change-Id: I31bd741893207c822827304e77791b1159774e1a
2013-06-26 15:28:42 +09:00
Keisuke Kuroynagi 36108c2f85 am 5bf1be71: Add jni methods for dynamically handling a dictionary.
* commit '5bf1be71629607e7206e6203489cf742d2f8ed79':
  Add jni methods for dynamically handling a dictionary.
2013-06-25 22:32:43 -07:00
Keisuke Kuroynagi 5bf1be7162 Add jni methods for dynamically handling a dictionary.
Bug: 6669677
Change-Id: I8a26623adbb41a78e3c023c652be635c635e3b47
2013-06-26 12:51:33 +09:00
Baligh Uddin 4da287d0d1 Merge "Import translations. DO NOT MERGE" 2013-06-25 20:15:49 +00:00
Baligh Uddin 08215024c0 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-06-25 20:15:30 +00:00
Jean Chalard 2f69348d51 Resume suggestion at start input
Bug: 9568410
Change-Id: I65468268f8613c863fa7f3a497b64656da0a221c
2013-06-25 19:38:31 +09:00
Ken Wakasa ed42ccf102 am fd0945b0: Merge "Make UserLogRingCharBuffer an external class"
* commit 'fd0945b0da3e53109afc346432a7a8b40d715a0f':
  Make UserLogRingCharBuffer an external class
2013-06-25 02:42:13 -07:00
Ken Wakasa fd0945b0da Merge "Make UserLogRingCharBuffer an external class" 2013-06-25 09:40:31 +00:00
Ken Wakasa 9419e02fd9 Make UserLogRingCharBuffer an external class
Change-Id: I9d506995337d64ec11c72939a8d739423ee46efa
2013-06-25 18:38:13 +09:00
Jean Chalard 12d0e4f337 am 333362ad: Merge "Fix the one-suggestion case."
* commit '333362adfc2a6a3df980a23ea58eceea5f695b46':
  Fix the one-suggestion case.
2013-06-25 02:12:01 -07:00
Jean Chalard 333362adfc Merge "Fix the one-suggestion case." 2013-06-25 09:10:09 +00:00
Jean Chalard d7d5ff1f99 Fix the one-suggestion case.
When there is only one suggestion, this code does
not work. The reason for that is, it's not homogeneous
at all and takes indices of one thing into another.

Not completely related to b/8839763, but realized
working on this and needed to have it addressed.

Bug: 8839763
Change-Id: I422730cc7eebb69ff421a171025af0390ebcdf92
2013-06-25 18:00:30 +09:00
Keisuke Kuroynagi 9a5e0d9cfd am 38b54262: Merge "Add a parameter isUpdatable to the constructor of BinaryDictionary."
* commit '38b542629adb4e79cb08f6324f82307784e3da0f':
  Add a parameter isUpdatable to the constructor of BinaryDictionary.
2013-06-25 01:45:58 -07:00
Keisuke Kuroynagi 38b542629a Merge "Add a parameter isUpdatable to the constructor of BinaryDictionary." 2013-06-25 08:44:48 +00:00
Keisuke Kuroynagi 981717da4c Add a parameter isUpdatable to the constructor of BinaryDictionary.
Bug: 6669677
Change-Id: I6bc25131afd97112e3bbde036a81ab559a9a6460
2013-06-25 17:39:06 +09:00
Ken Wakasa a158159411 am 12ef7d37: Merge "Cleanup under the utils package"
* commit '12ef7d37021e2f99de5cc15826cc6dcd3250c41a':
  Cleanup under the utils package
2013-06-25 01:30:21 -07:00
Ken Wakasa 12ef7d3702 Merge "Cleanup under the utils package" 2013-06-25 08:20:57 +00:00
Ken Wakasa 03118a2760 Cleanup under the utils package
Change-Id: If2f7bd1346cc5085bf57645830f0faac44d017e4
2013-06-25 17:09:12 +09:00
Keisuke Kuroynagi 162f1f8928 am 8bc0b513: Merge "Allow mmapping dictionary file in writable mode in openNative."
* commit '8bc0b51369822b50c701cfe5a6ec612e5c94f75a':
  Allow mmapping dictionary file in writable mode in openNative.
2013-06-25 00:11:18 -07:00
Keisuke Kuroynagi 8bc0b51369 Merge "Allow mmapping dictionary file in writable mode in openNative." 2013-06-25 07:09:37 +00:00
Keisuke Kuroynagi f3b62900c7 Allow mmapping dictionary file in writable mode in openNative.
Bug: 6669677
Change-Id: I447668932de118b158fa029ddc977b3f3cc06cb8
2013-06-25 16:03:33 +09:00
Baligh Uddin d2f0d82220 Import translations. DO NOT MERGE
Change-Id: I17e9ad751b1e628c8a60bc2234180a37716d10e9
Auto-generated-cl: translation import
2013-06-24 22:02:24 -07:00
Jean Chalard cdb9fbfef7 am 10585620: Merge "Fix a bug in the cached cursor pos, and simplify selection handling"
* commit '10585620bdfad418f6c093ab4bfd8efaa2d84abf':
  Fix a bug in the cached cursor pos, and simplify selection handling
2013-06-24 22:01:55 -07:00
Jean Chalard 10585620bd Merge "Fix a bug in the cached cursor pos, and simplify selection handling" 2013-06-25 05:00:11 +00:00
Baligh Uddin 894e7962eb Import translations. DO NOT MERGE
Change-Id: Id9bb0441fc30d6e75a23afc4b47a17d674d2c4c8
Auto-generated-cl: translation import
2013-06-24 21:57:51 -07:00
Kurt Partridge d57a26b2a1 am 1fc6b800: Merge "Move splash screen to separate file"
* commit '1fc6b800095e2f630b006a61cea5f23feefb9a63':
  Move splash screen to separate file
2013-06-24 06:41:46 -07:00
Kurt Partridge 1fc6b80009 Merge "Move splash screen to separate file" 2013-06-24 13:40:01 +00:00
Jean Chalard 260284110d am cdf77412: Merge "Fix a small bug"
* commit 'cdf774122d29754d91aac162f7e7416b65583ea9':
  Fix a small bug
2013-06-24 03:01:53 -07:00
Jean Chalard cdf774122d Merge "Fix a small bug" 2013-06-24 10:00:05 +00:00
Ken Wakasa 292c5cc1d2 am bfaf349c: Load the native lib eagerly
* commit 'bfaf349c3554e11af8227a5f0807a74107a93069':
  Load the native lib eagerly
2013-06-24 02:16:04 -07:00
Ken Wakasa bfaf349c35 Load the native lib eagerly
in the hope of avoiding UnsatisfiedLinkError. This is definitely not a
confident fix as we still don't know the root cause of the issue.

bug: 9325110
Change-Id: I1abf8031b98509f63fce6a2d069d497895ea712c
2013-06-24 18:12:04 +09:00
Ken Wakasa d5f635a72f am bc181318: Merge "Move util classes to the latin/utils directory"
* commit 'bc1813186df823e4e1a5aabceb3198674387061e':
  Move util classes to the latin/utils directory
2013-06-24 01:51:02 -07:00
Ken Wakasa bc1813186d Merge "Move util classes to the latin/utils directory" 2013-06-24 08:49:06 +00:00
Tadashi G. Takaoka e189103e00 am fadff6ad: Merge "Fix possible divided by zeror error"
* commit 'fadff6ada189ab789daae76fb9d603d26244ee1c':
  Fix possible divided by zeror error
2013-06-24 01:45:45 -07:00
Tadashi G. Takaoka fadff6ada1 Merge "Fix possible divided by zeror error" 2013-06-24 08:44:17 +00:00
Tadashi G. Takaoka bafe4b8a4e Fix possible divided by zeror error
Bug: 9534022
Change-Id: I5ab575c724fd7a9e80c76a93d83949e81b2970bb
2013-06-24 17:39:36 +09:00
Jean Chalard ca52e1ca5a Fix a small bug
SpannableStrings are not the only type of Spanned, they are
only the mutable kind. SpannedString is the immutable one.
Spanned is the correct class to use there.

Bug: 8839763
Bug: 8862327
Change-Id: Ic5e6199a51f22368914f2748ac2d0d1ca6a33f78
2013-06-24 17:39:17 +09:00
Ken Wakasa e28eba5074 Move util classes to the latin/utils directory
Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
2013-06-24 17:04:40 +09:00
Jean Chalard 4023340775 am c074c335: Merge "Refactor text range to be able to get spans larger than the word"
* commit 'c074c3357c3bb0dfe92fff90bccbcab2b6ec422e':
  Refactor text range to be able to get spans larger than the word
2013-06-23 23:11:36 -07:00
Jean Chalard e8c4b99e56 Refactor text range to be able to get spans larger than the word
This changes how the Range class stores its data, but not its
functionality. It also improves encapsulation a bit.

Bug: 8839763
Bug: 8862327
Change-Id: I5bd583b3fc96a99b93a2632882d8fd587c03ab76
2013-06-24 12:31:14 +09:00
Tadashi G. Takaoka 82e21ee260 am 564ad492: Merge "Enable long-press digit input for tablets"
* commit '564ad4927c784e541e7f00bb17bea416cb06115e':
  Enable long-press digit input for tablets
2013-06-23 18:18:42 -07:00
Tadashi G. Takaoka 564ad4927c Merge "Enable long-press digit input for tablets" 2013-06-24 01:16:57 +00:00
Kurt Partridge 1a0750dc95 Move splash screen to separate file
Change-Id: I5cad5d5814303d7ca4abadd3fca1c37bd1bc357e
2013-06-22 10:24:13 -07:00
Jean Chalard 3f391865c1 am b7a2fd16: Merge "Defer disk-intensive tasks until after the keyboard is shown"
* commit 'b7a2fd16a139046587daaf44fdf73fed95cf6248':
  Defer disk-intensive tasks until after the keyboard is shown
2013-06-21 03:59:38 -07:00
Jean Chalard b7a2fd16a1 Merge "Defer disk-intensive tasks until after the keyboard is shown" 2013-06-21 10:57:33 +00:00
Jean Chalard 673c727b7a Defer disk-intensive tasks until after the keyboard is shown
Bug: 8689779
Change-Id: Ia78d3540f44ec0028c3246a8e0163e9ecf061ecf
2013-06-21 19:41:45 +09:00
Tadashi G. Takaoka 2cf3056354 am d02daf20: Merge "Fix punctuations strip"
* commit 'd02daf201631e5da042a43faf86e439c6904564c':
  Fix punctuations strip
2013-06-21 02:25:27 -07:00
Jean Chalard e5dee0af4a Fix a bug in the cached cursor pos, and simplify selection handling
The documentation for setComposingRegion states explicitly
that it does not move the cursor. This is just a bug.
This does not have any ill effects right now, but it will have
in later changes if not fixed.

As for the selection handling, the specific test that this code
removes used to serve a purpose, but it does not any more because
the code using the value has been much sanitized. Now the variable
can just take the obvious value, and become so self-explanatory
that the comments are unnecessary.

Change-Id: I548d899b38776bd3ab5f5361aab0d89d98f12e73
2013-06-21 18:15:07 +09:00
Tadashi G. Takaoka 9b570b5e62 Fix punctuations strip
Bug: 9508186
Change-Id: I8f0fbf4e0578cf9116d4c57e7e5747d38c89387e
2013-06-21 13:22:37 +09:00
Tadashi G. Takaoka ecd3b51444 Enable long-press digit input for tablets
Bug: 6632204
Change-Id: I8a62e78367c87c2fbb8f14575aef98035fa8440e
2013-06-21 13:00:23 +09:00
Baligh Uddin 0c178ffc8e Merge "Import translations. DO NOT MERGE" 2013-06-20 16:41:32 +00:00
Baligh Uddin a4d57a1790 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-06-20 16:41:14 +00:00
Jean Chalard 31036b9b18 am 93f74baf: Merge "Add tests to dicttool test."
* commit '93f74bafbb7e3fde207575a87c197c59f32411bd':
  Add tests to dicttool test.
2013-06-20 01:35:47 -07:00
Jean Chalard 93f74bafbb Merge "Add tests to dicttool test." 2013-06-20 08:34:38 +00:00
Jean Chalard 23d4eb55ba Add tests to dicttool test.
Bug: 8526576
Change-Id: Idd6f9cd076d5915361c68f5c29afbba67dd54eba
2013-06-20 17:29:37 +09:00
Tadashi G. Takaoka 7eb3b05cde am 7937f092: Lengthen CHAR LIMIT of settings_system_default
* commit '7937f09264623f38b411be2b5cca77f42fd192f9':
  Lengthen CHAR LIMIT of settings_system_default
2013-06-19 21:13:33 -07:00
Tadashi G. Takaoka 7937f09264 Lengthen CHAR LIMIT of settings_system_default
Bug: 9495443
Change-Id: Ib52d0ab357e79ae6004411f4b4201570a228bc71
2013-06-20 12:08:37 +09:00
Baligh Uddin d5e245bcaa Import translations. DO NOT MERGE
Change-Id: Ic7508cb2b5098403786af2f2e220d908dab51e8d
Auto-generated-cl: translation import
2013-06-19 15:50:15 -07:00
Baligh Uddin cff0696c27 Import translations. DO NOT MERGE
Change-Id: Ife8eafcb6b5951ade90967368fa461406c77be83
Auto-generated-cl: translation import
2013-06-19 15:45:17 -07:00
Tadashi G. Takaoka 3542fb9f27 am 9380b56d: Support digits more keys in Hebrew phone keyboard
* commit '9380b56db64b1ad5d165972e3bcc0ff75bba6768':
  Support digits more keys in Hebrew phone keyboard
2013-06-18 19:46:04 -07:00
Tadashi G. Takaoka 9380b56db6 Support digits more keys in Hebrew phone keyboard
Bug: 9431432
Change-Id: Ie1d438e0483022eac97cec52a64e49fbd3c7d503
2013-06-19 10:14:06 +09:00
Tadashi G. Takaoka 6e86ebe822 am c90181d6: Use system default key press volume
* commit 'c90181d6aa42c4c0b56ccc21528dcef84d186c53':
  Use system default key press volume
2013-06-18 09:05:47 -07:00
Tadashi G. Takaoka 7c1c4f3544 am af69a14c: Use system default vibration pattern
* commit 'af69a14c9684ef6f7a14e60cb635f96db530f6e7':
  Use system default vibration pattern
2013-06-18 08:56:09 -07:00
Tadashi G. Takaoka c90181d6aa Use system default key press volume
Bug: 9475973
Change-Id: I6ae825b161dde69e19b52d73fb9aa782e2aa7423
2013-06-18 21:34:30 +09:00
Tadashi G. Takaoka af69a14c96 Use system default vibration pattern
Bug: 9468462
Change-Id: Ifa46a56873c10888da8eaa2782fe07ef138a141b
2013-06-18 21:33:51 +09:00
Jean Chalard 0cae172563 am 3b5a503e: Merge "Optimize ProximityInfo#computeNearestNeighbors()"
* commit '3b5a503ebf08011fe852ac5b2e380f5a6a9cb93a':
  Optimize ProximityInfo#computeNearestNeighbors()
2013-06-18 04:48:35 -07:00
Jean Chalard 3b5a503ebf Merge "Optimize ProximityInfo#computeNearestNeighbors()" 2013-06-18 11:45:06 +00:00
Jean Chalard d55baf06d9 Optimize ProximityInfo#computeNearestNeighbors()
This cuts the time spent in computeNearestNeigbors by
a factor of 6 to 20, with an average at about 8.
This method representing about 25% of the total time
spent when switching keyboards, this change is a
20% improvement in layout switching time.

Bug: 8689779
Change-Id: Icb465f6010b317c7156057891c3341e51a198688
2013-06-18 20:33:52 +09:00
Tadashi G. Takaoka 6451fd3543 am 500b1f41: Merge "Get value text from ValueProxy"
* commit '500b1f410d65e461e667f72564d4c1579c26d1ac':
  Get value text from ValueProxy
2013-06-18 02:31:29 -07:00
Tadashi G. Takaoka 3be8263035 Get value text from ValueProxy
As a preparation to show "system default" in the settings. LatinIME
can't know the actual system default value.

Bug: 9468462
Change-Id: I0b7898d1ca29ded7a619dd636d2ad16eb0db292e
2013-06-18 18:27:17 +09:00
Jean Chalard 188856aed0 am 286877b3: Merge "Fix a bug with recapitalization"
* commit '286877b3afc6309b70c5216f05b94729aeb844f3':
  Fix a bug with recapitalization
2013-06-17 04:50:28 -07:00
Jean Chalard 2a81943d16 Fix a bug with recapitalization
This is a shameful bug :/

Bug: 9410367
Change-Id: I54ddbcd0323fa2c11fbd2aa8a1b3d2e07f6e83c8
2013-06-17 20:39:06 +09:00