Commit graph

12606 commits

Author SHA1 Message Date
Geoff Mendal
c96bb3e9a7 Merge "Import translations. DO NOT MERGE" 2014-10-29 19:14:14 +00:00
Geoff Mendal
4caa03c839 Import translations. DO NOT MERGE
Change-Id: I3643a631ae94f295bdcd4cf4427fd4bcfef00a17
Auto-generated-cl: translation import
2014-10-29 12:02:07 -07:00
Tadashi G. Takaoka
4e0149c22a Merge "Remove DrawingHandler" 2014-10-29 13:42:44 +00:00
Jean Chalard
93e5cdea71 Merge "[CS8] Add explanations" 2014-10-29 12:26:23 +00:00
Tadashi G. Takaoka
2ad6d9cda3 Remove DrawingHandler
Change-Id: I658a5b16cca1e56f0b944009b8aef09e0a97a0db
2014-10-29 18:51:41 +09:00
Tadashi G. Takaoka
ca6e5dfedb Remove DrawingHandler.Callbacks.dismissAllKeyPreviews()
Change-Id: I2b11ca0dec0f3522648557a9a909f305cc4170fb
2014-10-29 15:25:09 +09:00
Jean Chalard
ecab6aff59 Remove Dict dependency on WordComposer and ProximityInfo
Bug: 18108776
Change-Id: I9b399a44241e05a7add9bb8094263aa76de37880
2014-10-29 12:27:24 +09:00
Jean Chalard
36799b2aa2 Move InputPointers and ResizableIntArray to common
Bug: 18108776
Change-Id: Ie5c0430aa41a8d6c58bf510a10173223d7dfe9fe
2014-10-29 12:09:11 +09:00
Tadashi G. Takaoka
48ee473c1e Merge "Clean up UserDictionaryCompatUtils" 2014-10-29 00:37:43 +00:00
Jean Chalard
4beeb9253a Move StringUtils under common.
Bug: 18108776
Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b
2014-10-28 22:44:30 +09:00
Jean Chalard
ca724ef71f Reduce StringUtils dependency on the Android libs
Bug: 18108776
Change-Id: I43feb25d79f89276d44462ba71788a14c4583277
2014-10-28 22:03:18 +09:00
Tadashi G. Takaoka
fec5219974 Fix Serbian Latin subtype handling
This CL also adds unit tests for Hinglish and Serbian Latin.

Bug: 9687668
Bug: 17169632
Change-Id: Ib9aa1bcdf5b390a9d8c61f07165beacf850e2692
2014-10-28 18:36:16 +09:00
Tadashi G. Takaoka
dccf4f2a41 Clean up UserDictionaryCompatUtils
Change-Id: I1b22c82930af4f30db4237335850fb34b66f9299
2014-10-28 17:42:17 +09:00
Tadashi G. Takaoka
395009c03e Fix NPE in AppearanceSettingsFragment
Bug: 18147440
Change-Id: I7a7a47b3484e54146d34d11b5bd9c1305421d829
2014-10-28 15:02:31 +09:00
Jean Chalard
67527f847e [CS8] Add explanations
Bug: 13238601
Change-Id: I72a78be5848485f7fd77f5586573692529c7547b
2014-10-28 13:41:00 +09:00
Tadashi G. Takaoka
d5455fea4a Merge "Add null analysis annotation to CollectionUtils" 2014-10-27 09:43:22 +00:00
Tadashi G. Takaoka
7a3de4dca9 Add null analysis annotation to CollectionUtils
Change-Id: I3a610b037d6d1431cced3ea193171108bd5a040d
2014-10-27 18:30:29 +09:00
Tadashi G. Takaoka
f6a6371096 Refactor CoordinateUtils
Change-Id: I607b803273a4d7983e9e25a81b6941a3b59194c6
2014-10-27 18:02:33 +09:00
Tadashi G. Takaoka
f7e01e866f Remove device checking of Emoji physical key
This CL also adds a settings option to enable/disable an Emoji-ALT
physical key.

Bug: 18122464
Change-Id: Iee1d97efec979a902b0492071d5e511ca1792ff0
2014-10-27 16:26:22 +09:00
Ken Wakasa
53b010384e Remove an unused import
Follow up to I2b81450f99d7b4493ba0fc5e502f4333b8db48cd

Change-Id: I3d106db076e8181b65ce6843b801d12c6ca0adb1
2014-10-24 21:36:24 +09:00
Ken Wakasa
23a357d71d Small cleanup
Change-Id: I2b81450f99d7b4493ba0fc5e502f4333b8db48cd
2014-10-24 19:47:26 +09:00
Tadashi G. Takaoka
067d8cdf56 Fix unit test breakage
Change-Id: I538288054a58eb2c81ce3cbe5c9bef900fb653a5
2014-10-24 16:48:46 +09:00
Keisuke Kuroyanagi
aad188d40a Merge "Height of the keyboard for spellchecker is too large." 2014-10-24 06:29:10 +00:00
Keisuke Kuroyanagi
6cc318bd6a Height of the keyboard for spellchecker is too large.
Bug: 18109041
Change-Id: I0eb98a66290058c28e20c86f36395af4f763952e
2014-10-24 14:59:52 +09:00
Ken Wakasa
7e88eae623 Add missing header
Change-Id: I1befc2f1288674b4d871b27bdc5251b2b95e8bb7
2014-10-24 12:00:26 +09:00
Ken Wakasa
2c6aaa7c3c Merge "Move Constants.java to the latin.common package" 2014-10-24 02:50:07 +00:00
Keisuke Kuroyanagi
989699a690 Fix unit tests (InputLogicTestsDeadKeys).
Change-Id: I9a3191548aa0a4e674d736bc10845b952fc9a1e8
2014-10-23 22:09:08 +09:00
Ken Wakasa
9342484e8d Move Constants.java to the latin.common package
Our intention is to have classes of latinime-common under the common
package as much as we can.

Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
2014-10-23 20:27:37 +09:00
Jean Chalard
b224594aca Merge "Fix a concurrency bug that ends up in a crash." 2014-10-23 08:02:37 +00:00
Keisuke Kuroyanagi
ade5ad1dae Merge "Use trigrams for personalization dict." 2014-10-23 05:42:38 +00:00
Keisuke Kuroyanagi
16cc3992d7 Use trigrams for personalization dict.
5Bug: 14425059
Change-Id: I73cf6904e569d60996a3b079f16ea6df0cb90f02
2014-10-23 14:32:45 +09:00
Ken Wakasa
b11fc7d423 Move annotations classes to latiime-common
Move Constants.java too.

