Commit Graph

12441 Commits (c11c9d262d1787606701d4bd4ddfc7d08d865359)

Author SHA1 Message Date
Tadashi G. Takaoka 3e72459135 am 96d31df8: Fix when to show input view
* commit '96d31df8c452a2a6230a5e8c03b0cab1ab13ff80':
  Fix when to show input view
2014-10-03 09:25:40 +00:00
Jean Chalard d415747a27 Merge "[ML13] Fix the locale passing in ProximityInfo" 2014-10-03 09:24:49 +00:00
Tadashi G. Takaoka 96d31df8c4 Fix when to show input view
Bug: 15922840
Bug: 17788786
Change-Id: I69aea682202650b601a295d9da583ef8e05a3982
2014-10-03 18:20:06 +09:00
Jean Chalard 4ef27c0358 [ML13] Fix the locale passing in ProximityInfo
The locale is used to determine additional proximity characters. This
is dependent on the dictionary language, but was passed as a function
of the layout, which is wrong and would have given bad suggestions in
multi-lingual mode.

Ideally, additional proximity characters should be inserted in the
dictionary header, but for now it's a rather simple change to get
it from the dictionary's locale instead of the proximity info locale.

Also, that allows us to remove completely the locale parameter from
proximity info, which is a much needed change.

This change has zero effect on unit tests and on regression tests.

Bug: 11230254
Change-Id: If95157155db7dccd1f00b8ba55ccb3600283f9e4
2014-10-03 18:16:34 +09:00
Jean Chalard b28d1cc487 Fix a behavior change in dicttool
The behavior change was introduced by I8b3458ad. Concretely,
empty bigram lists would end up as empty lists instead of null.

Change-Id: Ibcdf7e6aabc6aba3f5db0477335882394e050ce5
2014-10-03 18:04:10 +09:00
Jean Chalard d780b1a19b am a4244df8: Merge "Add calls to stub for API to consume gesture data."
* commit 'a4244df846d055f1c95a68565478e2183871e489':
  Add calls to stub for API to consume gesture data.
2014-10-03 07:28:39 +00:00
David Faden c92c883fdf Add calls to stub for API to consume gesture data.
Bug: 17400259
Change-Id: Ib3511afffe1d14662e7dd14611f384689516e664
2014-10-03 15:01:34 +09:00
Tadashi G. Takaoka 9c17a815e9 am 61a1e46d: Fix Hindi vowel sign candra E on ICS device
* commit '61a1e46dd1b065eb1e13ab44fb446ee6e705d626':
  Fix Hindi vowel sign candra E on ICS device
2014-10-03 03:51:04 +00:00
Tadashi G. Takaoka 61a1e46dd1 Fix Hindi vowel sign candra E on ICS device
Change-Id: I160f3c9f8671b6dc8a38a06fe2be50dbb27919a9
2014-10-03 11:55:10 +09:00
Tadashi G. Takaoka 917a3a4843 am c5e6ce7b: Merge "Fix ellipsizing and text scale x calculation"
* commit 'c5e6ce7bfed99e63a580b6d311d42f7294709e1a':
  Fix ellipsizing and text scale x calculation
2014-10-02 13:38:56 +00:00
Tadashi G. Takaoka 049d642cc4 Fix ellipsizing and text scale x calculation
Bug: 17742721
Bug: 11158757
Change-Id: I98b55a8e661804e84f75e75675c6f2ef33ac1a11
2014-10-02 19:58:24 +09:00
Yohei Yukawa 691ac05085 am 45ebb200: Merge "Preserve spans when splitting sentences"
* commit '45ebb2001d5fe88f1b726cdba3011de3a606eaa6':
  Preserve spans when splitting sentences
2014-10-02 09:36:07 +00:00
Yohei Yukawa 45ebb2001d Merge "Preserve spans when splitting sentences" 2014-10-02 09:29:23 +00:00
Jean Chalard c2902b8cbe am 371d76ff: Merge "[ML12] Add a getPrimaryLocale function and some refactoring"
* commit '371d76ff070ab962c9ab58588839965db36fdf13':
  [ML12] Add a getPrimaryLocale function and some refactoring
2014-10-02 09:29:09 +00:00
Akifumi Yoshimoto 918b05cc04 am 7e561452: Merge "Include a code point table in the binary dictionary."
* commit '7e5614520a581afa79a51677e973a9ff6dc29162':
  Include a code point table in the binary dictionary.
2014-10-02 09:29:07 +00:00
Jean Chalard 371d76ff07 Merge "[ML12] Add a getPrimaryLocale function and some refactoring" 2014-10-02 09:20:04 +00:00
Jean Chalard 1c0876dc49 [ML12] Add a getPrimaryLocale function and some refactoring
Bug: 11230254
Change-Id: Ic579b93702c24f47e6cdb0c9a4da6b11f1fa76c8
2014-10-02 18:15:35 +09:00
Akifumi Yoshimoto 7e5614520a Merge "Include a code point table in the binary dictionary." 2014-10-02 08:55:18 +00:00
Tadashi G. Takaoka 0747228f15 am a5cdd6f4: Merge "Fix unnecessary touch event handling"
* commit 'a5cdd6f4c521acf84d8491757e2cc9181ad836e5':
  Fix unnecessary touch event handling
2014-10-02 07:54:31 +00:00
Tadashi G. Takaoka a5cdd6f4c5 Merge "Fix unnecessary touch event handling" 2014-10-02 07:51:02 +00:00
Yohei Yukawa 3852cfa717 Preserve spans when splitting sentences
This CL fixes a bug that span information was unintentionally
removed when given sentences are split into words. Nothing is
changed in KitKat and prior because TextInfo never returns
spanned text until L.

Note that the spell checker service still doesn't rely on
span information even with this CL.

BUG: 16419551
Change-Id: I6ffb75ee6add4ae20e9d3dcfb90b65f097d70fba
2014-10-02 14:08:59 +09:00
Jean Chalard f230b8f76a am c91166de: Merge "Avoid downloading the metadata in quick succession."
* commit 'c91166de54137f1d22959ec61f8468fc4a4e1444':
  Avoid downloading the metadata in quick succession.
