Commit Graph

9505 Commits (a163a491c8c423d4777870d9f9d64462fa790400)

Author SHA1 Message Date
Jean Chalard 1dc7eca114 Remove references to the v3 dictionary.
Change-Id: I811c8c923ad67a6d9bfdd11bdef8991eb7135c27
2013-12-13 18:53:41 +09:00
Keisuke Kuroyanagi 3e81d9c39f Merge "Remove code for forgetting curve in Java side." 2013-12-13 09:44:16 +00:00
Keisuke Kuroyanagi cc8c544ee2 Remove code for forgetting curve in Java side.
Change-Id: I294ed179c642ff52452b5884326c1083477e1bce
2013-12-13 18:40:58 +09:00
Tadashi G. Takaoka 815a339201 Fix key top letter color in shifted layout
There is a chance to have an empty hint label even though
keyLabelFlags has hasShiftedLetterHint flag.

Change-Id: I63b9fcc42a40391d5902814cae4c75abb61e4b94
2013-12-13 18:34:30 +09:00
Jean Chalard a245d15da5 Have dicttool use the native library to generate v4 dicts.
Yay !

Change-Id: Iea8ced9e81031b9ab7eff05ad9ef7215be248de9
2013-12-13 18:18:20 +09:00
Jean Chalard af0c222a5e Merge "Remove flags from Java side." 2013-12-13 09:17:10 +00:00
Jean Chalard 7b55cd3e2b Remove flags from Java side.
This simplifies the code quite a bit.
- GERMAN_UMLAUTS are now handled through a key-value attribute.
  The dictionary generator does not need to know about it any more.
- FRENCH_LIGATURES are deprecated as we handle them with shortcuts now.
- CONTAINS_BIGRAMS is deprecated. Bigram processing is always applied
  regardless of this flag.

Bug: 11281748
Change-Id: If567e52e245a9342adc7f3104a0f7d8d782df8c1
2013-12-13 18:15:05 +09:00
Tadashi G. Takaoka a5b196e939 [FIX] Separate form factor dependent config resources
This is a cherry-pick of I668b55a514.

Change-Id: I00e9a74812d622c12af0337ba50e1b2f1d675cf1
2013-12-13 18:01:01 +09:00
Ken Wakasa 2fa3693c26 Reset to 9bd6dac470
The bulk merge from -bayo to klp-dev should not have been merged to master.

Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
2013-12-13 17:13:32 +09:00
Keisuke Kuroyanagi 9642286c01 Make ExpandableBinaryDictionary usable for offdevice tests.
Bug: 11956652
Change-Id: If5a503ef161781818f2efceba542be5a61be6bd1
2013-12-13 14:48:43 +09:00
Keisuke Kuroyanagi 9bd6dac470 Add a constructor for testing to non-main dictionaries.
The new constructor is used for creating dictionary instance
that uses a given file.

Bug: 11956652
Change-Id: Ifbf420a1a768eb95a5c3a58eeb1be5936b306d35
2013-12-12 20:14:06 +09:00
Keisuke Kuroyanagi d06de553b2 Add waitAllTasksForTests for testing.
Bug: 10667710
Change-Id: I7a189e32286a6005393fbde8da736541ca9226a8
2013-12-12 17:08:51 +09:00
Keisuke Kuroyanagi 9ff51527a3 Quit passing header file path to native.
Bug: 12089197
Change-Id: Ia898f8d2836c0c131a1834dc0a396d9121ecb972
2013-12-12 16:48:34 +09:00
Jean Chalard 9fa221a7bd Remove dependency from StringUtils to Json
Change-Id: I2a89497fb9ec12a37ba09f4598742e88f6700576
2013-12-12 13:55:56 +09:00
Tadashi G. Takaoka 79cc690f55 Fix Filipino keyboard
Bug: 12102802
Change-Id: Id55ba5ebd8ddaf83ed246315d81b25ad4c9b6294
2013-12-12 11:12:23 +09:00
Keisuke Kuroyanagi 549ae3d84e Merge "Create ver4 dictionary files with the dictionary name." 2013-12-11 10:42:16 +00:00
Keisuke Kuroyanagi 84cc5a2c76 Create ver4 dictionary files with the dictionary name.
Bug: 12025402

Change-Id: Ia0bb13b2e26aa60a67dff73f3f6a1e276f1bb1dd
2013-12-11 19:30:18 +09:00
Tadashi G. Takaoka 0719c4ca72 Merge "Ignore other finger while showing more keys keyboard" 2013-12-11 09:20:02 +00:00
Tadashi G. Takaoka 7f82bb55ed Ignore other finger while showing more keys keyboard
Bug: 12088861
Change-Id: I784cb8fee247a7a4ea4af4c0569fed9334430e18
2013-12-11 18:12:45 +09:00
Tadashi G. Takaoka 7ca3dbe3e5 Merge "Don't start long press timer while other one is running" 2013-12-11 08:07:47 +00:00
Tadashi G. Takaoka fa860a091e Don't start long press timer while other one is running
Bug: 11908158
Bug: 12088861
Change-Id: I2537855f505884da9fe958d946c79840bd19dc5f
2013-12-11 17:01:26 +09:00
Jean Chalard 502f3aca01 Merge "Read options from attributes" 2013-12-11 07:39:00 +00:00
Jean Chalard f2e703eb95 Read options from attributes
This reads the German umlaut option from the key-attribute
store, and removes all native references to the flag.
This also completely removes the French ligatures option which
has been unused for some time.

Bug: 11281748
Change-Id: I407c02640ad0f2e01585db9087633c01507b5f3f
2013-12-11 15:43:47 +09:00
Tadashi G. Takaoka 0a190a389f Merge "Rename deprecated locale directories" 2013-12-11 06:01:34 +00:00
Keisuke Kuroyanagi ad2d34f80a Rename PersonalizationPredictionDictionary.
Change-Id: If7497310485a895dd22b8df29dc13508acaa0ab6
2013-12-11 14:09:00 +09:00
Ken Wakasa 423422c437 Rename deprecated locale directories
cf. Ibe392f5f9dbc82c3cdff8e06b958bc3bcce3fa82

Also, cf. bug id 11340849

