Commit Graph

35956 Commits (cbffb7958489659856433049f55a0b7b0519b94c)

Author SHA1 Message Date
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 7bdf008db3 am 948ef10d: Merge "Improve bigram probability computation for decaying dicts."
* commit '948ef10d0384d8286820cca380192dfd3625b980':
  Improve bigram probability computation for decaying dicts.
2014-10-06 13:08:44 +00:00
Keisuke Kuroyanagi 948ef10d03 Merge "Improve bigram probability computation for decaying dicts." 2014-10-06 13:06:29 +00:00
Keisuke Kuroyanagi a84a8d38c0 Quit having obsolete options for ime-simulator.
Bug: 16547409
Change-Id: I43f5a15153cbd7072fde15764a664ad4d1c6417f
2014-10-06 22:03:39 +09:00
Keisuke Kuroyanagi aae1a062eb Improve bigram probability computation for decaying dicts.
Without personalization:
Total words: 1079345, Success Num: 819749, Success Percentage: 75.949%
Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1754, Bad Failure Percentage: 0.163%
Failures, with auto-correction (F-C): 28463, F-C Percentage: 2.637%
Max Keystrokes: 6074285, Min Keystrokes: 4649326, Keystroke Saving Percentage:23.459%

With current probability computing logic:
Total words: 1079382, Success Num: 838329, Success Percentage: 77.667%
Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1332, Bad Failure Percentage: 0.123%
Failures, with auto-correction (F-C): 28558, F-C Percentage: 2.646%
Max Keystrokes: 6074503, Min Keystrokes: 4474102, Keystroke Saving Percentage:26.346%
Remove isof files.

With new probability computing logic:
Total words: 1079356, Success Num: 844954, Success Percentage: 78.283%
Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1306, Bad Failure Percentage: 0.121%
Failures, with auto-correction (F-C): 27214, F-C Percentage: 2.521%
Max Keystrokes: 6074477, Min Keystrokes: 4243021, Keystroke Saving Percentage:30.150%
Remove isof files.

Bug: 16547409
Change-Id: I3d2a49c7aaa2c0f6835c52ef72d22466ee225789
2014-10-06 22:03:11 +09:00
Ken Wakasa 462476b041 am 8784b436: Merge "Revert "Remove preliminary subtypes from E-MR1 release""
* commit '8784b4366e1e4915522d0f0fe80cbdcb5c8832fa':
  Revert "Remove preliminary subtypes from E-MR1 release"
2014-10-06 12:58:08 +00: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 8d1060286d am 4f04fd95: Merge "Remove ENABLE_CURSOR_ANCHOR_INFO_CALLBACK"
* commit '4f04fd95f40377e94a35c0385352aa0f16b4695f':
  Remove ENABLE_CURSOR_ANCHOR_INFO_CALLBACK
2014-10-06 11:03:58 +00:00
Yohei Yukawa 4f04fd95f4 Merge "Remove ENABLE_CURSOR_ANCHOR_INFO_CALLBACK" 2014-10-06 11:02:24 +00:00
Keisuke Kuroyanagi a3aa121c80 am 552470c8: Merge "Make sure to suppress BoS prediction until input twice."
* commit '552470c882b96ce69f060f2f54470e4b19da9bd8':
  Make sure to suppress BoS prediction until input twice.
2014-10-06 10:49:09 +00:00
Tadashi G. Takaoka 72de08780f am 3215338f: Merge "Remove preliminary subtypes from E-MR1 release"
* commit '3215338fa0dc23ae86766015a848508e994d85a3':
  Remove preliminary subtypes from E-MR1 release
2014-10-06 10:49:07 +00:00
Keisuke Kuroyanagi 552470c882 Merge "Make sure to suppress BoS prediction until input twice." 2014-10-06 10:46:31 +00:00
Tadashi G. Takaoka 3215338fa0 Merge "Remove preliminary subtypes from E-MR1 release" 2014-10-06 10:45:32 +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
Keisuke Kuroyanagi 367b4f1a5d am c7d199e7: Merge "Fix: BoS prediction is shown after inputting just once."
* commit 'c7d199e770e6b2d79b9558a1a5d98e6e71b7ac09':
  Fix: BoS prediction is shown after inputting just once.