2014-10-02 04:35:13 +00:00
Jean Chalard c91166de54 Merge "Avoid downloading the metadata in quick succession." 2014-10-02 04:31:08 +00:00
Tadashi G. Takaoka 8ab46225b3 Fix unnecessary touch event handling
Bug: 17762449
Change-Id: I698ca91ab977aa65c7bd8a5fb82b3d91264cfbca
2014-10-02 12:48:26 +09:00
Akifumi Yoshimoto 9168ab60cf Include a code point table in the binary dictionary.
Bug:17097992
Change-Id: I677a5eb3a704e4386f6573360e44ca335d81d2df
2014-10-02 12:27:49 +09:00
Baligh Uddin 3f9f522f32 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-10-01 19:32:07 +00:00
Baligh Uddin 5a4e1c5a67 Merge "Import translations. DO NOT MERGE" 2014-10-01 19:30:58 +00:00
Baligh Uddin ac43af5eaf Merge "Import translations. DO NOT MERGE" 2014-10-01 19:30:54 +00:00
Baligh Uddin 13820401d6 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-10-01 19:30:50 +00:00
Baligh Uddin aad590f701 Merge "Import translations. DO NOT MERGE" 2014-10-01 19:30:48 +00:00
Tadashi G. Takaoka e78ca947a9 am 47c9c32c: Merge "Enable preliminary Sinhara keyboard for dogfood"
* commit '47c9c32c107cff8b41479b395345b78c7175da59':
  Enable preliminary Sinhara keyboard for dogfood
2014-10-01 14:38:42 +00:00
Tadashi G. Takaoka 47c9c32c10 Merge "Enable preliminary Sinhara keyboard for dogfood" 2014-10-01 14:35:12 +00:00
Jean Chalard c92a25c3dd am 29109900: Merge "Never include the typed word in recorrections"
* commit '2910990065c3d17fddcd8238f2cd78cc34361d31':
  Never include the typed word in recorrections
2014-10-01 10:38:03 +00:00
Jean Chalard 2910990065 Merge "Never include the typed word in recorrections" 2014-10-01 10:34:22 +00:00
Jean Chalard 391f046d89 am eff21b65: Merge "Make a better effort to detect a framework lie."
* commit 'eff21b653f6ddfdd9b931aaacd0d15b53b57e84f':
  Make a better effort to detect a framework lie.
2014-10-01 10:27:00 +00:00
Jean Chalard eff21b653f Merge "Make a better effort to detect a framework lie." 2014-10-01 10:24:32 +00:00
Jean Chalard 4108bc2efe am 7f226b4f: Merge "Fix an NPE on ICS factory rom."
* commit '7f226b4f9db15105b10fdc04249db433772e87b4':
  Fix an NPE on ICS factory rom.
2014-10-01 10:21:13 +00:00
Jean Chalard 38144047ea Make a better effort to detect a framework lie.
Bug: 17130496
Change-Id: I1a3631670c152d9b7667c9c4e08e14c48569eef5
2014-10-01 19:17:31 +09:00
Jean Chalard 7f226b4f9d Merge "Fix an NPE on ICS factory rom." 2014-10-01 10:16:40 +00:00
Tadashi G. Takaoka cc13f8864d am 31c16d41: Add Uzbek keyboard
* commit '31c16d41bc67fa9def9290bb72594d35833b48f6':
  Add Uzbek keyboard
2014-10-01 09:41:09 +00:00
Tadashi G. Takaoka 2a6176fc65 Enable preliminary Sinhara keyboard for dogfood
Bug: 6911143
Change-Id: I38241d00567b25d1c6ba352f5b01eb8d8d532e0f
2014-10-01 09:36:56 +00:00
Jean Chalard 57e29436b1 Fix an NPE on ICS factory rom.
In ICS factory rom and MR0, there was a bug where calling the
constructor for SuggestionSpan that doesn't take a context as
an argument would always return in a crash. Don't call it,
and pass an explicit context instead.

Bug: 13552505
Change-Id: I5c919499b9d086c2cf283795b2af5b91cb425933
2014-10-01 18:33:47 +09:00
Tadashi G. Takaoka 5b2dd42240 am 79d992cc: Merge "Use Devanagari Danda letter as full stop on Hindi keyboard"
* commit '79d992ccba3f4f02e8ebd5d2b776d4abc4a9bc57':
  Use Devanagari Danda letter as full stop on Hindi keyboard
2014-10-01 09:32:09 +00:00
Jean Chalard 4c90df7e5b Never include the typed word in recorrections
Bug: 17623275
Change-Id: I2461e5e8baf06fb80a05b87f9d3db7a4d1952a01
2014-10-01 18:32:02 +09:00
Tadashi G. Takaoka 31c16d41bc Add Uzbek keyboard
Bug: 13222403
Change-Id: I9a4cf447a8ab0c26c4dc7f7794c57390024660cc
2014-10-01 09:29:34 +00:00
Tadashi G. Takaoka 79d992ccba Merge "Use Devanagari Danda letter as full stop on Hindi keyboard" 2014-10-01 09:29:14 +00:00
Keisuke Kuroyanagi 9186dd3492 am bcb439e7: Merge "Add jni method to update entries for a word efficiently."
* commit 'bcb439e702081a54c9a96d3b6bf466e11bd69375':
  Add jni method to update entries for a word efficiently.
2014-10-01 09:25:23 +00:00
Tadashi G. Takaoka c2c9a8088b am d368975c: Merge "Add Akkhor Layout for Bengali Bangladesh"
* commit 'd368975cdb53c075ec39141406b03bdedf266265':
  Add Akkhor Layout for Bengali Bangladesh
2014-10-01 09:25:20 +00:00
Tadashi G. Takaoka a987f6d0cc Use Devanagari Danda letter as full stop on Hindi keyboard
Bug: 17418371
Change-Id: I22bb2913015a83604301576e68095974c38b7c9a
2014-10-01 18:20:31 +09:00
Keisuke Kuroyanagi bcb439e702 Merge "Add jni method to update entries for a word efficiently." 2014-10-01 08:57:02 +00:00
Keisuke Kuroyanagi ce5fd94b97 Add jni method to update entries for a word efficiently.
Bug: 14425059
Change-Id: Ic628939ea68cdee17573409883a8403c73b78905
2014-10-01 17:40:20 +09:00
Tadashi G. Takaoka d368975cdb Merge "Add Akkhor Layout for Bengali Bangladesh" 2014-10-01 08:13:46 +00:00
Tadashi G. Takaoka a9ef283c62 am f41c11a5: Merge "Fix when to show more suggestions dot hint"
* commit 'f41c11a5c0ee1ec56e6f048314e71ec2d5604736':
  Fix when to show more suggestions dot hint