Change-Id: I43e84f8ca04eb1aa74037a705970a36434429a0f
2013-12-11 13:27:46 +09:00
Jean Chalard 97351ad34c Merge "Fix typos." 2013-12-11 03:41:23 +00:00
Tadashi G. Takaoka 9273c0e21f Merge "Revise settings icon to cog style" 2013-12-11 03:40:19 +00:00
Tadashi G. Takaoka 36b28b435b Revise settings icon to cog style
Bug: 12066907
Change-Id: Iaed4ab0b6bfe6bd0b3762bb0d30df0718f9fc269
2013-12-11 12:37:33 +09:00
Jean Chalard a8ffdf0288 Merge "Split the header into a separate file." 2013-12-11 03:37:05 +00:00
Jean Chalard 83c879ad67 Fix typos.
One of these cost me a day and a half searching for a bug :(

Change-Id: I20f0b727f7c02e2754aaaf6a05b74c9cf9e6375e
2013-12-11 12:06:05 +09:00
Jean Chalard 3839defc90 Split the header into a separate file.
Bug: 11281748
Change-Id: Ia2490d18bf159990310e10ed45fb6b3a0dee1c5f
2013-12-11 12:03:40 +09:00
Keisuke Kuroyanagi 499371a5ef Remove PersonalizationDictinoary.
Now, PersonalizationPredictionDictionary can be used not only
for prediction but also for suggestions.
We should rename PersonalizationPredictionDictionary to
PersonalizationDictionary.

Change-Id: Ifcf4459072f3523e3f3dc783f12e15b89cdbb12d
2013-12-11 11:09:52 +09:00
Keisuke Kuroyanagi 7c8075c2ac Uncapitalized words for personalization dictionary.
Bug: 11736529
Change-Id: I62a7469afe03092ec992bfb190f717223a8c556f
2013-12-10 19:19:18 +09:00
Tadashi G. Takaoka a2bbb1213d Remove obsolete warning message
This is a follow up of I5655c5703b.

Change-Id: I4a61689eb275b54648c6112c9f8709e4a9c35a5e
2013-12-07 18:59:13 +09:00
Tadashi G. Takaoka 4d02aa4e8c Add punctuations letters to period key on tablet
Bug: 11918360
Change-Id: I5655c5703bfcb541c9ff4b7e0da2f9b8e14947d0
2013-12-06 18:24:20 +09:00
Tadashi G. Takaoka 637ecce74c Merge "Consolidate multiple locales' period key definition" 2013-12-06 09:21:26 +00:00
Jean Chalard 90c9199753 Merge "[RF4] Actually remove ver4 dicts" 2013-12-06 08:54:33 +00:00
Keisuke Kuroyanagi fc16c320c6 Merge "Add a jni method to fetch unigram information." 2013-12-06 08:53:21 +00:00
Keisuke Kuroyanagi 9fb28f78f7 Add a jni method to fetch unigram information.
Bug: 11956652

Change-Id: I59f1823bbc0146f6d2f34cbed8166bb6de197208
2013-12-06 17:17:38 +09:00
Jean Chalard c5db41a9d5 [RF4] Actually remove ver4 dicts
And fix a couple bugs.

Bug: 11281748
Change-Id: If07953a4b1ff9eb1165af03fdb332d7e47cd8f32
2013-12-06 17:07:59 +09:00
Tadashi G. Takaoka 5bf55a86d0 Return null if "!text/" reference is an empty text
Change-Id: I01826f3e09527348fb4cba3302a9394ff34f424a
2013-12-06 16:51:11 +09:00
Tadashi G. Takaoka aab0140390 Consolidate multiple locales' period key definition
Bug: 11918360
Change-Id: If59043709a433a57846de07e150bf9c14b614d52
2013-12-06 15:25:47 +09:00
Jean Chalard a72e8f1ede [RF3] Cleanups
Make the version number a single number on native and java side.
Also, remove the hasValidContents method. It's useless since the
native code already checks this when creating the dictionary (I
wish I had known that when I added it).

Bug: 11281748
Change-Id: I572d37429972b2f280e4bdb748b709e5d0d7737e
2013-12-06 14:53:03 +09:00
Jean Chalard cb27d955f3 Merge "[RF2] Some refactoring and some cleanup" 2013-12-06 04:30:25 +00:00
Jean Chalard b8481456f2 [RF2] Some refactoring and some cleanup
Bug: 11281748
Change-Id: Iff45fdf6b23f77c08271a169c7d7ca45912c85e8
2013-12-06 13:06:49 +09:00
Tadashi G. Takaoka 08b84a6bed Fix background of ".com" key on tablet symbols
Bug: 12023755
Change-Id: I9eb8c1e5c637ddc6f0f36b783fcb289b5865ac22
2013-12-06 12:16:25 +09:00
Tadashi G. Takaoka 6300168cb8 Fix puctuations more keys on Spanish/Phone
Bug: 11918360
Change-Id: I01e1c1e2a1953855bd2b009fc2d82e18cdde7140
2013-12-05 18:54:29 +09:00
Tadashi G. Takaoka 4cd86d3bb4 Cleanup exclamation and questuion keys
Bug: 11918360
Change-Id: I00731a273beea6dbc300dc215996dcadd97f17e2
2013-12-05 18:53:32 +09:00
Tadashi G. Takaoka 624fcde18b Cleanup comma key of Arabic/Farsi
Bug: 11918360
Change-Id: I4ab373d8fc012fd77a388a067d7f5d99d8247299
2013-12-05 18:15:45 +09:00
Tadashi G. Takaoka 3064b831e6 Merge "Separate symbols comma-period from main keyboard ones" 2013-12-05 09:02:00 +00:00
Tadashi G. Takaoka 72ce5fdcf6 Remove puctuationKeyStyle key style definition
This change also separates period key definition from row_qwerty4.

Bug: 11918360
Change-Id: I7156be7098987f8447698a57af84e2ea3fc595f6
2013-12-05 17:31:06 +09:00
Tadashi G. Takaoka e7296d4bf4 Separate symbols comma-period from main keyboard ones
Bug: 11918360
Change-Id: Ia96230d1eb692bbc61842f1cd12ba980d5487017
2013-12-05 13:52:03 +09:00
Tadashi G. Takaoka c8a7a7dce3 Merge "Fix size of AOSP launcher icon" 2013-12-05 04:51:24 +00:00
Tadashi G. Takaoka f6b479d482 Add exclamation/question marks to Hebrew tablet keyboard
Bug: 11918360
Change-Id: I226f8fbb2177f472f69b56faca2a141687734494
2013-12-05 12:47:47 +09:00
Tadashi G. Takaoka 401951849f Fix size of AOSP launcher icon
Bug: 11975011
Change-Id: I5463d4a9f386ca053a81883c2e0b3f999e4bdbb2
2013-12-05 10:01:14 +09:00
Tadashi G. Takaoka 1eb63684f9 Merge "Add workaround to prevent ViewPager from crashing" 2013-12-04 09:05:07 +00:00
Tadashi G. Takaoka 5086275d39 Add workaround to prevent ViewPager from crashing
Bug: 11721001
Change-Id: I0824f82c30a288a3c1f0ea69e07f10bdeb744bbc
2013-12-04 17:46:15 +09:00
Tadashi G. Takaoka 8b6c096f39 Merge "Fix wrong padding of some background drawables" 2013-12-04 08:23:05 +00:00
Jean Chalard 743c7e0e6e Merge "[RF1] Remove files that don't match the expected format, step 1" 2013-12-04 08:19:26 +00:00
Keisuke Kuroyanagi c63f2762cc Merge "Start to use historical info." 2013-12-04 08:03:53 +00:00
Tadashi G. Takaoka 2b74e8cd01 Fix wrong padding of some background drawables
Bug: 11796504
Change-Id: I68caed78a84315eb80ae9247d2a38cd2aeb80f22
2013-12-04 16:20:14 +09:00
Jean Chalard 5e80e699c4 [RF1] Remove files that don't match the expected format, step 1
This implements the skeleton implementation, and enables a
fallback implementation in the case the file is coming from the
dictionary provider.
- A better scheme should be used for provider-supplied dicts.
- This does not implement the solution for device-generated
    dicts yet. This will come in a future change.
- This does not implement the checking process on the native
    side yet. This will come in a future change.

Bug: 11281748
Change-Id: Ifa6e237d19dfbffe503e3674915480ea867b0ddf
2013-12-04 16:19:55 +09:00
Keisuke Kuroyanagi cddb753b3e Merge "Quit using obsolete methods for testing." 2013-12-04 07:08:23 +00:00
Tadashi G. Takaoka d3fb12e7e2 Merge "Revise AOSP Android Keyboard launcher icon" 2013-12-04 07:06:20 +00:00
Keisuke Kuroyanagi e33072eb50 Quit using obsolete methods for testing.
Bug: 11073222
Change-Id: I77c99fbea2f255dbfddb646b6e12bee574647eca
2013-12-04 16:03:53 +09:00
Keisuke Kuroyanagi 4d68867839 Start to use historical info.
Bug: 11073222
Change-Id: I232d41bec5df7952856b5ba4765977707c39b94a
2013-12-04 12:52:58 +09:00
Tadashi G. Takaoka 8e1f0bcfb2 Revise AOSP Android Keyboard launcher icon
Bug: 11975011
Change-Id: Idc083b670ccbd956bfbacf25317c6541ab73c633
2013-12-04 12:51:17 +09:00
Tadashi G. Takaoka 7081a36e2f Merge "Add spacebar background drawable" 2013-12-04 03:47:41 +00:00
Tadashi G. Takaoka dc337df48c Add spacebar background drawable
Bug: 11106827
Change-Id: Ic6e0b6bd9187901b01d64296db816afa73da9ffd
2013-12-04 12:31:10 +09:00
Keisuke Kuroyanagi a0befc6490 Start passing timestamp for dynamic dictionaries.
Bug: 11073222
Change-Id: I89e1277f734d5959e33d61e7e9e7048084b9007a
2013-12-04 11:57:45 +09:00
Ken Wakasa aac4a8094f Merge "Revert "Import translations. DO NOT MERGE"" 2013-12-03 11:15:53 +00:00
Ken Wakasa a15ea70075 Revert "Import translations. DO NOT MERGE"
This reverts commit 7d587e61a1.

Change-Id: I00cb2b54fb98e18a26572b210f90d98c0fbef711
bug: 11978309
2013-12-03 11:14:37 +00:00
Ken Wakasa 64ead8d293 Merge "Add required header attributes for user/contacts dictionary." 2013-12-03 10:23:51 +00:00
Keisuke Kuroyanagi 8bfc8c46ff Add required header attributes for user/contacts dictionary.
Bug: 11973488

Change-Id: I91ef720a24633aec0f4e81cd4f7c49c749805c49
2013-12-03 19:22:17 +09:00
Jean Chalard 25848af556 Tiny refactoring
Add a warning comment and make it so that openNative()
is only called in one place in the code.

Bug: 11281748
Change-Id: Ic7819a01deb62cf145ebf9d620da2d15fae19313
2013-12-03 17:46:56 +09:00
Tadashi G. Takaoka dfd9182b15 Move launcher icon from mipmap to drawable
Bug: 11106827
Change-Id: I45e64759ce095669be557957fa27eb7f9933e188
2013-12-03 12:44:06 +09:00
Tadashi G. Takaoka 6d9e273fb5 Separate common config and dimensions resources
Change-Id: Ia16880e818927bc3df7292e130b2f7b5efc9776e
2013-12-03 12:14:27 +09:00
Geoff Mendal 7d587e61a1 Import translations. DO NOT MERGE
Change-Id: I5788ec86a313e69269d7d58f3309fbe42d24439c
Auto-generated-cl: translation import
2013-12-02 15:10:39 -08:00
Geoff Mendal 8db783ba81 Import translations. DO NOT MERGE
Change-Id: I6c8ab6cd6d41a6692ef6b084e0218be4120d266c
Auto-generated-cl: translation import
2013-12-02 15:05:00 -08:00
Keisuke Kuroyanagi d1501ea789 Make contacts/user dictionary ver2.
Change-Id: I10c29bd45fd37d765f115333087e1700dd90570b
2013-12-02 21:59:56 +09:00
Jean Chalard 5fa4ad6a85 Merge "Fix some more tests" 2013-12-02 12:41:25 +00:00
Jean Chalard ca5c7a9e14 Fix some more tests
Bug: 11960453
Bug: 11954718
Change-Id: I71e98cc6ab30cc89e921e9ef578d7f6366049d01
2013-12-02 21:05:26 +09:00
Tadashi G. Takaoka 816c0ba947 Rename config resource name to be matched with attribute name
This is a followup of I6fb11b8cb5.

Change-Id: I2a78affabf278e13fdeb2d4fcb0e5d26fb748a8b
2013-12-02 20:34:53 +09:00
Tadashi G. Takaoka 770b00874b Remove KeyEventHandler
Change-Id: Iddde1f85139cb21bde6e4fc275c32f3d62f4862f
2013-12-02 20:25:25 +09:00
Tadashi G. Takaoka 5d311f2c13 Merge "Add config_ prefix to the resource names merged from dimens.xml" 2013-12-02 11:14:07 +00:00
Jean Chalard 576c753d25 Fix an obvious bug
This had to be a typo

Change-Id: Id49e44d7667d64b00e883c55c683535398b6bdea
2013-12-02 20:04:52 +09:00
Tadashi G. Takaoka 8c6052bce1 Add config_ prefix to the resource names merged from dimens.xml
Change-Id: I6fb11b8cb52c06b805fb17d61450d7df50e4e20d
2013-12-02 20:01:15 +09:00
Tadashi G. Takaoka b3ded391e0 Merge "Merge dimens.xml to config.xml" 2013-12-02 10:57:18 +00:00
Tadashi G. Takaoka 5a9c78855a Merge dimens.xml to config.xml
Change-Id: Ib5b1a72313e1358f6bb4051e693f889833548e3c
2013-12-02 19:46:21 +09:00
Keisuke Kuroyanagi 545e4191b3 Merge "Quit recording LastUserHistoryWriteTime." 2013-12-02 10:10:32 +00:00
Keisuke Kuroyanagi cffe4d2d0f Quit recording LastUserHistoryWriteTime.
Change-Id: I0f2b408b4976d8119c932654e23836803d42c568
2013-12-02 18:45:32 +09:00
Jean Chalard 9ab71eda83 Fix tests.
This fixes a few bugs that became apparent with the
reinstating of a test.

Bug: 11954718
Change-Id: I1127bc3180f856566429f40d14c944e6f0007e09
2013-12-02 18:15:22 +09:00
Tadashi G. Takaoka 9a0216def9 Avoid NPE by checking
Bug: 11956240
Change-Id: I3de1ebbf96fa2422124e4d8e50190adfa09b8a49
2013-12-02 16:25:20 +09:00
Tadashi G. Takaoka 75eb9c8934 Rename spacing and punctuations resource file names
Change-Id: Ia3ae5dbaa2d5495f01cbc5da26ec8deb523442a5
2013-12-02 15:36:04 +09:00
Tadashi G. Takaoka ab18fb1289 Separate auto correction and spellchecker configurations
Change-Id: If65e19725da941fd36d566cdcf3bc9c343c04cbb
2013-12-02 15:21:20 +09:00
Tadashi G. Takaoka 6a8cf1edbe Revised screen metrics value of LatinImeLogger
Bug: 11955386
Change-Id: Id8896acaa2c82d68fad59628d12e229c9d86c17e
2013-12-02 14:34:26 +09:00
Tadashi G. Takaoka 4398bef95a Separate dictionary pack configuration values
Change-Id: I0112eb55798a36c8e3c6ed6f7363345724c1935d
2013-12-02 14:16:50 +09:00
Tadashi G. Takaoka 0f1c290e9d Merge "Remove unused resources" 2013-12-02 04:09:32 +00:00
Tadashi G. Takaoka bbd0c4fd2f Remove unused resources
Change-Id: Ie0fdf019373557b3f5cc4d93159d10e4092edaa3
2013-12-02 13:01:05 +09:00
Tadashi G. Takaoka 0811f7539c Add device form and oriantation comments
Change-Id: I455ef79862a0e5f7c6a4c4095d0f1ee3d632a7f6
2013-12-02 12:24:27 +09:00
Jean Chalard d7337a72bc Merge "Fix auto-detection of format 4." 2013-11-29 10:31:37 +00:00
Jean Chalard 26c9af33a7 Fix auto-detection of format 4.
Bug: 11073222
Change-Id: I76e47d0399cf43fc3cc18cb1252f166be86b9a69
2013-11-29 19:10:19 +09:00
Tadashi G. Takaoka 3f8c1d4a19 Clean up PointerTracker a bit
Change-Id: I227501607ee1476c2f6faceca1c3c0833778a0ee
2013-11-29 16:55:25 +09:00
Tadashi G. Takaoka 18ffeaba16 Use interfaces instead of MainKeyboardView class
Change-Id: I760b107d804fc84153f08667f20061fedd308841
2013-11-29 12:19:49 +09:00
Tadashi G. Takaoka ccc86630a2 Rename StaticInnerHandlerWrapper to LeakGuardHandlerWrapper
Change-Id: I024f0ee9c7f7718afc8a4ca0c6c49f2e88b035ad
2013-11-29 12:15:40 +09:00
Keisuke Kuroyanagi 22e28d5a2d Merge "Add version check to open binary dictionary." 2013-11-28 11:52:59 +00:00
Keisuke Kuroyanagi 8ac3c65b00 Add version check to open binary dictionary.
Bug: 11073222
Change-Id: Iabae12b8f14a9da3cdc804dcc6af443cedeb3f99
2013-11-28 20:40:26 +09:00
Tadashi G. Takaoka 2e2af0e1e1 Merge "Move MainKeyboardView.KeyTimerHandler to top level class" 2013-11-28 10:21:41 +00:00
Tadashi G. Takaoka 3fd16cbaa8 Merge "Move MainKeyboardView.DrawingHandler to top level class" 2013-11-28 10:21:34 +00:00
Tadashi G. Takaoka 3c764b2e96 Move MainKeyboardView.KeyTimerHandler to top level class
Change-Id: Iec310b7fc6127a8a5491dbb9f8f073e455e7ba29
2013-11-28 19:03:37 +09:00
Jean Chalard 33e777fe08 Merge "Change the timing of reading the previous word." 2013-11-28 09:57:22 +00:00
Tadashi G. Takaoka c82e99caa0 Move MainKeyboardView.DrawingHandler to top level class
Change-Id: I7a785725d5eb0b594485ceb25695a89c017cc60f
2013-11-28 18:56:15 +09:00
Jean Chalard 4866a3e918 Change the timing of reading the previous word.
Bug: 11328842
Change-Id: I08229e895fc34403932648b9b931583d965f0e01
2013-11-28 18:51:03 +09:00
Jean Chalard 177a86d394 Merge "Fix getNthPreviousWord." 2013-11-28 09:02:46 +00:00
Tadashi G. Takaoka b1d87850ec Fix updating list preference summary for unknown value
Change-Id: I86d3162a90e0068e787a906c0d3d64102487620a
2013-11-28 14:12:29 +09:00
Jean Chalard da459787e2 Fix getNthPreviousWord.
This should take into accounts word connectors.

Change-Id: Ic7fa5c837cd65a43ba43d7ae9d299b8d20019892
2013-11-28 11:41:23 +09:00
Keisuke Kuroyanagi 3c7b603c46 Merge "Start using Ver4 dictionary format." 2013-11-27 10:02:21 +00:00
Tadashi G. Takaoka 169d76cc5c Merge "Disable mic key on more keys when voice IME is disabled" 2013-11-27 09:56:42 +00:00
Tadashi G. Takaoka b70a419a9e Disable mic key on more keys when voice IME is disabled
Bug: 11883501
Change-Id: Ie3f496935f9600e2bde51cbebed2b4f8c90c25b2
2013-11-27 18:36:08 +09:00
Jean Chalard 4735e1d32a Merge "Fix messages in tests" 2013-11-27 08:44:31 +00:00
Jean Chalard dfc5aade2d Fix messages in tests
They are not failing because of this right now, but future
tests would fail without this.
Concretely, since the Handler for any given main thread is
a singleton managed by the framework, the messages won't
be removed automatically. In particular, messages posted
with a delay have a large destructive potential, because
they will go through before the startInputViewInternal
method is called, because it's called with a message too (in
turn, this is because of working around framework bugs).

