aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Expand)AuthorAgeFilesLines
* Set up a sync preference and policy for syncing [2]•••- 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 Sandeep Siddhartha2014-10-103-68/+113
* Don't restore device specific preferences•••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 Sandeep Siddhartha2014-10-106-30/+101
* [ML23] Introduce a different accuracy/performance tradeoff•••Bug: 11230254 Change-Id: Ic09518c818ae7b68942b1c63160dd462e5922cb5 Jean Chalard2014-10-102-1/+9
* Merge "Make SuggestionWordInfo non-final for testabilty"Jatin Matani2014-10-101-1/+2
|\
| * Make SuggestionWordInfo non-final for testabilty•••Needed for ag/563043 Bug:17731683 Change-Id: I4d19e512a311547204f7e8d7885fc886757a18b7 Jatin Matani2014-10-071-1/+2
* | Remove UsedForTesting tags from BlockingHttpClient•••Bug: 17464069 Change-Id: I45aa6da0e339ffb56de613c2a0a43fe37fb2defd Sandeep Siddhartha2014-10-091-16/+11
* | Merge "Changes related Sync Engine library that communicates to cloud server"Jatin Matani2014-10-094-24/+125
|\ \
| * | Changes related Sync Engine library that communicates to cloud server•••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 Jatin Matani2014-10-094-24/+125
* | | Always show the typed word in recorrections.•••Bug: 11330140 Bug: 17875601 Bug: 17623275 Change-Id: Ie4620f36f312c54c7b01b5f6cbdb0bc9171b6179 Jean Chalard2014-10-096-60/+30
* | | Merge "Rename updateCounter to updateEntriesForWordWithNgramContext."Keisuke Kuroyanagi2014-10-091-3/+2
|\ \ \
| * | | Rename updateCounter to updateEntriesForWordWithNgramContext.•••Bug: 14425059 Change-Id: Id9b0dd7e32c711ed4292981517c3febd5fe9e897 Keisuke Kuroyanagi2014-10-091-3/+2
* | | | Merge "Extend jni method to dump ngram entries."Keisuke Kuroyanagi2014-10-092-16/+27
|\| | |
| * | | Extend jni method to dump ngram entries.•••Bug: 14425059 Change-Id: Ib03b58525fae12f254b45630bee31ecbdde227b1 Keisuke Kuroyanagi2014-10-092-16/+27
| |/ /
* | | Merge "Simplify CursorAnchorInfoCompatWrapper"Yohei Yukawa2014-10-092-16/+37
|\ \ \
| * | | Simplify CursorAnchorInfoCompatWrapper•••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 Yohei Yukawa2014-10-092-16/+37
| |/ /
* | | [ML20.1] Move getRichInputMethodSubtype to additional features•••Bug: 11230254 Change-Id: I9bc19db5f101eeb6841394fe3637f271c93cbfa7 Jean Chalard2014-10-091-2/+2
* | | Merge "[ML19] Actually switch the language when appropriate"Jean Chalard2014-10-093-7/+20
|\ \ \
| * | | [ML19] Actually switch the language when appropriate•••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 Jean Chalard2014-10-093-7/+20
* | | | Add keyboard shadow•••This CL sets 8dp elevation ot input view in order to cast a shadow onto underlying application. Bug: 16210054 Change-Id: I7779c63612fc88e24dde65de3e4e7a45b9d1762f Tadashi G. Takaoka2014-10-091-0/+6
|/ / /
* | | Merge "Fix messaging for sync now feature, when no account is selected"Jatin Matani2014-10-081-2/+2
|\ \ \
| * | | Fix messaging for sync now feature, when no account is selected•••Change-Id: I5e81b7a1eed9c2177ad3ddfa6c96c2b85c433766 Jatin Matani2014-10-081-2/+2
| |/ /
* | | Merge "[ML18] Make WordComposer#getAutoCorrection a word info"Jean Chalard2014-10-083-39/+28
|\ \ \
| * | | [ML18] Make WordComposer#getAutoCorrection a word info•••Bug: 11230254 Change-Id: I6ad2e7f89862fbfe7af5502961643320c782347f Jean Chalard2014-10-083-39/+28
* | | | Fix unit test failure•••Change-Id: I5a28c6775385ba3b0b7d86c85064fd28f3cbb353 Ken Wakasa2014-10-081-0/+2
| |/ / |/| |
* | | Merge "Skeleton code for user dictionary sync"Jatin Matani2014-10-082-1/+60
|\ \ \ | |/ / |/| |
| * | Skeleton code for user dictionary sync•••Bug:17464069 Change-Id: If683b80e882c07fba576959346ae74cd445dd83e Jatin Matani2014-10-072-1/+60
| |/
* | Merge "Fix NoClassDefFoundError due to CursorAnchorInfo in K"Yohei Yukawa2014-10-071-0/+5
|\ \
| * | 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 Yohei Yukawa2014-10-071-0/+5
* | | [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 Jean Chalard2014-10-071-6/+33
* | | [ML16] Remove DictionaryFacilitator.getLocale()•••Bug: 11230254 Change-Id: Ife99df42bc145fbd2d5c3128330bc0f88b104de9 Jean Chalard2014-10-073-16/+16
* | | [ML15] First step in removing DictionaryFacilitator.getLocale•••Bug: 11230254 Change-Id: Ied010ec6f1024080e8a499f682d2fc1780e82ef7 Jean Chalard2014-10-073-22/+29
|/ /
* | Merge "Quit having obsolete options for ime-simulator."Keisuke Kuroyanagi2014-10-071-4/+0
|\ \
| * | Quit having obsolete options for ime-simulator.•••Bug: 16547409 Change-Id: I43f5a15153cbd7072fde15764a664ad4d1c6417f Keisuke Kuroyanagi2014-10-061-4/+0
* | | Merge "Postponing memory deallocation after onFinishInputView"Adrian Velicu2014-10-061-9/+31
|\ \ \
| * | | Postponing memory deallocation after onFinishInputView•••Bug: 17559789 Change-Id: I1d4b1524028164d27ec4eadd3960b567148f2b84 Adrian Velicu2014-10-061-9/+31
* | | | Fix missing prediction words on contextual strip•••Bug: 17874801 Change-Id: Iaba935a6b2548376f10a0ecd80f07ea7ada6c60a Tadashi G. Takaoka2014-10-077-21/+31
* | | | Merge "[ML14] Forward the locale list to relevant places, again"Jean Chalard2014-10-065-68/+71
|\ \ \ \ | |/ / / |/| | |
| * | | [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 Jean Chalard2014-10-065-68/+71
* | | | Merge "Remove ENABLE_CURSOR_ANCHOR_INFO_CALLBACK"Yohei Yukawa2014-10-062-12/+8
|\ \ \ \
| * | | | 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 Yohei Yukawa2014-10-062-12/+8
* | | | | Merge "Update setup wizard video and image of AOSP"Tadashi G. Takaoka2014-10-062-4/+5
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Update setup wizard video and image of AOSP•••Bug: 17769384 Change-Id: I23748bce17566aad1693ff56e8c04f493f957f84 Tadashi G. Takaoka2014-10-062-4/+5
| | |/ / | |/| |
* | | | Merge "Refactor custom input style settings"Tadashi G. Takaoka2014-10-061-31/+23
|\ \ \ \
| * | | | Refactor custom input style settings•••This CL removes references of Pair class. Change-Id: I7cda0ac438ac1d5026599cb52ac2ea8845339da9 Tadashi G. Takaoka2014-10-061-31/+23
| |/ / /
* / / / Make UserHistoryDictionary use updateEntriesForWordWithNgramContext()•••Bug: 14425059 Change-Id: I409ebf90f68f4a0f1638128ac5ee6af859323d30 Keisuke Kuroyanagi2014-10-064-49/+52
|/ / /
* / / Make unit tests use new entry updating method.•••Bug: 14425059 Change-Id: Ie7d92e92822a0d3a8b654d213e55d45aab799f5d Keisuke Kuroyanagi2014-10-061-0/+20
|/ /
* / Revert "[ML14] Forward the locale list to relevant places"•••This reverts commit 15dbd38283fc9c8fdfd2540f1d94d4dbf2eabcb5. Bug: 11230254 Reverting due to unit test breakage. Change-Id: Icf29ba5c808c754515aef2d1b4162d72f606acfe Ken Wakasa2014-10-035-71/+68
|/
* [ML14] Forward the locale list to relevant places•••Bug: 11230254 Change-Id: Idf3ed27b396d63ade9800c72c5ce0ed613f5f669 Jean Chalard2014-10-035-68/+71
* Merge "Fix a behavior change in dicttool"Jean Chalard2014-10-031-8/+23
|\
| * Fix a behavior change in dicttool•••The behavior change was introduced by I8b3458ad. Concretely, empty bigram lists would end up as empty lists instead of null. Change-Id: Ibcdf7e6aabc6aba3f5db0477335882394e050ce5 Jean Chalard2014-10-031-8/+23