aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-10-14[ML24] Add facilities to read the script of a subtypeJean Chalard4-22/+75
...or more exactly, the script of the keyboard layout set associated with a given subtype. Bug: 11230254 Change-Id: I82f5fc81ecffc561781816008c853be6ff9438dd
2014-10-14Performance fix for multiple language subtypesJean Chalard4-17/+20
The code would iterate all enabled subtypes each time getCurrentSubtype() is called, which is really quite frequent. Bug: 11230254 Change-Id: I91feb36de6eca84967e848fc585aae04b350be89
2014-10-14Fix an NPE.Jean Chalard1-1/+2
Bug: 17958289 Change-Id: I5c9ea668ff75b38c7ddebd767c36a950835c0c9f
2014-10-14Remove shouldBlockAutoCorrectionBySafetyNetKeisuke Kuroyanagi5-170/+1
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-13Don't restore debug preferencesSandeep Siddhartha3-12/+35
Bug: 17942814 Change-Id: I0bbef716dff47ed8eb880209d448629ad853b904
2014-10-13Cleanup LoginAccountUtilsSandeep Siddhartha3-22/+30
Bug: 17464068 Change-Id: Icf994a7582491afebc5db522c127a30d079ce05c
2014-10-13Import translations. DO NOT MERGEGeoff Mendal2-2/+2
Change-Id: Ie47de03c285de6dcaa6dc9b86dcf027f1c55825f Auto-generated-cl: translation import
2014-10-13Import translations. DO NOT MERGEGeoff Mendal1-1/+1
Change-Id: I6c78be329b4ac88d1a74c814aa2a23ad0f608adc Auto-generated-cl: translation import
2014-10-13Import translations. DO NOT MERGEGeoff Mendal5-19/+19
Change-Id: I7dbac96009086e57a4f3199f86aa6340022e44cc Auto-generated-cl: translation import
2014-10-13Import translations. DO NOT MERGEGeoff Mendal4-11/+11
Change-Id: I274ecd1d6c5c26aaa75abff4129b0e082369d5c7 Auto-generated-cl: translation import
2014-10-13Import translations. DO NOT MERGEGeoff Mendal1-1/+1
Change-Id: I64b846864646430dccaf5f58f788b5c5cb485970 Auto-generated-cl: translation import
2014-10-13Import translations. DO NOT MERGEGeoff Mendal3-43/+43
Change-Id: I0f02b34c3de602cc6ebe04e1859b31d08b0e95a3 Auto-generated-cl: translation import
2014-10-13Import translations. DO NOT MERGEGeoff Mendal2-32/+32
Change-Id: Ic263dcea659b3133f5ebd7666f7d1c702a4ebddc Auto-generated-cl: translation import
2014-10-13Fix: BoS bigram from user history dictionary is too strong.Keisuke Kuroyanagi2-4/+10
They can be always stronger than BoS predictions from the contextual dictionary. Bug: 17961731 Change-Id: I70297d82436c10c790bdfad6f3dfefdb4bb2f852
2014-10-10Set up a sync preference and policy for syncing [2]Sandeep Siddhartha8-129/+197
- Adds a preference for enabling sync, which controls the sync behavior - Make the ProductionFlags depend on appropriate flags to guarantee that we don't mess things when flipping some flags - Preferences now control the "syncable" property of the provider thereby controlling the policy and when this entry shows up in system settings. Bug: 17464069 Change-Id: I1d58351188518c1ae9f1f9e147b5ea15d32a3427
2014-10-10Don't restore device specific preferencesSandeep Siddhartha7-35/+107
There are two categories of preferences: 1. That are part of the default shared preference They were all getting backed up and restored. Added a blacklist to not restore some of these. e.g. current account 2. That are in a non-default shared preference file. These are not getting backed up currently, but added a specific local preference file for all such preferences. Bug: 17288591 Change-Id: I2f748be971a2337543e5014434aa39313fd1e1d8
2014-10-10[ML23] Introduce a different accuracy/performance tradeoffJean Chalard8-7/+52
Bug: 11230254 Change-Id: Ic09518c818ae7b68942b1c63160dd462e5922cb5
2014-10-10Fixing keyboard theme selectionTadashi G. Takaoka2-8/+36
Bug: 17937287 Change-Id: I476045980843c5897820cd544daea06fa991acb5
2014-10-10[ML22] Improve the language on spacebar for SLSJean Chalard1-2/+10
Bug: 11230254 Change-Id: Ib54be1a2a77b6e80cdff1af89a7b4203ea859716
2014-10-10Fix asset nameTadashi G. Takaoka5-2/+2
Change-Id: I7a2609af13c3ed7e6333a6af87cb113addd82f34
2014-10-09Remove UsedForTesting tags from BlockingHttpClientSandeep Siddhartha1-16/+11
Bug: 17464069 Change-Id: I45aa6da0e339ffb56de613c2a0a43fe37fb2defd
2014-10-09Make members of classes that are used with std::vector constKeisuke Kuroyanagi3-21/+19
Change-Id: Id93fb87f5630230fc3f9cd339e12f3b0e2006ea9
2014-10-09Rename prev_words_info.h to ngram_context.hKeisuke Kuroyanagi10-9/+9
Bug: 14425059 Change-Id: I0e906631ecad2361a8198b3f9e3394bb22c5bf83
2014-10-09Fixing misspelled wordAdrian Velicu4-5/+5
Change-Id: I51d77e271143d40256b39e5c60a3065d9fdf63fb
2014-10-09Always show the typed word in recorrections.Jean Chalard7-97/+38
Bug: 11330140 Bug: 17875601 Bug: 17623275 Change-Id: Ie4620f36f312c54c7b01b5f6cbdb0bc9171b6179
2014-10-09Rename PrevWordsInfo to NgramContext.Keisuke Kuroyanagi15-114/+114
Bug: 14425059 Change-Id: I30703fc80e9450d4e2dbfec965e7f9f4468f6a11
2014-10-09Rename updateCounter to updateEntriesForWordWithNgramContext.Keisuke Kuroyanagi11-31/+35
Bug: 14425059 Change-Id: Id9b0dd7e32c711ed4292981517c3febd5fe9e897
2014-10-09[ML20.1] Move getRichInputMethodSubtype to additional featuresJean Chalard2-2/+14
Bug: 11230254 Change-Id: I9bc19db5f101eeb6841394fe3637f271c93cbfa7
2014-10-09Changes related Sync Engine library that communicates to cloud serverJatin Matani6-68/+172
This change updates some of the code that the library uses to communicate with the cloud server Specifically : - Update BlockingHttpClient to use template ResponseProcessor - Update HttpUrlConnectionBuilder to setAuthToken for HttpUrlConnection Bug: 17464069 Bug: 17464805 Change-Id: I7d7b58dff594b920162f799d102e8582ff9fe6a4
2014-10-09Simplify CursorAnchorInfoCompatWrapperYohei Yukawa4-100/+145
With this CL, we will use CursorAnchorInfoCompatWrapper just to avoid unexpected NoClassDefFoundError due to the direct dependency CursorAnchorInfo class, which is available only on API level 21 and later. Change-Id: I254ff83f1ca41daa21d0666b5824af22ba529022
2014-10-09Extend jni method to dump ngram entries.Keisuke Kuroyanagi3-20/+33
Bug: 14425059 Change-Id: Ib03b58525fae12f254b45630bee31ecbdde227b1
2014-10-09[ML19] Actually switch the language when appropriateJean Chalard4-8/+27
That is, when auto-correcting or when manually picking. This is not great, but it's a good starting point. Bug: 11230254 Change-Id: I07627f48e2de1c28053d6572c7c72625808ec79c
2014-10-09Add keyboard shadowTadashi G. Takaoka14-8/+165
This CL sets 8dp elevation ot input view in order to cast a shadow onto underlying application. Bug: 16210054 Change-Id: I7779c63612fc88e24dde65de3e4e7a45b9d1762f
2014-10-08Fix messaging for sync now feature, when no account is selectedJatin Matani1-2/+2
Change-Id: I5e81b7a1eed9c2177ad3ddfa6c96c2b85c433766
2014-10-08[ML18] Make WordComposer#getAutoCorrection a word infoJean Chalard3-39/+28
Bug: 11230254 Change-Id: I6ad2e7f89862fbfe7af5502961643320c782347f
2014-10-08Fix unit test failureKen Wakasa1-0/+2
Change-Id: I5a28c6775385ba3b0b7d86c85064fd28f3cbb353
2014-10-08Stop dimming main keyboard while showing more keys keyboardTadashi G. Takaoka1-21/+0
Bug: 17910364 Change-Id: Ibe76ee86a43c5939f48e45506c985b3f289eac7a
2014-10-07Make SuggestionWordInfo non-final for testabiltyJatin Matani1-1/+2
Needed for ag/563043 Bug:17731683 Change-Id: I4d19e512a311547204f7e8d7885fc886757a18b7
2014-10-07Skeleton code for user dictionary syncJatin Matani7-1/+136
Bug:17464069 Change-Id: If683b80e882c07fba576959346ae74cd445dd83e
2014-10-07Fix NoClassDefFoundError due to CursorAnchorInfo in KYohei Yukawa1-0/+5
Check API level before touching CursorAnchorInfo that is only available in L and later. BUG: 17891202 Change-Id: I6e8d2e3f071bd78bed8c1d24ba2b97207dea3044
2014-10-07[ML17] Add a method to switch the most probable languageJean Chalard1-6/+33
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[ML16] Remove DictionaryFacilitator.getLocale()Jean Chalard4-19/+19
Bug: 11230254 Change-Id: Ife99df42bc145fbd2d5c3128330bc0f88b104de9
2014-10-07[ML15] First step in removing DictionaryFacilitator.getLocaleJean Chalard3-22/+29
Bug: 11230254 Change-Id: Ied010ec6f1024080e8a499f682d2fc1780e82ef7
2014-10-06Import translations. DO NOT MERGEGeoff Mendal2-2/+2
Change-Id: Id46f6934d46a5d517194656a824fc9f921a1cc04 Auto-generated-cl: translation import
2014-10-06Import translations. DO NOT MERGEGeoff Mendal1-1/+1
Change-Id: Ibefa923c7bde1ea14e8b6e1532151617c119e968 Auto-generated-cl: translation import
2014-10-06Import translations. DO NOT MERGEGeoff Mendal2-15/+15
Change-Id: I4ff0dd2333f316363c72071f70694bbf43bb77e2 Auto-generated-cl: translation import
2014-10-06Import translations. DO NOT MERGEGeoff Mendal2-13/+13
Change-Id: I542174a860f968289c76095dd059ee595b790409 Auto-generated-cl: translation import
2014-10-06Import translations. DO NOT MERGEGeoff Mendal1-7/+7
Change-Id: I0caa2761ffb0fd36df9c561571379012f769b41b Auto-generated-cl: translation import
2014-10-06Import translations. DO NOT MERGEGeoff Mendal1-1/+1
Change-Id: Ib46e14a36ff47c3fc39ad76d33d93611fb818ad2 Auto-generated-cl: translation import
2014-10-06Import translations. DO NOT MERGEGeoff Mendal2-38/+38
Change-Id: Ifed7ebdb7582223e9cca0c3330e0a3e385ba97c4 Auto-generated-cl: translation import