Bug: 11142685
Change-Id: If81a168efcfd7d93806ddc4ea432d438c45a3e1d
2013-11-27 17:37:57 +09:00
Tadashi G. Takaoka 05e099d77d Remove voice-on-main related code and resources
Change-Id: I3a1b06fa028dbf130c7aa2c83e9ec1a180aa1f5c
2013-11-27 16:48:47 +09:00
Tadashi G. Takaoka c144299f70 Merge "Remove compiler warnings from emoji related code" 2013-11-27 03:44:34 +00:00
Ken Wakasa c01dba872c Small optimizations for single code point strings
Change-Id: I299c7622db291ea411e2b48dfdb622b407912ea6
2013-11-27 12:40:13 +09:00
Keisuke Kuroyanagi 02fd1a78a3 Start using Ver4 dictionary format.
Bug: 11073222

Change-Id: Idd836ee15501e2f8c57c8eebc1fef7f103b01d18
2013-11-27 12:14:03 +09:00
Tadashi G. Takaoka 6bd28dfa99 Remove compiler warnings from emoji related code
Change-Id: I88ed0d25bee87c4dabcbc425589215b901345908
2013-11-27 11:51:05 +09:00
Keisuke Kuroyanagi fd15afae46 Merge "Extend jni interface to support time stamp and shortcut." 2013-11-27 02:17:51 +00:00
Keisuke Kuroyanagi 9cdca3255b Extend jni interface to support time stamp and shortcut.
Bug: 11073222

