aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Set up a sync preference and policy for syncing [2]Sandeep Siddhartha2014-10-103-68/+113
| | | | | | | | | | | | - 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
* Don't restore device specific preferencesSandeep Siddhartha2014-10-106-30/+101
| | | | | | | | | | | | | | | 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
* Merge "Fixing keyboard theme selection"Tadashi G. Takaoka2014-10-101-8/+10
|\
| * Fixing keyboard theme selectionTadashi G. Takaoka2014-10-101-8/+10
| | | | | | | | | | Bug: 17937287 Change-Id: I476045980843c5897820cd544daea06fa991acb5
* | [ML23] Introduce a different accuracy/performance tradeoffJean Chalard2014-10-102-1/+9
|/ | | | | Bug: 11230254 Change-Id: Ic09518c818ae7b68942b1c63160dd462e5922cb5
* [ML22] Improve the language on spacebar for SLSJean Chalard2014-10-101-2/+10
| | | | | Bug: 11230254 Change-Id: Ib54be1a2a77b6e80cdff1af89a7b4203ea859716
* Merge "Make SuggestionWordInfo non-final for testabilty"Jatin Matani2014-10-101-1/+2
|\
| * Make SuggestionWordInfo non-final for testabiltyJatin Matani2014-10-071-1/+2
| | | | | | | | | | | | Needed for ag/563043 Bug:17731683 Change-Id: I4d19e512a311547204f7e8d7885fc886757a18b7
* | Remove UsedForTesting tags from BlockingHttpClientSandeep Siddhartha2014-10-091-16/+11
| | | | | | | | | | Bug: 17464069 Change-Id: I45aa6da0e339ffb56de613c2a0a43fe37fb2defd
* | 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 serverJatin Matani2014-10-094-24/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Always show the typed word in recorrections.Jean Chalard2014-10-096-60/+30
| | | | | | | | | | | | | | | | | | | | | Bug: 11330140 Bug: 17875601 Bug: 17623275 Change-Id: Ie4620f36f312c54c7b01b5f6cbdb0bc9171b6179
* | | Merge "Rename updateCounter to updateEntriesForWordWithNgramContext."Keisuke Kuroyanagi2014-10-091-3/+2
|\ \ \
| * | | Rename updateCounter to updateEntriesForWordWithNgramContext.Keisuke Kuroyanagi2014-10-091-3/+2
| | | | | | | | | | | | | | | | | | | | Bug: 14425059 Change-Id: Id9b0dd7e32c711ed4292981517c3febd5fe9e897
* | | | Merge "Extend jni method to dump ngram entries."Keisuke Kuroyanagi2014-10-092-16/+27
|\| | |
| * | | Extend jni method to dump ngram entries.Keisuke Kuroyanagi2014-10-092-16/+27
| |/ / | | | | | | | | | | | | Bug: 14425059 Change-Id: Ib03b58525fae12f254b45630bee31ecbdde227b1
* | | Merge "Simplify CursorAnchorInfoCompatWrapper"Yohei Yukawa2014-10-094-100/+145
|\ \ \
| * | | Simplify CursorAnchorInfoCompatWrapperYohei Yukawa2014-10-094-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
* | | [ML20.1] Move getRichInputMethodSubtype to additional featuresJean Chalard2014-10-091-2/+2
| | | | | | | | | | | | | | | Bug: 11230254 Change-Id: I9bc19db5f101eeb6841394fe3637f271c93cbfa7
* | | Merge "[ML19] Actually switch the language when appropriate"Jean Chalard2014-10-093-7/+20
|\ \ \
| * | | [ML19] Actually switch the language when appropriateJean Chalard2014-10-093-7/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Add keyboard shadowTadashi G. Takaoka2014-10-094-7/+120
|/ / / | | | | | | | | | | | | | | | | | | | | | This CL sets 8dp elevation ot input view in order to cast a shadow onto underlying application. Bug: 16210054 Change-Id: I7779c63612fc88e24dde65de3e4e7a45b9d1762f
* | | 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 selectedJatin Matani2014-10-081-2/+2
| |/ / | | | | | | | | | Change-Id: I5e81b7a1eed9c2177ad3ddfa6c96c2b85c433766
* | | Merge "Stop dimming main keyboard while showing more keys keyboard"Tadashi G. Takaoka2014-10-081-21/+0
|\ \ \
| * | | Stop dimming main keyboard while showing more keys keyboardTadashi G. Takaoka2014-10-081-21/+0
| |/ / | | | | | | | | | | | | Bug: 17910364 Change-Id: Ibe76ee86a43c5939f48e45506c985b3f289eac7a
* | | Merge "[ML18] Make WordComposer#getAutoCorrection a word info"Jean Chalard2014-10-083-39/+28
|\ \ \
| * | | [ML18] Make WordComposer#getAutoCorrection a word infoJean Chalard2014-10-083-39/+28
| | | | | | | | | | | | | | | | | | | | Bug: 11230254 Change-Id: I6ad2e7f89862fbfe7af5502961643320c782347f
* | | | Fix unit test failureKen Wakasa2014-10-081-0/+2
| |/ / |/| | | | | | | | Change-Id: I5a28c6775385ba3b0b7d86c85064fd28f3cbb353
* | | Merge "Skeleton code for user dictionary sync"Jatin Matani2014-10-082-1/+60
|\ \ \ | |/ / |/| |
| * | Skeleton code for user dictionary syncJatin Matani2014-10-072-1/+60
| |/ | | | | | | | | Bug:17464069 Change-Id: If683b80e882c07fba576959346ae74cd445dd83e
* | Merge "Fix NoClassDefFoundError due to CursorAnchorInfo in K"Yohei Yukawa2014-10-071-0/+5
|\ \
| * | Fix NoClassDefFoundError due to CursorAnchorInfo in KYohei Yukawa2014-10-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Check API level before touching CursorAnchorInfo that is only available in L and later. BUG: 17891202 Change-Id: I6e8d2e3f071bd78bed8c1d24ba2b97207dea3044
* | | [ML17] Add a method to switch the most probable languageJean Chalard2014-10-071-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
* | | [ML16] Remove DictionaryFacilitator.getLocale()Jean Chalard2014-10-073-16/+16
| | | | | | | | | | | | | | | Bug: 11230254 Change-Id: Ife99df42bc145fbd2d5c3128330bc0f88b104de9
* | | [ML15] First step in removing DictionaryFacilitator.getLocaleJean Chalard2014-10-073-22/+29
|/ / | | | | | | | | Bug: 11230254 Change-Id: Ied010ec6f1024080e8a499f682d2fc1780e82ef7
* | Merge "Quit having obsolete options for ime-simulator."Keisuke Kuroyanagi2014-10-071-4/+0
|\ \
| * | Quit having obsolete options for ime-simulator.Keisuke Kuroyanagi2014-10-061-4/+0
| | | | | | | | | | | | | | | Bug: 16547409 Change-Id: I43f5a15153cbd7072fde15764a664ad4d1c6417f
* | | Merge "Postponing memory deallocation after onFinishInputView"Adrian Velicu2014-10-061-9/+31
|\ \ \
| * | | Postponing memory deallocation after onFinishInputViewAdrian Velicu2014-10-061-9/+31
| | | | | | | | | | | | | | | | | | | | Bug: 17559789 Change-Id: I1d4b1524028164d27ec4eadd3960b567148f2b84
* | | | Fix missing prediction words on contextual stripTadashi G. Takaoka2014-10-077-21/+31
| | | | | | | | | | | | | | | | | | | | Bug: 17874801 Change-Id: Iaba935a6b2548376f10a0ecd80f07ea7ada6c60a
* | | | Merge "Add a utility method to SuggestionSpanUtils"Yohei Yukawa2014-10-061-0/+28
|\ \ \ \
| * | | | Add a utility method to SuggestionSpanUtilsYohei Yukawa2014-10-061-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a ground work for subsequent CLs. BUG: 16995261 Change-Id: Icbb708a35412a635a0d625b520069840c0bb0904
* | | | | Merge "[ML14] Forward the locale list to relevant places, again"Jean Chalard2014-10-0611-90/+126
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | [ML14] Forward the locale list to relevant places, againJean Chalard2014-10-0611-90/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Merge "Remove ENABLE_CURSOR_ANCHOR_INFO_CALLBACK"Yohei Yukawa2014-10-062-12/+8
|\ \ \ \ \
| * | | | | Remove ENABLE_CURSOR_ANCHOR_INFO_CALLBACKYohei Yukawa2014-10-062-12/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Merge "Update setup wizard video and image of AOSP"Tadashi G. Takaoka2014-10-062-4/+5
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Update setup wizard video and image of AOSPTadashi G. Takaoka2014-10-062-4/+5
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | Bug: 17769384 Change-Id: I23748bce17566aad1693ff56e8c04f493f957f84
* | | | | Merge "Refactor custom input style settings"Tadashi G. Takaoka2014-10-061-31/+23
|\ \ \ \ \ | |_|_|/ / |/| | | |