2014-10-01 08:02:46 +00:00
Tadashi G. Takaoka f41c11a5c0 Merge "Fix when to show more suggestions dot hint" 2014-10-01 07:58:28 +00:00
Tadashi G. Takaoka c90a04fe81 am 0487290f: Merge "Fix NPE in KeyboardParams"
* commit '0487290f0f474ed64b93ad7e305792547669c665':
  Fix NPE in KeyboardParams
2014-10-01 07:55:41 +00:00
Keisuke Kuroyanagi bcbbceba2e am 108dad14: Merge "Introduce NgramProperty in Java side."
* commit '108dad1491d44bf381fdb5d4f0767fb251f28522':
  Introduce NgramProperty in Java side.
2014-10-01 07:55:39 +00:00
Tadashi G. Takaoka 0487290f0f Merge "Fix NPE in KeyboardParams" 2014-10-01 07:54:47 +00:00
Keisuke Kuroyanagi 108dad1491 Merge "Introduce NgramProperty in Java side." 2014-10-01 07:53:04 +00:00
Tadashi G. Takaoka 23b35a9689 Fix when to show more suggestions dot hint
Bug: 17742406
Change-Id: Ifdf5d196778da2bb9bb9e3ca9250d23857d90bab
2014-10-01 16:50:28 +09:00
Tadashi G. Takaoka dbf5701ee0 Fix NPE in KeyboardParams
Bug: 17707885
Change-Id: Ie6a54ac5ab60f5d11363ac8da8eef850d65dba7c
2014-10-01 16:08:58 +09:00
Jean Chalard 9d92d3e02d Avoid downloading the metadata in quick succession.
Bug: 17668298
Bug: 8651816
Bug: 17709442
Change-Id: Ib232f9d95d7c01a028be85d10f974a5a570c0ed5
2014-10-01 12:20:27 +09:00
Baligh Uddin d1e19ee755 Import translations. DO NOT MERGE
Change-Id: I69c02deb213419a95c464fb6ee45646611675d79
Auto-generated-cl: translation import
2014-09-30 20:09:31 -07:00
Baligh Uddin 1cf1175806 Import translations. DO NOT MERGE
Change-Id: Ic88e7382751ba8505975deb5ae3ef10be1894c0e
Auto-generated-cl: translation import
2014-09-30 20:08:45 -07:00
Baligh Uddin e347b65e0f Import translations. DO NOT MERGE
Change-Id: I61b5124ffbdc073a093f55702b773c1cc8fd6046
Auto-generated-cl: translation import
2014-09-30 20:06:07 -07:00
Baligh Uddin 146a91be92 Import translations. DO NOT MERGE
Change-Id: I381b6bea1ff36cce9a4edbbc778bfcf88ea2066f
Auto-generated-cl: translation import
2014-09-30 19:58:56 -07:00
Baligh Uddin 6041d899bf Import translations. DO NOT MERGE
Change-Id: I3e80f9e306fe210f8f0cb1e56d7306e2b44ee493
Auto-generated-cl: translation import
2014-09-30 19:55:36 -07:00
Yohei Yukawa b4226d487c am 7b673c72: am 5139c4fd: am 702a736e: am 31838876: am 9baaa4b5: am 6ad437ed: Merge "Fix NPE due to the lack of null-check" into lmp-dev
* commit '7b673c72651aa7dbfc3fc87fe2190d8cffb320c1':
  Fix NPE due to the lack of null-check
2014-10-01 02:31:04 +00:00
Yohei Yukawa 7b673c7265 am 5139c4fd: am 702a736e: am 31838876: am 9baaa4b5: am 6ad437ed: Merge "Fix NPE due to the lack of null-check" into lmp-dev
* commit '5139c4fd28d1a34981d590f2fbec9b407481ea52':
  Fix NPE due to the lack of null-check
2014-10-01 02:26:35 +00:00
Keisuke Kuroyanagi c6a6f6a990 Introduce NgramProperty in Java side.
Bug: 14425059
Change-Id: I8b3458ad22730b3dccbe0caea2c5930f5276dc82
2014-10-01 11:21:08 +09:00
Yohei Yukawa 9baaa4b5c7 am 6ad437ed: Merge "Fix NPE due to the lack of null-check" into lmp-dev
* commit '6ad437edd93382ce872c42fc8a2126e34dbf98d9':
  Fix NPE due to the lack of null-check
2014-10-01 00:51:40 +00:00
Jatin Matani 33c1353a01 am 0187db39: Merge "Add StatsUtils#onLoadSettings for when settings are changed"
* commit '0187db39b537fb9edc68758686b197d8c89f8a33':
  Add StatsUtils#onLoadSettings for when settings are changed
2014-10-01 00:44:03 +00:00
Jatin Matani 0187db39b5 Merge "Add StatsUtils#onLoadSettings for when settings are changed" 2014-10-01 00:41:32 +00:00
Jatin Matani cc7e44e34c Add StatsUtils#onLoadSettings for when settings are changed
Non-blocking call in nature.
Bug:17013677

Change-Id: Iff737422bbacbf22c9b0ff6eaf1c1f75e6bf23c3
2014-09-30 17:09:00 -07:00
Adrian Velicu 7ba79df1a5 am 9586d69b: Avoid double space when autocorrect is triggered
* commit '9586d69bdf90fe24a83c0c6ba22589f28ae6cd03':
  Avoid double space when autocorrect is triggered
2014-09-30 06:56:35 +00:00
Adrian Velicu 9586d69bdf Avoid double space when autocorrect is triggered
Bug: 17596034
Change-Id: Iaa6cc066eefd2436195a91791f2628e9a5f1c449
2014-09-30 15:48:48 +09:00
Yohei Yukawa 6ad437edd9 Merge "Fix NPE due to the lack of null-check" into lmp-dev 2014-09-30 00:41:24 +00:00
Tadashi G. Takaoka 16dfe4d312 am 4936d259: Merge "Fix verbalizing missing emoticons"
* commit '4936d259d7eaa00017b73fdb3a1ae0fadb0531e2':
  Fix verbalizing missing emoticons