Change-Id: I19e0501850917a13ddc756d3e78fc6f6cf3f33c4
2013-11-26 21:31:26 +09:00
Tadashi G. Takaoka 091865a266 Merge "Cleanup SettingsFragment" 2013-11-26 09:38:41 +00:00
Tadashi G. Takaoka 98dd81ab80 Cleanup SettingsFragment
Change-Id: Ic7dac203c17b34e1555ba2c91e3f8c057e85a4b5
2013-11-26 18:36:21 +09:00
Jean Chalard a6fef7dcae Merge "Fix caps mode upon gesture-after-type-period." 2013-11-26 07:34:59 +00:00
Keisuke Kuroyanagi 581ca435cf Merge "Implement addMultipleDictionaryEntries as a jni method." 2013-11-26 07:32:23 +00:00
Jean Chalard 045fb2de64 Fix caps mode upon gesture-after-type-period.
Bug: 11630231
Change-Id: Id5626a2f5b7294e4fda0bf9b82ff85537500a104
2013-11-26 16:25:09 +09:00
Keisuke Kuroyanagi ca16be7552 Implement addMultipleDictionaryEntries as a jni method.
Bug: 11757169

Change-Id: Ie1569e0b3c0503588ebfe5d09c7ca06116f54485
2013-11-26 16:03:10 +09:00
Tadashi G. Takaoka ad4216becd Use InputMethodSubtypeCompatUtils to create subtypes
This change adds fixed subtypeId to dummy NO_LANGUAGE and EMOJI
subtypes.

Bug: 11142698
Change-Id: Ie633b5dea77f17a9981bd999df6e1957bde740ee
2013-11-26 15:32:14 +09:00
Tadashi G. Takaoka 6f490fb200 Fix extraValue of DUMMY_NO_LANGUAGE_SUBTYPE
This is a follow up of I9cf3d94825.

Change-Id: I2646a045d21f2a7a3bb89c76d431be844e739af3
2013-11-26 13:31:18 +09:00
Geoff Mendal 79842aa208 Import translations. DO NOT MERGE
Change-Id: Id9ad9ed8c1d148569d7d0079a3b7ec5282280aa6
Auto-generated-cl: translation import
2013-11-25 14:31:12 -08:00
Geoff Mendal 7debaee7a4 Import translations. DO NOT MERGE
Change-Id: Ib38c02136778584dc6a4d4215c6e346b2b48afaa
Auto-generated-cl: translation import
2013-11-25 14:26:44 -08:00
Jean Chalard b68e613016 Merge "Fix a flaky test." 2013-11-25 08:53:47 +00:00
Jean Chalard e629f860d1 Fix a flaky test.
Corrections depend on the proximity info, which depends
on the layout, which in turn depends on the subtype and
not only the language. Thus, we need to force the whole
subtype for meaningful tests.

Bug: 11142685
Change-Id: I9cf3d948259e0236061454a93ffc2e28c7e0768f
2013-11-25 17:22:15 +09:00
Jean Chalard 3e4c520dcf Merge "Fix a failing test" 2013-11-25 04:01:28 +00:00
Jean Chalard a78b0f6b9e Fix a failing test
Bug: 11846748
Change-Id: Ieda55477201c11fb31b0f84e70ecd081211c78fc
2013-11-25 12:55:52 +09:00
Kurt Partridge 801d140176 Use Google Feedback
Change-Id: Icc39898fc9216a91e5a75958a959aa52d0ccea73
2013-11-22 18:02:18 -08:00
Tadashi G. Takaoka 2eea2d5007 Update Color Scheme summary explicitly
Bug: 11622614
Change-Id: I5464054425e4d688eaa39f96ba9a3a3c613c6f42
2013-11-22 17:26:59 -08:00
Satoshi Kataoka ca5cdc6996 Show mic key option on sw540 device
Bug: 11737760

Change-Id: Id50a7d393acf755cb04d3f8dc60327abeee5a671
2013-11-22 17:26:51 -08:00
Tadashi G. Takaoka ea8f8da1ac Fix unusual NPE after onDestroy
Bug: 11673978
Change-Id: I4d5268312911685ff1ca9483a62442a1a9686c62
2013-11-22 17:26:42 -08:00
Tadashi G. Takaoka db86a6f271 Add keyboard color switch option
Bug: 11622614
Change-Id: I25aa1ff7376fe72fd94ab2cb7190c61d7a98a1af
2013-11-22 17:26:33 -08:00
Tadashi G. Takaoka 51352009b5 Add JB/ICS resources from Azuki MR1 release
Bug: 11622614
Change-Id: I126fc42dd31e912788db0446b67a9d4ea80f848e
2013-11-22 17:26:26 -08:00
Tadashi G. Takaoka fe5262a70d Rename KLP theme related resources
Bug: 11622614
Change-Id: I4e390aa263349d730b47502d84e4d528e7f5ce71
2013-11-22 17:26:17 -08:00
Tadashi G. Takaoka d5e6044ded Rename KLP/JB/ICS common resource name suffixes to _holo
Bug: 11622614
Change-Id: I53b5ff8b6627a38aef352855ad024213a450b40f
2013-11-22 17:26:08 -08:00
Tadashi G. Takaoka 978e2f67f7 Add key press vibration value for Motorola DVX
Bug: 10884131
Change-Id: Id6d5589f3528de05c7b346ce55e926c3e18f22cc
2013-11-22 17:25:57 -08:00
Tadashi G. Takaoka 585fa0491a Implement key preview zoom in/out animations
Bug: 11518021
Change-Id: I139b18708055e0811234886578c5a30b8cc71fec
2013-11-22 19:50:45 +09:00
Tadashi G. Takaoka 7c542558bf Merge "Update Color Scheme summary explicitly" 2013-11-22 10:33:30 +00:00
Tadashi G. Takaoka b0b1982442 Update Color Scheme summary explicitly
Bug: 11622614
Change-Id: I5464054425e4d688eaa39f96ba9a3a3c613c6f42
2013-11-22 19:21:30 +09:00
Tadashi G. Takaoka 9eb8814931 Add configuration boolean for fading key top letter
Bug: 11518021
Change-Id: I1297a258650f4b2f81b942bbfbfbc2dba686ef20
2013-11-22 18:21:37 +09:00
Ken Wakasa 16d1e77a16 Merge "handleBackspace should always send KEYCODE_DEL for InputType.TYPE_NULL" 2013-11-22 07:28:15 +00:00
Ken Wakasa e255d5c0f7 Merge "handleBackspace should always send KEYCODE_DEL for InputType.TYPE_NULL" into jb-ub-latinimegoogle-bayo 2013-11-22 07:26:57 +00:00
Tadashi G. Takaoka afb95c7967 Merge "Rename ambiguous feature name and related resources" 2013-11-21 09:05:39 +00:00
Ken Wakasa 89182e8fea handleBackspace should always send KEYCODE_DEL for InputType.TYPE_NULL
bug: 11797053
Change-Id: I295eeb5f9f0f1f07e919bf54122d003be150a174
2013-11-21 17:48:09 +09:00
Ken Wakasa 87cd39124a handleBackspace should always send KEYCODE_DEL for InputType.TYPE_NULL
This is a fix only for the Bayo branch because this part in master has
been changed.

