Commit Graph

12116 Commits (f0c303dd02a5df8ad544b3971e7738cb34a1d6be)

Author SHA1 Message Date
Tadashi G. Takaoka ed9e100449 Update AOSP launcher icon
Bug: 16635354
Bug: 16635354
Change-Id: I68f9c4ec21a01b9db0fc73c1785c972f5d7ac05b
2014-09-12 00:25:43 +09:00
Tadashi G. Takaoka 31544dcb43 Add xxxhdpi assets
Bug: 17432407
Change-Id: I68e5f660425db567688d4e119c94fc34430f8ff3
2014-09-11 15:09:30 +00:00
Jean Chalard 96f0ae5e68 [ML6] Have asyncReloadMainDictionary support multiple locales
Change-Id: I4c3dfaad38ec1cc91d1a9f81d5ff45ef12f70029
2014-09-11 19:05:22 +09:00
Jean Chalard e6df5f015c [ML5] Rewrite resetDictionariesWithDictNamePrefix
This change rewrites resetDictionariesWithDictNamePrefix so
that it would work if there were several locales, which is going to
happen shortly. This change on its own is quite large and difficult
already, so I didn't want to merge it into the change that actually
makes several locales happen; another such change is following.

Change-Id: Ibb80b05b73c0f0f0bea64b7e308cc4d38ca448f9
2014-09-11 19:05:19 +09:00
Yohei Yukawa 27ccbeb4e6 am cd119050: Support CursorAnchorInfo in the full-screen mode
* commit 'cd11905022306c9b95f8781f0f8b23a3570f30e9':
  Support CursorAnchorInfo in the full-screen mode
2014-09-11 09:54:42 +00:00
Yohei Yukawa cd11905022 Support CursorAnchorInfo in the full-screen mode
This CL allows to emulate the behavior of CursorAnchorInfo
in the full-screen mode to work around the limitation of
the framework.

Basically this CL copies relevant code from the framework
to LatinIME. This is actually a code duplicate which isn't
great, but probably the only way that is available right now.

Change-Id: I30bc8c3387c91c8e47252ba699cbd967d8927dad
2014-09-11 18:36:53 +09:00
Jatin Matani fd96928175 Merge "Adds StatsUtil methods for LatinIME.on{Start,Create,Finish}inputView" 2014-09-11 03:14:57 +00:00
Keisuke Kuroyanagi af1a06d7e1 Enable personalization for multilingual users.
Bug: 16547557
Change-Id: I03eda34edc902fc4732d16d234216344d8d84d88
2014-09-10 18:23:09 +09:00
Keisuke Kuroyanagi 89e34169f8 Get locale using detected language for personalization.
Bug: 16547557
Change-Id: If3d88a548e5a2255ff81c819b056f77bfbe237ae
2014-09-10 18:23:07 +09:00
Jatin Matani 1c45f9142b Adds StatsUtil methods for LatinIME.on{Start,Create,Finish}inputView
Change-Id: I4e7dc008b98e398c38aafea5cb31156dde7f42ea
2014-09-10 15:55:15 +09:00
Mohammadinamul Sheik 97243cea28 Merge "Add backspace event methods to StatsUtils" 2014-09-10 04:56:23 +00:00
Keisuke Kuroyanagi 934e1d8087 Merge "Move case and OOV detection logic into distracter filter." 2014-09-10 03:49:10 +00:00
Keisuke Kuroyanagi d843081193 Move case and OOV detection logic into distracter filter.
Bug: 16547557

Change-Id: I8502585976deb5e93fff3b1e0266654b8a927bda
2014-09-10 11:25:34 +09:00
Mohammadinamul Sheik acdd2e4572 Add backspace event methods to StatsUtils
Change-Id: Id45d217073e49ca5f2ba639b608d168d136bba58
2014-09-10 10:54:49 +09:00
Tadashi G. Takaoka 63ee10d63a am c29276b7: am 12814352: am 486c4894: Keep aspect ratio of Material action key background
* commit 'c29276b782cfc45be5ab79177e991f2cba8fb04b':
  Keep aspect ratio of Material action key background
2014-09-09 15:03:15 +00:00
Baligh Uddin b575170e64 Import translations. DO NOT MERGE
Change-Id: Id31c38a0c1c737071e3659fc374eaca40f441102
Auto-generated-cl: translation import
2014-09-09 04:23:48 -07:00
Baligh Uddin 02729904ab Import translations. DO NOT MERGE
Change-Id: I760fae2840e78c7dce10f6caf9cae4fffdef71c1
Auto-generated-cl: translation import
2014-09-09 04:20:58 -07:00
Tadashi G. Takaoka 1b45941588 am 486c4894: Keep aspect ratio of Material action key background
* commit '486c4894ce0917fc7b18eaee4bfd031051f2b05b':
  Keep aspect ratio of Material action key background
2014-09-09 06:19:03 +00:00
Tadashi G. Takaoka 12814352dd am 486c4894: Keep aspect ratio of Material action key background
* commit '486c4894ce0917fc7b18eaee4bfd031051f2b05b':
  Keep aspect ratio of Material action key background
2014-09-09 06:19:02 +00:00
Tadashi G. Takaoka 486c4894ce Keep aspect ratio of Material action key background
Bug: 15681452
Change-Id: Ie4b823dca541b76b68cade580845a21ff0b21e2f
2014-09-09 14:28:46 +09:00
Jean Chalard ef0ef2d0b9 am beb74610: am ab18b5f1: am 9395014e: Don\'t resume suggestions with H/W keyboard
* commit 'beb746103011149d6dfce10278475946e679263d':
  Don't resume suggestions with H/W keyboard
2014-09-08 13:52:25 +00:00
Jean Chalard 7140035932 Fix a missing initialization
Change-Id: I14a35f5a38b6e0f48c95cbb8c0c6e4507cd61fa7
2014-09-08 22:40:36 +09:00
Jean Chalard ab18b5f1f7 am 9395014e: Don\'t resume suggestions with H/W keyboard
* commit '9395014e76877fc9ef060a3fe54a9e06f0036d6d':
  Don't resume suggestions with H/W keyboard
2014-09-08 13:29:55 +00:00
Jean Chalard 5e3b3ab809 am 9395014e: Don\'t resume suggestions with H/W keyboard
* commit '9395014e76877fc9ef060a3fe54a9e06f0036d6d':
  Don't resume suggestions with H/W keyboard
2014-09-08 13:29:47 +00:00
Jean Chalard 1cf2acd8de am 61e7afa6: am 0eaa25e0: am 914078fd: Fix a bug where recorrection would stop on connectors
* commit '61e7afa6fa98939f9dcb9f7a2ebb5678a51d4201':
  Fix a bug where recorrection would stop on connectors
2014-09-08 13:20:27 +00:00
Jean Chalard 9395014e76 Don't resume suggestions with H/W keyboard
...unless we do support a hardware keyboard, which we still
do not at the moment.

Change-Id: Iec24b1ae8ba5e23e0bbb7e5a468b7404296d4b18
2014-09-08 22:14:02 +09:00
Jean Chalard 0eaa25e0b3 am 914078fd: Fix a bug where recorrection would stop on connectors
* commit '914078fd9198aeb3d7ffa034562321d688d588f7':
  Fix a bug where recorrection would stop on connectors
2014-09-08 12:59:23 +00:00
Jean Chalard 1708ff6e54 am 914078fd: Fix a bug where recorrection would stop on connectors
* commit '914078fd9198aeb3d7ffa034562321d688d588f7':
  Fix a bug where recorrection would stop on connectors
2014-09-08 12:58:51 +00:00
Jean Chalard b41ee67194 Fix the sentence separator for Hindi.
Change-Id: I623e4ccbc324751eb67ec4bb777e2be5ae2a60d1
Bug: 17418371
2014-09-08 21:54:28 +09:00
Jean Chalard 914078fd91 Fix a bug where recorrection would stop on connectors
Bug: 16733686
Change-Id: I7a9f79a81e33a1f5bf5f3daf0b78d0f1e4447e7a
2014-09-08 21:47:01 +09:00
Tadashi G. Takaoka c106efa7cd am 50e8d585: am 56c7ceb4: am 42665f0e: Merge "Mark isDefault="true" for all supported subtypes" into lmp-dev
* commit '50e8d5854b981b7fbad24fdb9c141ddf39eb904a':
  Mark isDefault="true" for all supported subtypes
2014-09-08 10:25:14 +00:00
Tadashi G. Takaoka 56c7ceb47d am 42665f0e: Merge "Mark isDefault="true" for all supported subtypes" into lmp-dev
* commit '42665f0ee26407fae984446b306309376aac2b36':
  Mark isDefault="true" for all supported subtypes
2014-09-08 10:05:34 +00:00
Tadashi G. Takaoka b28b83cc4c am 42665f0e: Merge "Mark isDefault="true" for all supported subtypes" into lmp-dev
* commit '42665f0ee26407fae984446b306309376aac2b36':
  Mark isDefault="true" for all supported subtypes
2014-09-08 10:04:43 +00:00
Tadashi G. Takaoka 42665f0ee2 Merge "Mark isDefault="true" for all supported subtypes" into lmp-dev 2014-09-08 09:56:25 +00:00
Yohei Yukawa a48fe12b9c am 42ddc212: am f930ce12: am 1caa0b71: Merge "Follow up API signature changes of CursorAnchorInfo" into lmp-dev
* commit '42ddc2127deb117a0bb2b7a7797cb8c9ba335f5a':
  Follow up API signature changes of CursorAnchorInfo
2014-09-08 09:35:00 +00:00
Jean Chalard 653546a618 am c3fac52d: am 1f74ba17: am cb077f75: Merge "Resolve an old TODO." into lmp-dev
* commit 'c3fac52dd51ba70db83d96b2d421bd440683d9bc':
  Resolve an old TODO.
2014-09-08 09:34:58 +00:00
Yohei Yukawa f930ce1261 am 1caa0b71: Merge "Follow up API signature changes of CursorAnchorInfo" into lmp-dev
* commit '1caa0b714dc49c8723d36d4d9825427f8978a602':
  Follow up API signature changes of CursorAnchorInfo
2014-09-08 09:18:14 +00:00
Jean Chalard 1f74ba178b am cb077f75: Merge "Resolve an old TODO." into lmp-dev
* commit 'cb077f75ac750d50c305ac5da20d81df5003907a':
  Resolve an old TODO.
2014-09-08 09:18:13 +00:00
Yohei Yukawa b9bd524b58 am c1ee8857: am a6c53d31: am 257dfa79: Merge "Revert "Use right arrow for the commit indicator"" into lmp-dev
* commit 'c1ee88572232235d5972220ec1e5232de58a916e':
  Revert "Use right arrow for the commit indicator"
2014-09-08 09:17:31 +00:00
Yohei Yukawa b0c7f31333 am 1caa0b71: Merge "Follow up API signature changes of CursorAnchorInfo" into lmp-dev
* commit '1caa0b714dc49c8723d36d4d9825427f8978a602':
  Follow up API signature changes of CursorAnchorInfo
2014-09-08 09:14:59 +00:00
Jean Chalard 7737c9d712 am cb077f75: Merge "Resolve an old TODO." into lmp-dev
* commit 'cb077f75ac750d50c305ac5da20d81df5003907a':
  Resolve an old TODO.
2014-09-08 09:14:58 +00:00
Tadashi G. Takaoka 5314e5c38c Mark isDefault="true" for all supported subtypes
Bug: 17381393
Change-Id: I3a2852c76d6f3dda551529673e7d4e957ced53ca
2014-09-08 18:14:51 +09:00
Yohei Yukawa 1caa0b714d Merge "Follow up API signature changes of CursorAnchorInfo" into lmp-dev 2014-09-08 09:11:41 +00:00
Jean Chalard a1d2315499 Merge "Fix a bug with the Greek question mark." 2014-09-08 08:58:27 +00:00
Jean Chalard cb077f75ac Merge "Resolve an old TODO." into lmp-dev 2014-09-08 08:57:23 +00:00
Yohei Yukawa a8ecd29646 Follow up API signature changes of CursorAnchorInfo
This is a follow up CL for Ic8c6fab58c01206872a34e7ee604cdda.

No behavior change is intended in this CL.

BUG: 17365414
BUG: 17335734
Change-Id: I4299536d0cb0c660b7b564653c72c9cb409a7aa5
2014-09-08 17:07:34 +09:00
Yohei Yukawa a6c53d31fd am 257dfa79: Merge "Revert "Use right arrow for the commit indicator"" into lmp-dev
* commit '257dfa79f7f19eac5f3481f1b8fe28038d1e0c5e':
  Revert "Use right arrow for the commit indicator"
2014-09-08 07:58:01 +00:00
Yohei Yukawa 97dbb22e86 am 257dfa79: Merge "Revert "Use right arrow for the commit indicator"" into lmp-dev
* commit '257dfa79f7f19eac5f3481f1b8fe28038d1e0c5e':
  Revert "Use right arrow for the commit indicator"
2014-09-08 07:56:16 +00:00
Yohei Yukawa 257dfa79f7 Merge "Revert "Use right arrow for the commit indicator"" into lmp-dev 2014-09-08 07:49:22 +00:00
Yohei Yukawa b915753a07 Revert "Use right arrow for the commit indicator"
This reverts commit 2412d9ae3c.

Change-Id: Ie8090735850e2f2d075d0bdaf3ef628d866b5514
2014-09-08 07:46:11 +00:00
Mohammadinamul Sheik 74332597d6 Merge "Add StatsUtils.onPickSuggestionManually and SuggestedWords.indexOf." 2014-09-08 06:52:02 +00:00
Jean Chalard b526a894db Fix a bug with the Greek question mark.
Bug: 17398284
Change-Id: If49593e2c959935a183a4cd9d988407cc1160599
2014-09-08 15:33:51 +09:00
Tadashi G. Takaoka 100a8aec5b am ad4de3fc: am 9ca6658e: am 0f33e614: Implement Floating Action Button more keys keyboard
* commit 'ad4de3fc819d658775eed470fc74ad76da5caad2':
  Implement Floating Action Button more keys keyboard
2014-09-08 06:07:52 +00:00
Tadashi G. Takaoka 9ca6658e9a am 0f33e614: Implement Floating Action Button more keys keyboard
* commit '0f33e614c0799fa3a14a2c32db4bf0654df039da':
  Implement Floating Action Button more keys keyboard
2014-09-08 05:48:19 +00:00
Tadashi G. Takaoka 40b0e3a4c8 am 0f33e614: Implement Floating Action Button more keys keyboard
* commit '0f33e614c0799fa3a14a2c32db4bf0654df039da':
  Implement Floating Action Button more keys keyboard
2014-09-08 05:47:40 +00:00
Tadashi G. Takaoka e1b10aedd7 am 3aabf655: am f21c77d7: am 727e818e: Move more keys divider to MoreKeysKeyboardView
* commit '3aabf655d0125fb824e5e47687f5084b2df6979c':
  Move more keys divider to MoreKeysKeyboardView
2014-09-08 05:42:32 +00:00
Tadashi G. Takaoka 0f33e614c0 Implement Floating Action Button more keys keyboard
Bug: 15681452
Change-Id: I8484e4fe4d989b391f2b5230836dc9dfac218429
2014-09-08 14:34:33 +09:00
Tadashi G. Takaoka f21c77d7b7 am 727e818e: Move more keys divider to MoreKeysKeyboardView
* commit '727e818e95ef68460ebafb2eb3b11c23a2d8fcd8':
  Move more keys divider to MoreKeysKeyboardView
2014-09-08 05:24:19 +00:00
Tadashi G. Takaoka 0ee849d716 am 727e818e: Move more keys divider to MoreKeysKeyboardView
* commit '727e818e95ef68460ebafb2eb3b11c23a2d8fcd8':
  Move more keys divider to MoreKeysKeyboardView
2014-09-08 05:23:11 +00:00
Mohammadinamul Sheik c74ffe8edc Add StatsUtils.onPickSuggestionManually and SuggestedWords.indexOf.
Change-Id: I1588448154d086569cb026825fdc36cd1812a582
2014-09-07 20:43:48 -07:00
Tadashi G. Takaoka 727e818e95 Move more keys divider to MoreKeysKeyboardView
Bug: 15681452
Change-Id: I1b32719cc927a24db4c41fdeb812b39f7e98a85c
2014-09-08 11:02:07 +09:00
Tadashi G. Takaoka 8b7ed7f6c6 am 079f9c3f: am 1b430219: am 6888ec00: Merge "Create donottranslate debug settings string resources file" into lmp-dev
* commit '079f9c3f5ae7b2f7926321522b6020affd422b52':
  Create donottranslate debug settings string resources file
2014-09-05 17:23:45 +00:00
Tadashi G. Takaoka 6e259d560e am 82c8696f: am c7b8858e: am 6ba84dcd: Merge "Refactor action label/icon definitions" into lmp-dev
* commit '82c8696f526d3ab121a7e8d188acf30ce6ae8e9c':
  Refactor action label/icon definitions
2014-09-05 17:23:44 +00:00
Tadashi G. Takaoka 1b43021949 am 6888ec00: Merge "Create donottranslate debug settings string resources file" into lmp-dev
* commit '6888ec009951ffd900c04a0ad179a94d47eca03c':
  Create donottranslate debug settings string resources file
2014-09-05 15:37:02 +00:00
Tadashi G. Takaoka c7b8858ec1 am 6ba84dcd: Merge "Refactor action label/icon definitions" into lmp-dev
* commit '6ba84dcd96418a7a568afeaf064aa64cf94a1839':
  Refactor action label/icon definitions