2014-09-29 20:40:18 +00:00
Akifumi Yoshimoto d5d0057a7c am 5e828b2c: Merge "Create a code point table based on occurrence counts."
* commit '5e828b2c6187f9a50120444456090d18ad085c9b':
  Create a code point table based on occurrence counts.
2014-09-29 20:40:16 +00:00
Baligh Uddin 5dd9e4ae15 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-29 17:16:18 +00:00
Baligh Uddin 1222cac5a3 Import translations. DO NOT MERGE
Change-Id: Iaee29fb909327ab892f1b5c88cac0f9f0bd62ea3
Auto-generated-cl: translation import
2014-09-29 01:45:51 -07:00
Baligh Uddin 961470ff88 Import translations. DO NOT MERGE
Change-Id: I2865485fc1e9c76ecdc2f138f04bae77691e8d3f
Auto-generated-cl: translation import
2014-09-29 01:40:51 -07:00
Yohei Yukawa de12c1bf49 Fix NPE due to the lack of null-check
The case that was not coverted well is that
CursorAnchorInfoCompatWrapper could be instantiated
with null object. In such situations, we should
do nothing.

BUG: 17682582
Change-Id: I6625a2f0ed8c5580ed9edfe4728f342da77a8e40
2014-09-29 17:03:29 +09:00
Tadashi G. Takaoka 4936d259d7 Merge "Fix verbalizing missing emoticons" 2014-09-29 06:39:30 +00:00
Akifumi Yoshimoto 5e828b2c61 Merge "Create a code point table based on occurrence counts." 2014-09-29 06:31:33 +00:00
Tadashi G. Takaoka d9d5ba4287 Fix verbalizing missing emoticons
Bug: 15585153
Change-Id: I8ae184047558d1a78e20efde0b08e40beb4458b9
2014-09-29 15:15:18 +09:00
Keisuke Kuroyanagi 895cbb76ba am a4a4e9d9: Merge "Rename PrevWordsInfo to NgramContext."
* commit 'a4a4e9d96bfb0f41fe04abb28d8be49d7d780cbe':
  Rename PrevWordsInfo to NgramContext.
2014-09-29 03:06:25 +00:00
Keisuke Kuroyanagi a4a4e9d96b Merge "Rename PrevWordsInfo to NgramContext." 2014-09-29 03:00:55 +00:00
Keisuke Kuroyanagi 97d2716647 am 33b0ebff: Merge "Refactoring PrevWordsInfo."
* commit '33b0ebff278abaa148e8e5df4848db629c31a8c9':
  Refactoring PrevWordsInfo.
2014-09-29 02:38:44 +00:00
Keisuke Kuroyanagi 33b0ebff27 Merge "Refactoring PrevWordsInfo." 2014-09-29 02:33:00 +00:00
Keisuke Kuroyanagi bb0eca5705 Rename PrevWordsInfo to NgramContext.
Bug: 14425059
Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984
2014-09-29 10:52:18 +09:00
Sandeep Siddhartha 3138faa98f am 569f6f1c: Merge "Add authentication/http request related code to LatinIme"
* commit '569f6f1c9e89c567860242aa5a0cb3f85eb28e26':
  Add authentication/http request related code to LatinIme
2014-09-26 19:39:29 +00:00
Tadashi G. Takaoka 76150b8133 Add Akkhor Layout for Bengali Bangladesh
Bug: 16143057
Change-Id: I0b4a3d0d1125f9af25a98ee7a1852129ae1c1d2c
2014-09-26 18:20:25 +00:00
Sandeep Siddhartha 569f6f1c9e Merge "Add authentication/http request related code to LatinIme" 2014-09-26 17:22:12 +00:00
Sandeep Siddhartha 05274d5a0d Add authentication/http request related code to LatinIme
Bug: 17464068
Bug: 17464805
Change-Id: I533ae8821e0628fdf6591538a96ab50f805c0cdf
2014-09-26 10:14:24 -07:00
Tadashi G. Takaoka 5ca300f83f am dade81d7: Fix adding more diacritics letters for Nordic languages
* commit 'dade81d78c70c3eec57191071f8193ce872aad83':
  Fix adding more diacritics letters for Nordic languages
2014-09-26 12:57:15 +00:00
Keisuke Kuroyanagi bbd6a26be0 Refactoring PrevWordsInfo.
Bug: 14425059
Change-Id: I48a193b965e3055bd10a00046322c2b7b19a6232
2014-09-26 21:46:57 +09:00
Tadashi G. Takaoka dade81d78c Fix adding more diacritics letters for Nordic languages
Bug: 10787354
Change-Id: Ia71417069a0cc10d7908d0c404ce85eb0cd76540
2014-09-26 20:21:17 +09:00
Tadashi G. Takaoka 79a50155c1 am 207b9790: Merge "Add Serbian Latin keyboard"
* commit '207b97908701ed0549358a402bbf89b61f37e119':
  Add Serbian Latin keyboard
2014-09-26 07:42:05 +00:00
Tadashi G. Takaoka 8108a3e1cd Add Serbian Latin keyboard
Bug: 9687668
Change-Id: I0631ab04cf33e3d454c965e98a756c31666537bf
2014-09-26 16:01:34 +09:00
Akifumi Yoshimoto 8a6e96d286 Create a code point table based on occurrence counts.
Bug:17097992
Change-Id: Ifd76dbd4d385d800af416368e25c9e56a76d0fbf
2014-09-26 15:15:16 +09:00
Tadashi G. Takaoka 2420c5b242 am 1c70a8e1: Merge "Add info log of custom input styles"
* commit '1c70a8e147cebd045ab4963751bbcb7b9bbc1962':
  Add info log of custom input styles
2014-09-26 04:02:48 +00:00
Tadashi G. Takaoka 1c70a8e147 Merge "Add info log of custom input styles" 2014-09-26 03:56:22 +00:00
Tadashi G. Takaoka 4127e06cdd am 90058c3d: Add an internal state test to ImportantNoticeUtilsTests
* commit '90058c3d1f09e37a74bf6f44d9ebd314be3e680b':
  Add an internal state test to ImportantNoticeUtilsTests