The corresponding fix in master is I295eeb5f9f0f1f07e919bf54122d003be150a174

bug: 11797053
Change-Id: I779be039ebf992de5d246c7a9d9509623fc3c120
2013-11-21 17:47:05 +09:00
Keisuke Kuroyanagi db4f373004 Fix: PtNode array size writirng when array size > 127. DO NOT MERGE.
This is a manual cherrypick of Ib729ceedbc8ef837e50490439817b36039ae2b4e.

Bug: 11772864
Change-Id: I5ecbe729dbdd24e194e48b4d68b17af8549c4726
2013-11-21 08:45:51 +00:00
Tadashi G. Takaoka 49c8041494 Remove theme specific layout XML files
Change-Id: I16602fe41c78215cd3b007764c9d71876128d404
2013-11-21 16:06:57 +09:00
Baligh Uddin b4cc0ae075 Import translations. DO NOT MERGE
This is a manual cherry-pick of Ib0c14a756a.  This change also copied
some missing locales' strings.xml and strings-action-keys.xml from
jb-ub-latinimegoogle branch.

Bug: 11622614
Change-Id: Ibc9cde4662b15da63b73ac2b545e0e94c358de67
2013-11-21 11:28:47 +09:00
Tadashi G. Takaoka 42d9980a84 Rename ambiguous feature name and related resources
Bug: 11737015
Change-Id: I39f7ca13b99f019a2edb5aa690e3142ceba4e837
2013-11-21 10:52:53 +09:00
Baligh Uddin 9bb61243a0 Import translations. DO NOT MERGE
Change-Id: Idc1c319d010ce161687e2b7bb31dcf19809c589b
Auto-generated-cl: translation import
2013-11-20 14:37:16 -08:00
Keisuke Kuroyanagi d39371e231 Merge "Fix: PtNode array size writirng when array size > 127." 2013-11-20 10:07:19 +00:00
Keisuke Kuroyanagi 680f66023c Fix: PtNode array size writirng when array size > 127.
Bug: 11772864
Change-Id: Ib729ceedbc8ef837e50490439817b36039ae2b4e
2013-11-20 18:15:59 +09:00
Tadashi G. Takaoka d088e0e726 Merge "Don't draw key top letter when key preview is showing" 2013-11-20 08:42:34 +00:00
Tadashi G. Takaoka 818ece917f Don't draw key top letter when key preview is showing
Bug: 11518021
Change-Id: Ibd33e892b21189a7d044099942845379aa010484
2013-11-20 17:26:02 +09:00
Tadashi G. Takaoka 3a1be7e4cf Merge "Unbundle Key preview text and PointerTracker" 2013-11-20 05:46:25 +00:00
Tadashi G. Takaoka e9ec4d1add Merge "Fix more keys keyboard display position" 2013-11-20 05:46:17 +00:00
Tadashi G. Takaoka f914f8814c Unbundle Key preview text and PointerTracker
This change binds key preview text with Key.

Bug: 11518021
Change-Id: I5028e1108d6a5728e4feac7f6f945453eea679b6
2013-11-20 14:09:29 +09:00
Keisuke Kuroyanagi dd0da393e1 Add DEBUG_DUMP to ContactsBinaryDictionary.
Change-Id: Iebfae5f37727deeb6636ad6301b7b1bbe5f454e0
2013-11-20 14:07:44 +09:00
Tadashi G. Takaoka 0381415423 Fix more keys keyboard display position
This is a follow up of Ia39b3d6de8.

Change-Id: I9e6152fdc5cb9fa9490b41fcf0420b9ffccea438
2013-11-20 14:00:03 +09:00
Satoshi Kataoka 994530d9bd Show source dictionary name of suggestions in the debug mode
Bug: 11772864
Change-Id: I393352494b1ef81d24622a22fe7556d09945d6ff
2013-11-20 12:31:01 +09:00
Keisuke Kuroyanagi 077b3def52 Merge "Create a method to add multiple dictionary entries." 2013-11-19 09:41:14 +00:00
Keisuke Kuroyanagi da2ccbd4cd Create a method to add multiple dictionary entries.
Bug: 11740462
Change-Id: I7903cb02fd08d649a05b8799fb3cd00c3da26e00
2013-11-19 18:12:07 +09:00
Tadashi G. Takaoka 751ea9df87 Merge "Get rid of unnecessary layout style" 2013-11-19 07:50:20 +00:00
Tadashi G. Takaoka 84898c6b78 Get rid of unnecessary layout style
Change-Id: Ia39b3d6de8c8fb08ff8cca574166b6fc7c4c316e
2013-11-19 16:12:18 +09:00
Keisuke Kuroyanagi 251999bfd1 Merge "Show amanatto settings only when in debug mode." 2013-11-19 06:21:24 +00:00
Keisuke Kuroyanagi eacb44b38d Show amanatto settings only when in debug mode.
Bug: 11740462
Change-Id: I206b16ab785215c6fa64e740a6dd46588c633ec8
2013-11-19 14:40:20 +09:00
Satoshi Kataoka 2f67375708 am 136b32c9: am ea6dcd69: am 5707b216: Show mic key option on sw540 device
* commit '136b32c975827ac0171e10ab089952c0ef706571':
  Show mic key option on sw540 device
2013-11-18 09:18:11 -08:00
Satoshi Kataoka ea6dcd69e0 am 5707b216: Show mic key option on sw540 device
* commit '5707b21647630dde1f5890804908582218e67f51':
  Show mic key option on sw540 device
2013-11-18 09:10:10 -08:00
Tadashi G. Takaoka 4362ded01c Clean up dangling resources
Bug: 11737015
Change-Id: I2e1ad4bc4e6e88080f9c88561813b06a0f150780
2013-11-18 15:04:29 +09:00
Satoshi Kataoka 5707b21647 Show mic key option on sw540 device
Bug: 11737760

Change-Id: Id50a7d393acf755cb04d3f8dc60327abeee5a671
2013-11-18 14:15:54 +09:00
Satoshi Kataoka 9fc0337b5b Use SDK19 APIs
Change-Id: I88ea9ae0b47166f551f30b244a159578aeb18a30
2013-11-18 11:40:10 +09:00
Kurt Partridge 0a51c2b657 Merge "Track selection end in RichInputConnection" 2013-11-16 00:55:43 +00:00
Kurt Partridge d564466d30 Track selection end in RichInputConnection
Change-Id: Ie5cffe03b676dcde83896cda139b42f3829eb528
2013-11-15 16:49:24 -08:00
Tadashi G. Takaoka 2cbcc987ee Merge "Fix unusual NPE after onDestroy" 2013-11-15 09:03:51 +00:00
Tadashi G. Takaoka ffb064656e Fix unusual NPE after onDestroy
Bug: 11673978
Change-Id: I4d5268312911685ff1ca9483a62442a1a9686c62
2013-11-15 17:48:10 +09:00
Tadashi G. Takaoka be734d298a Return copied String array from getStringArray method
In the Key class constructor, elements in a String[] instance returned
from DeclaredKeyStyle.getStringArray() may be altered by
KeySpecParser.get(Int|Boolean)Value methods.

