Commit Graph

6338 Commits (2223aa904adace6459dd8d56264e88de38078af7)

Author SHA1 Message Date
Jean Chalard 0f3c05cd6b Merge "Send the dictionaries descriptions to the dict pack" 2013-02-23 10:18:03 +00:00
Jean Chalard 81e13359a7 am 76ead0ea: Fix a possible crash
* commit '76ead0ead06ab1c09c698247c19d1d2f4bd35d23':
  Fix a possible crash
2013-02-23 01:50:18 -08:00
Jean Chalard c6799ffeab Send the dictionaries descriptions to the dict pack
Bug: 8255795
Change-Id: I12a5922f50c2d2e3aa639457abcc1483e6a48721
2013-02-23 01:46:39 -08:00
Jean Chalard 76ead0ead0 Fix a possible crash
If the dictionary ID, as indicated in the metadata, is
less than three chars long, it crashes LatinIME.
Of course we don't have such dictionary IDs in the current
metadata, but it's still better to be able to handle
the case gracefully ^^;

Change-Id: I60cdf6f8ecce9f4d44b42ddd5d157aebff9a4163
2013-02-23 01:41:44 -08:00
Jean Chalard 1d08b1f0a7 am aefaec3c: Remove a cluttering log
* commit 'aefaec3c5fc4b9aa3126ae0a7f32133c0423e7e2':
  Remove a cluttering log
2013-02-23 00:55:17 -08:00
Jean Chalard aefaec3c5f Remove a cluttering log
Bug: 8175067
Change-Id: I9a104a32ba2b3b52a5dfa250f8c642abd6169cc0
2013-02-23 00:48:10 -08:00
Jean Chalard aeecc2f48e am 1b05ecb7: Merge "Pass the client ID to the dictionary pack in settings"
* commit '1b05ecb7ba3124e7d4d6f8c75335c5b5138be86e':
  Pass the client ID to the dictionary pack in settings
2013-02-23 00:09:57 -08:00
Jean Chalard 7aa9ff144a am 8b4023c4: Merge "Tiny cleanup"
* commit '8b4023c4d631d7ac240d8a30702c212b33595e0b':
  Tiny cleanup
2013-02-23 00:09:56 -08:00
Jean Chalard 1b05ecb7ba Merge "Pass the client ID to the dictionary pack in settings" 2013-02-23 08:08:34 +00:00
Jean Chalard 8b4023c4d6 Merge "Tiny cleanup" 2013-02-23 08:07:27 +00:00
Jean Chalard cd0f9aef05 am 2521edec: Fix a bug with the passed dictionary id
* commit '2521edec09373b2810093462c89221a2aca9e369':
  Fix a bug with the passed dictionary id
2013-02-22 23:12:35 -08:00
Jean Chalard 3c3b3c8690 Pass the client ID to the dictionary pack in settings
Bug: 6789534
Bug: 8256209
Change-Id: Ib63c18e7f18117ba888324febea13da47332b6c6
2013-02-22 21:24:15 -08:00
Jean Chalard 2521edec09 Fix a bug with the passed dictionary id
We used to make the dictionary that we passed to the
dictionary pack as an initial value based on the locale.
This is wrong - it should be read from the dictionary.
This change fixes that.

Bug: 7005813
Change-Id: Ib08ed31dd9c216f6f7b9c6c3174ca514bf96e06f
2013-02-22 20:49:48 -08:00
Jean Chalard da0d771fe9 Tiny cleanup
Change-Id: I5d7150a4abb3a498e790f41af569093217cb8b43
2013-02-22 19:42:45 -08:00
Jean Chalard df32362794 am 8f794c72: Merge "Fix how the Enter action is decided"
* commit '8f794c72db07786c866e357c7853c339882b45ef':
  Fix how the Enter action is decided
2013-02-22 16:16:01 -08:00
Jean Chalard 8f794c72db Merge "Fix how the Enter action is decided" 2013-02-23 00:13:27 +00:00
Jean Chalard 4e4f88127b Fix how the Enter action is decided
This unifies the software and hardware keyboard code
under a single decision process that works.