2014-10-06 10:40:54 +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
Keisuke Kuroyanagi c7d199e770 Merge "Fix: BoS prediction is shown after inputting just once." 2014-10-06 10:38:18 +00:00
Keisuke Kuroyanagi 1c2f00f6b5 Make sure to suppress BoS prediction until input twice.
Change-Id: I98d91f264d5d1d3f5bcda1fd9ec885779ba2f746
2014-10-06 19:36:04 +09:00
Keisuke Kuroyanagi ca17ed7d9d Fix: BoS prediction is shown after inputting just once.
Change-Id: Ibba209f47cb5b1a4b08281689d607711b8dcfad4
2014-10-06 19:28:39 +09:00
Keisuke Kuroyanagi 21016802ce am 70d10976: Merge "Show prediction results in debug build."
* commit '70d10976c6fa8e8b2072b6f08850e57b844300e4':
  Show prediction results in debug build.
2014-10-06 10:08:19 +00:00
Keisuke Kuroyanagi 70d10976c6 Merge "Show prediction results in debug build." 2014-10-06 10:05:13 +00:00
Keisuke Kuroyanagi 36c4eaadfb Show prediction results in debug build.
Bug: 16547409
Change-Id: If85418583998cd639c794bf5d5cfbbb972c34f72
2014-10-06 18:36:54 +09:00
Tadashi G. Takaoka 0a8d2e656e am dbeed7e4: Update setup wizard image
* commit 'dbeed7e4d811e54256209791f54367aaafa17c58':
  Update setup wizard image
2014-10-06 09:21:17 +00:00
Tadashi G. Takaoka fc08ae8c20 am a697c62b: Merge "Stop using splitActionBar"
* commit 'a697c62b7d1e6d13c6e48f23af07e3b64f55dc3b':
  Stop using splitActionBar
2014-10-06 09:13:25 +00:00
Tadashi G. Takaoka fd57599156 am 4bde90bf: Merge "Update setup wizard video and image of AOSP"
* commit '4bde90bf77a52dca1f99eebd3cfb890d741ccd83':
  Update setup wizard video and image of AOSP
2014-10-06 09:13:23 +00: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 d956d4bd3d am 8b24e7ab: Merge "Refactor custom input style settings"
* commit '8b24e7abde6702f3af557fc411d18edc34528496':
  Refactor custom input style settings
2014-10-06 07:37:34 +00:00
Tadashi G. Takaoka 8b24e7abde Merge "Refactor custom input style settings" 2014-10-06 07:35:34 +00:00
Yohei Yukawa 2592d60842 am a48ff4e2: Merge "Add unittest for SuggestionSpanUtils"
* commit 'a48ff4e294121cd7d4b25283c104bf7a38d7ad21':
  Add unittest for SuggestionSpanUtils
2014-10-06 07:24:13 +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 00da9ac5b4 am 1616d6d4: Merge "Make UserHistoryDictionary use updateEntriesForWordWithNgramContext()"
* commit '1616d6d44098ce9fd8c65383af21c88799927b17':
  Make UserHistoryDictionary use updateEntriesForWordWithNgramContext()
2014-10-06 07:07:21 +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 8236fbe28b am add93b11: Merge "Update dictionaries"
* commit 'add93b1190eef80e495a518da20d4470b0bf07f4':
  Update dictionaries
2014-10-06 06:26:23 +00: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
Keisuke Kuroyanagi b845313b60 am ff27bcad: Merge "Fix: ProbabilityDictContent can be wrongly large."
* commit 'ff27bcad74c5327f02563b33ddc62101f0b9c697':
  Fix: ProbabilityDictContent can be wrongly large.
2014-10-06 04:02:42 +00:00
Keisuke Kuroyanagi ff27bcad74 Merge "Fix: ProbabilityDictContent can be wrongly large." 2014-10-06 04:00:16 +00:00
Adrian Velicu 7bccf8be4f am a9089f9a: Merge "Update dictionaries"
* commit 'a9089f9a578db03d62d80863abdb2da57f636915':
  Update dictionaries
2014-10-06 03:29:50 +00: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