Commit Graph

35882 Commits (4099611d64923b9d92bf5a3ff43fc63306b6c382)

Author SHA1 Message Date
Geoff Mendal 963c54c2c5 am fc291d43: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'fc291d43faa49e551b92227b6458872fc8a416c8':
  Import translations. DO NOT MERGE
2014-10-07 01:16:21 +00:00
Geoff Mendal e0713e1db7 Import translations. DO NOT MERGE
Change-Id: I0caa2761ffb0fd36df9c561571379012f769b41b
Auto-generated-cl: translation import
2014-10-06 18:13:47 -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 dce0394e41 am 639837f8: Merge "Postponing memory deallocation after onFinishInputView"
* commit '639837f85d648443359ac1883aa6f9c11e287c33':
  Postponing memory deallocation after onFinishInputView
2014-10-06 23:49:57 +00:00
Adrian Velicu 3890ea4192 am 7a2e38ad: Merge "Update dictionaries"
* commit '7a2e38ad403fdc9a1c5450862db6256e8108d007':
  Update dictionaries
2014-10-06 23:49:55 +00: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 8b609aef52 am f849d21a: Fix currency symbol size
* commit 'f849d21a5d3e245eb2082b6cdbf515bf24b6d699':
  Fix currency symbol size
2014-10-06 16:00:03 +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 c6e4acb1d2 am 6fb586a5: Fix missing prediction words on contextual strip
* commit '6fb586a527e7ffe5da187c8b345cdf897b8481c7':
  Fix missing prediction words on contextual strip
2014-10-06 15:23:07 +00:00
Yohei Yukawa 7ac63288b2 am db6c3277: Merge "Add a utility method to SuggestionSpanUtils"
* commit 'db6c32778e80acc156a118f13ff2788a9277da30':
  Add a utility method to SuggestionSpanUtils
2014-10-06 15:07:50 +00: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 05357dcafc am 96d97ee2: Merge "Remove preliminary subtypes from E-MR1 release"
* commit '96d97ee23cc325f7045eb3cf3097d614cf35a5ff':
  Remove preliminary subtypes from E-MR1 release
2014-10-06 14:58:51 +00:00
Tadashi G. Takaoka 96d97ee23c Merge "Remove preliminary subtypes from E-MR1 release" 2014-10-06 14:55:13 +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
Jean Chalard 0bd603e7f7 am 21e57216: Merge "Fix a possible NPE in Dicttool"
* commit '21e57216e15d236764a5e00ca5614ec67d23159f':
  Fix a possible NPE in Dicttool
2014-10-06 14:21:12 +00:00
Jean Chalard 21e57216e1 Merge "Fix a possible NPE in Dicttool" 2014-10-06 14:17:05 +00:00
Jean Chalard b498d2cf84 Fix a possible NPE in Dicttool
I've never seen the NPE happen and only happened to notice
this by chance. Let's fix the code.

Change-Id: If458646229f9cadcd6c15779348133f382fde783
2014-10-06 23:15:22 +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 c668e12c87 am fcc4cbf6: Merge "[ML14] Forward the locale list to relevant places, again"
* commit 'fcc4cbf6f18cd71409b6bc5a277e4514a75dad73':
  [ML14] Forward the locale list to relevant places, again
2014-10-06 13:35:49 +00: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 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