Bug: 8129303
Bug: 8152758
Change-Id: I7574c563d5f957d57bfe62fe5e3eec59a519d335
2013-02-22 16:01:37 -08:00
Baligh Uddin 97a5246f76 Merge "Import translations. DO NOT MERGE" 2013-02-22 23:49:17 +00:00
Baligh Uddin 76cf68d1a8 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-02-22 23:47:27 +00:00
Kurt Partridge b9825bf30e am b5c2033a: Merge "[TestPrep8] Narrow try/catch scope"
* commit 'b5c2033aa526b91b9ef3b71691a3ae11f657e135':
  [TestPrep8] Narrow try/catch scope
2013-02-22 11:39:44 -08:00
Baligh Uddin beae302efe Import translations. DO NOT MERGE
Change-Id: I75753bfe196bf52c7ec5534ce1996e035ea0f956
Auto-generated-cl: translation import
2013-02-22 10:51:10 -08:00
Baligh Uddin 7a54c7a52d Import translations. DO NOT MERGE
Change-Id: I86cb41c3f86a29bac9a3f93b6692e3f787156fdd
Auto-generated-cl: translation import
2013-02-22 10:46:46 -08:00
Kurt Partridge 3e279243c1 am c3252cfa: Merge "[TestPrep7] Encapsulate JsonWriter creation"
* commit 'c3252cfaf750d706f7280d32d1259e4367670bd9':
  [TestPrep7] Encapsulate JsonWriter creation
2013-02-22 06:15:40 -08:00
Kurt Partridge 744b363ae8 [TestPrep8] Narrow try/catch scope
Change-Id: If15f250feb81c2ad55ce1bc7dc3dafa57de87aef
2013-02-21 17:01:08 -08:00
Kurt Partridge 78c1ad32e6 [TestPrep7] Encapsulate JsonWriter creation
Change-Id: I4e97fa28dd0bb1101edc0db03f024432fee6f6fe
2013-02-21 17:01:08 -08:00
Kurt Partridge 8375f4f2c5 am 07050549: Merge "[TestPrep5] Parameterize MainLogBuffer"
* commit '07050549b1f91a787fadb553cc834f9833617041':
  [TestPrep5] Parameterize MainLogBuffer
2013-02-21 15:54:42 -08:00
Kurt Partridge 07050549b1 Merge "[TestPrep5] Parameterize MainLogBuffer" 2013-02-21 23:52:05 +00:00
Kurt Partridge 8cda557824 am bf0d6af3: Merge "[TestPrep4] Add some finals"
* commit 'bf0d6af3d38c1637b40ed9e844fc05471274a2d7':
  [TestPrep4] Add some finals
2013-02-21 14:15:38 -08:00
Kurt Partridge 4d13c6667d am 7c996475: Merge "[TestPrep3] Add helper method to retrive dictionary"
* commit '7c996475d8531af413c09d4ece51423b96edd172':
  [TestPrep3] Add helper method to retrive dictionary
2013-02-21 14:15:37 -08:00
Kurt Partridge 14ff187c39 am c8a1ec6e: Merge "[TestPrep2] Rename a method"
* commit 'c8a1ec6e4128240a8f666120dbc3fb066a717f00':
  [TestPrep2] Rename a method
2013-02-21 14:15:35 -08:00
Kurt Partridge be28c0c0b5 am 4e5a4ddb: Merge "[TestPrep1] Move MotionEvent.Action strings to LoggingUtils"
* commit '4e5a4ddbd06c3e98e931a789c13a9920fb3b4e16':
  [TestPrep1] Move MotionEvent.Action strings to LoggingUtils
2013-02-21 14:15:34 -08:00
Tadashi G. Takaoka 0e713e96b0 am 07296cf7: Merge "Use WordComposer.addKeyInfo for testing"
* commit '07296cf7fffad7282aee24d9313636cf64ffb178':
  Use WordComposer.addKeyInfo for testing