2014-09-26 03:53:44 +00:00
Tadashi G. Takaoka 10a93dc80c Add info log of custom input styles
Bug: 17622871
Change-Id: Ia97c7bc2f0923417b458b178fbd8776d5cd0758c
2014-09-26 12:51:42 +09:00
Tadashi G. Takaoka 90058c3d1f Add an internal state test to ImportantNoticeUtilsTests
On some 32bit-x86 testing emulators, it seems the internal state after
clear the related settings seems like a contradiction state. This CL
adds an test to check such internal state in order to investigate what
is happening on these emulators.

Bug: 17635340
Change-Id: Iba85f06c46959b1dc22e2a9213c50c9e7e30949b
2014-09-26 12:16:54 +09:00
Sandeep Siddhartha 42f6af3e05 am 2c4fbe47: Merge "Add the sync related permissions to LatinIme too"
* commit '2c4fbe4710832a1bd3d0e4cdbee1dd34e001b0c4':
  Add the sync related permissions to LatinIme too
2014-09-25 23:42:58 +00:00
Sandeep Siddhartha d0a144282e Add the sync related permissions to LatinIme too
This can go in master because the actual code changes will also go in here,
and not in lmp-dev

Bug: 17464069
Change-Id: Ica1a22c61aa07efb6dadf8db53513607be437b73
2014-09-25 10:30:31 -07:00
Tadashi G. Takaoka 4806a94630 am f99cce86: Merge "Fix checking a11y status just before calling an a11y method"
* commit 'f99cce8615bca1ea0190ac4f5d65ee35644dd504':
  Fix checking a11y status just before calling an a11y method
2014-09-25 14:21:58 +00:00
Tadashi G. Takaoka f99cce8615 Merge "Fix checking a11y status just before calling an a11y method" 2014-09-25 14:14:28 +00:00
Tadashi G. Takaoka 4d51efce03 am aaefd566: Add !string/<resource_name> reference
* commit 'aaefd5666112c4a6fff58783c25cf9a75b468edd':
  Add !string/<resource_name> reference
2014-09-25 09:47:30 +00:00
Tadashi G. Takaoka aaefd56661 Add !string/<resource_name> reference
This CL introduces new text reference notation !string/<resource_name>
to refer a string resource on the fly.

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

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

Bug: 17169632
Bug: 9687668
Change-Id: I042f6bd04714e0e448cd92031730eb9fb422e6d3
2014-09-25 18:27:23 +09:00
Keisuke Kuroyanagi 54357ccb72 am 951252bf: Merge "Get stats from dictionary."
* commit '951252bf478c924372397ecfc0fdf5a7d6445bff':
  Get stats from dictionary.
2014-09-25 09:26:44 +00:00
Tadashi G. Takaoka 899d54f9e8 am 22e2fa37: Merge "Add allowRedundantMoreKeys attribute"
* commit '22e2fa372c888e64a48eca8f98f0606c891f17ff':
  Add allowRedundantMoreKeys attribute
2014-09-25 09:26:43 +00:00
Jean Chalard dc0ec946d4 am 2828d9ed: Merge "[ML10.1] Adjust call for additional features"
* commit '2828d9eda7b9508ad815322ab440886a83f736db':
  [ML10.1] Adjust call for additional features
2014-09-25 09:26:41 +00:00
Tadashi G. Takaoka 04cd8794e0 Fix checking a11y status just before calling an a11y method
Bug: 17035860
Change-Id: I9627d525a570ced085281b4db93fe6896081e818
2014-09-25 18:24:17 +09:00
Keisuke Kuroyanagi 951252bf47 Merge "Get stats from dictionary." 2014-09-25 08:24:55 +00:00
Tadashi G. Takaoka 22e2fa372c Merge "Add allowRedundantMoreKeys attribute" 2014-09-25 08:20:19 +00:00
Jean Chalard 2828d9eda7 Merge "[ML10.1] Adjust call for additional features" 2014-09-25 08:19:47 +00:00
Tadashi G. Takaoka 0be4e6e585 Add allowRedundantMoreKeys attribute
This CL also adds a couple of custom layout tests of Nordic languages.

Bug: 10787354
Change-Id: I5e875d3f30863395511afa82f0a02deb093d3a6f
2014-09-25 15:12:06 +09:00
Jean Chalard 8da2052113 [ML10.1] Adjust call for additional features
Bug: 11230254
Change-Id: I7b60d9174d7d267eb1b3cd848cff36cdbea75b12
2014-09-25 12:50:11 +09:00
Keisuke Kuroyanagi b05c610544 am a40db55d: Merge "Fix typo."
* commit 'a40db55d9b3cea112863291739dd3fba2b1bf3b5':
  Fix typo.
2014-09-25 03:03:15 +00:00
Keisuke Kuroyanagi a40db55d9b Merge "Fix typo." 2014-09-25 02:52:12 +00:00
Keisuke Kuroyanagi 97465afbf8 Fix typo.
Change-Id: Ib090a3dfa7e53232e0d1ef5e4d2cbe48130f657f
2014-09-25 11:50:30 +09:00
Sandeep Siddhartha fbd08b4329 am 145f05d6: Merge "Add account change receiver to handle account removal"
* commit '145f05d6371fac2a3f6f7cf840add38280c432fe':
  Add account change receiver to handle account removal
2014-09-24 23:49:27 +00:00
Sandeep Siddhartha 145f05d637 Merge "Add account change receiver to handle account removal" 2014-09-24 23:40:58 +00:00
Sandeep Siddhartha d4aec65f65 Add account change receiver to handle account removal
Also cleanup the manifest to group similar components together.
Moving LoginAccountUtils to its own package

Bug: 17464068
Change-Id: Iad7928855531d58334b1e4039bb45b97dde75462
2014-09-24 13:10:54 -07:00
Tadashi G. Takaoka c1b41b2238 am 97294530: Merge "Stop showing more suggestions while important notice is showing"
* commit '97294530d939d1c623ef4ba9ec03b6aaf007fc78':
  Stop showing more suggestions while important notice is showing
