Commit Graph

35996 Commits (2afcc0ab72c70b4a8ccfbfceacae1317580c3dd0)

Author SHA1 Message Date
Jean Chalard 2afcc0ab72 am 8fff6ae6: Merge "Add the first gesture unit tests."
* commit '8fff6ae68b3c2e31687370fc867d3b6098938be7':
  Add the first gesture unit tests.
2014-10-15 10:14:11 +00: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 de0d34a1f9 am 183e21c3: Merge "Use better conditional probability for ngram entries."
* commit '183e21c36cd5e05852733508bef317290e5e51ce':
  Use better conditional probability for ngram entries.
2014-10-15 09:31:34 +00: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 e63780ecba am 17100ad8: am 8435acd7: am f7f786d8: am d9c04a6b: am 6456af0e: am ecea8551: Fix a bug with no suggestions flag
* commit '17100ad8eacc3d4905a8239c57e5661339f4c91d':
  Fix a bug with no suggestions flag
2014-10-15 07:55:20 +00: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 f80af7a477 am c2429c54: Merge "Move entry updating method to language model dict content."
* commit 'c2429c54acc9a6771b1ecd08f12d9588af20b3a7':
  Move entry updating method to language model dict content.
2014-10-15 04:54:52 +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 94676044e9 am 76c8b644: (-s ours) 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 '76c8b644c826d4b8f726aa9c5af8d86152428cfb':
  (DO NOT MERGE) Fix checking a11y status just before calling an a11y method
2014-10-15 03:21:54 +00: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
Sandeep Siddhartha 0ad7b36b16 am 56ad6f35: Merge "Add label and icon to the test app"
* commit '56ad6f35b3f24dcad270cb9e70980c483e0d1c22':
  Add label and icon to the test app
2014-10-15 00:40:26 +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 c112440d41 am b17a3bc4: Move sync policy related code out of account settings
* commit 'b17a3bc4e8a77905ca567f3876c4e37191d7aae5':
  Move sync policy related code out of account settings
2014-10-14 22:03:41 +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 59bf6872b9 am 296b1150: Merge "Add JSR305 annotation to LeakGuardHandlerWrapper"
* commit '296b11503e1dbdaceface6cfa0d5507e66792d6a':
  Add JSR305 annotation to LeakGuardHandlerWrapper
2014-10-14 12:32:49 +00:00
Tadashi G. Takaoka 296b11503e Merge "Add JSR305 annotation to LeakGuardHandlerWrapper" 2014-10-14 12:30:12 +00:00
Keisuke Kuroyanagi 04cd19e9bf am 1d0989b6: Merge "Quit using weightChildNode for ADDITIONAL_PROXIMITY and SUBSTITUTION."
* commit '1d0989b65cb0ee93a70dc479476025038aa720f5':
  Quit using weightChildNode for ADDITIONAL_PROXIMITY and SUBSTITUTION.
2014-10-14 11:38:11 +00:00
Keisuke Kuroyanagi 1d0989b65c Merge "Quit using weightChildNode for ADDITIONAL_PROXIMITY and SUBSTITUTION." 2014-10-14 11:34:04 +00:00
Jean Chalard 97b986f670 am 10ac9403: Merge "[ML24] Add facilities to read the script of a subtype"
* commit '10ac9403125aa6e56f2eb81724500d0946499c95':
  [ML24] Add facilities to read the script of a subtype
2014-10-14 11:29:20 +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 fb09fa1b22 am d1471ee0: Merge "Remove shouldBlockAutoCorrectionBySafetyNet"
* commit 'd1471ee053a788dd68729d0a8a603c17444f7cb3':
  Remove shouldBlockAutoCorrectionBySafetyNet
2014-10-14 10:57:16 +00: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 cbffb79584 am 95f100ba: Merge "Performance fix for multiple language subtypes"
* commit '95f100ba404c3f905739db628ec71b7c1b7b5ace':
  Performance fix for multiple language subtypes
2014-10-14 06:45:26 +00: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 5f8823c1ce am 9959140f: Merge "Fix an NPE."
* commit '9959140f15edcb32c21406e3cff80ad6856e83c9':
  Fix an NPE.
2014-10-14 02:57:23 +00: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 390fe20fde am cbd59e02: Merge "Don\'t restore debug preferences"
* commit 'cbd59e02a97dac53ec97f59c1a638bc421ba4a52':
  Don't restore debug preferences
2014-10-14 02:32:58 +00: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 6998ff4b8e am 59f5988a: Merge "Cleanup LoginAccountUtils"
* commit '59f5988a16bfd979f748ecd356b528f0b933a42c':
  Cleanup LoginAccountUtils
2014-10-14 00:10:18 +00:00