2013-02-21 14:15:32 -08:00
Tadashi G. Takaoka c1b8f5f56c am 46878544: Add preliminary setup wizard
* commit '46878544ec894fd3db368e183404a01c3e3ecc92':
  Add preliminary setup wizard
2013-02-21 14:15:31 -08:00
Kurt Partridge bf0d6af3d3 Merge "[TestPrep4] Add some finals" 2013-02-21 22:13:05 +00:00
Kurt Partridge 7c996475d8 Merge "[TestPrep3] Add helper method to retrive dictionary" 2013-02-21 21:18:32 +00:00
Kurt Partridge c8a1ec6e41 Merge "[TestPrep2] Rename a method" 2013-02-21 15:57:34 +00:00
Kurt Partridge 4e5a4ddbd0 Merge "[TestPrep1] Move MotionEvent.Action strings to LoggingUtils" 2013-02-21 14:54:46 +00:00
Tadashi G. Takaoka 07296cf7ff Merge "Use WordComposer.addKeyInfo for testing" 2013-02-21 06:20:01 +00:00
Kurt Partridge ab0bda1499 [TestPrep5] Parameterize MainLogBuffer
Change-Id: I6d84f490922cd1f40e44ca4f95c9d950fba38290
2013-02-20 19:37:12 -08:00
Kurt Partridge 22acdb540c [TestPrep4] Add some finals
Change-Id: Ib437a6ad7fd6a897e2bbc65afe881ae8a3b1cbb0
2013-02-20 19:37:12 -08:00
Kurt Partridge 19e05359e6 [TestPrep3] Add helper method to retrive dictionary
Change-Id: Id6e03c6f8a3e96979d589f0605ac056fcad7e1ff
2013-02-20 19:36:56 -08:00
Kurt Partridge b6d05aeb7c [TestPrep2] Rename a method
Change-Id: Id9a72045afa3558b20b9d63c8720fb7443d34fd9
2013-02-20 17:13:00 -08:00
Kurt Partridge 8d429bf1a8 [TestPrep1] Move MotionEvent.Action strings to LoggingUtils
Change-Id: I7b9ed800552f2fd546ed21e9dc06ea1ff5798337
2013-02-20 17:12:56 -08:00
Tadashi G. Takaoka 46878544ec Add preliminary setup wizard
Bug: 8159728
Change-Id: I30d9cd637fb1d2e64588550e0aa4387bc1f7e6e5
2013-02-21 09:54:02 +09:00
Tadashi G. Takaoka 5701a6647f Use WordComposer.addKeyInfo for testing
Change-Id: I500654e7a26717aa5547942357e56060afb72969
2013-02-20 17:09:25 +09:00
Tadashi G. Takaoka c4932d2616 am da348e11: Fix layout direction of Keyboard and Suggestions view
* commit 'da348e11ad43b5eaf70a6bad8551a86cd43a6512':
  Fix layout direction of Keyboard and Suggestions view
2013-02-18 00:26:15 -08:00
Tadashi G. Takaoka da348e11ad Fix layout direction of Keyboard and Suggestions view
Bug: 8167348
Change-Id: I5e0432707fff1dd3032686b733ba28bef305173a
2013-02-18 16:32:34 +09:00
Jean Chalard a2f89c525d am d4cbc4fd: Implement getting data files with protocol v2
* commit 'd4cbc4fd078cbb23be4eafe1cb82a8a470fca3a0':
  Implement getting data files with protocol v2
2013-02-15 19:41:27 -08:00
Jean Chalard d4cbc4fd07 Implement getting data files with protocol v2
This also does it for deleting them
Bug: 8167342
Bug: 6789534
Change-Id: I1823f98508881f109a667146d3608003f87aa4cb
2013-02-15 11:09:16 -08:00
Jean Chalard 9cf5e32879 am 4beaab2a: Merge "Determine the protocol version of the dictionary pack"
# Via Android (Google) Code Review (1) and Jean Chalard (1)
* commit '4beaab2a88ce616bdc8ca35248d65c1b649943a9':
  Determine the protocol version of the dictionary pack