2014-09-05 15:37:01 +00:00
Tadashi G. Takaoka 1a6651f636 am 6888ec00: Merge "Create donottranslate debug settings string resources file" into lmp-dev
* commit '6888ec009951ffd900c04a0ad179a94d47eca03c':
  Create donottranslate debug settings string resources file
2014-09-05 15:36:06 +00:00
Tadashi G. Takaoka 7f8501867e am 6ba84dcd: Merge "Refactor action label/icon definitions" into lmp-dev
* commit '6ba84dcd96418a7a568afeaf064aa64cf94a1839':
  Refactor action label/icon definitions
2014-09-05 15:36:05 +00:00
Jean Chalard 6bb6d30344 Resolve an old TODO.
This is cleaner.

Bug: 17347779
Change-Id: I5b612783b1ec98a1a11401f00d68db49654f3023
2014-09-05 20:10:29 +09:00
Jean Chalard 46d111ff4a Merge "Fix a bug where CAPS_WORDS would not be returned." 2014-09-05 09:53:51 +00:00
Tadashi G. Takaoka 6888ec0099 Merge "Create donottranslate debug settings string resources file" into lmp-dev 2014-09-05 08:29:35 +00:00
Tadashi G. Takaoka 6ba84dcd96 Merge "Refactor action label/icon definitions" into lmp-dev 2014-09-05 08:25:12 +00:00
Jean Chalard 17901db691 Fix a bug where CAPS_WORDS would not be returned.
Also introduce some unit tests that would have caught the bug.

Bug: 17398284
Change-Id: Idb715b7bd2f70992d6cdf4e25ef368809382caef
2014-09-05 07:56:25 +00:00
Jean Chalard e3fc52c390 Merge "[ML4] Rename Dictionaries to DictionaryGroup" 2014-09-05 06:39:52 +00:00
Tadashi G. Takaoka 5166e9f0ff Refactor action label/icon definitions
Bug: 15782668
Change-Id: Ibf1205d46e9293d516a56030ba10841128f57450
2014-09-05 11:44:18 +09:00
Tadashi G. Takaoka f0f49f9806 Create donottranslate debug settings string resources file
This is a follow up of the I26e4d292de.

Bug: 15678343
Bug: 17385083
Change-Id: I2c2b08b8dd991ac981aa8f8c8436de9e4399da5f
2014-09-05 11:38:29 +09:00
Tadashi G. Takaoka 626e174519 am d9458302: am 9d3db691: am 79eae0ad: Merge "Update active key backgrounds" into lmp-dev
* commit 'd9458302ea69301c521c2d77dc52cb1ae0499d19':
  Update active key backgrounds
2014-09-05 00:38:10 +00:00
Tadashi G. Takaoka 6aad318bd2 am 79eae0ad: Merge "Update active key backgrounds" into lmp-dev
* commit '79eae0ada40d7af096ad95e03ab1f32c8369cb2c':
  Update active key backgrounds
2014-09-05 00:13:51 +00:00
Tadashi G. Takaoka 9d3db6914b am 79eae0ad: Merge "Update active key backgrounds" into lmp-dev
* commit '79eae0ada40d7af096ad95e03ab1f32c8369cb2c':
  Update active key backgrounds
2014-09-05 00:13:46 +00:00
Tadashi G. Takaoka 79eae0ada4 Merge "Update active key backgrounds" into lmp-dev 2014-09-05 00:06:23 +00:00
Baligh Uddin 5feaf11852 Merge "Import translations. DO NOT MERGE" 2014-09-04 19:21:09 +00:00
Baligh Uddin c11f977645 Merge "Import translations. DO NOT MERGE" 2014-09-04 19:21:03 +00:00
Baligh Uddin 62181eeefe Merge "Import translations. DO NOT MERGE" 2014-09-04 19:21:00 +00:00
Baligh Uddin 059c535fbd Import translations. DO NOT MERGE
Change-Id: I054d5673b4b3fcb9303e53c8409f3ba26226e335
Auto-generated-cl: translation import
2014-09-04 05:03:06 -07:00
Baligh Uddin c146718960 Import translations. DO NOT MERGE
Change-Id: I33d3e1e6dc9695ef779be31952ba4126d5233df2
Auto-generated-cl: translation import
2014-09-04 05:00:46 -07:00
Baligh Uddin 3305a02dc3 Import translations. DO NOT MERGE
Change-Id: I198c14a1374a0b61bf5aa3cdf013fca8260bc97f
Auto-generated-cl: translation import
2014-09-04 04:57:43 -07:00
Baligh Uddin 6146bc0bca Import translations. DO NOT MERGE
Change-Id: I7fbf4df1000e05cbd5a12a95bd60d36b5eac14d9
Auto-generated-cl: translation import
2014-09-04 04:50:29 -07:00
Jean Chalard 78d1dcd356 [ML4] Rename Dictionaries to DictionaryGroup
We're going to have multiple DictionaryGroup objects and it
would be very confusing to have this class name a plural.

Change-Id: I8f5c621459ede49f245be26097fe71f44289761c
2014-09-04 18:35:47 +09:00
Tadashi G. Takaoka dcb49afd0c Update active key backgrounds
Bug: 15681452
Change-Id: I05f06b35748d090a58f3524df719586093431d07
2014-09-04 14:31:02 +09:00
Tadashi G. Takaoka 91b5fa5831 am 2ff7865e: am cc5050d7: Update spacebar background for Material
* commit '2ff7865e87bf8bc27e6c3f6d6067caec8828ebbf':
  Update spacebar background for Material
2014-09-03 17:55:55 +00:00
Tadashi G. Takaoka 964877a8f2 am c297197b: am 1c2cf719: Add new value "spacebar" to Key.backgroundType attribute
* commit 'c297197b1548307c31017ba3dc89bbb6bbf2223e':
  Add new value "spacebar" to Key.backgroundType attribute
2014-09-03 17:55:54 +00:00
Tadashi G. Takaoka e355274642 am ec7d6752: am 5a9c9649: Removes "customAction" value from Key.backgroundType attribute
* commit 'ec7d67529e0dd4e5bf87e3b96c4b78db44adb96f':
  Removes "customAction" value from Key.backgroundType attribute
2014-09-03 17:55:53 +00:00
Tadashi G. Takaoka 6a4e9218ca am 2a7a5740: am 0af2472a: Add new "keyboardTheme" <case> predicator
* commit '2a7a5740e929503a0aca23f376175a9c118b7a83':
  Add new "keyboardTheme" <case> predicator
2014-09-03 17:55:52 +00:00
Yohei Yukawa 5d7b24f29c am f2c509a8: am 310da35c: Merge "Follow up API signature change" into lmp-dev
* commit 'f2c509a81ef107e6c71dc6804417469d12c94fca':
  Follow up API signature change
2014-09-03 17:41:46 +00:00
Tadashi G. Takaoka 96e4828f10 am 836987c0: am ca70bd5f: Fix depedency of debug settings
* commit '836987c0cd3d290425b37209e98295734aedb017':
  Fix depedency of debug settings
2014-09-03 17:41:45 +00:00
Yohei Yukawa f618f351fe am 6e29bf56: am 8c42bf54: Follow API signature change in CursorAnchorInfo
* commit '6e29bf56c680331a7d1a50be38212c1356cb584d':
  Follow API signature change in CursorAnchorInfo
2014-09-03 17:41:43 +00:00
Tadashi G. Takaoka cc5050d7ca Update spacebar background for Material
Bug: 17318036
Change-Id: Iaa091b525433d56db9aca9e0301f3727ce392605
2014-09-03 14:39:13 +00:00
Tadashi G. Takaoka 1c2cf71921 Add new value "spacebar" to Key.backgroundType attribute
Bug: 17318036
Change-Id: Ie84438a6aa3adc14a9db603d0cd4d5e37a55d612
2014-09-03 23:37:03 +09:00
Tadashi G. Takaoka 5a9c9649db Removes "customAction" value from Key.backgroundType attribute
Bug: 17318036
Change-Id: I6a36d50ba2e69eafbb0faa049014281bd4d4ddfc
2014-09-03 23:35:39 +09:00
Tadashi G. Takaoka 0af2472a69 Add new "keyboardTheme" <case> predicator
Bug: 17318036
Change-Id: Ief386c84969d8646fb5cfe2050a2f59a7db16c88
2014-09-03 23:26:46 +09:00
Yohei Yukawa 310da35c77 Merge "Follow up API signature change" into lmp-dev 2014-09-03 09:42:11 +00:00
Jatin Matani 972003428b Merge "Attempt retry for broken dictionaries" 2014-09-03 08:56:38 +00:00
Yohei Yukawa 5d6ac77732 Follow up API signature change
This is a follow up CL for API signature change in
I772c48ff18918e48a81e807b48ff907614485c09

BUG: 17320996
Change-Id: Ic8b6162bda12bf74fae79af212c5d81c400eb9e8
2014-09-03 01:13:15 -07:00
Jatin Matani 256b1b2a1e Attempt retry for broken dictionaries
1. Add retry count column within metadata in dictionary pack.
2. Attempt a retry for download and installation by running StartDownloadAction.
3. If the number retrial are at the threshold, we don't attempt it again.

Bug: 15150487
Change-Id: I70720353e5803fccf4728c2aa798883ba75c61e5
2014-09-03 17:11:06 +09:00
Tadashi G. Takaoka ca70bd5f3a Fix depedency of debug settings
This is a follow of the I26e4d292de.

Bug: 15678343
Change-Id: I364d6df386cf32102e4ebb0151d18e49dcc5bd2c
2014-09-03 05:05:07 +00:00
Yohei Yukawa 8c42bf54af Follow API signature change in CursorAnchorInfo
This is just a follow up CL for Ia8cbb9f6b41cd9509fc0147fd68763df.
No behavial change is intended.

BUG: 17200900
Change-Id: Iba23b731ebde64ec2e816c5b4bef1d93632fce1e
2014-09-02 16:29:35 -07:00
Yohei Yukawa 961cb1abf3 am 15c29c35: am 6ef88a65: Merge "Use right arrow for the commit indicator" into lmp-dev
* commit '15c29c3538695145d34b883a1ad8222458eb6eaa':
  Use right arrow for the commit indicator
2014-09-02 19:14:25 +00:00
Yohei Yukawa 6ef88a65a2 Merge "Use right arrow for the commit indicator" into lmp-dev 2014-09-02 18:30:15 +00:00
Tadashi G. Takaoka d27af1a5d4 am 3ad86d91: am afa9d6d8: Merge "Add theme aware key popup preview animation" into lmp-dev
* commit '3ad86d91f1e3d251635303e0fb9a83dce22efa3a':
  Add theme aware key popup preview animation
2014-09-02 17:44:10 +00:00
Tadashi G. Takaoka 012d749ef1 am 3e9bbf17: am f4383ed3: Fix missing Material light more keys\' background
* commit '3e9bbf17350d385352e62ce2326ad5898619fb88':
  Fix missing Material light more keys' background
2014-09-02 17:43:30 +00:00
Yohei Yukawa 2ea06d5e7e am 446f53f9: am ee0d8077: Show the commit indicator only for word to be auto-corrected
* commit '446f53f9c03a7846bd3d13cf61f1a7851cc8ae74':
  Show the commit indicator only for word to be auto-corrected
2014-09-02 17:34:13 +00:00
Tadashi G. Takaoka afa9d6d8de Merge "Add theme aware key popup preview animation" into lmp-dev 2014-09-02 12:17:57 +00:00
Tadashi G. Takaoka ac88f3d845 Add theme aware key popup preview animation
Bug: 15678343
Change-Id: I26e4d292deab37724387cc9ebc03033fcd698c60
2014-09-02 18:45:23 +09:00
Jean Chalard a341e7d244 Merge "[ML3] Put the locale in SuggestedWordInfo" 2014-09-02 06:40:59 +00:00
Jean Chalard c0d3123930 Merge "[ML2] Small refactoring" 2014-09-02 06:40:51 +00:00
Tadashi G. Takaoka f4383ed3a2 Fix missing Material light more keys' background
Bug: 15782668
Change-Id: I8b59d8a4dabe03418e520c18d5d64e2d10f4cae2
2014-09-02 10:59:23 +09:00
Baligh Uddin 509b6c9ad6 Merge "Import translations. DO NOT MERGE" 2014-09-01 21:45:59 +00:00
Baligh Uddin 7cf3d513f1 Merge "Import translations. DO NOT MERGE" 2014-09-01 21:45:42 +00:00
Baligh Uddin c5e9f51d3d Import translations. DO NOT MERGE
Change-Id: I7f8ff7d676862ccba5c3f4bf4675d8252e6669db
Auto-generated-cl: translation import
2014-09-01 04:12:00 -07:00
Baligh Uddin 8b0db442fa Import translations. DO NOT MERGE
Change-Id: Ic84804506b360a3d1d756f907be7f3dcedf26a23
Auto-generated-cl: translation import
2014-09-01 04:10:46 -07:00
Jean Chalard 576c96af95 [ML3] Put the locale in SuggestedWordInfo
...and remove it from SuggestionResults.

Change-Id: Iae85ec7e82e2caf18cc6d7656aa46dc150707cdd
2014-09-01 20:09:32 +09:00
Jean Chalard 146cb98e54 [ML2] Small refactoring
Change-Id: I1283d666b8904ff4e6c012332bdbc9c0c13df415
2014-09-01 20:09:24 +09:00
Jatin Matani 962c40d326 Merge "StatsUtilsManager should be initiated(#onCreate) before loadSettings." 2014-09-01 08:27:19 +00:00
David Faden 95b7bd3ba5 Add a private IME option to suppress the gesture floating preview text.
If the option defined by Constants.NO_FLOATING_GESTURE_PREVIEW is set
for a text field via EditorInfo.privateImeOptions, the floating gesture
preview will be suppressed regardless of the settings preference.

Feature request:
bug: 17325039