Change-Id: I55e8cf06f61c0a37746a7328834a52a5306cf0f2
2014-10-23 13:00:46 +09:00
Jean Chalard
4097a20b36 Fix a concurrency bug that ends up in a crash.
Bug: 18085768
Change-Id: I016bec997787839526ddfc521ebb99d0c7b05189
2014-10-23 12:36:42 +09:00
Tadashi G. Takaoka
d3a4c51324 Fix Javadoc and null analysis related warnings
This CL also adds @SuppressWarning("unused" to java-overridable package.

Bug: 18003991
Change-Id: If70527e30654384705d7a814f5efd181d9f539e1
2014-10-23 09:58:42 +09:00
Tadashi G. Takaoka
924b8fd0fa Merge "Enable preliminary subtypes for F-release" 2014-10-23 00:19:03 +00:00
Geoff Mendal
2e30c86c84 Import translations. DO NOT MERGE
Change-Id: Ia95e94fb8246f5b44753b8091fca45c3e650f732
Auto-generated-cl: translation import
2014-10-22 13:26:03 -07:00
Ken Wakasa
d42df5125d Merge "Add latinime-common local lib" 2014-10-22 10:28:19 +00:00
Ken Wakasa
54a1b8ec54 Add latinime-common local lib
This is just a placeholder in this CL. It will be shared by LatinIME,
dicttool, and tests.

Change-Id: I6fb3516a5061555f6f24b29141c2871d2319b023
2014-10-22 19:26:21 +09:00
Tadashi G. Takaoka
45c917e238 Enable preliminary subtypes for F-release
Bug: 17743363
Change-Id: I098ae6e21a7f2a1ceed1d206740a2d12e1ef7d99
2014-10-22 18:52:53 +09:00
Keisuke Kuroyanagi
b5ef884fbb Support dumping ngram entries.
Bug: 14425059
Change-Id: Ib03a0c3d166ed6f1e60c67127b28006d55143b6b
2014-10-22 18:15:53 +09:00
Yohei Yukawa
baecaa5411 Merge "Remove BuildCompatUtils.VERSION_CODES_LXX" 2014-10-22 02:01:32 +00:00
Yohei Yukawa
66d30a4b22 Remove BuildCompatUtils.VERSION_CODES_LXX
Finally it is turned out to be a XXL-size Lollipop.

Change-Id: Icbd22506be9de514eba287cdd8d97fbfd070ac09
2014-10-22 01:29:58 +09:00
Yohei Yukawa
63cbdf49b9 Add @Override for a method that is overriding a new L API
Now all the downstream builds have switched to API Level 21.
Hence putting @Override to new APIs no longer makes javac unhappy.

Change-Id: Ib3324a5d06b17d298beacab8c8802bb14e5be968
2014-10-22 01:28:10 +09:00
Tadashi G. Takaoka
46a007261f Merge "Fix some compiler warnings" 2014-10-21 15:06:55 +00:00
Tadashi G. Takaoka
5f00fe09e9 Fix some compiler warnings
This CL fixes the following compiler warnings.

- Indirect access to static member
- Access to a non-accessible member of an enclosing type
- Parameter assignment
- Method can be static
- Local variable declaration hides another field or variable
- Value of local variable is not used
- Unused import
- Unused private member
- Unnecessary 'else' statement
- Unnecessary declaration of throw exception
- Redundant type arguments
- Missing '@Override' annotation
- Unused '@SuppressWarning' annotations

Bug: 18003991
Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
2014-10-21 19:28:37 +09:00
Tadashi G. Takaoka
2105aa3ea6 Merge "FIx potential NPE" 2014-10-21 08:14:46 +00:00
Tadashi G. Takaoka
097bcdcde8 FIx potential NPE
Bug: 18052047
Change-Id: I9097d0a504b8a1d875cf66e44bb65eb6ecc8908e
2014-10-21 14:13:27 +09:00
Adrian Velicu
05172bf1a5 Renaming "blacklist" flag to "possibly offensive"
No behaviour changes.
Unified the overloaded FusionDictionary::add method to always take an
isPossiblyOffensive argument.

Bug: 11031090
Change-Id: I5741a023ca1ce842d2cf10d4f6c926b0efabaa78
2014-10-21 11:51:47 +09:00
Geoff Mendal
9ba36f29cc Merge "Import translations. DO NOT MERGE" 2014-10-20 23:40:57 +00:00
Geoff Mendal
39bda3389e Merge "Import translations. DO NOT MERGE" 2014-10-20 23:40:15 +00:00
Geoff Mendal
5df9f333a1 Merge "Import translations. DO NOT MERGE" 2014-10-20 23:37:48 +00:00
Geoff Mendal
e7cb59a97f Merge "Import translations. DO NOT MERGE" 2014-10-20 23:37:25 +00:00
Geoff Mendal
f422245ca2 Merge "Import translations. DO NOT MERGE" 2014-10-20 23:37:16 +00:00
Geoff Mendal
f459d3bb3b Import translations. DO NOT MERGE
Change-Id: Idcaf9d1a640e52e64957db9ae1b6d24beabc5bfc
Auto-generated-cl: translation import
2014-10-20 16:27:32 -07:00
Geoff Mendal
0e4f83485c Import translations. DO NOT MERGE
Change-Id: I1f98c40acd696c8791dd0e3850d3dcff6b51722b
Auto-generated-cl: translation import
2014-10-20 16:22:19 -07:00
Geoff Mendal
c9dcc13a54 Import translations. DO NOT MERGE
Change-Id: Ic0556705ea72f60c0f66ed1c516636fc0f8c98ba
Auto-generated-cl: translation import
2014-10-20 16:15:42 -07:00
Geoff Mendal
ceb27e0d8e Import translations. DO NOT MERGE
Change-Id: Ief1756f262798b3ababa8ccc57c386c2d08d4e68
Auto-generated-cl: translation import
2014-10-20 16:14:26 -07:00
Geoff Mendal
efdb314d6a Import translations. DO NOT MERGE
Change-Id: I2b2849dd412ec9cc7330d882d8d1546932e753a4
Auto-generated-cl: translation import
2014-10-20 16:13:10 -07:00
Geoff Mendal
319d0a2e36 Import translations. DO NOT MERGE
Change-Id: Ie1921e02997556ddcff58bd492879a5b755536a9
Auto-generated-cl: translation import
2014-10-20 16:11:12 -07:00
Tadashi G. Takaoka
b0ccf3a0a2 Refactor CustomInputStyleSettingsFragment
Bug: 18003991
Change-Id: Ib005dd394faf546e4faed89ff2018ce49858a06e
2014-10-20 17:12:33 +09:00
Keisuke Kuroyanagi
1085fef8d0 Change entry count limit.
Unigram 10K, Bigram 30K, Trigram 30K.

Change-Id: Ibd19c6a2b618499df1c70000bad7b47498187f0a
2014-10-20 15:01:49 +09:00
Nick Kralevich
01acdac11e fix build
Change-Id: Iedbf01e1c6191350aed8d31c2638b2430e67a36f
2014-10-18 07:37:46 -07:00
Nick Kralevich
237f6ca799 fix build
Change-Id: I58a94fc0be01f272b6ad12524946f073c9f49894
2014-10-18 06:50:03 -07:00
Tadashi G. Takaoka
f9a4b20c96 Merge "Fix missing Telugu letters" 2014-10-17 16:59:49 +00:00
Jean Chalard
ea32e8fb04 Merge "Enforce a length limit to auto-correction for some languages" 2014-10-17 13:11:39 +00:00
Jean Chalard
8fc872762f Enforce a length limit to auto-correction for some languages
Bug: 15379262
Change-Id: I27fad12f468b5bc6ad1a0876aac72e5f5ca5760a
2014-10-17 22:05:05 +09:00
Tadashi G. Takaoka
a97bae4e8b Fix missing Telugu letters
This CL adds missing the following Telugu letters
- U+0C4A: TELUGU VOWEL SIGN O
- U+0C1E: TELUGU LETTER NYA
And also reorganizes some letter reasonably.

Bug: 10028759
Change-Id: If7fd3854ffab8484dbe6ced0ff2ed52be838e44d
2014-10-17 19:21:59 +09:00
Tadashi G. Takaoka
ad2f695083 Bring back long press timeout settings
Bug: 18025209
Change-Id: Id8dbb051e04270f6892cae12a443103bd0d32dcb
2014-10-17 18:20:43 +09:00
Jean Chalard
bd4693cd3f Merge "[ML27.1] Allow adding additional features to other settings" 2014-10-16 11:08:37 +00:00
Jean Chalard
bdf70af177 [ML27.1] Allow adding additional features to other settings
We may want to add additional features from some of the
other screens.

Bug: 11230254
Bug: 17966252
Change-Id: I1bb877e5cbdd74f2ffa8010b5bc6af35fe77279a
2014-10-16 19:32:00 +09:00
Jean Chalard
eaa7efd136 [ML29] Reinitialize the subtype at input start
Bug: 11230254
Bug: 17994347
Change-Id: I3476909c4b371d6e94a0d4c35d91e109d639b8d5
2014-10-16 18:43:14 +09:00
Jean Chalard
544da4a2ea Merge "[ML25] Add an hasDict method." 2014-10-16 08:39:34 +00:00
Jean Chalard
f13487dfbf [ML25] Add an hasDict method.
We used to have separate methods for existence of dicts
according to whether it's a file or a resource. This unifies both.

Bug: 11230254
Bug: 17979623
Change-Id: I728773461f3465f756d06297c3f3bee34390c3e6
2014-10-16 17:09:27 +09:00
Geoff Mendal
62ef21054c Merge "Import translations. DO NOT MERGE" 2014-10-16 00:01:17 +00:00
Geoff Mendal
4437a8ecfc Merge "Import translations. DO NOT MERGE" 2014-10-16 00:00:40 +00:00
Geoff Mendal
2b28100aef Merge "Import translations. DO NOT MERGE" 2014-10-16 00:00:16 +00:00
Geoff Mendal
e1b4330bc6 Import translations. DO NOT MERGE
Change-Id: Ia6d999f2c93c0b4d288c216a26eddfb747aee312
Auto-generated-cl: translation import
2014-10-15 16:47:48 -07:00
Geoff Mendal
e935f7f508 Import translations. DO NOT MERGE
Change-Id: I6ee0f684acdcdc10e8e8b2ff149daa8a18ebd3d6
Auto-generated-cl: translation import
2014-10-15 16:42:11 -07:00
Geoff Mendal
3323775643 Import translations. DO NOT MERGE
Change-Id: I33451673b84614bfa15117dcdaaf337969a29ab2
Auto-generated-cl: translation import
2014-10-15 16:36:42 -07:00
Geoff Mendal
58ecffbd54 Merge "Import translations. DO NOT MERGE" 2014-10-15 23:36:24 +00:00
Geoff Mendal
6105d48756 Import translations. DO NOT MERGE
Change-Id: Ib6cfb0fa6996a91a3c17cd3b541ebdeecc30bc92
Auto-generated-cl: translation import
2014-10-15 16:34:39 -07:00
Geoff Mendal
7aa6786785 Import translations. DO NOT MERGE
Change-Id: Iaaa9b9d17d23653ebd9a04357bd5aafd3904a375
Auto-generated-cl: translation import
2014-10-15 16:32:56 -07:00
Jean Chalard
17100ad8ea am 8435acd7: am f7f786d8: am d9c04a6b: am 6456af0e: am ecea8551: Fix a bug with no suggestions flag
* commit '8435acd789bd4f9c1322a73b9e0567c2dee7b336':
  Fix a bug with no suggestions flag
2014-10-15 07:52:58 +00:00
Jean Chalard
6456af0e1c am ecea8551: Fix a bug with no suggestions flag
* commit 'ecea8551c39a497e036be5c010d7ddb6b51a36bc':
  Fix a bug with no suggestions flag
2014-10-15 07:35:46 +00:00
Jean Chalard
ecea8551c3 Fix a bug with no suggestions flag
We should reset the composition state when moving the cursor inside
the word after a gesture when the text field specifies no suggestions.

Bug: 17959921
Change-Id: I977fea775f7b7e145e343636f0fb94266a40953a
2014-10-15 06:15:02 +00:00
Tadashi G. Takaoka
2da7336536 am ae3ad8eb: (DO NOT MERGE) Fix checking a11y status just before calling an a11y method
* commit 'ae3ad8ebdd1a3239e17fd14e50a8e9670cb5b61a':
  (DO NOT MERGE) Fix checking a11y status just before calling an a11y method
2014-10-15 00:32:23 +00:00
Sandeep Siddhartha
b17a3bc4e8 Move sync policy related code out of account settings
Bug: 17981687
Bug: 17464069
Change-Id: I0ae3400564fd346cc84af74dfef65f01cc1ce6a8
2014-10-14 13:39:28 -07:00
Tadashi G. Takaoka
296b11503e Merge "Add JSR305 annotation to LeakGuardHandlerWrapper" 2014-10-14 12:30:12 +00:00
Jean Chalard
10ac940312 Merge "[ML24] Add facilities to read the script of a subtype" 2014-10-14 11:26:07 +00:00
Jean Chalard
b256bb5791 [ML24] Add facilities to read the script of a subtype
...or more exactly, the script of the keyboard layout set associated
with a given subtype.

Bug: 11230254
Change-Id: I82f5fc81ecffc561781816008c853be6ff9438dd
2014-10-14 20:19:15 +09:00
Keisuke Kuroyanagi
d1471ee053 Merge "Remove shouldBlockAutoCorrectionBySafetyNet" 2014-10-14 10:52:32 +00:00
Tadashi G. Takaoka
c4ffa235e5 Add JSR305 annotation to LeakGuardHandlerWrapper
Change-Id: I7456200af739db4510c5549b7bc894fb48749455
2014-10-14 18:19:22 +09:00
Ken Wakasa
95f100ba40 Merge "Performance fix for multiple language subtypes" 2014-10-14 06:42:14 +00:00
Jean Chalard
d15f6e8c98 Performance fix for multiple language subtypes
The code would iterate all enabled subtypes each time
getCurrentSubtype() is called, which is really quite frequent.

Bug: 11230254
Change-Id: I91feb36de6eca84967e848fc585aae04b350be89
2014-10-14 15:13:35 +09:00
Jean Chalard
9959140f15 Merge "Fix an NPE." 2014-10-14 02:51:16 +00:00
Jean Chalard
7d74594123 Fix an NPE.
Bug: 17958289
Change-Id: I5c9ea668ff75b38c7ddebd767c36a950835c0c9f
2014-10-14 11:42:43 +09:00
Sandeep Siddhartha
cbd59e02a9 Merge "Don't restore debug preferences" 2014-10-14 02:28:50 +00:00
Keisuke Kuroyanagi
29b4f7aa67 Remove shouldBlockAutoCorrectionBySafetyNet
Bug: 13756409

[Category diff]
+1      27
-1       0
+2       0
-2       0
+3       0
-3       1
+4      11
-4       0
+5      51
-5       0
+6       0
-6      38
+7       0
-7      50

[Weighted category diff]
+1      28
-1       0
+2       0
-2       0
+3       0
-3       1
+4      11
-4       0
+5      51
-5       0
+6       0
-6      39
+7       0
-7      50

show diff for ./en_user_log_phones_2011_08.csv
+1       4
+4       5
+5       7
-6       9
-7       7

The increase of false positives comes from the spaceless
typing test cases that are synthetic data.

Change-Id: I4ea77aa56ebfaa5518c71107169e1d2332de6327
2014-10-14 11:20:33 +09:00
Sandeep Siddhartha
06a438d3a5 Don't restore debug preferences
Bug: 17942814
Change-Id: I0bbef716dff47ed8eb880209d448629ad853b904
2014-10-13 18:59:48 -07:00
Tadashi G. Takaoka
ae3ad8ebdd (DO NOT MERGE) Fix checking a11y status just before calling an a11y method
Cherry picked from Master, commit 04cd8794e0

Bug: 17035860
Change-Id: I9627d525a570ced085281b4db93fe6896081e818
2014-10-14 01:40:27 +00:00
Sandeep Siddhartha
59f5988a16 Merge "Cleanup LoginAccountUtils" 2014-10-14 00:06:52 +00:00
Sandeep Siddhartha
19084d076a Cleanup LoginAccountUtils
Bug: 17464068
Change-Id: Icf994a7582491afebc5db522c127a30d079ce05c
2014-10-13 12:23:22 -07:00
Geoff Mendal
164a49969e Merge "Import translations. DO NOT MERGE" 2014-10-13 18:32:43 +00:00
Geoff Mendal
3c68a82ae8 Merge "Import translations. DO NOT MERGE" 2014-10-13 18:27:20 +00:00
Geoff Mendal
e995d5ea0e Merge "Import translations. DO NOT MERGE" 2014-10-13 18:25:12 +00:00
Geoff Mendal
38b624cd04 Merge "Import translations. DO NOT MERGE" 2014-10-13 18:24:40 +00:00
Geoff Mendal
fd6bec7dee Import translations. DO NOT MERGE
Change-Id: Ie47de03c285de6dcaa6dc9b86dcf027f1c55825f
Auto-generated-cl: translation import
2014-10-13 11:04:13 -07:00
Geoff Mendal
c471349789 Import translations. DO NOT MERGE
Change-Id: I7dbac96009086e57a4f3199f86aa6340022e44cc
Auto-generated-cl: translation import
2014-10-13 10:56:50 -07:00
Geoff Mendal
4a77b6bf11 Import translations. DO NOT MERGE
Change-Id: I64b846864646430dccaf5f58f788b5c5cb485970
Auto-generated-cl: translation import
2014-10-13 10:50:20 -07:00
Geoff Mendal
f3802c566b Import translations. DO NOT MERGE
Change-Id: I0f02b34c3de602cc6ebe04e1859b31d08b0e95a3
Auto-generated-cl: translation import
2014-10-13 10:48:09 -07:00
Geoff Mendal
1bcf5873ac Import translations. DO NOT MERGE
Change-Id: Ic263dcea659b3133f5ebd7666f7d1c702a4ebddc
Auto-generated-cl: translation import
2014-10-13 10:46:23 -07:00
Sandeep Siddhartha
d9015233f5 Set up a sync preference and policy for syncing [2]
- Adds a preference for enabling sync, which controls the sync behavior
- Make the ProductionFlags depend on appropriate flags to guarantee that
  we don't mess things when flipping some flags
- Preferences now control the "syncable" property of the provider
  thereby controlling the policy and when this entry shows up in
  system settings.

Bug: 17464069
Change-Id: I1d58351188518c1ae9f1f9e147b5ea15d32a3427
2014-10-10 16:03:54 -07:00
Sandeep Siddhartha
1e10d29bc8 Don't restore device specific preferences
There are two categories of preferences:
1. That are part of the default shared preference
   They were all getting backed up and restored.
   Added a blacklist to not restore some of these.
   e.g. current account

2. That are in a non-default shared preference file.
   These are not getting backed up currently, but added a specific
   local preference file for all such preferences.

Bug: 17288591
Change-Id: I2f748be971a2337543e5014434aa39313fd1e1d8
2014-10-10 10:49:32 -07:00
Tadashi G. Takaoka
6e565332df Merge "Fixing keyboard theme selection" 2014-10-10 09:28:24 +00:00
Jean Chalard
7d5e1cb265 [ML23] Introduce a different accuracy/performance tradeoff
Bug: 11230254
Change-Id: Ic09518c818ae7b68942b1c63160dd462e5922cb5
2014-10-10 18:02:52 +09:00
Tadashi G. Takaoka
4f17f3df46 Fixing keyboard theme selection
Bug: 17937287
Change-Id: I476045980843c5897820cd544daea06fa991acb5
2014-10-10 17:42:03 +09:00
Jean Chalard
5d2d852eb0 [ML22] Improve the language on spacebar for SLS
Bug: 11230254
Change-Id: Ib54be1a2a77b6e80cdff1af89a7b4203ea859716
2014-10-10 16:19:48 +09:00
Jatin Matani
701b14ffa6 Merge "Make SuggestionWordInfo non-final for testabilty" 2014-10-10 05:18:55 +00:00
Tadashi G. Takaoka
fee22c2aaf Fix asset name
Change-Id: I7a2609af13c3ed7e6333a6af87cb113addd82f34
2014-10-10 11:07:22 +09:00
Sandeep Siddhartha
80f0e89aaf Remove UsedForTesting tags from BlockingHttpClient
Bug: 17464069
Change-Id: I45aa6da0e339ffb56de613c2a0a43fe37fb2defd
2014-10-09 14:30:45 -07:00
Jatin Matani
eaf517ffea Merge "Changes related Sync Engine library that communicates to cloud server" 2014-10-09 18:06:32 +00:00
Jean Chalard
bc18005948 Always show the typed word in recorrections.
Bug: 11330140
Bug: 17875601
Bug: 17623275
Change-Id: Ie4620f36f312c54c7b01b5f6cbdb0bc9171b6179
2014-10-09 17:54:58 +09:00
Keisuke Kuroyanagi
41302021d6 Merge "Rename updateCounter to updateEntriesForWordWithNgramContext." 2014-10-09 08:51:18 +00:00
Keisuke Kuroyanagi
ab4437f468 Rename updateCounter to updateEntriesForWordWithNgramContext.
Bug: 14425059
Change-Id: Id9b0dd7e32c711ed4292981517c3febd5fe9e897
2014-10-09 17:34:29 +09:00
Keisuke Kuroyanagi
fca049a4b0 Merge "Extend jni method to dump ngram entries." 2014-10-09 08:28:13 +00:00
Yohei Yukawa
6547311865 Merge "Simplify CursorAnchorInfoCompatWrapper" 2014-10-09 08:13:50 +00:00
Jean Chalard
437fcbaa9f [ML20.1] Move getRichInputMethodSubtype to additional features
Bug: 11230254
Change-Id: I9bc19db5f101eeb6841394fe3637f271c93cbfa7
2014-10-09 16:35:15 +09:00
Jatin Matani
db1b736446 Changes related Sync Engine library that communicates to cloud server
This change updates some of the code that the library uses
to communicate with the cloud server
Specifically :
- Update BlockingHttpClient to use template ResponseProcessor
- Update HttpUrlConnectionBuilder to setAuthToken for HttpUrlConnection

Bug: 17464069
Bug: 17464805

Change-Id: I7d7b58dff594b920162f799d102e8582ff9fe6a4
2014-10-09 00:01:32 -07:00
Yohei Yukawa
dac49f9f6d Simplify CursorAnchorInfoCompatWrapper
With this CL, we will use CursorAnchorInfoCompatWrapper just to
avoid unexpected NoClassDefFoundError due to the direct
dependency CursorAnchorInfo class, which is available only on
API level 21 and later.

Change-Id: I254ff83f1ca41daa21d0666b5824af22ba529022
2014-10-09 15:54:34 +09:00
Keisuke Kuroyanagi
d7a51c242b Extend jni method to dump ngram entries.
Bug: 14425059
Change-Id: Ib03b58525fae12f254b45630bee31ecbdde227b1
2014-10-09 15:26:10 +09:00
Jean Chalard
176e6e22cf Merge "[ML19] Actually switch the language when appropriate" 2014-10-09 05:12:01 +00:00
Jean Chalard
81a5a10476 [ML19] Actually switch the language when appropriate
That is, when auto-correcting or when manually picking.
This is not great, but it's a good starting point.

Bug: 11230254
Change-Id: I07627f48e2de1c28053d6572c7c72625808ec79c
2014-10-09 13:13:25 +09:00
Tadashi G. Takaoka
15480481be Add keyboard shadow
This CL sets 8dp elevation ot input view in order to cast a shadow
onto underlying application.

Bug: 16210054
Change-Id: I7779c63612fc88e24dde65de3e4e7a45b9d1762f
2014-10-09 12:39:15 +09:00
Jatin Matani
3c6ac75c48 Merge "Fix messaging for sync now feature, when no account is selected" 2014-10-08 23:40:27 +00:00
Jatin Matani
f66a6a3bb0 Fix messaging for sync now feature, when no account is selected
Change-Id: I5e81b7a1eed9c2177ad3ddfa6c96c2b85c433766
2014-10-08 15:26:39 -07:00
Tadashi G. Takaoka
9bda19891c Merge "Stop dimming main keyboard while showing more keys keyboard" 2014-10-08 13:13:26 +00:00
Jean Chalard
15335d7526 Merge "[ML18] Make WordComposer#getAutoCorrection a word info" 2014-10-08 13:04:25 +00:00
Jean Chalard
176ad53c6f [ML18] Make WordComposer#getAutoCorrection a word info
Bug: 11230254
Change-Id: I6ad2e7f89862fbfe7af5502961643320c782347f
2014-10-08 21:46:13 +09:00
Ken Wakasa
5b39af37c0 Fix unit test failure
Change-Id: I5a28c6775385ba3b0b7d86c85064fd28f3cbb353
2014-10-08 17:27:28 +09:00
Tadashi G. Takaoka
6085839627 Stop dimming main keyboard while showing more keys keyboard
Bug: 17910364
Change-Id: Ibe76ee86a43c5939f48e45506c985b3f289eac7a
2014-10-08 16:59:21 +09:00
Jatin Matani
847735fdfa Merge "Skeleton code for user dictionary sync" 2014-10-08 02:09:50 +00:00
Jatin Matani
3fbe459fa7 Make SuggestionWordInfo non-final for testabilty
Needed for ag/563043
Bug:17731683
Change-Id: I4d19e512a311547204f7e8d7885fc886757a18b7
2014-10-07 18:43:13 -07:00
Jatin Matani
734733d8ad Skeleton code for user dictionary sync
Bug:17464069
Change-Id: If683b80e882c07fba576959346ae74cd445dd83e
2014-10-07 12:30:12 -07:00
Yohei Yukawa
89d7965e76 Merge "Fix NoClassDefFoundError due to CursorAnchorInfo in K" 2014-10-07 10:30:36 +00:00
Yohei Yukawa
883bfd2c0b Fix NoClassDefFoundError due to CursorAnchorInfo in K
Check API level before touching CursorAnchorInfo that is only
available in L and later.

BUG: 17891202
Change-Id: I6e8d2e3f071bd78bed8c1d24ba2b97207dea3044
2014-10-07 19:19:20 +09:00
Jean Chalard
be4e1539cb [ML17] Add a method to switch the most probable language
Also directly hold a ref to it. It's simpler for now, though
we may want to remove it completely later to have a flat,
purely weight-based system with no preference.
Also split weights between gesturing and typing.

Bug: 11230254
Change-Id: Ica15964a193ae6e7f14c85a9a3ed806130fa7efb
2014-10-07 19:09:49 +09:00
Jean Chalard
38ec825ef8 [ML16] Remove DictionaryFacilitator.getLocale()
Bug: 11230254
Change-Id: Ife99df42bc145fbd2d5c3128330bc0f88b104de9
2014-10-07 16:44:26 +09:00
Jean Chalard
ea07734956 [ML15] First step in removing DictionaryFacilitator.getLocale
Bug: 11230254
Change-Id: Ied010ec6f1024080e8a499f682d2fc1780e82ef7
2014-10-07 16:06:35 +09:00
Keisuke Kuroyanagi
3ead4d7f8a Merge "Quit having obsolete options for ime-simulator." 2014-10-07 02:03:59 +00:00
Geoff Mendal
4d6dd4a5c1 Merge "Import translations. DO NOT MERGE" 2014-10-07 01:24:06 +00:00
Geoff Mendal
8403f533c8 Import translations. DO NOT MERGE
Change-Id: Id46f6934d46a5d517194656a824fc9f921a1cc04
Auto-generated-cl: translation import
2014-10-06 18:23:25 -07:00
Geoff Mendal
5a6bdc40e8 Merge "Import translations. DO NOT MERGE" 2014-10-07 01:23:06 +00:00
Geoff Mendal
f876595332 Import translations. DO NOT MERGE
Change-Id: I4ff0dd2333f316363c72071f70694bbf43bb77e2
Auto-generated-cl: translation import
2014-10-06 18:19:53 -07:00
Geoff Mendal
d218ba4b51 Import translations. DO NOT MERGE
Change-Id: I542174a860f968289c76095dd059ee595b790409
Auto-generated-cl: translation import
2014-10-06 18:16:54 -07:00
Geoff Mendal
b5c6900fad Merge "Import translations. DO NOT MERGE" 2014-10-07 01:11:57 +00:00
Geoff Mendal
dc12363e18 Import translations. DO NOT MERGE
Change-Id: Ib46e14a36ff47c3fc39ad76d33d93611fb818ad2
Auto-generated-cl: translation import
2014-10-06 18:11:23 -07:00
Geoff Mendal
c540c01652 Merge "Import translations. DO NOT MERGE" 2014-10-07 01:11:03 +00:00
Geoff Mendal
fc291d43fa Merge "Import translations. DO NOT MERGE" 2014-10-07 01:10:40 +00:00
Geoff Mendal
0403903725 Import translations. DO NOT MERGE
Change-Id: Ifed7ebdb7582223e9cca0c3330e0a3e385ba97c4
Auto-generated-cl: translation import
2014-10-06 18:09:30 -07:00
Geoff Mendal
1e2d282d88 Import translations. DO NOT MERGE
Change-Id: Idb955cc9c187dc0b3b38fdd3ee2ade9e28bac1d1
Auto-generated-cl: translation import
2014-10-06 18:07:53 -07:00
Adrian Velicu
639837f85d Merge "Postponing memory deallocation after onFinishInputView" 2014-10-06 23:45:40 +00:00
Adrian Velicu
7a2e38ad40 Merge "Update dictionaries" 2014-10-06 23:45:23 +00:00
Tadashi G. Takaoka
f849d21a5d Fix currency symbol size
Bug: 17877107
Change-Id: I0723fc86792ec5a20ac54a1d3c965293ba1f0bd2
2014-10-07 00:51:47 +09:00
Tadashi G. Takaoka
6fb586a527 Fix missing prediction words on contextual strip
Bug: 17874801
Change-Id: Iaba935a6b2548376f10a0ecd80f07ea7ada6c60a
2014-10-07 00:06:53 +09:00
Yohei Yukawa
db6c32778e Merge "Add a utility method to SuggestionSpanUtils" 2014-10-06 15:03:20 +00:00
Tadashi G. Takaoka
162ca68051 Remove preliminary subtypes from E-MR1 release
Note that unit test for Sinhala (Sri Lanka) and Tamil (Sri Lanka) have
been unexpectedly @suppressed.

Bug: 17743363
Change-Id: I4076a61adbf2d4aee58417d0c354b8ef4a938668
2014-10-06 23:42:14 +09:00
Adrian Velicu
7b8f317050 Postponing memory deallocation after onFinishInputView
Bug: 17559789
Change-Id: I1d4b1524028164d27ec4eadd3960b567148f2b84
2014-10-06 23:14:48 +09:00
Jean Chalard
fcc4cbf6f1 Merge "[ML14] Forward the locale list to relevant places, again" 2014-10-06 13:32:32 +00:00
Adrian Velicu
5664f64dff Update dictionaries
>>> java/res/raw/main_ru.dict
Header :
  codePointTable : null <=> оаиенрстлвкмпудыгяйзбьчхюшжцфщёКэСМАБГПВДЛТРНХФ-ОИШЭУъЗЧЕЯЖЦЮЙЩЁЫѓ
  date : 1412325424 <=> 1412592602
  version : 52 <=> 53
Body :
  No differences

Change-Id: I5db813c4e671797c71de8609aa0e4d26404b425e
2014-10-06 22:10:57 +09:00
Keisuke Kuroyanagi
a84a8d38c0 Quit having obsolete options for ime-simulator.
Bug: 16547409
Change-Id: I43f5a15153cbd7072fde15764a664ad4d1c6417f
2014-10-06 22:03:39 +09:00
Ken Wakasa
8784b4366e Merge "Revert "Remove preliminary subtypes from E-MR1 release"" 2014-10-06 12:53:14 +00:00
Ken Wakasa
fe5132f783 Revert "Remove preliminary subtypes from E-MR1 release"
This reverts commit 704db5f003.

Bug: 17743363

Reverting due to unit test breakage..

Change-Id: Ie7c1e86e50af2a05b4b7877092122dc4f026aa54
2014-10-06 12:52:45 +00:00
Jean Chalard
bc051a561f [ML14] Forward the locale list to relevant places, again
Diff:
+++ b/java/src/com/android/inputmethod/keyboard/internal/KeyboardBuilder.java
@@ -735,7 +735,7 @@ public class KeyboardBuilder<KP extends KeyboardParams> {

     private boolean matchLocaleCodes(TypedArray caseAttr, final Locale[] locales) {
         // TODO: adujst this for multilingual input
-        return matchString(caseAttr, R.styleable.Keyboard_Case_languageCode, locales[0].toString());
+        return matchString(caseAttr, R.styleable.Keyboard_Case_localeCode, locales[0].toString());
     }

     private boolean matchLanguageCodes(TypedArray caseAttr, Locale[] locales) {

Change-Id: Icefac18dd6d5fea97f591177cf8df1ba6de7f4f0
2014-10-06 21:27:32 +09:00
Yohei Yukawa
4f04fd95f4 Merge "Remove ENABLE_CURSOR_ANCHOR_INFO_CALLBACK" 2014-10-06 11:02:24 +00:00
Tadashi G. Takaoka
704db5f003 Remove preliminary subtypes from E-MR1 release
Note that unit test for Sinhala (Sri Lanka) and Tamil (Sri Lanka) have
been unexpectedly @suppressed.

Bug: 17743363
Change-Id: I5f4b6fd8cbb8fa4e31df9ac602847c681655fd02
2014-10-06 10:44:59 +00:00
Yohei Yukawa
81c2dfe9c6 Remove ENABLE_CURSOR_ANCHOR_INFO_CALLBACK
We can now start relying on L APIs even in unbundled release.

This means ENABLE_CURSOR_ANCHOR_INFO_CALLBACK can be always true.
Hence we simply remove it.

Change-Id: I0353e992e97e252059f83accea100504594bf171
2014-10-06 19:39:13 +09:00
Tadashi G. Takaoka
dbeed7e4d8 Update setup wizard image
Bug: 17769384
Change-Id: Ie1a294c9f317e61fee30b316b65a4663c5ebef8b
2014-10-06 18:07:10 +09:00
Tadashi G. Takaoka
a697c62b7d Merge "Stop using splitActionBar" 2014-10-06 08:19:12 +00:00
Tadashi G. Takaoka
4bde90bf77 Merge "Update setup wizard video and image of AOSP" 2014-10-06 08:08:11 +00:00
Tadashi G. Takaoka
477ee88022 Stop using splitActionBar
Bug: 16830067
Change-Id: I05514ca03438f577bb8a17a59705897440907bf7
2014-10-06 16:56:32 +09:00
Tadashi G. Takaoka
48b707e1bd Update setup wizard video and image of AOSP
Bug: 17769384
Change-Id: I23748bce17566aad1693ff56e8c04f493f957f84
2014-10-06 16:53:22 +09:00
Tadashi G. Takaoka
8b24e7abde Merge "Refactor custom input style settings" 2014-10-06 07:35:34 +00:00
Yohei Yukawa
03c1e7955a Add a utility method to SuggestionSpanUtils
This is a ground work for subsequent CLs.

BUG: 16995261
Change-Id: Icbb708a35412a635a0d625b520069840c0bb0904
2014-10-06 16:22:51 +09:00
Yohei Yukawa
a48ff4e294 Merge "Add unittest for SuggestionSpanUtils" 2014-10-06 07:20:39 +00:00
Keisuke Kuroyanagi
1616d6d440 Merge "Make UserHistoryDictionary use updateEntriesForWordWithNgramContext()" 2014-10-06 07:03:55 +00:00
Keisuke Kuroyanagi
9290d0a4eb Make UserHistoryDictionary use updateEntriesForWordWithNgramContext()
Bug: 14425059
Change-Id: I409ebf90f68f4a0f1638128ac5ee6af859323d30
2014-10-06 15:50:38 +09:00
Tadashi G. Takaoka
399a3bd930 Refactor custom input style settings
This CL removes references of Pair class.

Change-Id: I7cda0ac438ac1d5026599cb52ac2ea8845339da9
2014-10-06 15:39:42 +09:00
Adrian Velicu
add93b1190 Merge "Update dictionaries" 2014-10-06 06:24:21 +00:00
Adrian Velicu
5fd77cfcca Update dictionaries
>>> dictionaries/de_wordlist.combined.gz
Header :
  date : 1412325412 <=> 1412572955
Body :
Added: überzeugen 50

>>> java/res/raw/main_de.dict
Header :
  date : 1412325412 <=> 1412572955
Body :
Added: überzeugen 50

Change-Id: Ief0a0bbe1a280cdba59a74158cd6a4f5bd1b5287
2014-10-06 15:20:50 +09:00
Adrian Velicu
a9089f9a57 Merge "Update dictionaries" 2014-10-06 03:26:31 +00:00
Yohei Yukawa
ceedaf6321 Add unittest for SuggestionSpanUtils
This adds unittest for SuggestionSpanUtils for subsequent CLs.
No behavior change is intended in this CL.

BUG: 16995261
Change-Id: I90d1591cab893a1421ca633963b7c8f00a5fe4b4
2014-10-06 12:24:46 +09:00
Keisuke Kuroyanagi
818c2ef5ef Merge "Make unit tests use new entry updating method." 2014-10-06 03:12:08 +00:00
Keisuke Kuroyanagi
6accf63d0a Make unit tests use new entry updating method.
Bug: 14425059
Change-Id: Ie7d92e92822a0d3a8b654d213e55d45aab799f5d
2014-10-06 12:09:15 +09:00
Adrian Velicu
487a6a6949 Update dictionaries
>>> dictionaries/de_wordlist.combined.gz
Header :
  date : 1393228134 <=> 1412325412
  version : 44 <=> 52
Body :
Probability changed: kommen 0 -> 149
Added: Käsebrötchen 50
Added: Lädst 50
Added: Müllbeutel 50
Added: Theresienwiese 50
Added: Verdammtes 50
Added: Wurstbrötchen 50
Added: abgebe 50
Added: angucke 50
Added: async 20
Added: backends 20
Added: brate 50
Added: erschreckendes 50
Added: erwische 50
Added: fahrt 80
Added: fragst 100
Added: gepostet 50
Added: gewundert 80
Added: gucke 50
Added: hattet 50
Added: hinkriege 50
Added: hustet 50
Added: hättet 60
Added: irgendwer 60
Added: koche 50
Added: kriege 70
Added: lehrst 50
Added: motivierenden 50
Added: müsstest 50
Added: müsstet 50
Added: organisiere 50
Added: peilen 50
Added: probiere 50
Added: rede 50
Added: reserviere 50
Added: sag 120
Added: schickes 80
Added: schickst 90
Added: sitze 50
Added: standet 50
Added: stolpere 50
Added: stressig 50
Added: telefoniere 80
Added: wolltest 100
Added: wolltet 100
Added: würdet 100
Added: ziele 50
Added: ähnlich 50
Added: älteren 50
Added: übelriechend 80
Added: überholen 50
Added: überlege 50
Added: überlegen 50
Added: überlegt 50
Added: übermorgen 50
Added: übernachte 50
Added: überquert 50
Added: überstanden 50
Added: übrig 50
Added: übrigens 50

>>> dictionaries/en_GB_wordlist.combined.gz
Header :
  date : 1402373154 <=> 1412325408
  version : 47 <=> 52
Body :
Deleted: Pinterest  25
Added: Edamame 25
Added: Pinterest 25
Added: amd 0

>>> dictionaries/en_US_wordlist.combined.gz
Header :
  date : 1402373154 <=> 1412325184
  version : 47 <=> 52
Body :
Deleted: Pinterest  25
Added: Edamame 25
Added: Pinterest 25
Added: amd 0

>>> dictionaries/en_wordlist.combined.gz
Header :
  date : 1402373178 <=> 1412325419
  version : 47 <=> 52
Body :
Deleted: Pinterest  25
Added: Edamame 25
Added: Pinterest 25
Added: amd 0

>>> dictionaries/es_wordlist.combined.gz
Header :
  date : 1404131686 <=> 1412325412
  version : 49 <=> 52
Body :
Added: cállese 30
Added: mándame 30
Added: recupérate 35

>>> dictionaries/ro_wordlist.combined.gz
Header :
  description : Româna <=> Română
  date : 1408019089 <=> 1412325511
  version : 50 <=> 52
Body :
!!!!!! Truncated. !!!!!!!

>>> dictionaries/ru_wordlist.combined.gz
Header :
  date : 1406597821 <=> 1412325424
  version : 50 <=> 52
Body :
Deleted: Агг 52
Deleted: ЗАГС 77
Deleted: КОНКАКАФ 19
Deleted: Монк 69
Probability changed: НКАО 13 -> 0
Probability changed: НКВД 46 -> 0
Probability changed: НКО 14 -> 0
Probability changed: НКР 22 -> 0
Deleted: НОМОС-БАНК 58
Deleted: ПДД 77
Probability changed: РНК 33 -> 0
Deleted: СМС 78
Probability changed: СНК 35 -> 0
Deleted: ТОО 14
Probability changed: ТЦ 85 -> 5
Probability changed: УНКВД 11 -> 0
Deleted: ФИО 65
Deleted: Эбля 49
Probability changed: асексуальность 59 -> 0
Probability changed: бисексуал 72 -> 0
Probability changed: бисексуалов 85 -> 0
Probability changed: бисексуальной 67 -> 0
Probability changed: бисексуальности 75 -> 0
Deleted: бумажке 94
Deleted: бумажку 104
Deleted: важней 86
Deleted: вероника 58
Deleted: вероники 54
Deleted: вероникой 29
Deleted: веронику 29
Deleted: влезет 94
Deleted: влезть 87
Deleted: врожденная 75
Deleted: врожденного 78
Deleted: врожденное 71
Deleted: врожденной 85
Deleted: врожденную 66
Deleted: врожденные 82
Deleted: врожденный 82
Deleted: врожденным 79
Deleted: врожденными 76
Deleted: врожденных 86
Probability changed: врождённая 68 -> 75
Probability changed: врождённое 69 -> 71
Probability changed: врождённой 80 -> 85
Probability changed: врождённые 78 -> 82
Probability changed: врождённый 77 -> 82
Probability changed: врождённым 74 -> 79
Probability changed: врождённых 80 -> 86
Probability changed: все-таки 113 -> 30
Deleted: вылезли 88
Deleted: г-же 65
Deleted: г-н 88
Deleted: г-на 88
Probability changed: га 135 -> 0
Probability changed: гг 160 -> 0
Probability changed: гетеросексуалов 73 -> 0
Probability changed: гетеросексуального 67 -> 0
Probability changed: гетеросексуальной 71 -> 0
Probability changed: гетеросексуальности 65 -> 0
Probability changed: гетеросексуальность 67 -> 0
Probability changed: гетеросексуальную 65 -> 0
Probability changed: гетеросексуальные 76 -> 0
Probability changed: гетеросексуальных 77 -> 0
Probability changed: гомосексуал 74 -> 0
Probability changed: гомосексуала 67 -> 0
Probability changed: гомосексуалам 75 -> 0
Probability changed: гомосексуалами 70 -> 0
Probability changed: гомосексуализм 91 -> 0
Probability changed: гомосексуализма 91 -> 0
Probability changed: гомосексуализме 74 -> 0
Probability changed: гомосексуализму 68 -> 0
Probability changed: гомосексуалист 80 -> 0
Probability changed: гомосексуалиста 72 -> 0
Probability changed: гомосексуалистам 69 -> 0
Probability changed: гомосексуалистами 69 -> 0
Probability changed: гомосексуалистов 94 -> 0
Probability changed: гомосексуалистом 78 -> 0
Probability changed: гомосексуалисты 77 -> 0
Probability changed: гомосексуалов 93 -> 0
Probability changed: гомосексуалом 65 -> 0
Probability changed: гомосексуалы 82 -> 0
Probability changed: гомосексуальная 70 -> 0
Probability changed: гомосексуального 78 -> 0
Probability changed: гомосексуальное 71 -> 0
Probability changed: гомосексуальной 93 -> 0
Probability changed: гомосексуальности 103 -> 0
Probability changed: гомосексуальность 100 -> 0
Probability changed: гомосексуальностью 73 -> 0
Probability changed: гомосексуальную 75 -> 0
Probability changed: гомосексуальные 92 -> 0
Probability changed: гомосексуальный 75 -> 0
Probability changed: гомосексуальным 74 -> 0
Probability changed: гомосексуальными 70 -> 0
Probability changed: гомосексуальных 91 -> 0
Probability changed: д-р 93 -> 0
Deleted: дада 72
Deleted: даша 55
Deleted: даши 47
Deleted: дашу 29
Probability changed: де 154 -> 30
Probability changed: др 156 -> 0
Deleted: зажги 92
Deleted: зажгу 89
Deleted: зажигай 95
Deleted: зажигаю 88
Probability changed: зоосексуальность 65 -> 0
Probability changed: иРНК 68 -> 0
Probability changed: кДНК 62 -> 0
Probability changed: кв 133 -> 0
Deleted: кио 49
Deleted: лег 91
Deleted: лезу 88
Deleted: лезь 91
Probability changed: ля 103 -> 30
Probability changed: мРНК 102 -> 0
Deleted: машка 29
Probability changed: микроРНК 65 -> 0
Deleted: мону 29
Probability changed: мтДНК 79 -> 0
Probability changed: мяРНК 65 -> 0
Deleted: нажрался 97
Deleted: налил 97
Deleted: налили 86
Probability changed: негетеросексуальной 73 -> 0
Probability changed: негетеросексуальный 73 -> 0
Deleted: орут 98
Deleted: отт 64
Deleted: паша 83
Deleted: паше 66
Deleted: пашей 69
Deleted: пашой 73
Deleted: подоконник 88
Deleted: подскажет 87
Deleted: подскажете 89
Deleted: подскажите 112
Deleted: покажите 95
Deleted: полезли 91
Probability changed: пр 129 -> 0
Probability changed: пре-мРНК 78 -> 0
Deleted: пресекся 73
Probability changed: рРНК 91 -> 0
Deleted: раздражённо 91
Deleted: сажусь 99
Deleted: саше 54
Probability changed: секс 106 -> 0
Probability changed: секс-символ 74 -> 0
Probability changed: секс-символов 65 -> 0
Probability changed: секс-символом 74 -> 0
Probability changed: секс-туризм 62 -> 0
Probability changed: секса 105 -> 0
Probability changed: сексе 93 -> 0
Deleted: секси 88
Probability changed: сексизм 63 -> 0
Probability changed: сексизма 72 -> 0
Probability changed: сексолог 75 -> 0
Probability changed: сексологии 80 -> 0
Probability changed: сексом 102 -> 0
Probability changed: сексу 80 -> 0
Probability changed: сексуальная 95 -> 0
Probability changed: сексуально 88 -> 0
Probability changed: сексуального 107 -> 0
Probability changed: сексуальное 98 -> 0
Probability changed: сексуальной 111 -> 0
Probability changed: сексуальном 84 -> 0
Probability changed: сексуальному 79 -> 0
Probability changed: сексуальности 99 -> 0
Probability changed: сексуальность 90 -> 0
Probability changed: сексуальностью 70 -> 0
Probability changed: сексуальную 95 -> 0
Probability changed: сексуальные 105 -> 0
Probability changed: сексуальный 91 -> 0
Probability changed: сексуальным 95 -> 0
Probability changed: сексуальными 84 -> 0
Probability changed: сексуальных 113 -> 0
Deleted: сете 78
Deleted: слезой 87
Deleted: соображаю 90
Probability changed: тРНК 86 -> 0
Deleted: тав 69
Probability changed: транссексуал 67 -> 0
Probability changed: транссексуалки 64 -> 0
Probability changed: транссексуалов 82 -> 0
Probability changed: транссексуалы 71 -> 0
Probability changed: транссексуальности 77 -> 0
Probability changed: транссексуальность 65 -> 0
Deleted: укажите 83
Probability changed: ул 137 -> 0
Deleted: устар 93
Deleted: эдак 99
Added: Вероника 58
Added: Вероники 54
Added: Вероникой 29
Added: Веронику 29
Added: Даша 55
Added: Даши 47
Added: Дашу 29
Added: Маш 57
Added: Машка 29
Added: Паша 83
Added: Паше 66
Added: Пашей 69
Added: Пашой 73
Added: Саше 54
Added: впросак 0
Added: врождённую 66
Added: втечение 0
Added: втечении 0
Added: лёг 97
Added: машу 80
Added: чтоли 0
Added: чтоль 0
Added: ща 0
Added: щас 0

>>> java/res/raw/main_de.dict
Header :
  date : 1393228134 <=> 1412325412
  version : 44 <=> 52
Body :
Probability changed: kommen 0 -> 149
Added: Käsebrötchen 50
Added: Lädst 50
Added: Müllbeutel 50
Added: Theresienwiese 50
Added: Verdammtes 50
Added: Wurstbrötchen 50
Added: abgebe 50
Added: angucke 50
Added: async 20
Added: backends 20
Added: brate 50
Added: erschreckendes 50
Added: erwische 50
Added: fahrt 80
Added: fragst 100
Added: gepostet 50
Added: gewundert 80
Added: gucke 50
Added: hattet 50
Added: hinkriege 50
Added: hustet 50
Added: hättet 60
Added: irgendwer 60
Added: koche 50
Added: kriege 70
Added: lehrst 50
Added: motivierenden 50
Added: müsstest 50
Added: müsstet 50
Added: organisiere 50
Added: peilen 50
Added: probiere 50
Added: rede 50
Added: reserviere 50
Added: sag 120
Added: schickes 80
Added: schickst 90
Added: sitze 50
Added: standet 50
Added: stolpere 50
Added: stressig 50
Added: telefoniere 80
Added: wolltest 100
Added: wolltet 100
Added: würdet 100
Added: ziele 50
Added: ähnlich 50
Added: älteren 50
Added: übelriechend 80
Added: überholen 50
Added: überlege 50
Added: überlegen 50
Added: überlegt 50
Added: übermorgen 50
Added: übernachte 50
Added: überquert 50
Added: überstanden 50
Added: übrig 50
Added: übrigens 50

>>> java/res/raw/main_en.dict
Header :
  date : 1402373178 <=> 1412325419
  version : 47 <=> 52
Body :
Deleted: Pinterest  25
Added: Edamame 25
Added: Pinterest 25
Added: amd 0

>>> java/res/raw/main_es.dict
Header :
  date : 1404131686 <=> 1412325412
  version : 49 <=> 52
Body :
Added: cállese 30
Added: mándame 30
Added: recupérate 35

>>> java/res/raw/main_ru.dict
Header :
  date : 1406597821 <=> 1412325424
  version : 50 <=> 52
Body :
Deleted: Агг 52
Deleted: ЗАГС 77
Deleted: КОНКАКАФ 19
Deleted: Монк 69
Probability changed: НКАО 13 -> 0
Probability changed: НКВД 46 -> 0
Probability changed: НКО 14 -> 0
Probability changed: НКР 22 -> 0
Deleted: НОМОС-БАНК 58
Deleted: ПДД 77
Probability changed: РНК 33 -> 0
Deleted: СМС 78
Probability changed: СНК 35 -> 0
Deleted: ТОО 14
Probability changed: ТЦ 85 -> 5
Probability changed: УНКВД 11 -> 0
Deleted: ФИО 65
Deleted: Эбля 49
Probability changed: асексуальность 59 -> 0
Probability changed: бисексуал 72 -> 0
Probability changed: бисексуалов 85 -> 0
Probability changed: бисексуальной 67 -> 0
Probability changed: бисексуальности 75 -> 0
Deleted: бумажке 94
Deleted: бумажку 104
Deleted: важней 86
Deleted: вероника 58
Deleted: вероники 54
Deleted: вероникой 29
Deleted: веронику 29
Deleted: влезет 94
Deleted: влезть 87
Deleted: врожденная 75
Deleted: врожденного 78
Deleted: врожденное 71
Deleted: врожденной 85
Deleted: врожденную 66
Deleted: врожденные 82
Deleted: врожденный 82
Deleted: врожденным 79
Deleted: врожденными 76
Deleted: врожденных 86
Probability changed: врождённая 68 -> 75
Probability changed: врождённое 69 -> 71
Probability changed: врождённой 80 -> 85
Probability changed: врождённые 78 -> 82
Probability changed: врождённый 77 -> 82
Probability changed: врождённым 74 -> 79
Probability changed: врождённых 80 -> 86
Probability changed: все-таки 113 -> 30
Deleted: вылезли 88
Deleted: г-же 65
Deleted: г-н 88
Deleted: г-на 88
Probability changed: га 135 -> 0
Probability changed: гг 160 -> 0
Probability changed: гетеросексуалов 73 -> 0
Probability changed: гетеросексуального 67 -> 0
Probability changed: гетеросексуальной 71 -> 0
Probability changed: гетеросексуальности 65 -> 0
Probability changed: гетеросексуальность 67 -> 0
Probability changed: гетеросексуальную 65 -> 0
Probability changed: гетеросексуальные 76 -> 0
Probability changed: гетеросексуальных 77 -> 0
Probability changed: гомосексуал 74 -> 0
Probability changed: гомосексуала 67 -> 0
Probability changed: гомосексуалам 75 -> 0
Probability changed: гомосексуалами 70 -> 0
Probability changed: гомосексуализм 91 -> 0
Probability changed: гомосексуализма 91 -> 0
Probability changed: гомосексуализме 74 -> 0
Probability changed: гомосексуализму 68 -> 0
Probability changed: гомосексуалист 80 -> 0
Probability changed: гомосексуалиста 72 -> 0
Probability changed: гомосексуалистам 69 -> 0
Probability changed: гомосексуалистами 69 -> 0
Probability changed: гомосексуалистов 94 -> 0
Probability changed: гомосексуалистом 78 -> 0
Probability changed: гомосексуалисты 77 -> 0
Probability changed: гомосексуалов 93 -> 0
Probability changed: гомосексуалом 65 -> 0
Probability changed: гомосексуалы 82 -> 0
Probability changed: гомосексуальная 70 -> 0
Probability changed: гомосексуального 78 -> 0
Probability changed: гомосексуальное 71 -> 0
Probability changed: гомосексуальной 93 -> 0
Probability changed: гомосексуальности 103 -> 0
Probability changed: гомосексуальность 100 -> 0
Probability changed: гомосексуальностью 73 -> 0
Probability changed: гомосексуальную 75 -> 0
Probability changed: гомосексуальные 92 -> 0
Probability changed: гомосексуальный 75 -> 0
Probability changed: гомосексуальным 74 -> 0
Probability changed: гомосексуальными 70 -> 0
Probability changed: гомосексуальных 91 -> 0
Probability changed: д-р 93 -> 0
Deleted: дада 72
Deleted: даша 55
Deleted: даши 47
Deleted: дашу 29
Probability changed: де 154 -> 30
Probability changed: др 156 -> 0
Deleted: зажги 92
Deleted: зажгу 89
Deleted: зажигай 95
Deleted: зажигаю 88
Probability changed: зоосексуальность 65 -> 0
Probability changed: иРНК 68 -> 0
Probability changed: кДНК 62 -> 0
Probability changed: кв 133 -> 0
Deleted: кио 49
Deleted: лег 91
Deleted: лезу 88
Deleted: лезь 91
Probability changed: ля 103 -> 30
Probability changed: мРНК 102 -> 0
Deleted: машка 29
Probability changed: микроРНК 65 -> 0
Deleted: мону 29
Probability changed: мтДНК 79 -> 0
Probability changed: мяРНК 65 -> 0
Deleted: нажрался 97
Deleted: налил 97
Deleted: налили 86
Probability changed: негетеросексуальной 73 -> 0
Probability changed: негетеросексуальный 73 -> 0
Deleted: орут 98
Deleted: отт 64
Deleted: паша 83
Deleted: паше 66
Deleted: пашей 69
Deleted: пашой 73
Deleted: подоконник 88
Deleted: подскажет 87
Deleted: подскажете 89
Deleted: подскажите 112
Deleted: покажите 95
Deleted: полезли 91
Probability changed: пр 129 -> 0
Probability changed: пре-мРНК 78 -> 0
Deleted: пресекся 73
Probability changed: рРНК 91 -> 0
Deleted: раздражённо 91
Deleted: сажусь 99
Deleted: саше 54
Probability changed: секс 106 -> 0
Probability changed: секс-символ 74 -> 0
Probability changed: секс-символов 65 -> 0
Probability changed: секс-символом 74 -> 0
Probability changed: секс-туризм 62 -> 0
Probability changed: секса 105 -> 0
Probability changed: сексе 93 -> 0
Deleted: секси 88
Probability changed: сексизм 63 -> 0
Probability changed: сексизма 72 -> 0
Probability changed: сексолог 75 -> 0
Probability changed: сексологии 80 -> 0
Probability changed: сексом 102 -> 0
Probability changed: сексу 80 -> 0
Probability changed: сексуальная 95 -> 0
Probability changed: сексуально 88 -> 0
Probability changed: сексуального 107 -> 0
Probability changed: сексуальное 98 -> 0
Probability changed: сексуальной 111 -> 0
Probability changed: сексуальном 84 -> 0
Probability changed: сексуальному 79 -> 0
Probability changed: сексуальности 99 -> 0
Probability changed: сексуальность 90 -> 0
Probability changed: сексуальностью 70 -> 0
Probability changed: сексуальную 95 -> 0
Probability changed: сексуальные 105 -> 0
Probability changed: сексуальный 91 -> 0
Probability changed: сексуальным 95 -> 0
Probability changed: сексуальными 84 -> 0
Probability changed: сексуальных 113 -> 0
Deleted: сете 78
Deleted: слезой 87
Deleted: соображаю 90
Probability changed: тРНК 86 -> 0
Deleted: тав 69
Probability changed: транссексуал 67 -> 0
Probability changed: транссексуалки 64 -> 0
Probability changed: транссексуалов 82 -> 0
Probability changed: транссексуалы 71 -> 0
Probability changed: транссексуальности 77 -> 0
Probability changed: транссексуальность 65 -> 0
Deleted: укажите 83
Probability changed: ул 137 -> 0
Deleted: устар 93
Deleted: эдак 99
Added: Вероника 58
Added: Вероники 54
Added: Вероникой 29
Added: Веронику 29
Added: Даша 55
Added: Даши 47
Added: Дашу 29
Added: Маш 57
Added: Машка 29
Added: Паша 83
Added: Паше 66
Added: Пашей 69
Added: Пашой 73
Added: Саше 54
Added: впросак 0
Added: врождённую 66
Added: втечение 0
Added: втечении 0
Added: лёг 97
Added: машу 80
Added: чтоли 0
Added: чтоль 0
Added: ща 0
Added: щас 0

Change-Id: I0c6bf1a1ecc9edf03523bfb080774738aa40d163
2014-10-06 10:13:37 +09:00
Baligh Uddin
9e11e22adb Merge "Import translations. DO NOT MERGE" 2014-10-05 17:53:52 +00:00
Baligh Uddin
eb78c8a5a0 Import translations. DO NOT MERGE
Change-Id: Iad17411e9d4d02524072c0569f1a3dce52010a49
Auto-generated-cl: translation import
2014-10-05 02:56:42 -07:00
Baligh Uddin
9d28970b2b Import translations. DO NOT MERGE
Change-Id: I4314a00b07c73c343c3852745727e635b21ec462
Auto-generated-cl: translation import
2014-10-05 02:54:06 -07:00
Baligh Uddin
4f4ef946ad Import translations. DO NOT MERGE
Change-Id: Ie3bd15488ad9d5594a95dd2734eab17189740b35
Auto-generated-cl: translation import
2014-10-05 02:51:05 -07:00
Ken Wakasa
46fcb3f91f Merge "Revert "[ML14] Forward the locale list to relevant places"" 2014-10-03 23:50:01 +00:00
Ken Wakasa
faefad5b0f Revert "[ML14] Forward the locale list to relevant places"
This reverts commit 15dbd38283.

Bug: 11230254

Reverting due to unit test breakage.

Change-Id: Icf29ba5c808c754515aef2d1b4162d72f606acfe
2014-10-03 23:48:53 +00:00
Tadashi G. Takaoka
37ba3ddd54 Merge "Use Theme.DeviceDefault.Settings" 2014-10-03 14:48:49 +00:00
Jean Chalard
15dbd38283 [ML14] Forward the locale list to relevant places
Bug: 11230254
Change-Id: Idf3ed27b396d63ade9800c72c5ce0ed613f5f669
2014-10-03 23:20:38 +09:00
Tadashi G. Takaoka
a55c601493 Use Theme.DeviceDefault.Settings
Bug: 13888366
Change-Id: Ib0bc35462f453438b295f8d4e1bc919ef709bf99
2014-10-03 22:41:46 +09:00
Tadashi G. Takaoka
826186f66b Use Devanagari Danda letter as full stop on Nepali keyboard
Bug: 17741882
Change-Id: I62e8c9a3f194b9a3a6724c7d1a92292b150ddeb9
2014-10-03 09:48:18 +00:00
Jean Chalard
332f43275d Merge "Fix a behavior change in dicttool" 2014-10-03 09:33:28 +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
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
61a1e46dd1 Fix Hindi vowel sign candra E on ICS device
Change-Id: I160f3c9f8671b6dc8a38a06fe2be50dbb27919a9
2014-10-03 11:55:10 +09: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
45ebb2001d Merge "Preserve spans when splitting sentences" 2014-10-02 09:29:23 +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
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
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
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
aad590f701 Merge "Import translations. DO NOT MERGE" 2014-10-01 19:30:48 +00:00
Tadashi G. Takaoka
47c9c32c10 Merge "Enable preliminary Sinhara keyboard for dogfood" 2014-10-01 14:35:12 +00:00
Jean Chalard
2910990065 Merge "Never include the typed word in recorrections" 2014-10-01 10:34:22 +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
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
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
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
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
f41c11a5c0 Merge "Fix when to show more suggestions dot hint" 2014-10-01 07:58:28 +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
e347b65e0f Import translations. DO NOT MERGE
Change-Id: I61b5124ffbdc073a093f55702b773c1cc8fd6046
Auto-generated-cl: translation import
2014-09-30 20:06:07 -07:00
Baligh Uddin
d3a5b55ba7 Import translations. DO NOT MERGE
Change-Id: Id3f3a910f5503eb21582d5f8eb376948ac753470
Auto-generated-cl: translation import
2014-09-30 20:02:12 -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
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
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
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
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
a4a4e9d96b Merge "Rename PrevWordsInfo to NgramContext." 2014-09-29 03:00:55 +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
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
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
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
1c70a8e147 Merge "Add info log of custom input styles" 2014-09-26 03:56:22 +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
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
f99cce8615 Merge "Fix checking a11y status just before calling an a11y method" 2014-09-25 14:14:28 +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
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
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
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
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
064ba6bc0a Merge "Fix Turkish/Azerbaijani keyboard to add more accented letters" 2014-09-24 03:36:10 +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
3db17c5394 Merge "[ML9.1] Add option for multi-lingual support" 2014-09-24 02:42:46 +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
9997853d6f Merge "Prepare supporting n-gram for user history dictionary." 2014-09-23 10:18:41 +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
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
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
825747348b Merge "Create DictionaryStats in executor." 2014-09-22 02:49:04 +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
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
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
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
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
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
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
0e9419d014 Add word commit methods to StatsUtils
Change-Id: Ibb2cf0150cd9a851ff48d097688edc916dc82998
2014-09-18 13:06:38 -07: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
27bb70d6a0 Merge "Start showing the split keyboard layout" 2014-09-18 17:05:28 +00:00
Sandeep Siddhartha
a7c5dcdedf Merge "Add Accounts & privacy settings in LatinIME" 2014-09-18 16:49:34 +00:00
Keisuke Kuroyanagi
6624ea96f7 Merge "Pass prevWordCount to native code for getSuggestion." 2014-09-18 13:01:35 +00:00
Keisuke Kuroyanagi
8806248386 Pass prevWordCount to native code for getSuggestion.
Bug: 14425059
Change-Id: Id2b49a448982c997e5c0a22445b115e675156c3e
2014-09-18 19:18:55 +09:00
Tadashi G. Takaoka
0055d26164 Merge "Fix showing important notice even at beginning of sentence" 2014-09-18 10:01:49 +00:00
Tadashi G. Takaoka
f4c7eb478f Fix showing important notice even at beginning of sentence
This is a cherry-pick of Ic72d6fecc3 from lmp-dev.

Bug: 17536096
Change-Id: Id76b8f8dc85d03bc7ed5f24800301c081a82a8d2
2014-09-18 18:51:23 +09:00
Tadashi G. Takaoka
26b3d1de7e (DO NOT MERGE) Fix showing important notice even at beginning of sentence
Bug: 17536096
Change-Id: Ic72d6fecc3241c1a9aba87b82a46750cbd69e001
2014-09-18 09:45:37 +00:00
David Faden
5dda75b538 Add methods to get a Key's horizontal and vertical gaps.
Record the horizontal and vertical gap for the key, adding
corresponding accessors. This info is helpful in interpreting
corresponding touch points data.

Bug: 17400259
Change-Id: I825c537a48db35baab71580ff5c41cd911094a4b
2014-09-18 09:40:02 +00:00
Yohei Yukawa
eddfe51b38 resolved conflicts for merge of 233a2f21 to master
Change-Id: If391cc622367dfb4448c6a5c32b82111d352d86e
2014-09-18 18:27:45 +09:00
Jean Chalard
cdabc71c6d Merge "Add a Dictionary.isUserSpecific method." 2014-09-18 08:52:07 +00:00
David Faden
0c837daee6 Add a Dictionary.isUserSpecific method.
As the name suggests, returns true if the Dictionary is of a type
that may use user-specific data, e.g., contacts.

Cherry-pick of I11e71286c7635f50ace156dcc5308dbe51268d4e

Change-Id: I08c3f22f0c34eaa71bbd06594314f3b411658c5c
2014-09-18 17:42:37 +09:00
Yohei Yukawa
8c9948f436 am fa63d910: Merge "Use Add-To-Dictionary indicator only" into lmp-dev
* commit 'fa63d910950621d820d28b177a9de199e492557c':
  Use Add-To-Dictionary indicator only
2014-09-18 07:22:15 +00:00
Yohei Yukawa
d04271e7fc am fa63d910: Merge "Use Add-To-Dictionary indicator only" into lmp-dev
* commit 'fa63d910950621d820d28b177a9de199e492557c':
  Use Add-To-Dictionary indicator only
2014-09-18 07:21:33 +00:00
Yohei Yukawa
fa63d91095 Merge "Use Add-To-Dictionary indicator only" into lmp-dev 2014-09-18 07:13:42 +00:00
Yohei Yukawa
5896153f93 Use Add-To-Dictionary indicator only
With this CL, the previously used commit indicator was reverted.
Instead we use the add-to-dictionary indicator only at the moment.

This CL also fixes the indicator position in bidi context.

BUG: 17335734
Change-Id: I5f7cf173ddc30876e2b01320acaff8ba4265edf6
2014-09-18 16:06:35 +09:00
Tadashi G. Takaoka
e7c2d1c99c am 902cefb6: am 97ad4968: am bfabac44: Suppress voice input key on textWebEmailAddress field
* commit '902cefb6635053b682a917259eb5a964a17506fd':
  Suppress voice input key on textWebEmailAddress field
2014-09-18 06:15:41 +00:00
Tadashi G. Takaoka
3e5c442c29 am bfabac44: Suppress voice input key on textWebEmailAddress field
* commit 'bfabac449d0b529ee22887aa198a34fdf04b3beb':
  Suppress voice input key on textWebEmailAddress field
2014-09-18 05:58:11 +00:00
Tadashi G. Takaoka
97ad496868 am bfabac44: Suppress voice input key on textWebEmailAddress field
* commit 'bfabac449d0b529ee22887aa198a34fdf04b3beb':
  Suppress voice input key on textWebEmailAddress field
2014-09-18 05:53:59 +00:00
Tadashi G. Takaoka
bfabac449d Suppress voice input key on textWebEmailAddress field
Bug: 17486589
Change-Id: Ie9bf9266ee423b7e03cebcaa5f522accdd1a7802
2014-09-18 14:08:21 +09:00
Keisuke Kuroyanagi
ace9c14852 Merge "Use PrevWordsInfo.getPrevWordCount() in Java side." 2014-09-18 04:58:44 +00:00
Sandeep Siddhartha
081c2d386d Start showing the split keyboard layout
Change [3/3]

Added tests for Qwerty/en-US/split

Parse the switch-case statement from KeyboardBuilder to use the right layout.

Bug: 4968173
Change-Id: If4d6d71d5900525290268d8affa55dccf1ebd4f2
2014-09-17 20:56:57 -07:00
Sandeep Siddhartha
a4e0b6efdd Add Accounts & privacy settings in LatinIME
Also start showing the logging preference on this screen too.

This settings screen will be the container for all account
management, sync and privacy related settings

Bug: 17464068
Change-Id: Ie0806f6e8a542e9dea2834445ff7b38805207bda
2014-09-17 20:50:05 -07:00
Tadashi G. Takaoka
90f06760b9 Fix Romanian keyboard to promote "A with breve"
Bug: 17324498
Change-Id: Ie27f0023b2bfb18b0ee2051260ecf6bab75727a5
2014-09-18 11:48:29 +09:00
Jatin Matani
fc12c0a7fd Merge "Add a user preference for split layout within Appearance & Layouts" 2014-09-17 17:00:38 +00:00
Keisuke Kuroyanagi
4466464c24 Use PrevWordsInfo.getPrevWordCount() in Java side.
Bug: 14425059
Change-Id: Ie6295ff657c483876af403f2d474b7d857e5e3d6
2014-09-17 22:04:25 +09:00
Tadashi G. Takaoka
7d64bc3455 Merge "Revert "Revert "Fall back to default keyboard theme""" 2014-09-17 11:51:19 +00:00
Tadashi G. Takaoka
311f12d024 Revert "Revert "Fall back to default keyboard theme""
This reverts commit 821486ba8b.

Change-Id: If0285c87edcd5f7d3c5449026953a74bf1125f65
2014-09-17 11:51:09 +00:00
Tadashi G. Takaoka
c6cc000892 Merge "Revert "Fall back to default keyboard theme"" 2014-09-17 11:46:50 +00:00
Tadashi G. Takaoka
821486ba8b Revert "Fall back to default keyboard theme"
This reverts commit 6ed8b18326.

Change-Id: I48f775e54f4077e556b26bc0146bc918421c6845
2014-09-17 11:46:40 +00:00
Tadashi G. Takaoka
e2a396eef0 Merge "Fall back to default keyboard theme" 2014-09-17 11:23:56 +00:00
Tadashi G. Takaoka
6ed8b18326 Fall back to default keyboard theme
Bug: 17537884
Change-Id: I3452d6d4a5837c6b2d417c8d256c121df86131cc
2014-09-17 19:36:22 +09:00
Baligh Uddin
590030f848 Import translations. DO NOT MERGE
Change-Id: I19678ff53253183c07406b0ece6f169a46f81457
Auto-generated-cl: translation import
2014-09-17 02:12:04 -07:00
Baligh Uddin
3f50ccf29c Import translations. DO NOT MERGE
Change-Id: I3dfaab576c0c3aad47e186a2a9d2c5b4a4706594
Auto-generated-cl: translation import
2014-09-17 02:09:42 -07:00
Baligh Uddin
050237951a Import translations. DO NOT MERGE
Change-Id: I49fbe075888be15eb2e88516f1ca0407b664d5b8
Auto-generated-cl: translation import
2014-09-17 02:06:45 -07:00
Baligh Uddin
36125d132f Import translations. DO NOT MERGE
Change-Id: I5ee3f71942e7ee089d0bdff0264c05956f73a190
Auto-generated-cl: translation import
2014-09-17 02:01:03 -07:00
Baligh Uddin
1c28a6a2c0 Import translations. DO NOT MERGE
Change-Id: I2152337de34905215926f0e774d587f8b1bc36b5
Auto-generated-cl: translation import
2014-09-17 01:59:49 -07:00
Baligh Uddin
196f29339d Import translations. DO NOT MERGE
Change-Id: Id7ca3e11bc5e49a1d6f32a573c983c7aaf029210
Auto-generated-cl: translation import
2014-09-17 01:58:26 -07:00
Adrian Velicu
f116f91033 Making spelling of the word "distracters" consistent
Bug: 17537869
Change-Id: Ibfc1c84aff72aeb76c9b127503369d00f3dfaceb
2014-09-17 17:32:43 +09:00
Jatin Matani
a5d4cb7769 Add a user preference for split layout within Appearance & Layouts
Note The preference is flag protected.

Change-Id: I1be219ba961f002897b7b13ff9f200e2f142b2d8
2014-09-16 23:27:01 -07:00
Tadashi G. Takaoka
44398bb5e1 am cf5fc1ea: am 4e1f1689: am 5ae05786: Merge "Fix drawing of custom action label key" into lmp-dev
* commit 'cf5fc1ea065873cd6d7b1d5d467940e4e45354d3':
  Fix drawing of custom action label key
2014-09-16 23:59:08 +00:00
Tadashi G. Takaoka
c5a8bc618a am 5ae05786: Merge "Fix drawing of custom action label key" into lmp-dev
* commit '5ae057862e316bac7971d2ec325e57d5ff54c592':
  Fix drawing of custom action label key
2014-09-16 23:31:00 +00:00
Tadashi G. Takaoka
4e1f168967 am 5ae05786: Merge "Fix drawing of custom action label key" into lmp-dev
* commit '5ae057862e316bac7971d2ec325e57d5ff54c592':
  Fix drawing of custom action label key
2014-09-16 23:30:17 +00:00
Tadashi G. Takaoka
5ae057862e Merge "Fix drawing of custom action label key" into lmp-dev 2014-09-16 23:22:40 +00:00
Mohammadinamul Sheik
16bfac9ff4 Add StatsUtils.onAutoCorrection method.
Change-Id: I9547b6c0f082ef7c09b251a6458badb65a841229
2014-09-16 12:34:22 -07:00
Baligh Uddin
81c1daa9da Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-16 15:49:09 +00:00
Baligh Uddin
b979cd5415 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-16 15:49:05 +00:00
Baligh Uddin
aaddee7010 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-16 15:49:03 +00:00
Baligh Uddin
771a3a7d3a Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-16 15:49:01 +00:00
Baligh Uddin
d5937725fc Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-16 15:48:59 +00:00
Baligh Uddin
73cbb9816a Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-16 15:48:57 +00:00
Ken Wakasa
c0617f3ed5 Merge "Prepare for E MR1 that is linked against L SDK" 2014-09-16 11:54:20 +00:00
Ken Wakasa
f81baec7ae Prepare for E MR1 that is linked against L SDK
Change-Id: I77e735a824718e96eac49359ae195c0ffa76b83d
2014-09-16 20:52:16 +09:00
Jean Chalard
618907e1f1 Merge "[ML7] Have multiple DictionaryGroup instances in facilitator" 2014-09-16 11:31:27 +00:00
Jean Chalard
8cd5326622 [ML7] Have multiple DictionaryGroup instances in facilitator
This is the central change of multilingual input.

Bug: 11230254
Change-Id: Id8b68fb101e837e8cf182ab4bc1e55e4da5cc49d
2014-09-16 19:00:50 +09:00
Tadashi G. Takaoka
dad7a5dffd Fix drawing of custom action label key
Bug: 17488054
Change-Id: I433561ed19ec2a79402867a0395a3e388730f087
2014-09-16 18:21:49 +09:00
Sandeep Siddhartha
e143f5b1fe Merge "Initial split QWERTY layout" 2014-09-16 03:06:00 +00:00
Sandeep Siddhartha
23f38149c6 Merge "Add a canSplitKeyboard attribute for specifying split keyboard layouts" 2014-09-16 03:05:46 +00:00
Baligh Uddin
9dafca38d6 Import translations. DO NOT MERGE
Change-Id: I410c187d99e2896703b7c76079bc1782519d10f0
Auto-generated-cl: translation import
2014-09-15 00:20:16 -07:00
Baligh Uddin
55cb1e0e4d Import translations. DO NOT MERGE
Change-Id: Id5c9da5464884357ba3c087c10820b6b84e15ae5
Auto-generated-cl: translation import
2014-09-15 00:19:02 -07:00
Baligh Uddin
4d56a5fe5f Import translations. DO NOT MERGE
Change-Id: Id7999e5ed1331e8fc0260c2e529df116bc0661ef
Auto-generated-cl: translation import
2014-09-15 00:16:06 -07:00
Baligh Uddin
f428a22566 Import translations. DO NOT MERGE
Change-Id: I2f3eded792bf3882ae4cd16a0a97933f77bc5ce2
Auto-generated-cl: translation import
2014-09-15 00:15:16 -07:00
Baligh Uddin
accfe85b59 Import translations. DO NOT MERGE
Change-Id: I0cea5e4fa1120dcce3bf5d5dfd5667167271ef5e
Auto-generated-cl: translation import
2014-09-15 00:14:38 -07:00
Baligh Uddin
a7e2d9da19 Import translations. DO NOT MERGE
Change-Id: I9e292160719ac6b4bf617263525d3f00acc9cd87
Auto-generated-cl: translation import
2014-09-15 00:13:58 -07:00
Baligh Uddin
bf69809aab Import translations. DO NOT MERGE
Change-Id: I893b13ee353d4ce57b34bf8ca4e0e3a5ddc0b068
Auto-generated-cl: translation import
2014-09-15 00:12:39 -07:00
Tadashi G. Takaoka
1947a6017c am add81661: am 001df4bf: am 5b9a1e59: Fix key preview popup for Material theme
* commit 'add816610b0d2978c5bd2653e53444f65d812ecf':
  Fix key preview popup for Material theme
2014-09-14 10:38:51 +00:00
Tadashi G. Takaoka
001df4bf54 am 5b9a1e59: Fix key preview popup for Material theme
* commit '5b9a1e59bb7434cce740616c64e274a130a66ee6':
  Fix key preview popup for Material theme
2014-09-14 10:10:31 +00:00
Tadashi G. Takaoka
1c918c64be am 5b9a1e59: Fix key preview popup for Material theme
* commit '5b9a1e59bb7434cce740616c64e274a130a66ee6':
  Fix key preview popup for Material theme
2014-09-14 08:56:38 +00:00
Tadashi G. Takaoka
5b9a1e59bb Fix key preview popup for Material theme
This CL also removes unused key preview resources for Tablet.

Bug: 15143928
Change-Id: Icbf4f7b6d5c7839b4fe7a27d320a2184f0625130
2014-09-14 10:48:48 +09:00
Tadashi G. Takaoka
ee3e84e59e am 463c1880: am e458949c: am 941531b2: Merge "Tune keyboard height and letter size of tablet" into lmp-dev
* commit '463c1880a12708a3013e87ae262ee8e69be15f48':
  Tune keyboard height and letter size of tablet
2014-09-13 22:47:36 +00:00
Tadashi G. Takaoka
e458949cf8 am 941531b2: Merge "Tune keyboard height and letter size of tablet" into lmp-dev
* commit '941531b26eb0d95028357ab5615e89227cf84de6':
  Tune keyboard height and letter size of tablet
2014-09-13 22:16:27 +00:00
Tadashi G. Takaoka
4821af641b am 941531b2: Merge "Tune keyboard height and letter size of tablet" into lmp-dev
* commit '941531b26eb0d95028357ab5615e89227cf84de6':
  Tune keyboard height and letter size of tablet
2014-09-13 22:15:44 +00:00
Tadashi G. Takaoka
941531b26e Merge "Tune keyboard height and letter size of tablet" into lmp-dev 2014-09-13 22:00:23 +00:00
Ken Wakasa
1514844b2f am 060f4b94: am bd3a7c4e: am 991571ff: Wording update for settings.
* commit '060f4b945127f0b4aae2fcbf13a20210290248c4':
  Wording update for settings.
2014-09-13 12:43:25 +00:00
Tadashi G. Takaoka
ef7124b6fd Tune keyboard height and letter size of tablet
The height of Google Keyboard is limited by maximum and minimum ratio
to the display height.  Because screen aspect ratio of some large
tablet is close to 1:1, the height of the keyboard may become taller
than expected. This CL lowers the minimum ratio to allow shorter
height. This CL also increase text size of Material theme keyboard on
tablet as well.

Bug: 17050390
Change-Id: I87c5f49ce554950c525a1f31dfddfd1beb3fafda
2014-09-13 21:12:52 +09:00
Ken Wakasa
73b3d242da am 991571ff: Wording update for settings.
* commit '991571ff456ebe181489f8dbb737fce941d6a78c':
  Wording update for settings.
2014-09-13 12:12:16 +00:00
Ken Wakasa
bd3a7c4ecb am 991571ff: Wording update for settings.
* commit '991571ff456ebe181489f8dbb737fce941d6a78c':
  Wording update for settings.
2014-09-13 12:12:01 +00:00
Ken Wakasa
991571ff45 Wording update for settings.
"Appearance" -> "Appearance & layouts".

bug: 11866784
Change-Id: I9843b76cadb0245973cec07134d07212c8c5667e
2014-09-13 20:02:23 +09:00
Jatin Matani
9b140f4e4f am 4d8efc97: am b41d1fcd: am d0d8f90a: Merge "Reorganize settings in Google Keyboard" into lmp-dev
* commit '4d8efc97873d12b4596c695fbcf7e72330b5253e':
  Reorganize settings in Google Keyboard
2014-09-13 02:12:24 +00:00
Ken Wakasa
64176158e7 resolved conflicts for merge of 75513e51 to master
Change-Id: I058c3e63e5e349b58b2bdd2723cb43fbc24a0425
2014-09-13 10:41:19 +09:00
Ken Wakasa
8ed81f9fd7 resolved conflicts for merge of 8e9385cc to master
Change-Id: Ia6d192ee4a8496afa3f788894844ebef78fb7a8c
2014-09-13 09:25:23 +09:00
Tadashi G. Takaoka
d190b8c521 am c24340f9: am 74d59cca: am dc1097ee: Merge "Update AOSP launcher icon" into lmp-dev
* commit 'c24340f956c16d8594c44d45685f8a814538245b':
  Update AOSP launcher icon
2014-09-12 19:16:40 +00:00
Tadashi G. Takaoka
3ecae3d37f am 1073ef97: am 1bb20aa0: am 31544dcb: Add xxxhdpi assets
* commit '1073ef9756617ecd2b4eeddca045039d9e6f3d14':
  Add xxxhdpi assets
2014-09-12 19:16:33 +00:00
Jatin Matani
d07f7c5377 am d0d8f90a: Merge "Reorganize settings in Google Keyboard" into lmp-dev
* commit 'd0d8f90a32b907b867f8fa934dc7582ff53a9a43':
  Reorganize settings in Google Keyboard
2014-09-12 18:51:23 +00:00
Tadashi G. Takaoka
464840b966 am fd5f2b91: Merge "Fix not always showing input view with physical keyboard connected" into lmp-dev
* commit 'fd5f2b91fdb67921edf3d9071557d013fa498386':
  Fix not always showing input view with physical keyboard connected
2014-09-12 18:51:21 +00:00
Jean Chalard
7eade77656 am 7aa47cb3: Only do double-space-period on real text fields.
* commit '7aa47cb3748d82b6f8bf3713c3c9e05b3fca8979':
  Only do double-space-period on real text fields.
2014-09-12 18:51:19 +00:00
Jatin Matani
b41d1fcd98 am d0d8f90a: Merge "Reorganize settings in Google Keyboard" into lmp-dev
* commit 'd0d8f90a32b907b867f8fa934dc7582ff53a9a43':
  Reorganize settings in Google Keyboard
2014-09-12 18:51:03 +00:00
Tadashi G. Takaoka
ca9c061c41 am fd5f2b91: Merge "Fix not always showing input view with physical keyboard connected" into lmp-dev
* commit 'fd5f2b91fdb67921edf3d9071557d013fa498386':
  Fix not always showing input view with physical keyboard connected
2014-09-12 18:51:02 +00:00
Jean Chalard
567c0dd471 am 7aa47cb3: Only do double-space-period on real text fields.
* commit '7aa47cb3748d82b6f8bf3713c3c9e05b3fca8979':
  Only do double-space-period on real text fields.
2014-09-12 18:51:00 +00:00
Sandeep Siddhartha
9c31e8f863 Initial split QWERTY layout
Change [2/3]

Add an attribute that's used in layout xmls for specifying
the split-keyboard layout.
This attribute will be checked/set by the KeyboardBuilder which knows about
the "splittability" of the keyboard.

Bug: 4968173
Change-Id: I5d792e570b9648e09022e9b7e92a972a161009ee
2014-09-12 18:46:27 +09:00
Sandeep Siddhartha
3939455c1d Add a canSplitKeyboard attribute for specifying split keyboard layouts
Change [1/3]

This'll be used in conjunction with a user preference to split the keyboard when possible.

Bug: 4968173
Change-Id: I7a05948d67b94a55024790115ae261d7fef7941a
2014-09-12 18:46:14 +09:00
Jatin Matani
d0d8f90a32 Merge "Reorganize settings in Google Keyboard" into lmp-dev 2014-09-12 09:12:01 +00:00
Tadashi G. Takaoka
fd5f2b91fd Merge "Fix not always showing input view with physical keyboard connected" into lmp-dev 2014-09-12 09:02:31 +00:00
Tadashi G. Takaoka
3a90cb9ad0 Reorganize settings in Google Keyboard
Changes :
Input languages ->  Languages
Input preferences -> Preferences
Multi lingual Options -> Multilingual Options
Keyboard Theme -> Theme
Gesture typing preferences -> Gesture typing

**New
 Appearance
        -> Theme
        -> Custom input style

**Removed
 Multilingual options from L dynamically

Bug: 11866784
Change-Id: I07404c27868e1b087b0cafb63d2031a5b493a885
2014-09-12 02:00:26 -07:00
Jean Chalard
7aa47cb374 Only do double-space-period on real text fields.
Bug: 15559216
Change-Id: Id6ecadc58c03889496967d67371457e4050d695b
2014-09-12 17:49:47 +09:00
Tadashi G. Takaoka
88f282de0d Fix not always showing input view with physical keyboard connected
Bug: 17163374
Change-Id: I57f7eeac0c9ac0a15d3d55927e18a2d97849c508
2014-09-12 17:45:35 +09:00
Yohei Yukawa
97b465044f am ead70974: am 27ccbeb4: am cd119050: Support CursorAnchorInfo in the full-screen mode
* commit 'ead70974aecd78d5bad0fa87a759f6bf82dcb503':
  Support CursorAnchorInfo in the full-screen mode
2014-09-11 17:31:47 +00:00
Baligh Uddin
64dd48e381 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-11 17:21:01 +00:00
Baligh Uddin
ee54c35bad Merge "Import translations. DO NOT MERGE" 2014-09-11 17:20:58 +00:00
Tadashi G. Takaoka
ca8935c0e1 am dc1097ee: Merge "Update AOSP launcher icon" into lmp-dev
* commit 'dc1097ee2e85daaed525ceff2154d4d7252c75ed':
  Update AOSP launcher icon
2014-09-11 16:02:35 +00:00
Tadashi G. Takaoka
f2ddbcc1f9 am 31544dcb: Add xxxhdpi assets
* commit '31544dcb43bfb4f14339d1c2b3ffa92063487c0c':
  Add xxxhdpi assets
2014-09-11 16:02:33 +00:00
Yohei Yukawa
ebe6b6009f am cd119050: Support CursorAnchorInfo in the full-screen mode
* commit 'cd11905022306c9b95f8781f0f8b23a3570f30e9':
  Support CursorAnchorInfo in the full-screen mode
2014-09-11 16:01:20 +00:00
Tadashi G. Takaoka
74d59ccae1 am dc1097ee: Merge "Update AOSP launcher icon" into lmp-dev
* commit 'dc1097ee2e85daaed525ceff2154d4d7252c75ed':
  Update AOSP launcher icon
2014-09-11 15:38:55 +00:00
Tadashi G. Takaoka
1bb20aa0cf am 31544dcb: Add xxxhdpi assets
* commit '31544dcb43bfb4f14339d1c2b3ffa92063487c0c':
  Add xxxhdpi assets
2014-09-11 15:38:54 +00:00
Tadashi G. Takaoka
dc1097ee2e Merge "Update AOSP launcher icon" into lmp-dev 2014-09-11 15:28:53 +00:00
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