2013-02-14 12:23:53 -08:00
Jean Chalard 4beaab2a88 Merge "Determine the protocol version of the dictionary pack" 2013-02-14 20:22:09 +00:00
Tadashi G. Takaoka 65bc373452 am 4c53e144: Merge "Add placeholder of keyboard setup wizard"
# Via Android (Google) Code Review (1) and Tadashi G. Takaoka (1)
* commit '4c53e144c184a7b084e9deecf5d1f1fe01ec1af9':
  Add placeholder of keyboard setup wizard
2013-02-14 01:05:37 -08:00
Tadashi G. Takaoka cb0beaf3f1 Add placeholder of keyboard setup wizard
Bug: 8159728
Change-Id: I5552e9d0ffa8f94d183e76378d55bba6f718adfe
2013-02-14 18:00:11 +09:00
Jean Chalard b1f27a2e26 Determine the protocol version of the dictionary pack
...for query.

Bug: 8167342
Change-Id: Ieb8e5b31c4b62bf507593c4631e31799aad5f267
2013-02-13 20:45:36 -08:00
Kurt Partridge d4d515f4bf am de3e5fbf: Merge "Cleanup in preparation for tests"
# Via Android (Google) Code Review (1) and Kurt Partridge (1)
* commit 'de3e5fbf9dfb2e4e34095e0c34e8aec8d8de02f5':
  Cleanup in preparation for tests
2013-02-13 15:35:50 -08:00
Kurt Partridge de3e5fbf9d Merge "Cleanup in preparation for tests" 2013-02-13 23:34:07 +00:00
Jean Chalard 81d09321f8 am d1f80f72: Merge "Clean up dictionary pack presence test."
# Via Android (Google) Code Review (1) and Jean Chalard (1)
* commit 'd1f80f72e33f79ae8ed94a279a9969cc238a83a7':
  Clean up dictionary pack presence test.
2013-02-13 11:42:08 -08:00
Jean Chalard d1f80f72e3 Merge "Clean up dictionary pack presence test." 2013-02-13 19:40:11 +00:00
Baligh Uddin 4a81b571a3 Import translations. DO NOT MERGE
Change-Id: Ib49331c1511dcc9efac19ceda0b70e3604f30791
Auto-generated-cl: translation import
2013-02-13 10:49:33 -08:00
Baligh Uddin c63cfa5a99 Import translations. DO NOT MERGE
Change-Id: I856a4dac1396dcf20bfa45a53b81829ad8f3468d
Auto-generated-cl: translation import
2013-02-13 10:43:39 -08:00
Kurt Partridge 531dd150eb Cleanup in preparation for tests
multi-project commit with I1212da392ecda0ad78962da68941870b5a651eee

Change-Id: Ie74af59d4e45bf954723fee9dcf350a36468c381
2013-02-12 20:48:44 -08:00
Jean Chalard a9df972780 Clean up dictionary pack presence test.
This method is much cleaner and much more readable.

Change-Id: I8055c169ef7c4453ab45c463704bd56a6080da4f
2013-02-12 17:59:36 -08:00
Baligh Uddin 69cc3cfe1f Import translations. DO NOT MERGE
Change-Id: I49fbafa8f9ef932fe4d2354c83fa86514726bb00
Auto-generated-cl: translation import
2013-02-12 13:33:27 -08:00
Baligh Uddin f60fad3987 Import translations. DO NOT MERGE
Change-Id: Ic418597418363ba57704b6d44ea33a862fbc621e
Auto-generated-cl: translation import
2013-02-12 13:28:55 -08:00
Kurt Partridge 97895d1586 am 04de6802: Merge "Add batchMode field to PickSuggestionManually"
# Via Android (Google) Code Review (1) and Kurt Partridge (1)
* commit '04de6802cc275ac7125ae558e5718c5fab336fca':
  Add batchMode field to PickSuggestionManually
2013-02-12 08:56:15 -08:00
Kurt Partridge 04de6802cc Merge "Add batchMode field to PickSuggestionManually" 2013-02-12 16:54:35 +00:00
Tadashi G. Takaoka d84c7a871d am fdb1ca56: Merge "Separate caps mode related utils to CapsModeUtils"
# Via Android (Google) Code Review (1) and Tadashi G. Takaoka (1)
* commit 'fdb1ca560e426e67c60c7f7324bc52022b1b3f07':
  Separate caps mode related utils to CapsModeUtils