2014-09-24 06:59:32 +00:00
Tadashi G. Takaoka 21f038ee0a Stop showing more suggestions while important notice is showing
Bug: 15812659
Change-Id: I314e235cfffae3ae655320a9a75867efc28066bf
2014-09-24 14:12:05 +09:00
Tadashi G. Takaoka 9825677391 am 064ba6bc: Merge "Fix Turkish/Azerbaijani keyboard to add more accented letters"
* commit '064ba6bc0a68f6614dedc37664e058cf6b268a70':
  Fix Turkish/Azerbaijani keyboard to add more accented letters
2014-09-24 03:47:26 +00:00
Tadashi G. Takaoka 064ba6bc0a Merge "Fix Turkish/Azerbaijani keyboard to add more accented letters" 2014-09-24 03:36:10 +00:00
Tadashi G. Takaoka 19b4151690 am 9a73a79c: Merge "Fix not intercepting touch event while in modal mode"
* commit '9a73a79cbe345ad637782fff6947d5ddced6aaf4':
  Fix not intercepting touch event while in modal mode
2014-09-24 03:31:38 +00:00
Tadashi G. Takaoka 9a73a79cbe Merge "Fix not intercepting touch event while in modal mode" 2014-09-24 03:24:18 +00:00
Jean Chalard 6a1516fe11 am 3db17c53: Merge "[ML9.1] Add option for multi-lingual support"
* commit '3db17c5394f8a4413155015fdca54625504af3ff':
  [ML9.1] Add option for multi-lingual support
2014-09-24 02:49:57 +00:00
Jean Chalard 3db17c5394 Merge "[ML9.1] Add option for multi-lingual support" 2014-09-24 02:42:46 +00:00
Tadashi G. Takaoka 5c45914c1e am 620bfb9b: am 4c4ba10b: am 71b51590: am a76e11a2: am 1f490d6c: am be4e0d0e: Fix when to show important notice
* commit '620bfb9bb9a5e4ca8e94ffee9ba911d05a8af5eb':
  Fix when to show important notice
2014-09-23 16:35:22 +00:00
Tadashi G. Takaoka 620bfb9bb9 am 4c4ba10b: am 71b51590: am a76e11a2: am 1f490d6c: am be4e0d0e: Fix when to show important notice
* commit '4c4ba10bbb257036d7cb6ae8a128263285b7384f':
  Fix when to show important notice
2014-09-23 16:18:45 +00:00
Keisuke Kuroyanagi 61f90fd819 am 9997853d: Merge "Prepare supporting n-gram for user history dictionary."
* commit '9997853d6fa5b17402c0a8a490fa3bafc0e58933':
  Prepare supporting n-gram for user history dictionary.
2014-09-23 10:27:36 +00:00
Keisuke Kuroyanagi 9997853d6f Merge "Prepare supporting n-gram for user history dictionary." 2014-09-23 10:18:41 +00:00
Jatin Matani 602de33b97 am e2e48eb9: Merge "Add StatsUtilManager.onStartInput & onFinishInput"
* commit 'e2e48eb9b341f4a0f62443cf031009b895c881e4':
  Add StatsUtilManager.onStartInput & onFinishInput
2014-09-22 16:21:48 +00:00
Jatin Matani e2e48eb9b3 Merge "Add StatsUtilManager.onStartInput & onFinishInput" 2014-09-22 16:15:14 +00:00
Keisuke Kuroyanagi ddfaeff544 Prepare supporting n-gram for user history dictionary.
Bug:17097992
Change-Id: Ic8bfde3d4cc0e720bf7681e08e16fb2ad94d5670
2014-09-22 18:18:50 +09:00
Jean Chalard 4b0dba4cd8 [ML9.1] Add option for multi-lingual support
Bug: 11230254
Change-Id: I15d42fad155142fa6f556f13e84cad489be00dbd
2014-09-22 17:41:37 +09:00
Tadashi G. Takaoka 1f490d6c10 am be4e0d0e: Fix when to show important notice
* commit 'be4e0d0e3921af3d575f745cb356704974362baf':
  Fix when to show important notice
2014-09-22 07:28:43 +00:00
Tadashi G. Takaoka d144b7874e Fix not intercepting touch event while in modal mode
Bug: 17600156
Change-Id: Ife8f04550411d88311e08dd33e370a410d791ca2
2014-09-22 15:30:29 +09:00
Adrian Velicu c096f715fe am b12c174c: Merge "Hiding SuggestedWords.EMPTY and refactoring code that compares SuggestedWords instances directly to it to use isEmpty instead"
* commit 'b12c174c2f04461e5c5e0d2e148742ef0bfc5594':
  Hiding SuggestedWords.EMPTY and refactoring code that compares SuggestedWords instances directly to it to use isEmpty instead
2014-09-22 06:25:46 +00:00
Adrian Velicu b12c174c2f Merge "Hiding SuggestedWords.EMPTY and refactoring code that compares SuggestedWords instances directly to it to use isEmpty instead" 2014-09-22 06:20:25 +00:00
Adrian Velicu 30f4a2a4d7 Hiding SuggestedWords.EMPTY and refactoring code that compares SuggestedWords instances directly to it to use isEmpty instead
Bug: 17560717
Change-Id: I7032bf0ab46f9cf5e3b3312a14e689b5496764c1
2014-09-22 14:50:21 +09:00
Tadashi G. Takaoka be4e0d0e39 Fix when to show important notice
This CL introduces a timeout duration to show an important notice
message. When the timeout has passed, the important notice message
will be suppressed without user intervention.

This CL also adds unit tests and fixes a bug in
getNextImportantNoticeTitle().

Bug: 17181982
Change-Id: If321c0060cc2f7ca14ad0631b84f4990f88bd659
2014-09-22 14:28:31 +09:00
Tadashi G. Takaoka f1fd943095 am 5fa6a538: Add plus-sign hint to PIN\'s zero key
* commit '5fa6a538cc38f400797c96a491215c5246447e05':
  Add plus-sign hint to PIN's zero key