Bug: 11245712
Change-Id: I3a7fc5ccdb2a14efb72c402dd11559ab13e08596
2013-11-15 17:19:23 +09:00
Kurt Partridge 2bf3a77814 Rename mExpectedCursorStart to mExpectedSelStart
Change-Id: If23d8bd73fe464f12f473e093dc87ed68756e1ec
2013-11-14 07:45:02 -08:00
Kurt Partridge a2632aabf7 Merge "Extract method to reloadTextCache()" 2013-11-14 15:28:07 +00:00
Ken Wakasa 46636b08fb Merge "Update targetSdkVersion to KitKat" 2013-11-14 10:30:35 +00:00
Ken Wakasa ec256f4b8a Update targetSdkVersion to KitKat
Change-Id: I4682aa854b244b58080c964bed1c3017ce365e87
2013-11-14 19:26:25 +09:00
Tadashi G. Takaoka f7bb78fb58 Merge "Add keyboard color switch option" 2013-11-14 09:33:09 +00:00
Tadashi G. Takaoka 4c8a96cf88 Merge "Fix additional subtype id calculation" 2013-11-14 09:04:33 +00:00
Tadashi G. Takaoka 053424e56e Merge "Add StringUtils.joinCommaSplittableText" 2013-11-14 09:04:24 +00:00
Tadashi G. Takaoka b4c7a10840 Add keyboard color switch option
Bug: 11622614
Change-Id: I25aa1ff7376fe72fd94ab2cb7190c61d7a98a1af
2013-11-14 17:56:07 +09:00
Tadashi G. Takaoka 1d1db42d89 Fix additional subtype id calculation
Bug: 11678247
Change-Id: I4a2061fae264473e1ebff6961aa897367ef9cc09
2013-11-14 17:45:53 +09:00
Tadashi G. Takaoka 6589751ace Add StringUtils.joinCommaSplittableText
Change-Id: I80ad9d8b5aee53f1403486a56ffae8d09cbd4e28
2013-11-14 17:43:03 +09:00
Keisuke Kuroyanagi 97fdb184bc Purge ExpandableDictionary.
Bug: 11245133
Change-Id: Ia0886686d8add940409dcd5c883c34eb5289380d
2013-11-14 14:18:02 +09:00
Jean Chalard 3a9b2430a5 Fix many small nits.
...the interaction of which results in a very bad bug.

Bug: 11648854
Change-Id: I774489e384388f187e72b9ac091ab387c5e1a79a
2013-11-12 22:44:59 -08:00
Tadashi G. Takaoka a5f5ab84c0 Add microphone key as long press of comma
Bug: 11637249
Change-Id: Ib6202484ad12c63c8a38d8e12432007ab56d4a30
2013-11-12 22:44:59 -08:00
Jean Chalard e4022137ee Remove an out-of-place check
Bug: 11584525
Change-Id: I76cc3e4ee21d62fbd56042adcf085efd5cafb53f
2013-11-12 22:44:58 -08:00
Tadashi G. Takaoka 7033338017 Update popup panel background a bit draker
Bug: 11169026
Change-Id: I164ab69eb263f58000ffed7b7d97fc6b356147d5
2013-11-12 22:44:58 -08:00
Jean Chalard b87ed46118 Merge "Fix many small nits." 2013-11-13 06:10:39 +00:00
Jean Chalard 5a0bc6ac69 Fix many small nits.
...the interaction of which results in a very bad bug.

Bug: 11648854
Change-Id: I774489e384388f187e72b9ac091ab387c5e1a79a
2013-11-13 14:42:27 +09:00
Tadashi G. Takaoka 3b2171c898 Add microphone key as long press of comma
Bug: 11637249
Change-Id: Ib6202484ad12c63c8a38d8e12432007ab56d4a30
2013-11-13 12:04:24 +09:00
Tadashi G. Takaoka d7d6088130 Revert back punctuations to the more keys keyboard of the period
Cherry-pick I157164910f from Master.

Bug: 11621857
Change-Id: I0fd0496e9091165280f34b4640ff0e524e3847b9
2013-11-12 17:51:54 +09:00
Tadashi G. Takaoka a2a1096406 Revert back punctuations to the more keys keyboard of the period
Bug: 11621857
Change-Id: I157164910fc6f23ef36c838d0a13792c766be223
2013-11-12 14:46:40 +09:00
Tadashi G. Takaoka 1c95c8ba3b Add JB/ICS resources from Azuki MR1 release
Bug: 11622614
Change-Id: I126fc42dd31e912788db0446b67a9d4ea80f848e
2013-11-12 13:04:47 +09:00
Tadashi G. Takaoka c10757e8e8 Rename KLP theme related resources
Bug: 11622614
Change-Id: I4e390aa263349d730b47502d84e4d528e7f5ce71
2013-11-11 20:01:00 +09:00
Tadashi G. Takaoka 4b37b2b3f6 Rename KLP/JB/ICS common resource name suffixes to _holo
Bug: 11622614
Change-Id: I53b5ff8b6627a38aef352855ad024213a450b40f
2013-11-11 19:08:07 +09:00
Tadashi G. Takaoka 1a6a8510b8 Relaxing CHAR LIMIT of strings.action-kes.xml to 7
Bug: 11589582
Bug: 11590257
Bug: 11590258
Bug: 11590364
Change-Id: Iab5b1ef8d29a3808c7270e33fc3c5e7e77104e25
2013-11-11 11:47:04 +09:00
Jean Chalard af8df16887 Remove an out-of-place check
Bug: 11584525
Change-Id: I76cc3e4ee21d62fbd56042adcf085efd5cafb53f
2013-11-08 20:32:43 +09:00
Tadashi G. Takaoka e998e51330 Merge "Tune Khmer keyboard using keyHintLabelVerticalAdjustment" 2013-11-07 10:35:12 +00:00
Tadashi G. Takaoka 541fa7858d Add keyLabelHintVerticalAdjustment attribute
Bug: 11546184
Change-Id: I1fbdbbdcf4d6a74888c48f2e4f0b7afce7913653
2013-11-07 19:29:23 +09:00
Tadashi G. Takaoka 028b425d4c Tune Khmer keyboard using keyHintLabelVerticalAdjustment
Bug: 11546184
Change-Id: I565c5202e3154e4f7d71611a9d68a02e57a1dd3c
2013-11-07 19:24:01 +09:00
Tadashi G. Takaoka 4d49908682 Move reference char/digit width/height method to TypefaceUtils
Change-Id: I3c94c23c31b273a07e145d381587ab0aa4ee8e68
2013-11-07 18:39:42 +09:00
Tadashi G. Takaoka 92248fd288 Add key press vibration value for Motorola DVX
Bug: 10884131
Change-Id: Id6d5589f3528de05c7b346ce55e926c3e18f22cc
2013-11-07 17:32:08 +09:00
Tadashi G. Takaoka 1f025a8541 Merge "Tune key label size of Khmer keyboard using autoScale" 2013-11-07 08:14:15 +00:00
Tadashi G. Takaoka 0a4f4b2bbd Add autoScale Key attribute
Bug: 11546184
Change-Id: I754e98dbc0689dbf14c52d4906141a150bde97a6
2013-11-07 16:56:37 +09:00
Kurt Partridge 4e1f8be3e5 Extract method to reloadTextCache()
Change-Id: Ibdaa9553cafeded15f800077606378b06af755cb
2013-11-06 23:43:56 -08:00
Tadashi G. Takaoka 92f9f6e5d2 Tune key label size of Khmer keyboard using autoScale
Bug: 11546184
Change-Id: I187b1e4205146f517c90de33aee9339d1d91f5b9
2013-11-07 16:09:07 +09:00
Tadashi G. Takaoka 0ea72c8519 Separate action key labels to strings-action-keys.xml
Bug: 11562208
Change-Id: I70390f9eafe51f16ff47b2e39454d1948a259469
2013-11-07 15:12:55 +09:00
Tadashi G. Takaoka 1e1ffa7663 Update popup panel background a bit draker
Bug: 11169026
Change-Id: I164ab69eb263f58000ffed7b7d97fc6b356147d5
2013-11-06 18:57:50 +09:00
Tadashi G. Takaoka aaf532e641 Fix possible RuntimeException in parsing saved addtional subtypes
Bug: 11488129
Change-Id: I91f333aee9f3ae8d4b1d5e67d47de30f361947f3
2013-11-06 17:16:24 +09:00
Tadashi G. Takaoka 463674f950 Merge "Remove unused vertical scrollable KeyboardView" 2013-11-05 10:26:14 +00:00
Tadashi G. Takaoka 78d2895c8d Remove unused vertical scrollable KeyboardView
Bug: 11517736
Change-Id: I9d71290112c2306336e136c94b628b533e386aaa
2013-11-05 19:15:20 +09:00
Baligh Uddin d075a7af41 Import translations. DO NOT MERGE
Change-Id: I103b96a481208d2d3525dd57df2387e9c61b84a3
Auto-generated-cl: translation import
2013-11-04 23:29:12 -08:00
Baligh Uddin 7505290c9a Import translations. DO NOT MERGE
Change-Id: I598c4282b342132f3f9937a9652f570c3c1bc246
Auto-generated-cl: translation import
2013-11-04 23:24:59 -08:00
Keisuke Kuroyanagi 9b3e59d644 Implement ver4 bigram reading method.
Bug: 11073222
Change-Id: I7b3408938f304da361201892e0a1342fdf92e62e
2013-11-05 16:00:26 +09:00
Baligh Uddin 9bd2e4c7e7 Merge "Import translations. DO NOT MERGE" 2013-11-01 14:28:43 +00:00
Baligh Uddin 21dc0bfef0 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle-bayo 2013-11-01 14:28:23 +00:00
Baligh Uddin 9e80ef32f2 Import translations.
Cherry-picked from I83d28c60de84b09da48bd79aa9917f12bd850fdc