2013-02-12 01:28:14 -08:00
Tadashi G. Takaoka fdb1ca560e Merge "Separate caps mode related utils to CapsModeUtils" 2013-02-12 09:26:16 +00:00
Tadashi G. Takaoka ce6bcdd1a5 Separate caps mode related utils to CapsModeUtils
Change-Id: I32700c434b296bb3fd39e040c2dda1fe90667daf
2013-02-12 18:15:42 +09:00
Tadashi G. Takaoka f6716e651f am 2c2942dd: Merge "Move parseCsvString to StringUtils"
# Via Android (Google) Code Review (1) and Tadashi G. Takaoka (1)
* commit '2c2942dd4bdea8581191866e2f06a0fa9dec18ed':
  Move parseCsvString to StringUtils
2013-02-11 23:59:49 -08:00
Tadashi G. Takaoka 2c2942dd4b Merge "Move parseCsvString to StringUtils" 2013-02-12 07:57:24 +00:00
Tadashi G. Takaoka b3fd701181 Move parseCsvString to StringUtils
Change-Id: I602f33991ca57b6057ec2defe01573552b322857
2013-02-12 16:18:19 +09:00
Jean Chalard d16059f918 am e26f0d43: Merge "Cleanups"
# Via Android (Google) Code Review (1) and Jean Chalard (1)
* commit 'e26f0d4320b9f3ad49a5c6d3f5f2ee78bac74a48':
  Cleanups
2013-02-11 22:50:51 -08:00
Jean Chalard e26f0d4320 Merge "Cleanups" 2013-02-12 06:49:41 +00:00
Tadashi G. Takaoka a869080b04 am 4cbe84ad: Merge "Fix RTL language key code mapping"
# Via Android (Google) Code Review (1) and Tadashi G. Takaoka (1)
* commit '4cbe84ad08f38bf9c6f8852b406f5052e862a747':
  Fix RTL language key code mapping
2013-02-11 22:45:16 -08:00
Tadashi G. Takaoka 4cbe84ad08 Merge "Fix RTL language key code mapping" 2013-02-12 06:43:40 +00:00
Tadashi G. Takaoka 9a2039d94e Fix RTL language key code mapping
Bug: 8168899
Bug: 8169343
Change-Id: I23120704e97d89d5ddec2b2bdff2a98a6daac4d5
2013-02-12 14:51:54 +09:00
Jean Chalard 1c5b2a41ec Cleanups
Follow-up to Idc6f419a

Change-Id: I4aae8f4e19f27a0a309879dc19af6e40906d58c5
2013-02-11 21:14:56 -08:00
Jean Chalard 08a2bbc738 am c6aaa48e: Merge "Some cleanups"
# Via Android (Google) Code Review (1) and Jean Chalard (1)
* commit 'c6aaa48ea7fa021112cc163730b5bce574c6877b':
  Some cleanups
2013-02-11 21:10:22 -08:00
Jean Chalard c6aaa48ea7 Merge "Some cleanups" 2013-02-12 05:09:31 +00:00
Tadashi G. Takaoka 41d66bea35 am 0b491917: Add translatable="false" for dictionary-pack.xml
# Via Tadashi G. Takaoka
* commit '0b49191797071d6674cae46eea9f76a8947945da':
  Add translatable="false" for dictionary-pack.xml
2013-02-11 21:03:22 -08:00
Jean Chalard 8018051022 Some cleanups
Improve a slew of logging statements, and put commands that we don't
expect to need protecting against exceptions out of a try {} block.

This is a followup to Id3dc510a

Change-Id: Idc6f419ac095b5b0f2d6862d58926ef888cb34e6
2013-02-11 19:47:15 -08:00
Tadashi G. Takaoka 0b49191797 Add translatable="false" for dictionary-pack.xml
This is a follow up of I770335a2.