2014-09-22 05:23:13 +00:00
Tadashi G. Takaoka 5fa6a538cc Add plus-sign hint to PIN's zero key
Bug: 16378846
Change-Id: Ia1f95a33db4e1eb6b2fe367cfffa4aada567b6d9
2014-09-22 14:05:28 +09:00
Jatin Matani 6a6137325b Add StatsUtilManager.onStartInput & onFinishInput
Bug:15657192
Change-Id: I6e976202812d1c1675bd7822c4a15686d1ec1fe9
2014-09-21 20:19:12 -07:00
Keisuke Kuroyanagi a890979a23 am 82574734: Merge "Create DictionaryStats in executor."
* commit '825747348b2fdc33d9593afd5ff29dbe9587524d':
  Create DictionaryStats in executor.
2014-09-22 02:51:28 +00:00
Keisuke Kuroyanagi 825747348b Merge "Create DictionaryStats in executor." 2014-09-22 02:49:04 +00:00
Mohammadinamul Sheik ab4a6604d1 am 8f116d7c: Merge "Invoke onWordCommitUserTyped on startInput() with non empty wordcomposer"
* commit '8f116d7cdab57ef6bdccb870240d548a437ca0c9':
  Invoke onWordCommitUserTyped on startInput() with non empty wordcomposer
2014-09-22 02:24:56 +00:00
Mohammadinamul Sheik 8f116d7cda Merge "Invoke onWordCommitUserTyped on startInput() with non empty wordcomposer" 2014-09-22 02:13:21 +00:00
Tadashi G. Takaoka 8ea51a2760 Fix Turkish/Azerbaijani keyboard to add more accented letters
Bug: 16807005
Change-Id: Ifd0ab3aeb8207cdecacf8cfe5b1d58c07690142f
2014-09-22 10:55:08 +09:00
Keisuke Kuroyanagi 743a9b4499 Get stats from dictionary.
Bug: 16553957
Change-Id: I70c7a7be3c902dc8a0dfe8f946f9ef75ba6c9655
2014-09-22 10:26:19 +09:00
Keisuke Kuroyanagi c724864c61 Create DictionaryStats in executor.
Bug: 16553957
Change-Id: Ie4e9a6ee67f90ba0086af2075068e078efc7f189
2014-09-22 10:25:51 +09:00
Baligh Uddin 1c810c6725 Import translations. DO NOT MERGE
Change-Id: I51bc9a71a30b362938d155e091a7b0d4694eacbf
Auto-generated-cl: translation import
2014-09-21 04:15:07 -07:00
Baligh Uddin cf59579cf5 Import translations. DO NOT MERGE
Change-Id: I5c04251f5db42dab2189da52895e171c9082348b
Auto-generated-cl: translation import
2014-09-21 04:12:17 -07:00
Baligh Uddin 8b4592d10f Import translations. DO NOT MERGE
Change-Id: If1d120fdaf20fb218947f008816c6533a9756591
Auto-generated-cl: translation import
2014-09-21 04:09:19 -07:00
Yohei Yukawa 747cf32027 am c514d64b: am d8c83fb8: am 88cae78f: am 89dd5f03: am c1d35148: am f2d0d9b0: Merge "Avoid the add-to-dictionary indicator from being clipped" into lmp-dev
* commit 'c514d64bff4c67cd28445385d90c067e8a666ebd':
  Avoid the add-to-dictionary indicator from being clipped
2014-09-20 04:58:07 +00:00
Yohei Yukawa c514d64bff am d8c83fb8: am 88cae78f: am 89dd5f03: am c1d35148: am f2d0d9b0: Merge "Avoid the add-to-dictionary indicator from being clipped" into lmp-dev
* commit 'd8c83fb81bb06e22ab0857e1a7531c666ad8701e':
  Avoid the add-to-dictionary indicator from being clipped
2014-09-20 04:46:48 +00:00
Baligh Uddin 3c52bf7ddf Merge "Import translations. DO NOT MERGE" 2014-09-20 04:35:35 +00:00
Baligh Uddin b0388e81ed Merge "Import translations. DO NOT MERGE" 2014-09-20 04:35:35 +00:00
Baligh Uddin ab63e0c01d Merge "Import translations. DO NOT MERGE" 2014-09-20 04:35:35 +00:00
Baligh Uddin a35b60d13e Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-09-20 04:35:33 +00:00
Baligh Uddin ed04bd9ef6 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-20 04:35:32 +00:00
Baligh Uddin 5bb9b99d52 Merge "Import translations. DO NOT MERGE" 2014-09-20 04:35:26 +00:00
Baligh Uddin c7dc7bccf4 Merge "Import translations. DO NOT MERGE" 2014-09-20 04:35:23 +00:00
Yohei Yukawa c1d3514891 am f2d0d9b0: Merge "Avoid the add-to-dictionary indicator from being clipped" into lmp-dev
* commit 'f2d0d9b0b91953df440ed55e0ee2e7f67705a881':
  Avoid the add-to-dictionary indicator from being clipped
2014-09-20 04:04:43 +00:00
Yohei Yukawa f2d0d9b0b9 Merge "Avoid the add-to-dictionary indicator from being clipped" into lmp-dev 2014-09-20 03:58:03 +00:00
Tadashi G. Takaoka 2bf6a2ec3e am ed7e5bdd: Revert "Disable preliminary subtypes on E-release"
* commit 'ed7e5bdd65b812b774938257ac7f1d2e52dbde5c':
  Revert "Disable preliminary subtypes on E-release"
2014-09-20 03:48:35 +00:00
Tadashi G. Takaoka 2a63382039 am 0e6dd1a6: Disable preliminary subtypes on E-release
* commit '0e6dd1a6f1945088d59396dad23d7480d95031f2':
  Disable preliminary subtypes on E-release
2014-09-20 03:42:34 +00:00
Tadashi G. Takaoka ed7e5bdd65 Revert "Disable preliminary subtypes on E-release"
This reverts commit 0e6dd1a6f1.
This CL enables the following preliminary subtypes.
  - hi_ZZ: Hinglish
  - my_MM: Myanmar

Bug: 17587199
Change-Id: I6a2e621f1d50715b1b379fe2a19c48dac022eb92
2014-09-20 03:35:05 +00:00
Tadashi G. Takaoka 0e6dd1a6f1 Disable preliminary subtypes on E-release
This CL disables the following preliminary subtypes.
  - hi_ZZ: Hinglish
  - my_MM: Myanmar