Change-Id: I55184cfd398bfe5c4a7dce8c41dd6ab60d5433d5
2013-11-01 03:57:10 +00:00
Baligh Uddin b8ee18c7fe These files were in the obsoleted locale
directories and are not processed by the translation pipeline.
Moving them to their new locale directory.

Example: values-et/bools.xml moved to values-et-rEE/bools.xml

Bug: 11244796
2013-10-31 20:44:05 -07:00
Baligh Uddin fb0f805e93 Import translations. DO NOT MERGE
Change-Id: Ic4bb5751c6ed8c07668f533604542c3fb1ef5909
Auto-generated-cl: translation import
2013-10-28 23:49:13 -07:00
Baligh Uddin ea596c4f7c Import translations. DO NOT MERGE
Change-Id: Ib8c870d0c974eb3b49ae29141aaa53e5f6a2cac9
Auto-generated-cl: translation import
2013-10-28 23:45:03 -07:00
Baligh Uddin 7a5907b580 Import translations. DO NOT MERGE
Change-Id: If3b0f523c86598e0dcf3d3c41e3bfcd5f87c116d
Auto-generated-cl: translation import
2013-10-28 23:40:45 -07:00
Keisuke Kuroyanagi 67cff29fd4 Merge "Fix UserHistoryDictIOUtilsTests by adding @UsedForTesting." 2013-10-29 04:48:05 +00:00
Keisuke Kuroyanagi 82c962f1e0 Fix UserHistoryDictIOUtilsTests by adding @UsedForTesting.
Change-Id: I1bfeeafa002496bb98a385b87437e7f4eb0f6e1d
2013-10-28 21:46:05 -07:00
Satoshi Kataoka 40a3712a4c Merge "Show version in dumped info" 2013-10-29 02:43:09 +00:00
Satoshi Kataoka 5982b1ea08 Show version in dumped info
Bug: 10315296
Change-Id: Icb8e271451f4f9c5b083bfb5eb408372479c2140
2013-10-28 19:22:20 -07:00
Keisuke Kuroyanagi 388c953613 Fix tests by adding @UsedForTesting.
Change-Id: I5b98db67a083bde65bb0f2fb714ae2e799fb1d45
2013-10-28 17:16:01 -07:00
Satoshi Kataoka ba212e9d76 Add a facility to dump the dictionary contents while closing
Change-Id: I02e920e0512f2b46a778f0b23f7ca03f8d5dabe6
2013-10-28 11:25:38 -07:00
Keisuke Kuroyanagi 6e23e336ff Merge "Add a test for ver4 native binary dictionary." 2013-10-28 16:14:45 +00:00
Baligh Uddin d1575a9d89 Import translations. DO NOT MERGE
Change-Id: I9c2c9578bbc0a7036c7ee4c6b8a605ef90ae6001
Auto-generated-cl: translation import
2013-10-25 14:43:14 -07:00
Baligh Uddin c9dea6d6c2 Import translations. DO NOT MERGE
Change-Id: I9c4542106d4660da3b67907afa5696e91f537dd6
Auto-generated-cl: translation import
2013-10-25 14:39:08 -07:00
Keisuke Kuroyanagi 8e9df884aa Add a test for ver4 native binary dictionary.
Bug: 10197478
Bug: 11073222
Change-Id: I6daac6c4b048c65682c25afe6ca0fad83cc9720f
2013-10-25 12:32:30 -07:00
Jean Chalard 42de819ae8 am 1875860d: Stopgap solution for a crash.
* commit '1875860d2606eff269381ef0bb68db549ab4819d':
  Stopgap solution for a crash.
2013-10-22 08:11:48 -07:00
Jean Chalard 8a1675379e Stopgap solution for a crash.
This returns the wrong string, but since it's used for getting the
previous word for bigrams, it only results in slightly worse
suggestions quality.

Bug: 11273655
Change-Id: I6ce5de2f76effc453ca691a654ab6bf17445b9e7
2013-10-22 05:23:48 -07:00
Jean Chalard 5b5ed3d609 Fix a bug where autocaps would jam auto-commit
Bug: 11311002
Change-Id: I62955e364c9ffc75322cf05fa3ad7985f1d09259
2013-10-22 05:23:48 -07:00
Ken Wakasa 79ccba757a Update Setup Wizard welcome video & image
bug: 11227246
Change-Id: I291ebdaf7e96d4a2ca738432ce8be1d75b91e5c3
2013-10-22 05:23:48 -07:00
Keisuke Kuroyanagi 6bc5acaa79 Fix: Suggested words from user history are invalid.
- Suggestions form user history can contain invalid words.
- isValidWord always returns false.

Bug: 11139426
Change-Id: I6075b275603332ddb00f4a9284afcaa82d824270
2013-10-22 05:23:48 -07:00
Jean Chalard 7da2295328 Fix a bug where autoshift would be ignored coming from emoji
Bug: 11123691
Change-Id: I36474e12e34af95051129840865015f85595411b
2013-10-22 05:23:47 -07:00
Satoshi Kataoka a6ee1e7b9a Don't show long-pressing emoji key on tablet
Bug: 11264603
Change-Id: I85e8dfa795bbaad26f38bcdb8a958c26e031a4cd
2013-10-22 05:23:47 -07:00
Satoshi Kataoka c43738069a Fix keyboard layout
- Show "..." on enter key if it has long-pressing emoji key
- Show enter key on symbols shift keyboard

Bug: 11262889
Bug: 11263464
Change-Id: If84d0cc621b12e1bf3a3102b1f09cbaedf92f007
2013-10-22 05:23:47 -07:00
Jean Chalard d4b5bc1695 Merge "Preliminary refactor" 2013-10-22 11:26:54 +00:00
Jean Chalard b00ed46385 Preliminary refactor
Bug: 11328842
Change-Id: I7c22e951fef9bc4443c6b64625e25f632f876ab1
2013-10-22 20:16:17 +09:00
Jean Chalard 1875860d26 Stopgap solution for a crash.
This returns the wrong string, but since it's used for getting the
previous word for bigrams, it only results in slightly worse
suggestions quality.
Cherry-pick of I6ce5de2f

Bug: 11273655
Change-Id: I17fb6d74f18fb31bd8f8518f80456d74ae30a2c3
2013-10-22 20:07:06 +09:00
Jean Chalard 729abe6332 Stopgap solution for a crash.
This returns the wrong string, but since it's used for getting the
previous word for bigrams, it only results in slightly worse
suggestions quality.

Bug: 11273655
Change-Id: I6ce5de2f76effc453ca691a654ab6bf17445b9e7
2013-10-22 20:00:09 +09:00
Ken Wakasa 08360a5434 am a62dc281: Update input method subtype locales.
* commit 'a62dc28121d72978d527eec2791d1caf43b563b8':
  Update input method subtype locales.

Change-Id: Id28f5ee33c201e1d335119c1b3d99bc30a10a131
2013-10-22 19:43:09 +09:00
Satoshi Kataoka e4db349db0 am af846af8: Remove Azerbaijani subtype
* commit 'af846af8bb7e4b49c99d7b0e051e70d03a5b7359':
  Remove Azerbaijani subtype
2013-10-22 19:36:41 +09:00
Jean Chalard d869e1fdbb am f603fa1f: Merge "[DO NOT MERGE] Add a sequence number to SuggestedWords." into klp-dev
* commit 'f603fa1f0e8fc909bf2e1bc6e2d0c9b5a01c02c6':
  [DO NOT MERGE] Add a sequence number to SuggestedWords.
2013-10-21 23:36:51 -07:00
Jean Chalard 238941991d am f356a25f: [DO NOT MERGE] Fix a bug where autocaps would jam auto-commit
* commit 'f356a25f36952f59e9918daa35f7ff6e5235a37d':
  [DO NOT MERGE] Fix a bug where autocaps would jam auto-commit