Change-Id: I1a1df194369e8f2d76abd9d84939a057f55f4a1c
2014-09-01 03:59:38 +00:00
Keisuke Kuroyanagi dec2c2d910 Merge "Support multiple locales in distractor filter." 2014-09-01 03:27:35 +00:00
Yohei Yukawa 2412d9ae3c Use right arrow for the commit indicator
Change-Id: I5074acd2eec451f77b47378bf9a5f7a14c792ce6
2014-08-29 22:29:25 -07:00
Yohei Yukawa ee0d8077d6 Show the commit indicator only for word to be auto-corrected
Change-Id: I61e25b960ae083857efc2704498a0761e0965ad3
2014-08-29 17:31:36 -07:00
Jatin Matani aa223400c3 StatsUtilsManager should be initiated(#onCreate) before loadSettings.
Change-Id: I9002b4afb023e55ab251ea070ec0b7a6ace99261
2014-08-29 15:51:57 -07:00
Tadashi G. Takaoka f5960b4f62 am 034a4a5a: am c4710124: Merge "Fix the order of keys on more keys keyboard" into lmp-dev
* commit '034a4a5a19ba37dba8999b3763ae756fe748deaf':
  Fix the order of keys on more keys keyboard
2014-08-29 19:07:06 +00:00
Tadashi G. Takaoka 2d713c87c6 am 2fabd50d: am f507d1fe: Support RTL layout in custom input style settings
* commit '2fabd50df49f894afde15ac5f4ebd2ff5372a9c4':
  Support RTL layout in custom input style settings
2014-08-29 19:07:04 +00:00
Jean Chalard 78bb2dd945 am 3bd8eee3: am 4e28a6a8: Fix an IOOB exception
* commit '3bd8eee3e8c3e89539578a4231661819de65c804':
  Fix an IOOB exception
2014-08-29 19:07:03 +00:00
Tadashi G. Takaoka f9af39e53e am 727cd740: am f2eadbb4: Clear keyboard cache when system locale is changed
* commit '727cd74072d97af334fe8c0d18fa6a1e23629ccb':
  Clear keyboard cache when system locale is changed
2014-08-29 19:07:02 +00:00
Keisuke Kuroyanagi fdaedb6c1d Support multiple locales in distractor filter.
Bug: 16547557
Change-Id: I4aba278eb4114e0075f3f8b38c7e132743927fa8
2014-08-29 22:29:30 +09:00
Keisuke Kuroyanagi 9eec97d5b0 Merge "Use DictionaryFacilitatorLruCache for personalization." 2014-08-29 10:10:40 +00:00
Tadashi G. Takaoka c471012483 Merge "Fix the order of keys on more keys keyboard" into lmp-dev 2014-08-29 09:58:28 +00:00
Tadashi G. Takaoka f507d1febb Support RTL layout in custom input style settings
Bug: 17322353
Change-Id: I3b211ab8729121271563a8a243558a58ee7847c2
2014-08-29 18:28:53 +09:00
Jean Chalard 4e28a6a844 Fix an IOOB exception
Bug: 17316001
Change-Id: Iaa2cfd30ebbe0d49e10a5c3a30336e06817d0a8b
2014-08-29 06:56:34 +00:00
Keisuke Kuroyanagi e59f3e4fbf Use DictionaryFacilitatorLruCache for personalization.
Bug: 16547557

Change-Id: I5faba5e26d072b49c0fffcaeaf5062f9e0c2dcc0
2014-08-29 12:57:50 +09:00
Tadashi G. Takaoka a9fc8622fe Fix the order of keys on more keys keyboard
This CL fixes the behavior of !autoColumnOrder!<n> flag in a more keys
specification. Formerly the <n> value specifies the maximum number of
column of more keys. With this CL, the <n> value specifies the exact
number of column of more keys.

Bug: 16603887
Change-Id: I2120620fa512ee30043bb146ad675a942a375129
2014-08-29 11:06:20 +09:00
Jatin Matani aabb351279 Refactor StatsUtils into two components:StatsUtils & StatsUtilsManager
Bug:16522256
Change-Id: I9cb8129c552159cf17ea5c2656e0988bf0f999f5
2014-08-28 17:28:23 -07:00
Tadashi G. Takaoka f2eadbb497 Clear keyboard cache when system locale is changed
Bug: 17310080
Change-Id: I2b388772f269f1e7610a5bd32de80793da2df16e
2014-08-28 22:50:07 +09:00
Jean Chalard 98e56c6905 am 3ef26ac1: am 6bd267f4: Merge "Add new attributes to our notification" into lmp-dev
* commit '3ef26ac13b677bc8d7adeed378ce6d6cbad171ee':
  Add new attributes to our notification
2014-08-28 09:52:03 +00:00
Jean Chalard a2928484f6 Add new attributes to our notification
Bug: 17167221
Bug: 17128331
Change-Id: I6a045fd2398f40dbdc10c9d20993f7513e1f2cff
2014-08-28 07:47:07 +00:00
Jean Chalard f95770354c Straighten the dead char implementation, take 3.
Change-Id: I4f70f6eebe076c7d2b780d25e3a2c1d3faa2edfa
2014-08-28 16:03:45 +09:00
Keisuke Kuroyanagi b85349e981 Merge "Create DictionaryFacilitatorLruCache." 2014-08-28 03:09:28 +00:00
Yohei Yukawa af5c2b24e7 am 8d0d2363: am acce1aa5: Make sure to obtain the IC before requesting CursorAnchorInfo
* commit '8d0d236394548be4e2302a03960ce4ee363a5483':
  Make sure to obtain the IC before requesting CursorAnchorInfo
2014-08-27 23:41:33 +00:00
Yohei Yukawa acce1aa59e Make sure to obtain the IC before requesting CursorAnchorInfo
RichInputConnection#requestUpdateCursorAnchorInfo must make
sure to obtain the input connection before calling methods
of it.

BUG: 17299587
Change-Id: I8e0cd473a4cc32583cd47634c227d702f7c69c6c
2014-08-27 15:59:52 -07:00
Baligh Uddin cb7d1a63f1 Merge "Import translations. DO NOT MERGE" 2014-08-27 18:33:41 +00:00
Baligh Uddin 723d24e5a8 Merge "Import translations. DO NOT MERGE" 2014-08-27 18:33:41 +00:00
Baligh Uddin 4b97e997f5 Merge "Import translations. DO NOT MERGE" 2014-08-27 18:33:38 +00:00
Baligh Uddin 6f67018d8d Merge "Import translations. DO NOT MERGE" 2014-08-27 18:33:34 +00:00
Ken Wakasa 95c4d26994 Merge "Revert "Straighten the dead char implementation."" 2014-08-27 15:07:52 +00:00
Ken Wakasa 0ba6bcb16d Revert "Straighten the dead char implementation."
This reverts commit 5ef447aeea.

Reverting because this broke a bunch of unit tests -- https://sponge.corp.google.com/target?id=b6439742-099e-46cb-8f00-d0c602a4d9bb&target=com.google.android.inputmethod.latin.tests&searchFor=&show=FAILED&sortBy=STATUS

Change-Id: Ibbd9e11372993f62e630fd9da37158ffcf47c17a
2014-08-27 15:07:28 +00:00
Keisuke Kuroyanagi d267764d5a Create DictionaryFacilitatorLruCache.
This class is separated from AndroidSpellCheckerService

Bug: 16547557

Change-Id: I3e58521207395588cecb2977234b89067d6da8c3
2014-08-27 22:00:48 +09:00
Jean Chalard 4204d59864 Merge "Straighten the dead char implementation." 2014-08-27 12:54:49 +00:00
Tadashi G. Takaoka 8b5788d72b am 68a2a69a: am 37beaf15: Simplify onComputeInsets of LatinIME
* commit '68a2a69ae35352650a4c6dfc0b0c69069c4a1e1d':
  Simplify onComputeInsets of LatinIME
2014-08-27 10:44:51 +00:00
Tadashi G. Takaoka 37beaf1529 Simplify onComputeInsets of LatinIME
This CL expands SoftInputWindow to the entire screen. Thus a key
review backing view is eliminated and onComputeInsets() gets
simplified too.

Bug: 17212702
Bug: 10841052
Bug: 10541453
Change-Id: I2d859f4e4698c64cabe399000821f13bab729996
2014-08-27 19:20:38 +09:00
Yohei Yukawa 00042cb453 am c925ca43: am 97681ebd: Set highlight color along with the commit indicator
* commit 'c925ca43a6e0b3175feb002ce6b5577ef7d66507':
  Set highlight color along with the commit indicator
2014-08-27 10:01:24 +00:00
Ken Wakasa 6da1c674fd resolved conflicts for merge of 8159336b to master
Change-Id: I9dd726593c6768b1db35305935ee69b0937358ef
2014-08-27 18:55:39 +09:00
Ken Wakasa c1596086d3 resolved conflicts for merge of 0268f736 to master
Change-Id: Ib89ef55a8752f9b5e357eed3a05c79dd28d0ec0e
2014-08-27 18:41:31 +09:00
Baligh Uddin 511e6729db Import translations. DO NOT MERGE
Change-Id: I0e264ee268375e1de7cd887a15f5b5e58e088329
Auto-generated-cl: translation import
2014-08-27 02:18:44 -07:00
Baligh Uddin d002c54ec2 Import translations. DO NOT MERGE
Change-Id: I632754d86444b86051d9d27becef3994c82a9458
Auto-generated-cl: translation import
2014-08-27 02:13:38 -07:00
Baligh Uddin d036341454 Import translations. DO NOT MERGE
Change-Id: Icd839563ab1ac8d8233a8c8ad49daee02a87bd2b
Auto-generated-cl: translation import
2014-08-27 02:12:14 -07:00
Baligh Uddin bd187bd803 Import translations. DO NOT MERGE
Change-Id: I067525751c072822661b855072b25e574f719a23
Auto-generated-cl: translation import
2014-08-27 02:10:48 -07:00
Jean Chalard 5ef447aeea Straighten the dead char implementation.
This now supports all cases, including cases not supported by
the framework.
Now rebased on top of the right change, and renamed

Change-Id: I7886f0dcbb86cdb4dccec09aa7c52ad339680e04
2014-08-27 17:59:39 +09:00
Yohei Yukawa 97681ebdf1 Set highlight color along with the commit indicator
With this CL, the text highlight color is applied
when the commit indicator is displayed.

Note that the underline is not rendered when the
background color is enabled. This is a known issue.

Change-Id: Ia19355e1303e3a10e8a7d69bc47c779feb70248a
2014-08-27 01:41:16 -07:00
Yohei Yukawa 29200b0abe Set the text bgcolor only when CursorAnchorInfo is available
When CursorAnchorInfo is unavailable, we shouldn't try to show
the commit indicator and set the text highlight color.

With this CL, RichInputConnection can be used to track if the
application responded that it does support CursorAnchorInfo or
not.  This result will be taken into consideration when
InputLogic needs to determine whether the commit indicator
should be displayed or not.

Change-Id: I945d70eeb02a7a5f3d9b22459b23d7028508910f
2014-08-27 01:30:45 -07:00
Yohei Yukawa a475c85480 Introduce a mechanism to hide the indicator speculatively
This is an optional optimization to reduce the UI latency.

Imagine that the commit indicator is now displayed and the
composing text is being updated, it is highly likely that
the commit indicator will disappear unless the application
rejects the setComposingText request.

If we assume that the application will accept the new
composing text without any modifications, we can hide the
indicator without waiting for the arrival of new
CursorAnchorInfo event.

This optimization isn't dangerous because we can show the
indicator again when we receive new CursorAnchorInfo event
and the assumption is turned out to be invalid.

Change-Id: Id59c6607a1029782410611e768791af9984f14ac
2014-08-26 23:42:53 -07:00
Yohei Yukawa bea17c49ec Introduce commit/add-to-dictionary indicators
This CL introduces commit/add-to-dictionary indicators.

Note that the text is not yet highlighted when the commit
indicator is displayed. It will be addressed in subsequent
CLs.

Change-Id: I7e9b0fcfdc0776a50a1d8cfb41ee0add813317dd
2014-08-26 21:20:27 -07:00
Ken Wakasa 4660ecaa44 Merge "Fix a bug where mic/emoji key wouldn't work." 2014-08-26 13:30:15 +00:00
Jean Chalard e38043849e Fix a bug where mic/emoji key wouldn't work.
Bug: 17272902
Bug: 17269948
Change-Id: I561609fa84a6265f8148db7d2411bc1fd38dd163
2014-08-26 22:06:21 +09:00
Jean Chalard 96522da9eb am 2a2d324e: am 8380f921: Fix a bug where the top prediction would disappear.
* commit '2a2d324eb627807a9d09b491fbb4ac78ffb253fc':
  Fix a bug where the top prediction would disappear.
2014-08-26 12:37:17 +00:00
Jean Chalard 8380f921f7 Fix a bug where the top prediction would disappear.
This is because prediction can't be easily distinguished in
style. This fixes the bug by simulating the right members,
but some refactoring should be done to remove useless
booleans.

Bug: 17271923
Change-Id: Ib88f3fb95678021624e59535492926dd315d26fb
2014-08-26 20:35:59 +09:00
David Faden 9cf69a45b2 Adds documentation for a few methods.
Change-Id: I6bdae25a8b81cdac931f2591f33570b01e34fb2c
2014-08-26 08:08:24 +00:00
Keisuke Kuroyanagi bf6fc4953b Merge "Get dynamic dict stats via DictionaryFacilitator" 2014-08-25 11:24:54 +00:00
Yohei Yukawa d8dfac6dcb am abf05cc0: am fdfe73ff: Merge "Use more descriptive names for some internal fields" into lmp-dev
* commit 'abf05cc0da1ead7e270a7c99bf9f000dabf91f5b':
  Use more descriptive names for some internal fields
2014-08-25 10:16:11 +00:00
Jean Chalard 1a31d784cd Merge "Introduce onEvent() to improve testability" 2014-08-25 09:57:42 +00:00
Yohei Yukawa fdfe73ff1f Merge "Use more descriptive names for some internal fields" into lmp-dev 2014-08-25 09:50:59 +00:00
Tadashi G. Takaoka d147db8763 am c500700f: am 19dd34a0: Show view even when IME is explicitly shown with physical keyboard
* commit 'c500700faec11b7a6d54a821009be4d657c43394':
  Show view even when IME is explicitly shown with physical keyboard
2014-08-25 09:35:08 +00:00
Yohei Yukawa a61b7245b0 Use more descriptive names for some internal fields
This CL clarifies that delay parameters are specified with
milliseconds.

Change-Id: I401a60b8c09c2a04201af5b74babcdb091c07f4a
2014-08-25 02:28:01 -07:00
Jean Chalard ee8ebeecbf Merge "Fix unit tests" 2014-08-25 09:26:17 +00:00
Jean Chalard dc110b2a6a Fix unit tests
Change-Id: I48bfa4e4dd80f36d2fe0a1e9d2a2706533cc722e
2014-08-25 18:19:00 +09:00
Tadashi G. Takaoka 7defe926ca am 4a782da3: am f145fff0: Merge "Fix NPE when pressing ALT key" into lmp-dev
* commit '4a782da382b83164ea5c23c771b771e73bbe31b3':
  Fix NPE when pressing ALT key
2014-08-25 08:25:42 +00:00
Yohei Yukawa 4587b135be am 2d508203: am 8681287c: Fix build due to an illegal character
* commit '2d508203c64f50ed47fb87c24ae5ebbfb0610a36':
  Fix build due to an illegal character
2014-08-25 08:25:35 +00:00
Yohei Yukawa 8c7daa829a am 02716083: am 5eebaddc: Merge "Dismiss "Add to dictionary" hint with non-special char event" into lmp-dev
* commit '02716083158c3affbcfc719ff6471112d7397578':
  Dismiss "Add to dictionary" hint with non-special char event
2014-08-25 08:25:34 +00:00
Yohei Yukawa a5687ee9f7 am b65a1e46: am 2c4cce8d: Merge "Introduce #shouldShowAddToDictionaryHint" into lmp-dev
* commit 'b65a1e46ce06adc462dfc4cbde302ac27a79b695':
  Introduce #shouldShowAddToDictionaryHint
2014-08-25 08:25:33 +00:00
Tadashi G. Takaoka ef7c701e72 am 129af927: am 5e7a6fe0: Merge "Fix the bottom row of tablet keyboard layout" into lmp-dev
* commit '129af92713c59016d13b957e55ce089984ccc4e8':
  Fix the bottom row of tablet keyboard layout
2014-08-25 08:25:32 +00:00
Yohei Yukawa f6f55add17 am e0d00803: am 4a71d2c4: Allow to add/remove background color to/from the committed text
* commit 'e0d00803087ac2f873332d43a78453c068633545':
  Allow to add/remove background color to/from the committed text
2014-08-25 08:25:31 +00:00
Yohei Yukawa c06c6e42ad am 7d146cdb: am cd6ef9a8: Indroduce SuggestedWords#getTypedWordInfoOrNull
* commit '7d146cdbe86692f153fb5b7f781f701a8c04050d':
  Indroduce SuggestedWords#getTypedWordInfoOrNull
2014-08-25 08:25:24 +00:00
Jean Chalard 908f0ed154 Introduce onEvent() to improve testability
...and prepare for the future

Change-Id: Ieed96ab552993fd148e80b9c3355f1b569bd716f
2014-08-25 16:33:47 +09:00
Tadashi G. Takaoka 19dd34a023 Show view even when IME is explicitly shown with physical keyboard
Bug: 17242477
Bug: 13988700
Change-Id: I519c0481760a9aa93a5d9bee68e0f6a3a8fc4d9d
2014-08-25 16:28:44 +09:00
Tadashi G. Takaoka f145fff085 Merge "Fix NPE when pressing ALT key" into lmp-dev 2014-08-25 06:52:36 +00:00
Keisuke Kuroyanagi 9cbf814cb5 Get dynamic dict stats via DictionaryFacilitator
Bug: 16553957
Change-Id: Ida08ceaf34708daed52d61b3d5adfbdb48e42c71
2014-08-25 15:19:48 +09:00
Tadashi G. Takaoka ad1f880811 Fix NPE when pressing ALT key
Bug: 17203708
Change-Id: I4f203603496e9401dacba4db21372e3353916418
2014-08-25 15:08:27 +09:00
Jean Chalard dc44260484 Merge "Revert "Revert "[ML1] Introduce RichInputMethodSubtype""" 2014-08-25 05:24:28 +00:00
Jean Chalard 85ddfe1317 Revert "Revert "[ML1] Introduce RichInputMethodSubtype""
This reverts commit a63d0a8ee6.

This patch seems to be fine after all, but was submitted without its companion [ML1.1] patch causing a build breakage. Reverting the revert and submitting both at the same time seems like the right thing to do.

Change-Id: Ib8fefa40b74dcee0edb025a52dac9b35c82d49df
2014-08-25 04:42:15 +00:00
Yohei Yukawa 8681287cd6 Fix build due to an illegal character
Change-Id: I597ab26db70387b80ddcd7d51de6ae751380030d
2014-08-24 21:14:41 -07:00
Yohei Yukawa 5eebaddccb Merge "Dismiss "Add to dictionary" hint with non-special char event" into lmp-dev 2014-08-25 04:08:56 +00:00
Yohei Yukawa 2c4cce8d6c Merge "Introduce #shouldShowAddToDictionaryHint" into lmp-dev 2014-08-25 04:05:56 +00:00
Yohei Yukawa ebc1509039 Introduce #shouldShowAddToDictionaryHint
This is a groundwork for subsequent CLs where we need to
call this method from multiple places. This CL does not
change any existing behaviors.

Change-Id: Id8fa0360305d7383571edffab6752b2240367cf9
2014-08-24 20:59:30 -07:00
Tadashi G. Takaoka 5e7a6fe098 Merge "Fix the bottom row of tablet keyboard layout" into lmp-dev 2014-08-25 03:45:35 +00:00
Tadashi G. Takaoka c9aa1beb6d Fix the bottom row of tablet keyboard layout
This CL eliminates "_" and "/" keys from the bottom row of tablet
keyboard.  This CL also reorganizes the bottom row of tablet Dvorak
keyboard.

Bug: 16603887
Change-Id: Ic1570836dea1a475bed5d43aeb6a351507bf5428
2014-08-25 12:34:58 +09:00
Yohei Yukawa 034c326078 Dismiss "Add to dictionary" hint with non-special char event
This CL slightly extends the condition when "Add to dictionary"
hint is dismissed.

With this CL, "Add to dictionary hint" will be dismissed by any
non-special char event. This is more comfortable especially if
we start using more intrusive UIs such as indicator and/or
background color with the text hint in the suggestion strip.

Change-Id: I2ea0fa40d9c6663ebf5d5439be3eca2a2cbd5166
2014-08-24 20:32:22 -07:00
Yohei Yukawa 4a71d2c480 Allow to add/remove background color to/from the committed text
This is a groundwork for subsequent CLs where we need to
add/remove background color to/from the commited text.

In this CL, we use Spanned#SPAN_COMPOSING so that we can easily
remove such a background color by calling
InputConnection#finishComposingText. To make this operation easy
and realiable, we need to track whether we have specified the
background color to the commited text or not at one place. Here
we use RichInputConnection for this purpose.

Change-Id: I5f9bc4425c5d1b80a719a20e5baf336729ec08d2
2014-08-24 20:28:24 -07:00
Yohei Yukawa cd6ef9a8b1 Indroduce SuggestedWords#getTypedWordInfoOrNull
This is a groundwork for subsequent CLs whith need to
do certain things for and only for the typed word.

Change-Id: I374b79cbc79470f57f523c996010301ea5701a61
2014-08-24 16:32:17 -07:00
Baligh Uddin 19a7012db5 Merge "Import translations. DO NOT MERGE" 2014-08-22 18:29:52 +00:00
Baligh Uddin bf32c26578 Merge "Import translations. DO NOT MERGE" 2014-08-22 18:29:52 +00:00
Baligh Uddin dafd54f055 Merge "Import translations. DO NOT MERGE" 2014-08-22 18:29:48 +00:00
Baligh Uddin f1d070eae2 Merge "Import translations. DO NOT MERGE" 2014-08-22 18:29:48 +00:00
Baligh Uddin 7bf6d900b9 Merge "Import translations. DO NOT MERGE" 2014-08-22 18:29:42 +00:00
Tadashi G. Takaoka 560876508f am cc4d21df: am 2637be27: Support Accept typed word UI
* commit 'cc4d21df7b08c3143dd1c4af786609a279a0bb79':
  Support Accept typed word UI
2014-08-22 14:27:26 +00:00
Tadashi G. Takaoka 2637be27c5 Support Accept typed word UI
Change-Id: I58e95b2791a45afdc7dae8e26dcfc200b3b4b854
2014-08-22 21:25:35 +09:00
Jean Chalard 6c638d1bbd Merge "Revert "[ML1] Introduce RichInputMethodSubtype"" 2014-08-22 09:41:46 +00:00
Jean Chalard a63d0a8ee6 Revert "[ML1] Introduce RichInputMethodSubtype"
This reverts commit 8ffe4bc932.

Change-Id: I9d4c98b0adfdb78b0f4d376f7691e50d1bd2228f
2014-08-22 09:40:27 +00:00
Yohei Yukawa eb99b461f0 am 96db9222: am cabb66e9: follow-up to API change in I4a577bfd02b37b
* commit '96db9222c2c8c728498751221cc92664676dd4f0':
  follow-up to API change in I4a577bfd02b37b
2014-08-22 09:26:22 +00:00
Keisuke Kuroyanagi e2ebd5d621 Merge "Add ExpandableBinaryDictionary#getDictionaryStats()." 2014-08-22 09:05:18 +00:00
Jean Chalard 395d778739 Merge "Revert "[HW17] Straighten the dead char implementation."" 2014-08-22 08:20:28 +00:00
Jean Chalard 5bfd661b38 Revert "[HW17] Straighten the dead char implementation."
This reverts commit c6612ff051.

Change-Id: I750d9bff9cb89a6ab13af7a33567c3a0fe2af381
2014-08-22 08:16:28 +00:00
Jean Chalard f429d8f138 Merge "[ML1] Introduce RichInputMethodSubtype" 2014-08-22 07:42:29 +00:00
Jean Chalard 8ffe4bc932 [ML1] Introduce RichInputMethodSubtype
Bug: 11230254
Change-Id: Ic7a1bf938a5a186dcff527b556295aba2406e8b9
2014-08-22 16:34:27 +09:00
Jean Chalard 1b34985dcf Merge "[HW17] Straighten the dead char implementation." 2014-08-22 07:33:31 +00:00
Mohammadinamul Sheik 698b19ef35 Pass a new argument to StatsUtils.
Change-Id: I61e32c7a455a273e8daf9a5487d7969923802488
Bug: 17013677
2014-08-22 15:58:45 +09:00
Jean Chalard c6612ff051 [HW17] Straighten the dead char implementation.
This now supports all cases, including cases not supported by
the framework.

Change-Id: I9dfbe2829c28c5bcb64b0b5a2551e7806990c00f
2014-08-22 15:55:32 +09:00
Yohei Yukawa cabb66e9bc follow-up to API change in I4a577bfd02b37b
BUG: 17182367
BUG: 17185263
Change-Id: Id54ca29c191b9752fa82ffe5a960113b2e97e5c1
2014-08-21 21:39:15 -07:00
Keisuke Kuroyanagi 6f2ddddb5b Add ExpandableBinaryDictionary#getDictionaryStats().
Bug: 16553957
Change-Id: I05866624d0ba9f32ea7a71cb231ba501dde4376c
2014-08-22 12:02:40 +09:00
Yohei Yukawa 5a96395b78 am 8cbc37f2: am 8e2fcaa3: Merge "Use FrameLayout for the backing view" into lmp-dev
* commit '8cbc37f2c803fe5854237434742845a7b8ee32b9':
  Use FrameLayout for the backing view
2014-08-21 18:38:12 +00:00
Yohei Yukawa 8e2fcaa334 Merge "Use FrameLayout for the backing view" into lmp-dev 2014-08-21 18:06:07 +00:00
Tadashi G. Takaoka ebec5e1338 Merge "Add Hinglish (hi_ZZ) subtype" 2014-08-21 10:22:17 +00:00
Tadashi G. Takaoka d6696ae78b Add Hinglish (hi_ZZ) subtype
Bug: 17169632
Change-Id: Ibee088d76c2b19f1d62a3c9c119452726e856ec8
2014-08-21 19:12:25 +09:00
Keisuke Kuroyanagi 68a52c1245 Merge "Update FormatSpec.java" 2014-08-21 09:50:38 +00:00
Keisuke Kuroyanagi c7b6393535 Update FormatSpec.java
Change-Id: I27d14697f931c9511420a459c49312ea6e10c366
2014-08-21 17:23:11 +09:00
Yohei Yukawa b8337e7232 am 2834ddf1: am b9768702: Merge "Use #onStartInputInternal to initialize cursor rect retrieval" into lmp-dev
* commit '2834ddf1a0c9bea38569429f90bdf7526ba8fa22':
  Use #onStartInputInternal to initialize cursor rect retrieval
2014-08-20 15:52:48 +00:00
Yohei Yukawa b9768702fa Merge "Use #onStartInputInternal to initialize cursor rect retrieval" into lmp-dev 2014-08-20 01:43:56 +00:00
Yohei Yukawa 9f4f6681a9 Use #onStartInputInternal to initialize cursor rect retrieval
This CL simply moves the method calls of #requestCursorAnchorInfo
into #onStartInputInternal just to consolidate the logic.

Change-Id: Ia205738b9614e9ae375c1dab767a91d2e1f6d0d3
2014-08-21 00:21:57 +09:00
Yohei Yukawa fa39ffcf84 Support more methods in the wrapper of CursorAnchorInfo
This CL add more compatibility wrapper methods for
CursorAnchorInfo.

This CL also adds more utility functions and types into
CompatUtils to reduce explict cast operations.

Change-Id: Id50165b552bbf28b832a6da13bf06eedcd2a190e
2014-08-20 09:27:22 +09:00
Baligh Uddin 8fb9874470 Import translations. DO NOT MERGE
Change-Id: I3cae3b62faf27fea8cc7c24051ac18f415934399
Auto-generated-cl: translation import
2014-08-18 23:15:21 -07:00
Baligh Uddin 2b250a1174 Import translations. DO NOT MERGE
Change-Id: I9d51675746cc1b3987f2c7a2469a3deced820e69
Auto-generated-cl: translation import
2014-08-18 23:14:04 -07:00
Baligh Uddin 0c4679699f Import translations. DO NOT MERGE
Change-Id: Iacc87d9f13f21de7584cd5028527ec59c7c12802
Auto-generated-cl: translation import
2014-08-18 23:09:41 -07:00
Baligh Uddin 71673204f0 Import translations. DO NOT MERGE
Change-Id: Ieef69130fa6f1f9c9f95a8f308175fbec470af86
Auto-generated-cl: translation import
2014-08-18 23:08:37 -07:00
Baligh Uddin a549f99dcc Import translations. DO NOT MERGE
Change-Id: I0b7fb1fc18139ff80343703ab7a6caa2166fa519
Auto-generated-cl: translation import
2014-08-18 23:07:30 -07:00
Yohei Yukawa 907825548b Use FrameLayout for the backing view
If we render our UI around the composing text in the fullscreen
mode, probably we need to have our views under
android.R.id.extractArea, which is implemented as FrameLayout.
Therefore, using FrameLayout for the backing view makes it easy
to simplify the code between normal mode and full screen mode.

Change-Id: I69533b22d9d1368ad906dc5ef7be1a1b674d10b8
2014-08-19 14:04:35 +09:00
Jean Chalard 8adf5e8a70 Have the "add to dictionary" hint display the right word
Before this, we display the word we have committed instead
of the word we will actually insert into the personal dictionary.
There is a difference when the word was typed with auto-caps.

Bug: 17071785
Change-Id: I2bfec0402b1307934590a78ab5c25104d92b75ca
2014-08-18 20:43:40 +09:00
Yohei Yukawa b7a227b93b Merge "Use RelativeLayout for the backing view" into lmp-dev 2014-08-16 04:32:18 +00:00
Ken Wakasa c37205f5ab Merge "DO NOT MERGE: Abolish source code overlay and introduce overridable src dir" into lmp-dev 2014-08-16 04:25:55 +00:00
Ken Wakasa 0b3e48fb50 DO NOT MERGE: Abolish source code overlay and introduce overridable src dir
This should make IDEs happy with appropriate source code directory
selection.

Change-Id: Ic734bd4d20aa050c688a3158b1a382ae0ac18991
(cherry picked from commit fb74ab15c1)
2014-08-20 02:56:09 +00:00
Yohei Yukawa 3cf13d1267 am 17aeaa75: am fa39ffcf: Support more methods in the wrapper of CursorAnchorInfo
* commit '17aeaa75780591f1bf7fefcc887869fd90c88a9f':
  Support more methods in the wrapper of CursorAnchorInfo
2014-08-20 05:04:07 +00:00
Ken Wakasa 9be350bc21 Merge "Abolish source code overlay and inroduce overridable src dir" 2014-08-16 04:15:21 +00:00
Yohei Yukawa fd8f1cf1bd am 4617bf56: am b7a227b9: Merge "Use RelativeLayout for the backing view" into lmp-dev
* commit '4617bf563f69047bfceb580477fae8c23c9b39f4':
  Use RelativeLayout for the backing view
2014-08-16 14:10:16 +00:00
Yohei Yukawa c9240d280c am 18ac3c8a: am 16a43d2b: Let the backing view cover the entire content area
* commit '18ac3c8afd06c237a2935abad130aa3b99b5004b':
  Let the backing view cover the entire content area
2014-08-16 14:02:21 +00:00
Keisuke Kuroyanagi ffaa9c2a71 Merge "Add language to PersonalizationDataChunk." 2014-08-16 04:12:14 +00:00
Keisuke Kuroyanagi e66d59e6d8 Add language to PersonalizationDataChunk.
Bug: 16547557
Change-Id: I11b82667631cbd5263cc08ccb304fc97bf692050
2014-08-19 18:27:34 +09:00
Yohei Yukawa 1a1c5e0f60 Use RelativeLayout for the backing view
RelativeLayout allows the IME to place its UI element at an
arbitrary position on the backing view.

Change-Id: Ib40d2111f56d8f38007e37c6c47536db3f0bef75
2014-08-16 12:34:01 +09:00
Yohei Yukawa 16a43d2bd9 Let the backing view cover the entire content area
With this CL, the backing view starts covering the content area
entirely.  This allows the IME to render its UI elements at an
arbitrary position on the screen.

Change-Id: I8b4173410931b776964dddf66de2fe247e51d9de
2014-08-16 12:28:13 +09:00
Ken Wakasa fb74ab15c1 Abolish source code overlay and inroduce overridable src dir
This should make IDEs happy with appropriate source code directory
selection.

bug: 16829244
Change-Id: Ic734bd4d20aa050c688a3158b1a382ae0ac18991
2014-08-16 03:37:54 +09:00
Baligh Uddin ef0808e705 Merge "Import translations. DO NOT MERGE" 2014-08-15 04:31:42 +00:00
Baligh Uddin 5655187ae9 Merge "Import translations. DO NOT MERGE" 2014-08-15 04:31:42 +00:00
Baligh Uddin 94eeb915d0 Merge "Import translations. DO NOT MERGE" 2014-08-15 08:11:59 +00:00
Baligh Uddin 4ebfec72ab Merge "Import translations. DO NOT MERGE" 2014-08-15 04:31:42 +00:00
Jean Chalard 3dbc3ece26 am e04c8b10: am b8d76477: Add the input style to SuggestedWords.
* commit 'e04c8b10d7876effbfdf2340a1fec6bf368c3409':
  Add the input style to SuggestedWords.
2014-08-14 18:10:05 +00:00
Jean Chalard b8d764772b Add the input style to SuggestedWords.
Change-Id: I81f37d08659d449822b027d3d5912e11eec8b8ff
2014-08-14 17:53:04 +09:00
Tadashi G. Takaoka af078ce7b4 am 1901c331: am a94c89e0: Use light emoji icon for Material light tablet keyboard
* commit '1901c331283e2f60e6277a7773a103a447bd31ca':
  Use light emoji icon for Material light tablet keyboard
2014-08-13 15:54:51 +00:00
Tadashi G. Takaoka a94c89e017 Use light emoji icon for Material light tablet keyboard
Bug: 16808603
Change-Id: I39ce0ed8b5580754dfd0cf1494289b0a23863d50
2014-08-14 00:25:34 +09:00
Yohei Yukawa d9a8e1ccfd Enable CursorAnchorInfo callback when necessary
Change-Id: If3dda7442418053600ac935da50baaddb0e31d37
2014-08-13 20:02:14 +09:00
Yohei Yukawa 6e7806bc00 Add stub implementation of #onUpdateCursorAnchorInfo
This CL never changes existing behavior because
ProductionFlags.ENABLE_CURSOR_ANCHOR_INFO_CALLBACK is
not yet turned on.

Change-Id: I4bcbd2aebd05977b07231e8aa14acdcf6d8e1fa0
2014-08-13 19:36:23 +09:00
Tadashi G. Takaoka c225d2e29c Add setting boolean for showing UI to accept typed word
Change-Id: Iedd90d07b904362d9debc9994ce86cd78a0303b9
2014-08-13 17:29:49 +09:00
Tadashi G. Takaoka a696c92477 (DO NOT MERGE) Add debug setting to force hardware special key
Bug: 13988700
Change-Id: If23f8a14097431e76a303a6d6c24e8d9835fb655
(cherry picked from commit 3659c70fc3)
2014-08-13 08:04:54 +00:00
Tadashi G. Takaoka 78cff10f8d Add BuildCompatUtils to get an effective platfrom API version
This CL removes reference of VERSION_CODES.CUR_DEVELOPMENT.

Bug: 13888366
Change-Id: I5c8499a175473a220c8fb04ead219760c585a19a
2014-08-13 16:21:23 +09:00
Tadashi G. Takaoka 8f3e778a21 Revert "Remove reference of VERSION_CODES.CUR_DEVELOPMENT"
This reverts commit 5380acfd04.

Bug: 13888366
Change-Id: Iae0fb6798cef9d59c9de3790123f6acaf8b2746b
2014-08-13 04:00:36 +00:00
Yohei Yukawa 85ce863d19 am 4a2dbd87: am d9a8e1cc: Enable CursorAnchorInfo callback when necessary
* commit '4a2dbd87c4a49afbe40a61028ff338e2864554ed':
  Enable CursorAnchorInfo callback when necessary
2014-08-13 11:38:19 +00:00
Yohei Yukawa bec6c6e306 am 3a346bf5: am 6e7806bc: Add stub implementation of #onUpdateCursorAnchorInfo
* commit '3a346bf51c441b9b62f0cee364940c2d4661c72c':
  Add stub implementation of #onUpdateCursorAnchorInfo
2014-08-13 10:55:00 +00:00
Tadashi G. Takaoka f8f83c24ca am 43b8646a: am c225d2e2: Add setting boolean for showing UI to accept typed word
* commit '43b8646a31573ef3ce8efbbaf46c3d72d8c5deca':
  Add setting boolean for showing UI to accept typed word
2014-08-13 09:21:32 +00:00
Tadashi G. Takaoka 26233cddee Merge "Add debug setting to force hardware special key" 2014-08-12 23:14:48 +00:00
Tadashi G. Takaoka 089371b649 am bdb05cc8: am 78cff10f: Add BuildCompatUtils to get an effective platfrom API version
* commit 'bdb05cc89f63f4f3956936fa062d0b4555aa072a':
  Add BuildCompatUtils to get an effective platfrom API version
2014-08-13 07:52:52 +00:00
Tadashi G. Takaoka 3659c70fc3 Add debug setting to force hardware special key
Bug: 13988700
Change-Id: If23f8a14097431e76a303a6d6c24e8d9835fb655
2014-08-13 15:33:07 +09:00
Tadashi G. Takaoka 4ac551d189 am 7edc27f1: am 8f3e778a: Revert "Remove reference of VERSION_CODES.CUR_DEVELOPMENT"
* commit '7edc27f17b450e690f08a972c4573b92b39ef7ee':
  Revert "Remove reference of VERSION_CODES.CUR_DEVELOPMENT"
2014-08-13 05:28:51 +00:00
Keisuke Kuroyanagi 82be1873f1 Merge "Add additional wait for writing file in testAddManyWords()." 2014-08-12 23:14:42 +00:00
Tadashi G. Takaoka 89a2145448 am a70542a5: am 5380acfd: Remove reference of VERSION_CODES.CUR_DEVELOPMENT
* commit 'a70542a5ef2c7f4d5cfe62150ed17be3776904c5':
  Remove reference of VERSION_CODES.CUR_DEVELOPMENT
2014-08-12 15:02:59 +00:00
Tadashi G. Takaoka 5380acfd04 Remove reference of VERSION_CODES.CUR_DEVELOPMENT
Bug: 13888366
Change-Id: I0b829e2cf9a11c694cf01b6f02753233c9c85105
2014-08-12 23:13:18 +09:00
Keisuke Kuroyanagi 9f584e15eb Add additional wait for writing file in testAddManyWords().
Change-Id: Ibb79b9821dac3d48e18c684e8aca605254bec045
2014-08-12 22:29:02 +09:00
Baligh Uddin 15d6876bb0 Import translations. DO NOT MERGE
Change-Id: Idee05910c3f7bb4d2206c231d763cf026d62fa3c
Auto-generated-cl: translation import
2014-08-12 02:18:20 -07:00
Baligh Uddin e956a81998 Import translations. DO NOT MERGE
Change-Id: Ib7098ce2fffd7eb5040b2714cbae17eb66a072e5
Auto-generated-cl: translation import
2014-08-12 02:13:46 -07:00
Baligh Uddin 599098783c Import translations. DO NOT MERGE
Change-Id: I6e9684b6ce3aeb85084b135e78a2082add1d436d
Auto-generated-cl: translation import
2014-08-12 02:12:42 -07:00
Baligh Uddin 08bc5a45c2 Import translations. DO NOT MERGE
Change-Id: I691365225a7a9006723751aa26be4898f46948b0
Auto-generated-cl: translation import
2014-08-12 02:11:18 -07:00
Jatin Matani 0807c897f4 Make SettingsValues non-final to testability
Add getter for enableMetricsLogging boolean.

Bug:16522256
Change-Id: Ie9a38efc7861b3d4207562d2bf0344c5c2ae957a
2014-08-11 16:33:01 -07:00
Yohei Yukawa 89e8cba6ae Merge "Add CursorAnchorInfoCompatWrapper for KitKat and older platforms" into lmp-dev 2014-08-11 19:46:21 +00:00
Tadashi G. Takaoka 499153734e (DO NOT MERGE) Add SpecialkeyDetector
Bug: 13988700
Change-Id: I215e879ad33b149370c1d0a5fdcf2203c0fc8b4a
(cherry picked from commit 34541bfeb6)
2014-08-12 10:14:41 +00:00
Tadashi G. Takaoka 8fdff5a111 (DO NOT MERGE) Show InputView even when hardware keyboard is connected
Bug: 13988700
Change-Id: I4aeb01bf3571afc97959c213474a6424d7896120
(cherry picked from commit 06514f00f4)
2014-08-12 10:03:47 +00:00
Yohei Yukawa deff9495f7 Add CursorAnchorInfoCompatWrapper for KitKat and older platforms
Change-Id: Ia26c783ebefd7b928d623a598792b7ba32d89a80
2014-08-12 17:26:56 +09:00
Tadashi G. Takaoka 016d6c424c Auto scale-X text of key popup preview
Bug: 9978106
Change-Id: I335fa3117ac2af2cb8220c4827dd54c1a1da4c5c
2014-08-12 12:17:40 +09:00
Yohei Yukawa 0ba23b3ab3 am 6a5cba26: am 89e8cba6: Merge "Add CursorAnchorInfoCompatWrapper for KitKat and older platforms" into lmp-dev
* commit '6a5cba2695cc82707535845d6265ddc7d92a79ed':
  Add CursorAnchorInfoCompatWrapper for KitKat and older platforms
2014-08-12 11:08:47 +00:00
Tadashi G. Takaoka 1fc4d5aab3 Merge "Add SpecialkeyDetector" 2014-08-11 19:46:21 +00:00
Tadashi G. Takaoka 34541bfeb6 Add SpecialkeyDetector
Bug: 13988700
Change-Id: I215e879ad33b149370c1d0a5fdcf2203c0fc8b4a
2014-08-12 19:08:58 +09:00
Tadashi G. Takaoka 06514f00f4 Show InputView even when hardware keyboard is connected
Bug: 13988700
Change-Id: I4aeb01bf3571afc97959c213474a6424d7896120
2014-08-12 18:44:05 +09:00
Tadashi G. Takaoka ef2c537e59 Merge "Show InputView even when hardware keyboard is connected" 2014-08-11 18:59:25 +00:00
Tadashi G. Takaoka 2ae42d7861 am 3d477a73: am 016d6c42: Auto scale-X text of key popup preview
* commit '3d477a73afac2449794d953f00dd3411210b1b81':
  Auto scale-X text of key popup preview
2014-08-12 04:33:01 +00:00
Tadashi G. Takaoka e1758f8cdf Disable Sinhala keyboard for E-release
This CL also disables Tamil (Sri Lanka) subtype in conjunction with
Sinhala (Sri Lanka) subtype.

Bug: 6911143
Bug: 9978106
Change-Id: Ie56051eb04141114ca02c72b256942a838e38721
2014-08-11 20:16:16 +09:00
Tadashi G. Takaoka c9add10c38 (DO NOT MERGE) Disable Sinhala keyboard for L-release
This CL also disables Tamil (Sri Lanka) subtype in conjunction with
Sinhala (Sri Lanka) subtype.

Bug: 6911143
Bug: 9978106
Change-Id: I686b4e5d2c79039ca8d837d3227448d69c7e47de
2014-08-11 11:14:07 +00:00
Tadashi G. Takaoka 463339f195 resolved conflicts for merge of aca5785a to master
Change-Id: I01e8af21d6d019859da4a05995e77701a0d9c585
2014-08-11 19:34:23 +09:00
Tadashi G. Takaoka 25906373ff Fix Tamil keyboard
This CL adds Tamil (Sri Lanka) and Tamil (Singapore) subtypes.
This CL also fixes Sinhala Keyboard's currency symbol.

Bug: 9978106
Bug: 6911143
Change-Id: I2060978097882d0f4b1ec10f1103260ed8a447d0
2014-08-11 18:07:27 +09:00
Tadashi G. Takaoka e5e1e70015 am a23dda38: am 2863997a: Fix Kannada keyboard
* commit 'a23dda38a04d8fe7402c1866c97bc53d7540f22b':
  Fix Kannada keyboard
2014-08-11 08:07:19 +00:00
Tadashi G. Takaoka 2863997abd Fix Kannada keyboard
Bug: 10029252
Change-Id: I5ae056ca6ada4ffb921e9882bf57ad21a9bb4d47
2014-08-11 15:51:56 +09:00
Tadashi G. Takaoka 015fcc2685 (DO NOT MERGE) Enable InScript keyboards for L
This CL enables the followin InScript keyboards for L-release.
- Sinhala
- Tamil
- Bengali
- Telugu
- Marathi
- Kannada
- Malayalam

Bug: 6911143
Bug: 9978106
Bug: 10028755
Bug: 10028759
Bug: 10028772
Bug: 10029252
Bug: 10417006
Change-Id: Id8962b429fbb58b5c2c90a65849af6a6fe84a8c9
2014-08-11 15:51:12 +09:00
Ken Wakasa 31869bf5ad A follow up to AAPT change
AAPT previously allowed apps to generate resources in the android
package. This is no longer allowed after I1be66e3f8df9a737b21c71f8a93685376c7e6780.

Change-Id: Icda68829c0bf9254b6637f0ec2cecc0b357dbc43
2014-08-10 11:21:14 +09:00
Ken Wakasa f729f2214f Help & feedback should be the very last item in the menu
bug: 16717930

Change-Id: I7ce73fe067bb7f9a639b414875780c39bb1de12d
2014-08-08 21:26:51 +09:00
Tadashi G. Takaoka 560bfe409d Merge "Mark some preliminary InScript keyboards as complete" 2014-08-07 16:37:11 +00:00
Tadashi G. Takaoka 154acd0cff Mark some preliminary InScript keyboards as complete
This CL marks the followin InScript keyboards as complete.
- Sinhala
- Tamil
- Bengali
- Telugu
- Marathi
- Kannada
- Malayalam

Bug: 6911143
Bug: 9978106
Bug: 10028755
Bug: 10028759
Bug: 10028772
Bug: 10029252
Bug: 10417006
Change-Id: I8873725c3f1c3e6cb7bbad96d15034e44c0a1f0b
2014-08-11 16:00:30 +09:00
Ken Wakasa 44409e18c5 am 61c71e80: am 31869bf5: A follow up to AAPT change
* commit '61c71e80c3c46eb1a4396d26b98c75432b358d27':
  A follow up to AAPT change
2014-08-11 04:48:26 +00:00
Ken Wakasa d4626dbf04 am 30a03e87: am f729f221: Help & feedback should be the very last item in the menu
* commit '30a03e87991e4b42c26d52b8dcd4d5805a18f1b6':
  Help & feedback should be the very last item in the menu
2014-08-08 12:42:48 +00:00
Keisuke Kuroyanagi 0c60d7c16c am 0e74d71f: am a848c094: Merge "Rename distracter filter class." into lmp-dev
* commit '0e74d71f254ad40d989e82d387fafe0fbc83969c':
  Rename distracter filter class.
2014-08-08 09:01:08 +00:00
Keisuke Kuroyanagi 9306c027b1 am aaa2ce26: am 6fef4ff0: Merge "Use suggestions in the distracter filter." into lmp-dev
* commit 'aaa2ce26203f3e85e7783ccd21275702ebfbe366':
  Use suggestions in the distracter filter.
2014-08-08 09:01:07 +00:00
Ken Wakasa 16dd35bfb6 am 04f1e165: am 83a96fe5: Initial implementation of Help & feedback
* commit '04f1e1652220fb89b8ae4fabe4fa7c4b90cb092c':
  Initial implementation of Help & feedback
2014-08-08 04:40:32 +00:00
Ken Wakasa 83a96fe5c7 Initial implementation of Help & feedback
bug: 16717930

Change-Id: Iddc8e831c3f01ec7eb02ed1bc5d5e103d497e177
2014-08-08 12:58:31 +09:00
Keisuke Kuroyanagi 6fef4ff00d Merge "Use suggestions in the distracter filter." into lmp-dev 2014-08-07 16:56:07 +00:00
Keisuke Kuroyanagi 33ca0c80c1 Use suggestions in the distracter filter.
Bug: 13142176
Bug: 15531638

Change-Id: I609fa61fccf2a0c738726985806b7d9248eadf49
2014-08-08 17:01:16 +09:00
Keisuke Kuroyanagi a848c09485 Merge "Rename distracter filter class." into lmp-dev 2014-08-07 16:37:11 +00:00
Keisuke Kuroyanagi e05eb21826 Rename distracter filter class.
Bug: 13142176
Bug: 15531638
Change-Id: I89cef5264073eed25ffb5be10fdff731df0a3138
2014-08-08 17:01:19 +09:00
Tadashi G. Takaoka dca68b7aa3 am 83c68465: am db776143: Revert "Revert "Align hint label to bottom""
* commit '83c68465de0f367658d6dc57dd866ccaa4b183fb':
  Revert "Revert "Align hint label to bottom""
2014-08-07 15:15:56 +00:00
Tadashi G. Takaoka c32e439da7 am 056a8bee: am dfeb0147: Revert "Revert "Tune number letter size of Material keyboard""
* commit '056a8bee6fc373d93aada524d1ff8283c347aa6f':
  Revert "Revert "Tune number letter size of Material keyboard""
2014-08-07 15:15:55 +00:00
Tadashi G. Takaoka f1ca6b7334 am cbc2c253: am f7f65743: Revert "Revert "Remove unused Key and Keyboard attributes""
* commit 'cbc2c2530adadd7d6b933aa8679aea2267c4352a':
  Revert "Revert "Remove unused Key and Keyboard attributes""
2014-08-07 15:15:54 +00:00
Tadashi G. Takaoka 26797024cc am be73b19d: am e9ed396f: Merge "Revert "Revert "Add Key label off center attribute""" into lmp-dev
* commit 'be73b19d640b0e4d7fe1c2a981e26295ef683cf0':
  Revert "Revert "Add Key label off center attribute""
2014-08-07 14:49:03 +00:00
Tadashi G. Takaoka 52ede0b0cf am 92d03563: am 0df148fc: Merge "Revert "Revert "Remove unused animation resources""" into lmp-dev
* commit '92d03563d645d24488d12dd6daed05a2871288b3':
  Revert "Revert "Remove unused animation resources""
2014-08-07 14:45:22 +00:00
Tadashi G. Takaoka db776143d9 Revert "Revert "Align hint label to bottom""
This reverts commit 02c4a80afe.
2014-08-07 23:44:34 +09:00
Tadashi G. Takaoka dfeb014726 Revert "Revert "Tune number letter size of Material keyboard""
This reverts commit 5ad718f2ca.
2014-08-07 23:43:37 +09:00
Tadashi G. Takaoka 3e91b6f793 am 8c0a4a22: am 6dcdfcc3: Clean up Keyboard and KeyboardView theme
* commit '8c0a4a2207370e90679bf5afc890669ca3c4a93a':
  Clean up Keyboard and KeyboardView theme
2014-08-07 14:40:55 +00:00
Tadashi G. Takaoka f7f6574368 Revert "Revert "Remove unused Key and Keyboard attributes""
This reverts commit 44e20f4fb4.

Change-Id: I6560c8f4ef15bf8318d9eedf68a9eb5031f0581d
2014-08-07 23:36:57 +09:00
Tadashi G. Takaoka 6dcdfcc39d Clean up Keyboard and KeyboardView theme
Change-Id: I3f49f400b3857d34e1f2a7727a17c768787fe045
2014-08-07 23:17:01 +09:00
Ken Wakasa 0d72a8dba3 am 0a4a2558: am 414e9470: Revert "Clean up Keyboard and KeyboardView theme"
* commit '0a4a255825471b61c142002d35093b3f6f57d0ad':
  Revert "Clean up Keyboard and KeyboardView theme"
2014-08-07 11:51:59 +00:00
Ken Wakasa c91c2d5e8a am cfaf75bb: am 0f2de75e: Merge "Revert "Remove unused animation resources"" into lmp-dev
* commit 'cfaf75bb963b6186e1be1c7ba4e265d29cd0c7fb':
  Revert "Remove unused animation resources"
2014-08-07 11:51:58 +00:00
Ken Wakasa d4c4dc8751 am c5ff9e4e: am 787e9a37: Revert "Add Key label off center attribute"
* commit 'c5ff9e4e23c162a75bedc6c4e4ae6fbfa0080e82':
  Revert "Add Key label off center attribute"
2014-08-07 11:51:57 +00:00
Ken Wakasa 5fd5555d23 am ef8a1be4: am 5f57fe4a: Merge "Revert "Remove unused Key and Keyboard attributes"" into lmp-dev
* commit 'ef8a1be46f253ac75c89af9d88c390efd95d3532':
  Revert "Remove unused Key and Keyboard attributes"
2014-08-07 11:48:15 +00:00
Ken Wakasa e4ea3cce2c am 50cae6f0: am 52183821: Merge "Revert "Tune number letter size of Material keyboard"" into lmp-dev
* commit '50cae6f08c53c7fda6f62058227b80a70e9ed1c4':
  Revert "Tune number letter size of Material keyboard"
2014-08-07 11:48:14 +00:00
Ken Wakasa bef6c4c44a am c8f384ea: am 1c7e6f8d: Merge "Revert "Align hint label to bottom"" into lmp-dev
* commit 'c8f384ea6a15180d5894dfc2fed03865c49f2fe3':
  Revert "Align hint label to bottom"
2014-08-07 11:48:12 +00:00
Ken Wakasa 414e9470d8 Revert "Clean up Keyboard and KeyboardView theme"
This reverts commit ef231984ed.

Due to unit test breakage.

Change-Id: I2136e950c3f72fb82b01e90758c1036bb0b7d508
2014-08-07 11:40:14 +00:00
Ken Wakasa 787e9a37b4 Revert "Add Key label off center attribute"
This reverts commit ba49920e80.

Due to unit test breakage.

Bug: 14419121
Change-Id: I6f4fc30b86227e59c883d202551b162dc91b4166
2014-08-07 11:38:36 +00:00
Keisuke Kuroyanagi ba18f6e6cb am e44c4d25: am b6665d95: Merge "Use DistracterFilterCheckingIsInDictionary for User History" into lmp-dev
* commit 'e44c4d254182f0db042eb5a815305fa555148ba4':
  Use DistracterFilterCheckingIsInDictionary for User History
2014-08-07 10:32:49 +00:00
Tadashi G. Takaoka ca0368c0d6 am 304b92c3: am f1784266: Align hint label to bottom
* commit '304b92c3efb5dd1db622dacec678a85c3c6ced95':
  Align hint label to bottom
2014-08-07 09:58:48 +00:00
Tadashi G. Takaoka f1784266ec Align hint label to bottom
Bug: 14419121
Change-Id: I9147d3c4a3687ed745ffdddfff221d88652919b2
2014-08-07 18:42:47 +09:00
Tadashi G. Takaoka 56baf7860b am 521298dd: am 44454c2b: Tune number letter size of Material keyboard
* commit '521298dd083de524cddec15fded86246436ac29c':
  Tune number letter size of Material keyboard
2014-08-07 09:21:52 +00:00
Tadashi G. Takaoka 7790102b0d am 56e6df25: am 6ba5d636: Merge "Remove unused Key and Keyboard attributes" into lmp-dev
* commit '56e6df2561141978e33356b142279398dbf6985a':
  Remove unused Key and Keyboard attributes
2014-08-07 09:12:48 +00:00
Tadashi G. Takaoka 0bed75a818 am 0851d351: am e988e412: Merge "Add Key label off center attribute" into lmp-dev
* commit '0851d351332e6191857d81e245a6025c02c84219':
  Add Key label off center attribute
2014-08-07 09:03:58 +00:00
Tadashi G. Takaoka fdb0001851 am ff1e338e: am 91f47b03: Merge "Remove unused animation resources" into lmp-dev
* commit 'ff1e338e5b412236aafc6234244f6187fded782c':
  Remove unused animation resources
2014-08-07 09:03:57 +00:00
Tadashi G. Takaoka 001c186b2e am ec44b04b: am 0c2dc410: Merge "Clean up Keyboard and KeyboardView theme" into lmp-dev
* commit 'ec44b04b04b2f0f944be57671dfadaddb3bd4c3e':
  Clean up Keyboard and KeyboardView theme
2014-08-07 09:03:56 +00:00
Tadashi G. Takaoka 44454c2b2b Tune number letter size of Material keyboard
Bug: 14419121
Change-Id: I6a477b9bf9022e369d4a6a77415490dc2b9eefc6
2014-08-07 17:55:38 +09:00
Tadashi G. Takaoka 85c29bd2bb am bfcb3323: am e19c520b: Align space key icon to bottom of a key
* commit 'bfcb3323d2d7165984038f9eff3e49bc824a6d0f':
  Align space key icon to bottom of a key
2014-08-07 04:02:58 +00:00
Tadashi G. Takaoka e19c520b41 Align space key icon to bottom of a key
The Key.keyLabelFlags's flag "alignButtom" (misspelled) has been
removed by Iae3cd66744. This CL re-introduce the same flag with
"alignIconToBottom".

Bug: 16803172
Change-Id: I412590f394c6ca9b36358d6acfe8675071403bdd
2014-08-07 12:42:27 +09:00
Ken Wakasa 95d2c4fbed am d5e4e367: am 3316dcd4: Merge "Revert "Introduce onEvent() to improve testability"" into lmp-dev
* commit 'd5e4e367f21407da7a5f62a18e601957b07b6f4d':
  Revert "Introduce onEvent() to improve testability"
2014-08-07 00:13:09 +00:00
Geoff Mendal d34354ee67 Merge "Import translations. DO NOT MERGE" 2014-08-05 00:29:22 +00:00
Geoff Mendal 086f9d54af Import translations. DO NOT MERGE
Change-Id: I649fa8860a39804aff07aaf6c3c5cb09a282f7cf
Auto-generated-cl: translation import
2014-08-06 13:23:50 -07:00
Geoff Mendal 59121d519b Merge "Import translations. DO NOT MERGE" 2014-08-06 17:19:40 +00:00
Geoff Mendal c48a1a73e3 Import translations. DO NOT MERGE
Change-Id: I88c0d488ee62e184b44b81073a9fa5343ace2f77
Auto-generated-cl: translation import
2014-08-06 13:15:36 -07:00
Tadashi G. Takaoka 28b8f349df am 94a568a8: am 868395c6: Merge "Mark hind_compact layout as completed" into lmp-dev
* commit '94a568a8635d6362398f059fdea662b9d9165267':
  Mark hind_compact layout as completed
2014-08-06 17:40:11 +00:00
Jean Chalard 78d9b7c4a0 am bc043c31: am 1f3d89c2: Revert "[HS1] Save some data in startInputView"
* commit 'bc043c31ded2dd48008b185503475e440f302aa0':
  Revert "[HS1] Save some data in startInputView"
2014-08-06 17:38:51 +00:00
Jean Chalard bd38799e27 am fe807696: am 772a8019: Revert "[HS2] Move more stuff to onStartInput"
* commit 'fe807696566a5975b4d0932c72a05593a98f13d3':
  Revert "[HS2] Move more stuff to onStartInput"
2014-08-06 17:38:50 +00:00
Tadashi G. Takaoka c8b860e3e1 am 571320ad: am 5dee1fd6: Merge "Add dedicated background for custom action label key" into lmp-dev
* commit '571320ad90b2ac2bb9fa77cf6700feec3bc4030a':
  Add dedicated background for custom action label key
2014-08-06 17:38:49 +00:00
Jean Chalard 09ae6b9119 am 922411a7: am ef74e737: Introduce onEvent() to improve testability
* commit '922411a70804921e69df0ef477f6b007e83d5692':
  Introduce onEvent() to improve testability
2014-08-06 17:38:47 +00:00
Jean Chalard 43cf1ae7bb am f66b0e5f: am c08c5064: Merge "Fix an NPE when running with Keep." into lmp-dev
* commit 'f66b0e5f71be61e496bd8b77f04384ea14b75da7':
  Fix an NPE when running with Keep.
2014-08-06 17:38:45 +00:00
Tadashi G. Takaoka 0bfcb89ac4 am e8668c2e: am aa3ff194: Merge "Use add icon for add custom input style menu" into lmp-dev
* commit 'e8668c2ee2dac5168e1af8484fb9ae2a0534b442':
  Use add icon for add custom input style menu
2014-08-06 17:38:43 +00:00
Jean Chalard d393cf065a am 98e27483: am 9273f383: [HS3] Fix a bug on ICS
* commit '98e2748363355d2286215c798225d529f3a1cb34':
  [HS3] Fix a bug on ICS
2014-08-06 17:38:34 +00:00
Jean Chalard cf66902f69 am 0978aa71: am 50c12c83: Merge "[HS2] Move more stuff to onStartInput" into lmp-dev
* commit '0978aa71ea91583c0b8d7e2588549fbb56953e7e':
  [HS2] Move more stuff to onStartInput
2014-08-06 17:38:11 +00:00
Jean Chalard 1f3d89c2af Revert "[HS1] Save some data in startInputView"
This reverts commit f1accd4f04.

Bug: 16830599
Change-Id: I4c9367f742b8ee8463920e91263b05c2195f8480
2014-08-06 18:36:55 +09:00
Jean Chalard 772a8019ef Revert "[HS2] Move more stuff to onStartInput"
This reverts commit 93b00a314e.

Bug: 16830599
Change-Id: I955e7da77978c3a495660aa29247e010d489c36b
2014-08-06 18:36:29 +09:00
Jean Chalard ef74e737f5 Introduce onEvent() to improve testability
...and prepare for the future

Change-Id: Ieed96ab552993fd148e80b9c3355f1b569bd716f
2014-08-06 07:29:35 +00:00
Jean Chalard 9273f3832b [HS3] Fix a bug on ICS
There is a bug in ICS where the input connection won't take
any writing commands after rotation until the cursor moves.
This fixes it by wiggling the cursor position once before trying
to do anything.

Bug: 16810766
Change-Id: Ib14c70bd0550420cecfa86dea501d13a1a91e296
2014-08-06 11:38:11 +09:00
Tadashi G. Takaoka a58d78ec89 am 9cca3c83: am a262144d: Add ViewCompatUtils.setElevation
* commit '9cca3c8359e30e15a50f60773fd19571659c3dc1':
  Add ViewCompatUtils.setElevation
2014-08-05 13:26:01 +00:00
Tadashi G. Takaoka c64769207d am eceefd07: am 689064d0: Remove unnecessarily overridden defaultEnterKeyStyle
* commit 'eceefd0725c4f727f44e9c65a82970ead15e3566':
  Remove unnecessarily overridden defaultEnterKeyStyle
2014-08-05 13:25:59 +00:00
Jean Chalard 6745f337c1 am d5c89d64: am 6474ef99: Merge "[HW16] Implement processing event chains." into lmp-dev
* commit 'd5c89d64901f1fe7085e6c217d0c2fc19853b032':
  [HW16] Implement processing event chains.
2014-08-05 13:25:58 +00:00
Tadashi G. Takaoka 139e54a26d am c34a3842: am 8cbb4eb9: Merge "Make popup hint letter theme-aware" into lmp-dev
* commit 'c34a3842120078d921e69ed839873e430d6a674b':
  Make popup hint letter theme-aware
2014-08-05 13:25:56 +00:00
Jean Chalard 377825942e am 5a91e4fa: am f69bb4c7: [HW15] Pass events instead of reading them from the transaction
* commit '5a91e4fa909633ee2e9eaf8055b56228a79380a5':
  [HW15] Pass events instead of reading them from the transaction
2014-08-05 13:25:55 +00:00
Jean Chalard c36e679eb3 am b8c1075a: am 1b9f7c96: Merge "[HW14] Cleanup" into lmp-dev
* commit 'b8c1075a8f5ab62998056462b9c25ef848305019':
  [HW14] Cleanup
2014-08-05 13:25:52 +00:00
Jean Chalard 28632211ef am b5c862f8: am c710b34e: Merge "[HW13] Split up onCodeInput" into lmp-dev
* commit 'b5c862f8f942a3ae201cc6a657de9479340d1ad3':
  [HW13] Split up onCodeInput
2014-08-05 13:25:51 +00:00
Tadashi G. Takaoka a262144dcb Add ViewCompatUtils.setElevation
Bug: 16210054
Change-Id: I632158951a60ab527246410caefd9fbe471dd859
2014-08-05 18:56:24 +09:00
Tadashi G. Takaoka 689064d0a2 Remove unnecessarily overridden defaultEnterKeyStyle
The overriding defaultEnterKeyStyle was needed because there were two
Key's attributes to control key's visual, keyLabel and
keyIcon. Because these were merged into one keySpec attribute, there
is no need to override defaultEnterKeyStyle.

Bug: 16787857
Change-Id: I78ca2c7c9349e4532c67e8d6468a5b98309adc05
2014-08-05 09:54:02 +00:00
Jean Chalard f69bb4c7a3 [HW15] Pass events instead of reading them from the transaction
It's probably cleaner to just pass the events rather than read
them from a transaction, especially when a transaction may be
associated with several events in a chain.

Change-Id: I27830f0f3f3f32fe77ea8b9cad505b7ebee648af
2014-08-05 15:37:01 +09:00
Geoff Mendal 9c0b5b21eb Merge "Import translations. DO NOT MERGE" 2014-08-05 00:29:22 +00:00
Geoff Mendal f600192ea4 Import translations. DO NOT MERGE
Change-Id: Id120437f9e4d9a2e59dd07aba38bf6683a960142
Auto-generated-cl: translation import
2014-08-04 23:26:07 -07:00
Jean Chalard 23cdb61a53 am 82db6b45: am f1accd4f: [HS1] Save some data in startInputView
* commit '82db6b45435ab93255d6406039be88b1d6998c2c':
  [HS1] Save some data in startInputView
2014-08-05 03:58:55 +00:00
Tadashi G. Takaoka 0df148fce0 Merge "Revert "Revert "Remove unused animation resources""" into lmp-dev 2014-08-05 00:07:36 +00:00
Tadashi G. Takaoka 57914a138a Revert "Revert "Remove unused animation resources""
This reverts commit c083255b50.

Change-Id: I357bcafe7f28fe72b2b51b566dd59ac9c1c5b2fc
2014-08-07 14:27:57 +00:00
Ken Wakasa c083255b50 Revert "Remove unused animation resources"
This reverts commit 9e7f0677bf.

Due to unit test breakage.

Change-Id: I664c25c17fc4cc98264bdac772eac086c9fbc183
2014-08-07 11:39:22 +00:00
Tadashi G. Takaoka 9e7f0677bf Remove unused animation resources
Change-Id: Idc0670588bb51e6a2b3eac9489cb643db293815a
2014-08-07 16:24:02 +09:00
Tadashi G. Takaoka 91f47b03fe Merge "Remove unused animation resources" into lmp-dev 2014-08-05 00:07:36 +00:00
Tadashi G. Takaoka 0c2dc41029 Merge "Clean up Keyboard and KeyboardView theme" into lmp-dev 2014-08-05 00:07:36 +00:00
Tadashi G. Takaoka ef231984ed Clean up Keyboard and KeyboardView theme
Change-Id: I745ed21b88fbdb1f3a16a71ebf3461d909ae448e
2014-08-07 16:16:31 +09:00
Tadashi G. Takaoka fd8b4522df (DO NOT MERGE) Remove preliminary keyboards from L
Change-Id: I9e1209b80b8919669b4496102b967220ab16146b
2014-08-07 13:00:34 +09:00
Ken Wakasa 3316dcd453 Merge "Revert "Introduce onEvent() to improve testability"" into lmp-dev 2014-08-05 00:07:36 +00:00
Ken Wakasa f5f5fb4b64 Revert "Introduce onEvent() to improve testability"
This reverts commit ef74e737f5.

Apparently, this CL broke several unit tests.

Change-Id: I86cf5f1ffb0214707afe99ee97f92ba8c5157f3f
2014-08-06 23:57:03 +00:00
Tadashi G. Takaoka 5dee1fd67d Merge "Add dedicated background for custom action label key" into lmp-dev 2014-08-05 00:07:36 +00:00
Tadashi G. Takaoka 017e9f7e7f Add dedicated background for custom action label key
Bug: 15526978
Change-Id: Ia73d825c7e00097018822704e61272d0e448f39a
2014-08-06 17:23:14 +09:00
Jean Chalard c08c506487 Merge "Fix an NPE when running with Keep." into lmp-dev 2014-08-05 00:07:36 +00:00
Jean Chalard 411fa5909b Fix an NPE when running with Keep.
Change-Id: Ie703e14bff42d34608f11d0c2d7758950b84c88c
2014-08-06 13:00:05 +09:00
Tadashi G. Takaoka aa3ff194cd Merge "Use add icon for add custom input style menu" into lmp-dev 2014-08-05 00:07:36 +00:00
Tadashi G. Takaoka f7d1dc2b5e Use add icon for add custom input style menu
Bug: 16805043
Change-Id: I9730a6aa5d761924457edaabcee25db930e20f02
2014-08-06 11:38:45 +09:00
Jean Chalard 93b00a314e [HS2] Move more stuff to onStartInput
Bug: 8152758
Change-Id: Ida05df7d151ceb582886e2ad06c5bdf0b59978ee
2014-08-06 11:14:47 +09:00
Jean Chalard 6474ef9925 Merge "[HW16] Implement processing event chains." into lmp-dev 2014-08-05 00:07:36 +00:00
Jean Chalard 0a2872cb44 [HW16] Implement processing event chains.
Change-Id: I4e1e4f101050ebda77c629a61c548d3c8efb330f
2014-08-05 15:37:01 +09:00
Tadashi G. Takaoka e9ed396f6c Merge "Revert "Revert "Add Key label off center attribute""" into lmp-dev 2014-08-05 00:03:09 +00:00
Tadashi G. Takaoka 0b5d12c6b4 Revert "Revert "Add Key label off center attribute""
This reverts commit 787e9a37b4.

Change-Id: I177b8f5d08eb487c19180c09101cc073222c4efe
2014-08-07 14:31:47 +00:00
Ken Wakasa 0f2de75e31 Merge "Revert "Remove unused animation resources"" into lmp-dev 2014-08-05 00:03:09 +00:00
Ken Wakasa 5f57fe4ad0 Merge "Revert "Remove unused Key and Keyboard attributes"" into lmp-dev 2014-08-05 00:03:09 +00:00
Ken Wakasa 44e20f4fb4 Revert "Remove unused Key and Keyboard attributes"
This reverts commit cdcaa37a37.

Due to unit test breakage.

Change-Id: I1c22edf983f6e03a34b86d7c1fae3d3188447a75
2014-08-07 11:37:11 +00:00
Tadashi G. Takaoka cdcaa37a37 Remove unused Key and Keyboard attributes
This CL removes the following unused Key attributes
- Key.keyLabelFlags' followKeyLargeLabelRatio
- Keyboard.keyLargeLabelRatio

Change-Id: Ib4fb13cc7ca902ac1733ecf27bd284d07e10bc3e
2014-08-07 17:23:37 +09:00
Tadashi G. Takaoka e988e412d9 Merge "Add Key label off center attribute" into lmp-dev 2014-08-05 00:03:09 +00:00
Tadashi G. Takaoka ba49920e80 Add Key label off center attribute
This CL adds two Key attributes to control how much a label should be
off centered.
- keyLabelOffCenterRatio
- keyHintLabelOffCenterRatio

Bug: 14419121
Change-Id: I26650eefdd375f0eeca8a1ca6034a8339d2a3182
2014-08-07 14:39:57 +09:00
Jean Chalard c710b34e34 Merge "[HW13] Split up onCodeInput" into lmp-dev 2014-08-05 00:03:09 +00:00
Jean Chalard a88e95e07e [HW13] Split up onCodeInput
Change-Id: I503c5403dcaea5db632eba85ae3fae9ba9a1f946
2014-08-05 12:59:36 +09:00
Ken Wakasa 5218382141 Merge "Revert "Tune number letter size of Material keyboard"" into lmp-dev 2014-08-04 23:56:40 +00:00
Ken Wakasa 5ad718f2ca Revert "Tune number letter size of Material keyboard"
This reverts commit 44454c2b2b.

Due to unit test breakage.

Bug: 14419121
Change-Id: Id0bbc2276fc035aa090f7bb4fa8112a1aecd483f
2014-08-07 11:36:20 +00:00
Ken Wakasa 1c7e6f8d6e Merge "Revert "Align hint label to bottom"" into lmp-dev 2014-08-04 23:56:40 +00:00
Ken Wakasa 02c4a80afe Revert "Align hint label to bottom"
This reverts commit f1784266ec.

Due to unit test breakage.

Bug: 14419121
Change-Id: Ibc201649e71135292530b26337d9305a6681f446
2014-08-07 11:35:26 +00:00
Keisuke Kuroyanagi b6665d958a Merge "Use DistracterFilterCheckingIsInDictionary for User History" into lmp-dev 2014-08-04 23:56:40 +00:00
Keisuke Kuroyanagi 87ab5b0518 Use DistracterFilterCheckingIsInDictionary for User History
Bug: 13142176
Bug: 15531638
Change-Id: I7e4e5afa05c5cee6eedef62c053d81edac5fa6af
2014-08-07 18:39:06 +09:00
Tadashi G. Takaoka 6ba5d63628 Merge "Remove unused Key and Keyboard attributes" into lmp-dev 2014-08-04 23:56:40 +00:00
Tadashi G. Takaoka 868395c637 Merge "Mark hind_compact layout as completed" into lmp-dev 2014-08-04 23:56:40 +00:00
Tadashi G. Takaoka 3760803de6 Mark hind_compact layout as completed
Bug: 13779052
Change-Id: If87ee2edbcfec4ad0444d13c7bd502df88cac89a
2014-08-06 18:34:22 +09:00
Tadashi G. Takaoka 8cbb4eb984 Merge "Make popup hint letter theme-aware" into lmp-dev 2014-08-04 23:56:40 +00:00
Tadashi G. Takaoka 3410e16907 Make popup hint letter theme-aware
Bug: 16351091
Change-Id: I6af18ea210c00916157138b9cfbeb073aee6ca1b
2014-08-05 17:32:53 +09:00
Jean Chalard 1b9f7c962c Merge "[HW14] Cleanup" into lmp-dev 2014-08-04 23:56:40 +00:00
Jean Chalard dd31a2dedf [HW14] Cleanup
Do away with the didAutoCorrect local variables which are
unnatural to return out of all these functions.

Change-Id: I22024004d2c489de018beff812c2c589bfd8ca32
2014-08-05 12:59:55 +09:00
Jean Chalard f1accd4f04 [HS1] Save some data in startInputView
Bug: 8152758
Change-Id: Ic57d3918b08e775769d4ba5d73ba5c31231e0d6a
2014-08-04 22:40:21 +09:00
Jean Chalard 053352f283 am d9e41aac: am 85b7b967: Merge "[HW12] Use the consumed status of the Event." into lmp-dev
* commit 'd9e41aac3fdf6e81ed7f2487cd9c74c28734a5e2':
  [HW12] Use the consumed status of the Event.
2014-08-04 04:13:05 +00:00
Tadashi G. Takaoka 530845cb5e am 9681027a: am 03a1c442: Clean up compatible utility classes
* commit '9681027aade82febb2ba5e384d9c6f77511859d3':
  Clean up compatible utility classes
2014-08-04 02:07:36 +00:00
Tadashi G. Takaoka 03a1c442ae Clean up compatible utility classes
Change-Id: I95a682052037d292801477db0f05e04926b61412
2014-08-04 01:21:29 +00:00
Jean Chalard 3d230119bc am 9557e52e: am da5ccd9f: [HW11] Cleanup
* commit '9557e52ef43d33157f759cc02384d50480645a6f':
  [HW11] Cleanup
2014-08-01 21:00:12 +00:00
Jean Chalard 85b7b967b7 Merge "[HW12] Use the consumed status of the Event." into lmp-dev 2014-08-01 16:06:20 +00:00
Jean Chalard e0bad8e988 [HW12] Use the consumed status of the Event.
Change-Id: I1619f6132f8f71bc1291fd6a5604a5e1e3431ae2
2014-08-04 12:41:07 +09:00
Jean Chalard dcd3d2187c am 0b9d6140: am 00ee5f76: [HW10] Pull the processed event in its eventual place
* commit '0b9d6140495b106458bf22d11f5732bf5a0062b0':
  [HW10] Pull the processed event in its eventual place
2014-07-31 13:35:34 +00:00
Jean Chalard 3d663a0a9d am 1711c2aa: am f290d407: [HW9] Pull the processed event further.
* commit '1711c2aaf495a56d570f25d1b853bc3f40f16d08':
  [HW9] Pull the processed event further.
2014-07-31 13:35:33 +00:00
Jean Chalard 214f743131 am 795711f5: am 69b68b59: Fix some unit tests.
* commit '795711f5f91001416c0aab38203c3aa7a9bc9f98':
  Fix some unit tests.
2014-07-31 13:35:18 +00:00
Jean Chalard da5ccd9f18 [HW11] Cleanup
Change-Id: Ia866d3f9a5981c687766f8c39979fb6091018e44
2014-07-31 18:33:30 +09:00
Jean Chalard 00ee5f7697 [HW10] Pull the processed event in its eventual place
Change-Id: I5f7932097627766e907764a99a5e9c170f725bc0
2014-07-31 09:10:24 +00:00
Jean Chalard f290d4073a [HW9] Pull the processed event further.
The 'processedEvent' variables will ultimately disappear entirely.

Change-Id: I612c5ce7dedc341b64921a86ac028fe91b75359b
2014-07-31 09:10:03 +00:00
Jean Chalard 69b68b5916 Fix some unit tests.
The default value for the script needs to be Latin, as we don't specify
it in the files.

Change-Id: I1275f13f1cd92f00dc5708748fefb4982f0a60b3
2014-07-31 12:29:35 +09:00
Geoff Mendal 77aa7a9293 Merge "Import translations. DO NOT MERGE" 2014-07-30 19:31:16 +00:00
Geoff Mendal 09c66a64f0 Import translations. DO NOT MERGE
Change-Id: I3d29195219313870f9213eeaf0b985dfd350b73f
Auto-generated-cl: translation import
2014-07-31 00:12:44 -07:00
Geoff Mendal 71864e2edc Merge "Import translations. DO NOT MERGE" 2014-07-30 19:31:16 +00:00
Geoff Mendal 5720e29cdd Import translations. DO NOT MERGE
Change-Id: If072b73a0d9b75abd607b36437fbca00334e3676
Auto-generated-cl: translation import
2014-07-31 00:08:16 -07:00
Geoff Mendal 95284392fa Merge "Import translations. DO NOT MERGE" 2014-07-30 23:34:26 +00:00
Geoff Mendal 6fb0e02827 Import translations. DO NOT MERGE
Change-Id: I87901e5652dceebaacd2fcf4f345057e7df50254
Auto-generated-cl: translation import
2014-07-31 00:06:47 -07:00
Geoff Mendal 8c6d627b04 Merge "Import translations. DO NOT MERGE" 2014-07-29 21:36:00 +00:00
Geoff Mendal b4d0b6a546 Import translations. DO NOT MERGE
Change-Id: I0f3662d4c5c89c76b3aa5ceced64f6ece69e636a
Auto-generated-cl: translation import
2014-07-31 00:05:36 -07:00
Jean Chalard 014f30f34a am f466c276: am 86893a3b: [HW8] Pull up the processed event.
* commit 'f466c27601bbe83b101bf133694ee16ec10a8ae5':
  [HW8] Pull up the processed event.
2014-07-30 17:11:50 +00:00
Tadashi G. Takaoka 17efa4fd5d am 2505462d: am f4a3fd48: Merge "Disptach hover events when sliding suggestion mode" into lmp-dev
* commit '2505462da586cb708af5219e4c996644613f7677':
  Disptach hover events when sliding suggestion mode
2014-07-30 17:11:48 +00:00
Jean Chalard 82f2a0b8b8 am cea54014: am ae4e2036: [SD13] Reorder an enum alphabetically
* commit 'cea540145d65b605bb9bbe483c6210dd2f0d7d66':
  [SD13] Reorder an enum alphabetically
2014-07-30 17:11:40 +00:00
Jean Chalard e715a02f4f am 67bb9d83: am 3a729d4e: [SD12] Add the last remaining scripts
* commit '67bb9d83ae1e838f6c13d4afe19db3068edafb9b':
  [SD12] Add the last remaining scripts
2014-07-30 17:11:39 +00:00
Jean Chalard fd59cd804c am 26b07201: am 7c5cd5ec: [SD11] Add script checks for Myanmar, Sinhala, Thai and Telugu
* commit '26b072013f7ebb29b18d33196ba191e6baf9430c':
  [SD11] Add script checks for Myanmar, Sinhala, Thai and Telugu
2014-07-30 17:11:38 +00:00
Jean Chalard d5228f9c4a am 1d1ba8ec: am 0304c777: Merge "[SD10] Add script checks for Lao and Khmer" into lmp-dev
* commit '1d1ba8ec2c5b1eebb3b3e946c97bc9166f9a155c':
  [SD10] Add script checks for Lao and Khmer
2014-07-30 17:11:37 +00:00
Ken Wakasa 818d3ee923 am ec8472b5: am 7f545a57: [HW7.5] Introduce the @Nonnull annotation (take 2)
* commit 'ec8472b5f5e478ba4eb830a7603da9c5a4637461':
  [HW7.5] Introduce the @Nonnull annotation (take 2)
2014-07-30 17:11:36 +00:00
Jean Chalard 1f9ece1ca9 am 14d985bd: am 0f6807bf: Merge "[HW7] Introduce consumed events" into lmp-dev
* commit '14d985bdbdfd4a237add1009912a6920573c1a9d':
  [HW7] Introduce consumed events
2014-07-30 17:11:35 +00:00
Jean Chalard 46f56262ed am 99e13e48: am bf2a3210: Merge "[HW6] Split processing and applying the event." into lmp-dev
* commit '99e13e485a314615a6523794fbb26eecb6e67a74':
  [HW6] Split processing and applying the event.
2014-07-30 17:11:34 +00:00
Ken Wakasa ae5ebb06cd am 93114fa0: am c4f6fc1e: Merge "Revert "[HW6] Split processing and applying the event."" into lmp-dev
* commit '93114fa05f974fb6955937efe3207e025d5a82c5':
  Revert "[HW6] Split processing and applying the event."
2014-07-30 17:11:32 +00:00
Ken Wakasa 06be57772f am 55387ba4: am 9fbeeb60: Merge "Revert "[HW7] Introduce consumed events"" into lmp-dev
* commit '55387ba41731460a412fe4f39c081ff9f6a550f2':
  Revert "[HW7] Introduce consumed events"
2014-07-30 17:11:30 +00:00
Ken Wakasa 17440d7ec8 am cbffc447: am 2ce8799f: Merge "Revert "[HW8] Pull up the processed event."" into lmp-dev
* commit 'cbffc447e741876d13230097064642208aca6e69':
  Revert "[HW8] Pull up the processed event."
2014-07-30 17:11:29 +00:00
Ken Wakasa e69ca079c5 am 2706868d: am dc0c3e1e: Merge "Revert "[HW9] Pull the processed event further."" into lmp-dev
* commit '2706868d34362874511492856ea180386e3ea04f':
  Revert "[HW9] Pull the processed event further."
2014-07-30 17:11:28 +00:00
Ken Wakasa c329457a06 am e3fd9367: am e8ca3f40: Merge "Revert "[HW10] Pull the processed event in its eventual place"" into lmp-dev
* commit 'e3fd9367af79d3616e144023dc70bed077469b71':
  Revert "[HW10] Pull the processed event in its eventual place"
2014-07-30 17:11:27 +00:00
Jean Chalard 86893a3b3f [HW8] Pull up the processed event.
Change-Id: I18021b7ec1588fc52533c48b7d8774bec7764822
2014-07-30 08:39:46 +00:00
Jean Chalard ae4e203625 [SD13] Reorder an enum alphabetically
Change-Id: I907041b09e5bfce537ed4f592947b2cec8cef4ac
2014-07-30 15:58:43 +09:00
Jean Chalard 3a729d4ed8 [SD12] Add the last remaining scripts
Add scripts for Bengali, Devanagari, Kannada, Malayalam,
and Tamil.
Also include a very minor fix for Arabic.

This concludes work on:
Bug: 15840116

Change-Id: Iade313fc70030a67c68d424d8cb0cac245b883d1
2014-07-30 15:58:43 +09:00
Jean Chalard 7c5cd5ec89 [SD11] Add script checks for Myanmar, Sinhala, Thai and Telugu
Bug: 15840116
Change-Id: I1264fdeea0d4739ca0f360f4934d06e5a824d4e5
2014-07-30 15:58:43 +09:00
Ken Wakasa 7f545a57c9 [HW7.5] Introduce the @Nonnull annotation (take 2)
Change-Id: I05512b5434810046c8b72d6bb41567b6cd8b9d6e
2014-07-30 04:13:58 +00:00
Ken Wakasa f570538536 am c9bba853: am 666f1b38: Merge "Revert "[HW7.5] Introduce the @Nonnull annotation"" into lmp-dev
* commit 'c9bba853fa00f03bfc9b49931e320957adc15b20':
  Revert "[HW7.5] Introduce the @Nonnull annotation"
2014-07-29 15:53:12 +00:00
Jean Chalard e4f81d6b47 am 8a584a2f: am bcb61da5: [HW10] Pull the processed event in its eventual place
* commit '8a584a2f610c2baf6f343fdccfb1eae42eda4351':
  [HW10] Pull the processed event in its eventual place
2014-07-29 13:32:08 +00:00
Jean Chalard b322e8c5d4 am f5e55433: am a8d80ec0: [HW9] Pull the processed event further.
* commit 'f5e55433a307256fa13f14dcfb148815a7c52aca':
  [HW9] Pull the processed event further.
2014-07-29 13:32:06 +00:00
Jean Chalard 5d5ab6a10c am 859ccd77: am 312c9498: Merge "[HW8] Pull up the processed event." into lmp-dev
* commit '859ccd77e3c91023829403e2afd600e9ade86977':
  [HW8] Pull up the processed event.
2014-07-29 13:32:05 +00:00
Jean Chalard 6bc87b96ce am 8c932cbd: am 3c7cb523: Merge "[HW7.5] Introduce the @Nonnull annotation" into lmp-dev
* commit '8c932cbd0a9563d03e914051e6447728875e6c2b':
  [HW7.5] Introduce the @Nonnull annotation
2014-07-29 13:32:03 +00:00
Jean Chalard 8c6778f9ca am 716c7d29: am 30424521: Merge "[HW7] Introduce consumed events" into lmp-dev
* commit '716c7d2923b0bd455dd9e0464c0dbf289ba76965':
  [HW7] Introduce consumed events
2014-07-29 13:32:02 +00:00
Tadashi G. Takaoka 0f53ef0ab7 am 8172a681: am a715d7f6: Use fragment for keyboard theme settings
* commit '8172a681439501a755459ca755c1a877fec919d6':
  Use fragment for keyboard theme settings
2014-07-29 13:31:59 +00:00
Jean Chalard caf539079d am 4591869d: am 6c39db9f: Merge "[HW6] Split processing and applying the event." into lmp-dev
* commit '4591869d562baef393b6ff63e90378401183dbc7':
  [HW6] Split processing and applying the event.
2014-07-29 13:31:58 +00:00
Jean Chalard 868c9ee44d am 1e2fb096: am 76ad2597: Merge "Improve the russian dictionary." into lmp-dev
* commit '1e2fb096143acc964ee9635c0448964b13a30c3a':
  Improve the russian dictionary.
2014-07-29 13:31:48 +00:00
Jean Chalard bcb61da581 [HW10] Pull the processed event in its eventual place
Change-Id: I9e13bb3efad557e9199021a344d8dff8215d97fa
2014-07-29 18:48:13 +09:00
Jean Chalard a8d80ec012 [HW9] Pull the processed event further.
The 'processedEvent' variables will ultimately disappear entirely.

Change-Id: If44c68c1116faa9ca23e4ffeabe320704431ab3c
2014-07-29 18:38:49 +09:00
Tadashi G. Takaoka a715d7f6fd Use fragment for keyboard theme settings
Bug: 11866784
Change-Id: Ic50b6eb1bd8f2b823e2c9dfad04d8615bc910936
2014-07-29 18:19:20 +09:00
Tadashi G. Takaoka 7c76da6d03 am eee0baad: am 76cffec7: Show "navigate up" icon on settings activity
* commit 'eee0baad2e7ac239cda55e675faaebd9642c21d3':
  Show "navigate up" icon on settings activity
2014-07-29 03:16:59 +00:00
Tadashi G. Takaoka 76cffec788 Show "navigate up" icon on settings activity
Bug: 15813742
Change-Id: I8b1feb5c35377e62199e5a909640d9c50f970654
2014-07-29 12:05:48 +09:00
Tadashi G. Takaoka 973c7abefe am af6cfb36: am 8ca3eb67: Merge "Update Material icons and backgrounds" into lmp-dev
* commit 'af6cfb36cf15883022a527a3d47f53c18c259041':
  Update Material icons and backgrounds
2014-07-29 02:49:36 +00:00
Keisuke Kuroyanagi e642693a59 am 5e6431ce: am c6862ee6: Merge "Allow adding DICTIONARY_MAX_WORD_LENGTH-length words." into lmp-dev
* commit '5e6431ce32e27d2cdc9e05ea24a7005a3c541386':
  Allow adding DICTIONARY_MAX_WORD_LENGTH-length words.
2014-07-29 01:59:51 +00:00
Jean Chalard 37f701dfa0 am b6a75d10: am 036b83f4: Merge "Wait for an event before actually realizing it" into lmp-dev
* commit 'b6a75d10de3ab43dcf318fde77e81918fc55e02b':
  Wait for an event before actually realizing it
2014-07-28 12:14:29 +00:00
Tadashi G. Takaoka 4c6e8e70fb am 5fc43eb0: am 1e491d90: Merge "Use fragment for advanced preference screen" into lmp-dev
* commit '5fc43eb04df9870fb6256d8d3918e7d399ca8a79':
  Use fragment for advanced preference screen
2014-07-28 12:14:28 +00:00
Keisuke Kuroyanagi 4de1ca67d7 am 0bad998c: am fb15b768: Merge "Fix NPE when context.getFilesDir() returns null." into lmp-dev
* commit '0bad998c52cc0ed610e4fef745c438472f14a7e4':
  Fix NPE when context.getFilesDir() returns null.
2014-07-28 12:14:26 +00:00
Tadashi G. Takaoka cd4799fdf9 am 1f5881b7: am 9ba85413: Merge "Refactor Debug settings to use SubScreenFragment" into lmp-dev
* commit '1f5881b752b9b8e527b00e14150cfedd916513ce':
  Refactor Debug settings to use SubScreenFragment
2014-07-28 12:14:25 +00:00
Tadashi G. Takaoka a8765daeec am b1067103: am 633f1a5e: Merge "Use fragment for text correction preference screen" into lmp-dev
* commit 'b1067103343c9b196e0a9276f3e9f7c20b6def86':
  Use fragment for text correction preference screen
2014-07-28 12:14:24 +00:00
Tadashi G. Takaoka 2d64f7c097 am f63a044c: am a484dc84: Merge "Use fragment for gesture typing preference screen" into lmp-dev
* commit 'f63a044c6649f3cabc3b612ed5bd79b6601f52ae':
  Use fragment for gesture typing preference screen
2014-07-28 12:14:23 +00:00
Tadashi G. Takaoka a0a37bd368 am beffde59: am 1da43854: Merge "Use fragment for multi lingual preference screen" into lmp-dev
* commit 'beffde59c36515f77946b35c2b0279413a1df69f':
  Use fragment for multi lingual preference screen
2014-07-28 12:14:21 +00:00
Jean Chalard d33f7e84ab am ac82983f: am 6d7a0810: Merge "Fix a verifier error on ICS." into lmp-dev
* commit 'ac82983f65626c1db3fd878ba059807166ffbe36':
  Fix a verifier error on ICS.
2014-07-28 12:14:20 +00:00
Tadashi G. Takaoka 081a4177e4 am c140938d: am bfcd98ed: Use fragment for input preference screen
* commit 'c140938d99b2b34e95d7e45425396f280a486043':
  Use fragment for input preference screen
2014-07-28 12:14:19 +00:00
Tadashi G. Takaoka 4dba300e50 am 26a29865: am ab661e3e: Make "Show correction suggestions" as a binary option
* commit '26a2986581410536a98e1c311214dc90d9934546':
  Make "Show correction suggestions" as a binary option
2014-07-28 12:14:18 +00:00
Tadashi G. Takaoka bfcd98edc7 Use fragment for input preference screen
This CL introduces a common abstract class, SunScreenFragment, for
PreferenceFragment that implements a PreferenceScreen of the main
settings preference screen.

Bug: 16522808
Change-Id: I11fba71b5e9f96208b261e0c0314de8a41720d0f
2014-07-27 16:06:52 +09:00
Tadashi G. Takaoka ab661e3ef8 Make "Show correction suggestions" as a binary option
Formerly "Show correction suggestions" had three options, "always
show", "show in portrait mode", and "always hide". The reason behind
"show in portrait mode" was that there may not be enough screen estate
in landscape mode to show suggestions. Because recent phone devices
have relatively large screen, we decide to remove "show in portrait
mode" option.

Bug: 15780939
Change-Id: I896d737452c3893d43ce20bd88127f10c1eb3d83
2014-07-27 14:47:07 +09:00
Ken Wakasa e8ca3f4091 Merge "Revert "[HW10] Pull the processed event in its eventual place"" into lmp-dev 2014-07-25 11:19:20 +00:00
Ken Wakasa 79fd911c8d Revert "[HW10] Pull the processed event in its eventual place"
This reverts commit bcb61da581.

Reverting due to a few critical bugs and unit test failures.

Change-Id: I5f7ee2c7883496ed36e56b3ef12fac91f85f9866
2014-07-30 00:29:41 +00:00
Jean Chalard 312c9498be Merge "[HW8] Pull up the processed event." into lmp-dev 2014-07-25 11:19:20 +00:00
Jean Chalard ebdd641d58 [HW8] Pull up the processed event.
Change-Id: If4baba0af2e88627f22b5e7312948fc3d9c5a25f
2014-07-29 17:49:24 +09:00
Jean Chalard 60a2cd8ac4 [HW7.5] Introduce the @Nonnull annotation
Change-Id: I1f69ea704056943fa3371ff610e2d8181ead2376
2014-07-29 17:49:19 +09:00
Jean Chalard 99aff0af98 [HW7] Introduce consumed events
Change-Id: Ic2d95d19b1ac66e3e97e4a16187ce5aecb4ac678
2014-07-29 17:49:14 +09:00
Jean Chalard 1db3d860ca [HW6] Split processing and applying the event.
If anyone has better names for those...

Change-Id: Ia2dfc75381816bd688948647e2c50c10657b9e89
2014-07-29 17:40:48 +09:00
Jean Chalard 3042452170 Merge "[HW7] Introduce consumed events" into lmp-dev 2014-07-25 11:19:20 +00:00
Jean Chalard 76ad259764 Merge "Improve the russian dictionary." into lmp-dev 2014-07-25 11:19:20 +00:00
Jean Chalard ae41058659 Improve the russian dictionary.
Deleted: 38 words
Probability adjusted: 11 words
Added: 1299 words

[Category diff]
+1      15
-1       0
+2       0
-2       0
+3       0
-3       0
+4       0
-4       0
+5       0
-5       3
+6       1
-6       0
+7       0
-7      13

[Weighted category diff]
+1      15
-1       0
+2       0
-2       0
+3       0
-3       0
+4       0
-4       0
+5       0
-5       3
+6       1
-6       0
+7       0
-7      13

Change-Id: I1a6513954d60b30738cb849578ce535c5e05eb1a
2014-07-29 13:31:23 +09:00
Keisuke Kuroyanagi c6862ee699 Merge "Allow adding DICTIONARY_MAX_WORD_LENGTH-length words." into lmp-dev 2014-07-25 11:19:20 +00:00
Keisuke Kuroyanagi d9a8f2a82f Allow adding DICTIONARY_MAX_WORD_LENGTH-length words.
Bug: 12725817
Change-Id: Ib9b30473ba94242a7b97ccd3b850068f596a5d17
2014-07-28 21:48:02 +09:00
Jean Chalard 036b83f4c4 Merge "Wait for an event before actually realizing it" into lmp-dev 2014-07-25 11:19:20 +00:00
Jean Chalard 3d951c1eff Wait for an event before actually realizing it
This would wrongly emit a 'timeout' log entry when switching
between two instances of the same language.

Change-Id: I56e5de121b87f3e762b58f0b2a77e9abc784036e
2014-07-28 19:33:49 +09:00
Baligh Uddin 2dc3a51001 Merge "Import translations. DO NOT MERGE" 2014-07-24 20:48:02 +00:00
Tadashi G. Takaoka 456cc99678 am a270ac4a: Remove unnecessary DebugSettingsActivity, use fragment directly
* commit 'a270ac4a61ff64f5d262a212b0bf4c128d3ce8d7':
  Remove unnecessary DebugSettingsActivity, use fragment directly
2014-07-24 20:01:00 +00:00
Baligh Uddin 9ac0f0838b Import translations. DO NOT MERGE
Change-Id: Id8eadce808d946a7674f41826ab4aa086ac818e7
Auto-generated-cl: translation import
2014-07-24 09:40:19 -07:00
Tadashi G. Takaoka f4a3fd4893 Merge "Disptach hover events when sliding suggestion mode" into lmp-dev 2014-07-24 16:04:26 +00:00
Tadashi G. Takaoka da232a70a8 Disptach hover events when sliding suggestion mode
Bug: 15687702
Change-Id: I7ace1fbbba724c6e422230a3d88f8cc9ffa8efc2
2014-07-30 14:55:53 +09:00
Jean Chalard 0304c77750 Merge "[SD10] Add script checks for Lao and Khmer" into lmp-dev 2014-07-24 16:04:26 +00:00
Jean Chalard a9c12692ed [SD10] Add script checks for Lao and Khmer
Bug: 15840116
Change-Id: Id72b739e73cb3e72f56e1872ad9d60469555e193
2014-07-30 12:02:37 +09:00
Jean Chalard 8e38b12e9c [HW7] Introduce consumed events
Change-Id: I692c35b8e701d5a84500b949884472545b1f424d
2014-07-30 11:37:19 +09:00
Jean Chalard 7196566d4f [HW6] Split processing and applying the event.
...take 2

Change-Id: I9d13b6d51e13ce2e76ae3febebfb8c310eba509d
2014-07-30 11:06:43 +09:00
Ken Wakasa c4f6fc1e48 Merge "Revert "[HW6] Split processing and applying the event."" into lmp-dev 2014-07-24 16:04:26 +00:00
Ken Wakasa 4399849dea Revert "[HW6] Split processing and applying the event."
This reverts commit 1db3d860ca.

Reverting due to a few critical bugs and unit test failures.

Change-Id: I5e2d02300320438ef9c29577ec5b0860ea91d822
2014-07-30 00:55:49 +00:00
Ken Wakasa 9fbeeb609f Merge "Revert "[HW7] Introduce consumed events"" into lmp-dev 2014-07-24 16:04:26 +00:00
Ken Wakasa bfa6f9533c Revert "[HW7] Introduce consumed events"
This reverts commit 99aff0af98.

Reverting due to a few critical bugs and unit test failures.

Change-Id: Id41d802981d079f17134a03cc30ab36a3cdd4ac1
2014-07-30 00:53:24 +00:00
Ken Wakasa 2ce8799fa8 Merge "Revert "[HW8] Pull up the processed event."" into lmp-dev 2014-07-24 16:04:26 +00:00
Ken Wakasa 76fc4914b3 Revert "[HW8] Pull up the processed event."
This reverts commit ebdd641d58.

Reverting due to a few critical bugs and unit test failures.

Change-Id: Ie7958d749dc813c1752d03aec7f14f5586225ff7
2014-07-30 00:31:57 +00:00
Ken Wakasa dc0c3e1e2a Merge "Revert "[HW9] Pull the processed event further."" into lmp-dev 2014-07-24 16:04:26 +00:00
Ken Wakasa e2397e54c6 Revert "[HW9] Pull the processed event further."
This reverts commit a8d80ec012.

Reverting due to a few critical bugs and unit test failures.

Change-Id: I3f49b54f34d875e8986d6ddc2523ab0b706dc6f2
2014-07-30 00:31:12 +00:00
Ken Wakasa 666f1b384f Merge "Revert "[HW7.5] Introduce the @Nonnull annotation"" into lmp-dev 2014-07-24 16:04:26 +00:00
Ken Wakasa 8aa74da98d Revert "[HW7.5] Introduce the @Nonnull annotation"
This reverts commit 60a2cd8ac4.

Reverting due to build breakage under the unbundled branch.

Change-Id: Iab2988c53884166f62c95da920ac7a7079a0e5a0
2014-07-29 15:43:59 +00:00
Jean Chalard 3c7cb5234f Merge "[HW7.5] Introduce the @Nonnull annotation" into lmp-dev 2014-07-24 16:04:26 +00:00
Tadashi G. Takaoka 8ca3eb67d2 Merge "Update Material icons and backgrounds" into lmp-dev 2014-07-24 16:04:26 +00:00
Tadashi G. Takaoka e14c680078 Update Material icons and backgrounds
Bug: 16143083
Change-Id: I6396f725b30e9ef6fa7964a0c9d7eb6d1d97e376
2014-07-29 11:32:04 +09:00
Tadashi G. Takaoka 1e491d90f9 Merge "Use fragment for advanced preference screen" into lmp-dev 2014-07-24 16:04:26 +00:00
Tadashi G. Takaoka 9bdcb13160 Use fragment for advanced preference screen
Bug: 16522808
Change-Id: If4a2ad7a7dfecc7019bf78ad37d93fa8f37cf21e
2014-07-28 19:24:41 +09:00
Keisuke Kuroyanagi fb15b768dd Merge "Fix NPE when context.getFilesDir() returns null." into lmp-dev 2014-07-24 16:04:26 +00:00
Keisuke Kuroyanagi 79ff803cb0 Fix NPE when context.getFilesDir() returns null.
Bug: 16416948
Change-Id: I0fac5ab26d6efbadbd688d033a79f6705e0161a5
2014-07-28 19:25:07 +09:00
Tadashi G. Takaoka 9ba854133c Merge "Refactor Debug settings to use SubScreenFragment" into lmp-dev 2014-07-24 16:04:26 +00:00
Tadashi G. Takaoka 99295c8c5f Refactor Debug settings to use SubScreenFragment
Bug: 16522808
Change-Id: I741e2fbc5f0a62c7d4ae00e603eef52cc2a6d086
2014-07-28 19:16:42 +09:00
Tadashi G. Takaoka 00b49cad9c Use fragment for text correction preference screen
Bug: 16522808
Change-Id: Ia8ce83b0e69cc8157f7b8cefcfeb863eb85ee4b4
2014-07-28 17:48:49 +09:00
Tadashi G. Takaoka 3c8a075a58 Use fragment for gesture typing preference screen
Bug: 16522808
Change-Id: Ib8c2997466bb006c6b5d4e980344507b822d0023
2014-07-28 17:45:41 +09:00
Tadashi G. Takaoka 6b71530017 Use fragment for multi lingual preference screen
Bug: 16522808
Change-Id: I0bfac43513e1fb85b5d4c07f56dd4c5b82f75ed1
2014-07-28 17:20:16 +09:00
Tadashi G. Takaoka 633f1a5e6e Merge "Use fragment for text correction preference screen" into lmp-dev 2014-07-24 16:04:26 +00:00
Tadashi G. Takaoka a484dc84d9 Merge "Use fragment for gesture typing preference screen" into lmp-dev 2014-07-24 16:04:26 +00:00
Tadashi G. Takaoka 1da4385493 Merge "Use fragment for multi lingual preference screen" into lmp-dev 2014-07-24 16:04:26 +00:00
Jean Chalard 6d7a08107c Merge "Fix a verifier error on ICS." into lmp-dev 2014-07-24 16:04:26 +00:00
Jean Chalard da70b90aa7 Fix a verifier error on ICS.
Bug: 16530557
Change-Id: I271c5884995a1d5f8a1cb7aee6f52d17fabb9e72
2014-07-28 17:33:52 +09:00
Tadashi G. Takaoka a270ac4a61 Remove unnecessary DebugSettingsActivity, use fragment directly
This CL must be checked in together with I1db2e848ab.

Bug: 16522808
Change-Id: I08a1b0c300c504def609cbb53462d215d1ead15c
2014-07-23 17:09:46 -07:00
Baligh Uddin 129f05867f Merge "Import translations. DO NOT MERGE" 2014-07-22 16:21:19 +00:00
Baligh Uddin 8fc6b5a820 Import translations. DO NOT MERGE
Change-Id: I8916526987bd2008b85222124bf465114e4d592c
Auto-generated-cl: translation import
2014-07-22 17:43:50 +00:00
Baligh Uddin 58ad6c4805 Import translations. DO NOT MERGE
Change-Id: Ic1191118d6f8d9dc2bcc6c293c4ffa0f86be34c6
Auto-generated-cl: translation import
2014-07-22 17:39:41 +00:00
Baligh Uddin 9f147c1337 Merge "Import translations. DO NOT MERGE" 2014-07-22 16:21:19 +00:00
Baligh Uddin e13e675cdc Import translations. DO NOT MERGE
Change-Id: I95653f0874ab89771a1aa60cb3a01cb3cfedf01a
Auto-generated-cl: translation import
2014-07-22 17:44:02 +00:00
Baligh Uddin f1e3f9df51 Merge "Import translations. DO NOT MERGE" 2014-07-22 16:29:55 +00:00
Baligh Uddin c1d2124a3e Import translations. DO NOT MERGE
Change-Id: I8ffb44bf95c317dca14df03e5627bd9870acccb5
Auto-generated-cl: translation import
2014-07-22 17:44:08 +00:00
Baligh Uddin 05a2e8dea5 Merge "Import translations. DO NOT MERGE" 2014-07-22 16:21:19 +00:00
Baligh Uddin f9efaad468 Import translations. DO NOT MERGE
Change-Id: I2f8c16e0dcaf894d2c0acb70c5804969ac618500
Auto-generated-cl: translation import
2014-07-22 17:44:19 +00:00
Baligh Uddin ef29c1cd61 Import translations. DO NOT MERGE
Change-Id: I844a25e74c1cd451523248ae0d09ba9d40c3d09d
Auto-generated-cl: translation import
2014-07-22 17:44:14 +00:00
Yohei Yukawa 3f513f107e Enable InputMethodService#onUpdateCursor behind the flag
With this CL, InputMethodService#onUpdateCursor and
InputMethodService#onUpdateCursorAnchorInfo can be enabled
on L when ENABLE_CURSOR_ANCHOR_INFO_CALLBACK and
ENABLE_CURSOR_RECT_CALLBACK are specified, respectively.

BUG: 16382260
Change-Id: I29924128f6bd2f08cbd91cc4e82c9c4a6ecce3ff
2014-07-20 20:56:52 +09:00
Yohei Yukawa 91e7daaddf Merge "Use CharSequence for spell checker to keep spans preserved" into lmp-dev 2014-07-17 17:59:02 +00:00
Baligh Uddin 8279b9d4a9 Remove deprecated locales - DO NOT MERGE
Change-Id: I8c1efe2343eea40faf7a690518c500af86c1c323
2014-07-20 02:27:29 +00:00