Bug: 17587199
Change-Id: Ib7c88fc4817b79f8e46b5d499c6bb748c24d6c7d
2014-09-20 03:27:45 +00:00
Jean Chalard 4328cd88d4 am c648bae1: (DO NOT MERGE) Remove some logs which spam encrypted boot
* commit 'c648bae15de599e76d865fd181e980fc1b2175b3':
  (DO NOT MERGE) Remove some logs which spam encrypted boot
2014-09-20 01:36:08 +00:00
Yohei Yukawa 9d2f606aa8 Avoid the add-to-dictionary indicator from being clipped
With this CL, the display bounds is taken into consideration
when the location of add-to-dictionary indicator is determined.

BUG: 17578360
Change-Id: I31e458fa7bbc33e539578b331fe1c51ff7f8668e
2014-09-19 19:19:56 +09:00
Keisuke Kuroyanagi 68c78b83b7 am f88ec161: Merge "Fix unit tests."
* commit 'f88ec161e9aeeac8a65f4343517d7c824f20fe49':
  Fix unit tests.
2014-09-19 10:16:51 +00:00
Keisuke Kuroyanagi 845c061970 Fix unit tests.
Change-Id: I7706db4c9279488552ea5fabc16dd1dd2bc7fa05
2014-09-19 19:02:08 +09:00
Jean Chalard c648bae15d (DO NOT MERGE) Remove some logs which spam encrypted boot
Bug: 17539539
Change-Id: Idb442c2f0db2361b8e535f39b02d209b1edd1069
(cherry picked from commit 4b6c6fa0e4)
2014-09-19 07:29:03 +00:00
Mohammadinamul Sheik 6901ea6eac Invoke onWordCommitUserTyped on startInput() with non empty wordcomposer
In chat clients, the last committed word is not committed via
rich input connection. This will handle those missed out cases.

Change-Id: If3f1f6e1927cdf56a09d3e9124f05c66ca75de53
2014-09-18 23:00:11 -07:00
Adrian Velicu f0fd1aeb8c am bacf2dba: Merge "Added @UsedForTesting to \'missing\' methods to avoid ProGuard removing them"
* commit 'bacf2dbac6d27c6a5677ca3f37a6da8bfd0c8db1':
  Added @UsedForTesting to 'missing' methods to avoid ProGuard removing them
2014-09-19 05:47:23 +00:00
Adrian Velicu bacf2dbac6 Merge "Added @UsedForTesting to 'missing' methods to avoid ProGuard removing them" 2014-09-19 05:39:31 +00:00
Adrian Velicu 8c889784e2 Added @UsedForTesting to 'missing' methods to avoid ProGuard removing them
Bug: 16864527
Change-Id: I698a1b3e09e7e9a12722169b37f87bd51c8cbd34
2014-09-19 14:31:33 +09:00
Jean Chalard 3a6030de2b am 17511a41: Merge "[ML8] Add a language weight"
* commit '17511a41a4161bf329342ce6a57e8f41a8167561':
  [ML8] Add a language weight
2014-09-19 05:21:57 +00:00
Jean Chalard 129f60a0d3 am 967cb0f0: Merge "Remove some logs which spam encrypted boot"
* commit '967cb0f0dfc5ff5a09414cac21533416bc95f091':
  Remove some logs which spam encrypted boot
2014-09-19 05:18:08 +00:00
Jean Chalard 17511a41a4 Merge "[ML8] Add a language weight" 2014-09-19 05:15:51 +00:00
Jean Chalard 4b6c6fa0e4 Remove some logs which spam encrypted boot
Bug: 17539539
Change-Id: Idb442c2f0db2361b8e535f39b02d209b1edd1069
2014-09-19 14:02:23 +09:00
Jean Chalard 6da9b21191 [ML8] Add a language weight
...and rename an improperly named normalization value

Bug: 11230254
Change-Id: I0f5633148a9f66dbfd7d28540b8a8985131c4549
2014-09-19 13:44:42 +09:00
Tadashi G. Takaoka bd46e3f2e3 am 00e01837: Merge "(DO NOT MERGE) Fix showing important notice even at beginning of sentence" into lmp-dev
* commit '00e018370fdc3b66a7937a3f08197cedb7907c19':
  (DO NOT MERGE) Fix showing important notice even at beginning of sentence
2014-09-18 22:57:20 +00:00
Tadashi G. Takaoka 00e018370f Merge "(DO NOT MERGE) Fix showing important notice even at beginning of sentence" into lmp-dev 2014-09-18 22:48:10 +00:00
Mohammadinamul Sheik c64cbfc932 am 0e9419d0: Add word commit methods to StatsUtils
* commit '0e9419d014c859252584a37a2242def51f88294f':
  Add word commit methods to StatsUtils
2014-09-18 20:41:30 +00:00
Mohammadinamul Sheik 0e9419d014 Add word commit methods to StatsUtils
Change-Id: Ibb2cf0150cd9a851ff48d097688edc916dc82998
2014-09-18 13:06:38 -07:00
Sandeep Siddhartha 8c8551e10b am 84185148: Add account listing and preference integration for current account
* commit '84185148c5506cd58ae6870102de6538bbc35042':
  Add account listing and preference integration for current account
2014-09-18 18:05:04 +00:00
Sandeep Siddhartha 84185148c5 Add account listing and preference integration for current account
Bug: 17464068
Change-Id: Idb68a6012b285d6bc4632414bb6d11131148cf67
2014-09-18 10:39:30 -07:00
Sandeep Siddhartha 508c9360bc am 27bb70d6: Merge "Start showing the split keyboard layout"
* commit '27bb70d6a049098f1d1186e2d69c86347e43679f':
  Start showing the split keyboard layout
2014-09-18 17:11:53 +00:00
Sandeep Siddhartha 27bb70d6a0 Merge "Start showing the split keyboard layout" 2014-09-18 17:05:28 +00:00
Sandeep Siddhartha 09da5e5f49 am a7c5dcde: Merge "Add Accounts & privacy settings in LatinIME"
* commit 'a7c5dcdedf66a4be233e3e4236fa6dabb762f28b':
  Add Accounts & privacy settings in LatinIME
2014-09-18 16:59:50 +00:00
Sandeep Siddhartha a7c5dcdedf Merge "Add Accounts & privacy settings in LatinIME" 2014-09-18 16:49:34 +00:00