Commit graph

33503 commits

Author SHA1 Message Date
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
028be0f806 Merge "Import translations. DO NOT MERGE" 2014-10-15 23:33:34 +00: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
Keisuke Kuroyanagi
f4928ad4dd Merge "Update useless n-gram entry detection logic during GC." 2014-10-15 21:44:45 +00:00
Keisuke Kuroyanagi
3601c214f8 Update useless n-gram entry detection logic during GC.
Bug: 14425059
Change-Id: Ib939deae5b60167751dee07965bb1ef1a43c4625
2014-10-15 20:43:27 +09:00
Jean Chalard
8fff6ae68b Merge "Add the first gesture unit tests." 2014-10-15 10:10:28 +00:00
Jean Chalard
9ddbee8570 Add the first gesture unit tests.
At last I found a simple way to do it !

Bug: 8845843
Change-Id: I4dd3bf987b58e29a44cf0d7389d294657a33abe1
2014-10-15 19:04:06 +09:00
Keisuke Kuroyanagi
183e21c36c Merge "Use better conditional probability for ngram entries." 2014-10-15 09:27:21 +00:00
Keisuke Kuroyanagi
72d17d9209 Use better conditional probability for ngram entries.
Old:
P(W | W_prev) = f(W, W_prev) + C
New:
P(W | W_prev) = f(W, W_prev) / f(W_prev)

Bug: 14425059
Bug: 16547409

Change-Id: I4d13be6de2c6bad6bad7fb22320a23ba4ecd361c
2014-10-15 18:23:00 +09: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
8435acd789 am f7f786d8: am d9c04a6b: am 6456af0e: am ecea8551: Fix a bug with no suggestions flag
* commit 'f7f786d8cb610e11b0ded7babf45a44db408694a':
  Fix a bug with no suggestions flag
2014-10-15 07:49:36 +00:00
Jean Chalard
f7f786d8cb am d9c04a6b: am 6456af0e: am ecea8551: Fix a bug with no suggestions flag
* commit 'd9c04a6b65f1eba95b87a00b90f8685108d48b2e':
  Fix a bug with no suggestions flag
2014-10-15 07:45:18 +00:00
Jean Chalard
d9c04a6b65 am 6456af0e: am ecea8551: Fix a bug with no suggestions flag
* commit '6456af0e1ce1044bf89bd8768849365aa3a21413':
  Fix a bug with no suggestions flag
2014-10-15 07:40:51 +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
Keisuke Kuroyanagi
c2429c54ac Merge "Move entry updating method to language model dict content." 2014-10-15 04:51:04 +00:00
Keisuke Kuroyanagi
5400701908 Move entry updating method to language model dict content.
Bug: 14425059
Change-Id: I710055490d141539458cbf968adf5a7ccffd9552
2014-10-15 12:29:31 +09:00
Tadashi G. Takaoka
76c8b644c8 am 8ae8db5d: (-s ours) am dfd2b4a3: am 6d23337f: am 2da73365: am ae3ad8eb: (DO NOT MERGE) Fix checking a11y status just before calling an a11y method
* commit '8ae8db5dc4fd63223502f2badf4b88a0b8851190':
  (DO NOT MERGE) Fix checking a11y status just before calling an a11y method
2014-10-15 03:07:07 +00:00
Tadashi G. Takaoka
8ae8db5dc4 am dfd2b4a3: am 6d23337f: am 2da73365: am ae3ad8eb: (DO NOT MERGE) Fix checking a11y status just before calling an a11y method
* commit 'dfd2b4a3b6f1a360a82c9b15d5947d7b600ae988':
  (DO NOT MERGE) Fix checking a11y status just before calling an a11y method
2014-10-15 02:31:30 +00:00
Tadashi G. Takaoka
dfd2b4a3b6 am 6d23337f: am 2da73365: am ae3ad8eb: (DO NOT MERGE) Fix checking a11y status just before calling an a11y method
* commit '6d23337f6d022e7bcdc91f63a2d4f5edfc3d6590':
  (DO NOT MERGE) Fix checking a11y status just before calling an a11y method
2014-10-15 00:51:36 +00:00
Tadashi G. Takaoka
6d23337f6d am 2da73365: am ae3ad8eb: (DO NOT MERGE) Fix checking a11y status just before calling an a11y method
* commit '2da7336536a8e72f6e7d138d7b2580c077176345':
  (DO NOT MERGE) Fix checking a11y status just before calling an a11y method
2014-10-15 00:38:35 +00:00
Sandeep Siddhartha
56ad6f35b3 Merge "Add label and icon to the test app" 2014-10-15 00:35:27 +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
Sandeep Siddhartha
29f0b0f578 Add label and icon to the test app
This helps us easilty distinguish between the different test targets visually.

Bug: 17946996
Change-Id: I822a29cfb9b5bc5df3d93a884ffdf7d050737e04
2014-10-14 10:17:35 -07:00
Tadashi G. Takaoka
296b11503e Merge "Add JSR305 annotation to LeakGuardHandlerWrapper" 2014-10-14 12:30:12 +00:00
Keisuke Kuroyanagi
1d0989b65c Merge "Quit using weightChildNode for ADDITIONAL_PROXIMITY and SUBSTITUTION." 2014-10-14 11:34:04 +00:00
Jean Chalard
10ac940312 Merge "[ML24] Add facilities to read the script of a subtype" 2014-10-14 11:26:07 +00:00
Keisuke Kuroyanagi
d8ccb9093b Quit using weightChildNode for ADDITIONAL_PROXIMITY and SUBSTITUTION.
[Category diff]
+1       0
-1       1
+2       0
-2       0
+3       0
-3       0
+4       1
-4       1
+5       8
-5       7
+6       0
-6       1
+7       1
-7       0

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

Bug: 13756409
Change-Id: I6ac3567545676bbefbee3e87dda54bc083c15fb6
2014-10-14 20:20:55 +09: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