Commit Graph

33360 Commits (3c6ac75c48e0f57d389305c9c22a3be960682ed2)

Author SHA1 Message Date
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 734733d8ad Skeleton code for user dictionary sync
Bug:17464069
Change-Id: If683b80e882c07fba576959346ae74cd445dd83e
2014-10-07 12:30:12 -07:00
Geoff Mendal 5a84f69eae am b25cd551: (-s ours) am b9b8b1ed: (-s ours) am 946d7388: (-s ours) am 3e3b91dc: (-s ours) am d218ba4b: (-s ours) Import translations. DO NOT MERGE
* commit 'b25cd551968bb0d5cbe726c0876213d5f572f6ce':
  Import translations. DO NOT MERGE
2014-10-07 18:03:10 +00:00
Geoff Mendal b25cd55196 am b9b8b1ed: (-s ours) am 946d7388: (-s ours) am 3e3b91dc: (-s ours) am d218ba4b: (-s ours) Import translations. DO NOT MERGE
* commit 'b9b8b1edac56335b229dddf94219c3c057deaeab':
  Import translations. DO NOT MERGE
2014-10-07 17:58:12 +00:00
Geoff Mendal b9b8b1edac am 946d7388: (-s ours) am 3e3b91dc: (-s ours) am d218ba4b: (-s ours) Import translations. DO NOT MERGE
* commit '946d7388c7afa8043379eb30176fbf848d74e926':
  Import translations. DO NOT MERGE
2014-10-07 17:50:58 +00:00
Geoff Mendal 946d7388c7 am 3e3b91dc: (-s ours) am d218ba4b: (-s ours) Import translations. DO NOT MERGE
* commit '3e3b91dc9b78e031c7e84219315fc9d5282f91c7':
  Import translations. DO NOT MERGE
2014-10-07 17:42:37 +00:00
Geoff Mendal 3e3b91dc9b am d218ba4b: (-s ours) Import translations. DO NOT MERGE
* commit 'd218ba4b518b38ee2ab144e16c9b60a91eacdf95':
  Import translations. DO NOT MERGE
2014-10-07 17:31:14 +00: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 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 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 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 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 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