Change-Id: If0c021f4fb630bda7e8985591094488e11917e9b
2013-02-12 12:07:03 +09:00
Jean Chalard c38a348f1b am 82441e60: Remove unnecessary whitespace
# Via Jean Chalard
* commit '82441e60e242681f2ea0d6e97105f819e3bd5071':
  Remove unnecessary whitespace
2013-02-11 13:36:08 -08:00
Jean Chalard 82441e60e2 Remove unnecessary whitespace
This is a cleanup followup to Id3dc510a

Change-Id: Ie64395eb4b6218fd8c73cacddeed2fba1df65d26
2013-02-11 13:31:47 -08:00
Jean Chalard d8348eeabf am b2eac474: Don\'t try to issue delete() commands on missing provider
# Via Jean Chalard
* commit 'b2eac474ff82d0dad41991cd0f1ae80a58f01be2':
  Don't try to issue delete() commands on missing provider
2013-02-11 12:50:32 -08:00
Jean Chalard b2eac474ff Don't try to issue delete() commands on missing provider
Bug: 8173622
Change-Id: Id3dc510ae3535169b5290e87075cb2f433a1f603
2013-02-11 12:38:24 -08:00
Kurt Partridge 71bc485b09 am d3c9ec81: Merge "Close file properly"
# Via Android (Google) Code Review (1) and Kurt Partridge (1)
* commit 'd3c9ec8133ae203b10eafc8547cbda51d995a44e':
  Close file properly
2013-02-11 11:25:49 -08:00
Baligh Uddin a92a97d2cd Merge "Import translations. DO NOT MERGE" 2013-02-11 18:34:47 +00:00
Baligh Uddin d069d67038 Import translations. DO NOT MERGE
Change-Id: Ibd74870cf9822bce34f54504972e8f7d52c43036
Auto-generated-cl: translation import
2013-02-11 10:23:54 -08:00
Baligh Uddin d4ca979165 Import translations. DO NOT MERGE
Change-Id: If167e26b62d1fa89e672da77fbcde015659e635f
Auto-generated-cl: translation import
2013-02-11 10:18:58 -08:00
Kurt Partridge d3c9ec8133 Merge "Close file properly" 2013-02-11 16:55:43 +00:00
Tadashi G. Takaoka 856057e6f1 am 5f5862c9: Merge "Change targetSdkVersion to 17"
# Via Android (Google) Code Review (1) and Tadashi G. Takaoka (1)
* commit '5f5862c9b44b45527a78c85e63b381e770f1bce6':
  Change targetSdkVersion to 17
2013-02-08 19:46:48 -08:00
Tadashi G. Takaoka d90e12aefb Change targetSdkVersion to 17
Bug: 7405756
Change-Id: If933fcad56d81dcc956b6114727e01be9686ee9c
2013-02-08 18:53:34 -08:00
Baligh Uddin 927c2d65e8 Merge "Import translations. DO NOT MERGE" 2013-02-08 20:19:02 +00:00
Baligh Uddin a4014e328e Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-02-08 20:18:46 +00:00
Baligh Uddin 1a1d4d98da Import translations. DO NOT MERGE
Change-Id: I1f4b366714462f2aa084ead58c67f8c82618cff5
Auto-generated-cl: translation import
2013-02-08 12:16:47 -08:00
Tadashi G. Takaoka 95328b44db am b0767dd4: Separate resource file for dictionary pack metadata
# Via Tadashi G. Takaoka
* commit 'b0767dd499264c8ab0dcb5ca833a66079524c4b3':
  Separate resource file for dictionary pack metadata
2013-02-08 12:15:38 -08:00
Baligh Uddin 13b5417703 Import translations. DO NOT MERGE
Change-Id: I517465f48844921772713e7205ddee9c6c4dcb19
Auto-generated-cl: translation import
2013-02-08 12:12:26 -08:00
Tadashi G. Takaoka b0767dd499 Separate resource file for dictionary pack metadata
Change-Id: I770335a25c3db12ec8440c4fcb208ca1d9c1fa32
2013-02-08 12:00:16 -08:00