2013-10-21 23:36:49 -07:00
Jean Chalard f603fa1f0e Merge "[DO NOT MERGE] Add a sequence number to SuggestedWords." into klp-dev 2013-10-22 06:34:55 +00:00
Jean Chalard c130be8779 Add a sequence number to SuggestedWords.
This allows testing for suggestion freshness in an asynchronous
suggestions world.

In-advance cherrypick of Ic76cd17568598d8534aec81e037f9e37f52eb6b4
because there's a merge conflict.

Bug: 11301597
Change-Id: I4aec765a975298fcac30a48dede73d2622224fe5
2013-10-22 13:19:16 +09:00
Jean Chalard 6b8d2d31f9 [DO NOT MERGE] Add a sequence number to SuggestedWords.
This allows testing for suggestion freshness in an asynchronous
suggestions world.
Cherry-pick of Ic76cd175

Bug: 11301597
Change-Id: I45a84de0632062475eebe30234b3147f1c680359
2013-10-22 04:03:52 +00:00
Jean Chalard f356a25f36 [DO NOT MERGE] Fix a bug where autocaps would jam auto-commit
Cherry-pick of I62955e36

Bug: 11311002
Change-Id: I5b11cb48e6dd0563fc29566fe0d27864be2beb0a
2013-10-22 04:03:17 +00:00
Jean Chalard 926ebe849a Merge "Add a sequence number to SuggestedWords." 2013-10-22 04:02:11 +00:00
Jean Chalard ac76463306 Add a sequence number to SuggestedWords.
This allows testing for suggestion freshness in an asynchronous
suggestions world.

Bug: 11301597
Change-Id: Ic76cd17568598d8534aec81e037f9e37f52eb6b4
2013-10-22 12:52:58 +09:00
Jean Chalard c6a121805f Fix a bug where autocaps would jam auto-commit
Bug: 11311002
Change-Id: I62955e364c9ffc75322cf05fa3ad7985f1d09259
2013-10-22 12:39:49 +09:00
Ken Wakasa 859b117118 Update Setup Wizard welcome video & image
bug: 11227246
Change-Id: I291ebdaf7e96d4a2ca738432ce8be1d75b91e5c3
2013-10-22 09:36:39 +09:00
Ken Wakasa 513b99dfa2 Cosmetic fixes
Change-Id: I44ac89edaba2e57bd1b7e091ff74b77a5e598f2f
2013-10-21 15:53:49 +09:00
Ken Wakasa 1c5f5eca9d am 47568d5e: Merge "Fix: Suggested words from user history are invalid. DO NOT MERGE." into klp-dev
* commit '47568d5e19ed907485f7cb435c3944ccc0cb4411':
  Fix: Suggested words from user history are invalid. DO NOT MERGE.
2013-10-18 11:18:28 -07:00
Ken Wakasa 069d44c32c am 146cf238: DO NOT MERGE: Update input method subtype locales.
* commit '146cf238792c4748aa726a440fb96a33b4260fa5':
  DO NOT MERGE: Update input method subtype locales.
2013-10-18 11:18:26 -07:00
Ken Wakasa 47568d5e19 Merge "Fix: Suggested words from user history are invalid. DO NOT MERGE." into klp-dev 2013-10-18 17:43:00 +00:00
Yuichiro Hanada 52f18d7f40 Change the block sizes for SparseTables.
This change saves about 240k bytes.

Bug: 10941472
Change-Id: Ieb00e4dd3391cdb0d42d705f8d0a7b1421f516f9
2013-10-18 20:28:07 +09:00
Keisuke Kuroyanagi 029d9eeb38 Fix: Suggested words from user history are invalid. DO NOT MERGE.
- Suggestions form user history can contain invalid words.
- isValidWord always returns false.

Bug: 11139426
Change-Id: I6075b275603332ddb00f4a9284afcaa82d824270
2013-10-18 20:13:40 +09:00
Keisuke Kuroyanagi 8e9af925b1 Merge "Fix: Suggested words from user history are invalid." 2013-10-18 11:05:03 +00:00
Keisuke Kuroyanagi 53686e0f5f Fix: Suggested words from user history are invalid.
- Suggestions form user history can contain invalid words.
- isValidWord always returns false.

Bug: 11139426
Change-Id: I6075b275603332ddb00f4a9284afcaa82d824270
2013-10-18 19:53:57 +09:00
Satoshi Kataoka 7fdb2c2956 Merge "Change the numbering order of terminal IDs." 2013-10-18 10:31:27 +00:00
Yuichiro Hanada 9ae7d37108 Change the numbering order of terminal IDs.
Change-Id: I85a6b6e948ee0de012eef2f9f841240cbca63947
2013-10-18 19:16:11 +09:00
Yuichiro Hanada 2b7110ff1f (2/2) Implement insertWord in Ver4DictUpdater.
Change-Id: I2328a9df0a009b564e8acaf4180f9b0c1ed0901a
2013-10-18 18:03:44 +09:00
Yuichiro Hanada 19b247e79d Fix the name of the argument of writeString.
Change-Id: I76916914f1402913daa56dd5387fe82e42287989
2013-10-18 17:33:10 +09:00
Ken Wakasa 146cf23879 DO NOT MERGE: Update input method subtype locales.
To match up with the removal of obsolete locales.

cherrypick of I27098bfa26b66631ef412f8f0f72e0273a0161bc

bug: 11244796
Change-Id: I6e93513978ac657c859391d0431f90143d855e5f
2013-10-18 17:09:24 +09:00
Jean Chalard 7e7fe6057a Merge "(1/2) Implement insertWord in Ver4DictUpdater." 2013-10-18 08:00:04 +00:00
Ken Wakasa a62dc28121 Update input method subtype locales.
To match up with the removal of obsolete locales.

bug: 11244796
Change-Id: I27098bfa26b66631ef412f8f0f72e0273a0161bc
2013-10-18 16:44:38 +09:00
Yuichiro Hanada 520f612849 (1/2) Implement insertWord in Ver4DictUpdater.
Change-Id: Ia3079d5ef00ca7d831c91fb9220ad9c17038c5a3
2013-10-18 16:42:59 +09:00
Satoshi Kataoka 1760d363d4 Remove unexpectedly used resources
Change-Id: I291269dbca71805a40d48a0e373b9561ad075f6b
2013-10-18 15:05:35 +09:00
Satoshi Kataoka 27106487ba Remove unexpectedly used resources
Change-Id: I0ddd1dfd54c76177660448d156a6c670f5579671
2013-10-18 11:53:32 +09:00
Satoshi Kataoka b4b0a0507a am 2e7f360a: Merge "Do not merge. Fix keyboard layout" into klp-dev
* commit '2e7f360a04f2a840fa083dde299d10e213de7bbb':
  Do not merge. Fix keyboard layout
2013-10-17 17:44:47 -07:00
Satoshi Kataoka dcc33ab0fc am 141a0c33: Merge "Do not merge. Don\'t show long-pressing emoji key on tablet" into klp-dev
* commit '141a0c33802d44a0b8b240b6b8415d465e0aa794':
  Do not merge. Don't show long-pressing emoji key on tablet
2013-10-17 17:44:45 -07:00
Satoshi Kataoka 2e7f360a04 Merge "Do not merge. Fix keyboard layout" into klp-dev 2013-10-18 00:41:53 +00:00
Satoshi Kataoka 141a0c3380 Merge "Do not merge. Don't show long-pressing emoji key on tablet" into klp-dev 2013-10-18 00:41:42 +00:00
Baligh Uddin f4fd6017a0 am 8ccb79eb: am 66bdabad: am e47f7332: These files were in the obsoleted locale directories and are not processed by the translation pipeline. Moving them to their new locale directory.
* commit '8ccb79ebab1ece201da95866d2673e43752a949c':
  These files were in the obsoleted locale directories and are not processed by the translation pipeline. Moving them to their new locale directory.
2013-10-17 14:40:24 -07:00
Baligh Uddin 66bdabad80 am e47f7332: These files were in the obsoleted locale directories and are not processed by the translation pipeline. Moving them to their new locale directory.
* commit 'e47f7332f9bb94905015061dd9791f43763ccab8':
  These files were in the obsoleted locale directories and are not processed by the translation pipeline. Moving them to their new locale directory.
2013-10-17 11:26:35 -07:00
Baligh Uddin a7cebb8c5c am 486c5896: Remove obsolete locale directories.
* commit '486c5896102cccfaa79d2109272ab7235dcacf38':
  Remove obsolete locale directories.
2013-10-17 11:26:33 -07:00