aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * Remove SubtypeSwitcherTadashi G. Takaoka2014-12-121-9/+0
| | | | | | | | Change-Id: Ic4def69a9f742f13c98bc3e518c406658b52797d
* | Passing account info to dictionaryFacilitatorJatin Matani2014-12-161-9/+19
|/ | | | | | | | | | | | | | | | | | | | Attempt to use dictionary facilitor without invoking preference manager. Instead use account from settings only when things are being reset/changed. Discussion forked from ag/591663 Overall, the idea here is to maintain an account information inside dictionary groups. Reset the dictionary groups if account changes (the way we do for locale). Since only user history dictionary is currently affected, the check to reset user history dictionary also includes the check to verify the account. For other things remain the same. SettingsValues holds the current account (and is updated if prefs change due to change in account settings). The updated settings are then propagated to dictionary facilitator via LatinIME#loadSettings. Bug:18104749,18469539 Change-Id: I553e776e7ea125d0fb7a1fe70a4c7eb0b2277fb8
* Add NetworkConnectivityUtils classTadashi G. Takaoka2014-12-111-13/+13
| | | | Change-Id: I7bd71f1d4ef0fc0fe21ddfd9f3e11463f53ac4e7
* Revert "Add keyboard margin options to place the keyboard dynamically."Tadashi G. Takaoka2014-12-091-6/+2
| | | | | | | | This reverts commit 8584db1461d286f8eb966c40eb0bc76e8c9df76a. Bug: 18675223 Bug: 18675476 Change-Id: I4e25d87ac261c44b1943df832115f8cca690103a
* Merge "Remove RichInputMethodManager.updateShortcutIME call from ↵Tadashi G. Takaoka2014-12-061-5/+5
|\ | | | | | | SubtypeSwitcher"
| * Remove RichInputMethodManager.updateShortcutIME call from SubtypeSwitcherTadashi G. Takaoka2014-12-011-5/+5
| | | | | | | | Change-Id: I5661a7926cf5a404788516c542b25cc0707bb417
* | Add keyboard margin options to place the keyboard dynamically.Andy Wang2014-12-051-2/+6
| | | | | | | | | | | | | | Keyboard location and location can now be set in the debug options section. Change-Id: I87c5a1d679489e12dccf26632c399af28087629e
* | Merge "Cancel interval alarm for dictionary decaying in onDestroy."Keisuke Kuroyanagi2014-12-031-0/+1
|\ \ | |/ |/|
| * Cancel interval alarm for dictionary decaying in onDestroy.Keisuke Kuroyanagi2014-12-021-0/+1
| | | | | | | | | | Bug: 18528171 Change-Id: I6e12c006bd9eff15f3fa9cfd335bdd9fa081be61
* | Allow whitelist changes when no close wordJean Chalard2014-11-261-0/+2
|/ | | | | | | | | | | | | | When there isn't a close word in another language of the current multi-language set, we allow whitelist entries to take force even if we are not confident in the current language. Bug: 18063142 Bug: 18130489 Bug: 18132240 Bug: 18136721 Bug: 18200415 Change-Id: I044674ba7b70aa86ab2a48d2e4d53a1c8007b62c
* Fix an NPE.Jean Chalard2014-11-201-2/+1
| | | | Change-Id: Ie5ab5cc716ef1211eb9ad76baa0467455e1f1a71
* Make the typed word a SuggestedWordInfoJean Chalard2014-11-201-1/+1
| | | | | | | | That allows to carry the language information in an accurate manner. Bug: 18063142 Change-Id: I0bca8981372ae10648274095b18b26a3686b762b
* Merge "Fix oscillations on ICS"Jean Chalard2014-11-191-6/+24
|\
| * Fix oscillations on ICSJean Chalard2014-11-191-6/+24
| | | | | | | | | | Bug: 18181427 Change-Id: Ib4dd62037b1f7b2d10496ee3e45b4a138e29f90a
* | Remove the other deprecated constructor to SuggestedWordsJean Chalard2014-11-171-2/+6
|/ | | | Change-Id: Ied821df01e032ebc913d2f15dffdf41a51372ea4
* Merge "Move current subtype management code to RichInputMethodManager"Tadashi G. Takaoka2014-11-071-6/+6
|\
| * Move current subtype management code to RichInputMethodManagerTadashi G. Takaoka2014-11-061-6/+6
| | | | | | | | Change-Id: I82d5a17a5ec96f26047d29e79f3f28850fc5b3bb
* | Move util classes under commonJean Chalard2014-11-071-1/+1
|/ | | | | | | Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
* Move shorcut IME related code from SubtypeSwitcher to RichInputMethodManagerTadashi G. Takaoka2014-11-061-2/+2
| | | | Change-Id: I0f95f603d80570c937e8c38ded88df341c11795e
* Move some methods out from SubtypeSwitcherTadashi G. Takaoka2014-11-061-2/+2
| | | | Change-Id: I89aaf87d7d0cc204b0ca0f61c2f64d15e2df848e
* Fix a bug where LatinIME would recorrect with no input viewJean Chalard2014-11-051-4/+5
| | | | | Bug: 18071127 Change-Id: I634d1f63f7d5c5b7453ed7559f9b65fa0433dcd8
* Fix MainKeyboardView visibility must be aligned with main keyboard frameTadashi G. Takaoka2014-11-041-2/+2
| | | | | Bug: 18105755 Change-Id: Ifdcaded538d0eac3b100486ddf27ae4314293792
* Small comment fixesKen Wakasa2014-11-021-3/+3
| | | | Change-Id: Iecb432c414eadf13ee6a57fb21fc02d1c27e777f
* Remove DrawingHandlerTadashi G. Takaoka2014-10-291-5/+3
| | | | Change-Id: I658a5b16cca1e56f0b944009b8aef09e0a97a0db
* Move InputPointers and ResizableIntArray to commonJean Chalard2014-10-291-0/+1
| | | | | Bug: 18108776 Change-Id: Ie5c0430aa41a8d6c58bf510a10173223d7dfe9fe
* Remove device checking of Emoji physical keyTadashi G. Takaoka2014-10-271-4/+6
| | | | | | | | This CL also adds a settings option to enable/disable an Emoji-ALT physical key. Bug: 18122464 Change-Id: Iee1d97efec979a902b0492071d5e511ca1792ff0
* Move Constants.java to the latin.common packageKen Wakasa2014-10-231-3/+4
| | | | | | | Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
* Fix Javadoc and null analysis related warningsTadashi G. Takaoka2014-10-231-1/+2
| | | | | | | This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1
* Add @Override for a method that is overriding a new L APIYohei Yukawa2014-10-221-2/+3
| | | | | | | Now all the downstream builds have switched to API Level 21. Hence putting @Override to new APIs no longer makes javac unhappy. Change-Id: Ib3324a5d06b17d298beacab8c8802bb14e5be968
* Fix some compiler warningsTadashi G. Takaoka2014-10-211-28/+30
| | | | | | | | | | | | | | | | | | | | | This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
* fix buildNick Kralevich2014-10-181-1/+1
| | | | Change-Id: I58a94fc0be01f272b6ad12524946f073c9f49894
* [ML29] Reinitialize the subtype at input startJean Chalard2014-10-161-0/+1
| | | | | | Bug: 11230254 Bug: 17994347 Change-Id: I3476909c4b371d6e94a0d4c35d91e109d639b8d5
* am 8435acd7: am f7f786d8: am d9c04a6b: am 6456af0e: am ecea8551: Fix a bug ↵Jean Chalard2014-10-151-1/+2
|\ | | | | | | | | | | | | with no suggestions flag * commit '8435acd789bd4f9c1322a73b9e0567c2dee7b336': Fix a bug with no suggestions flag
| * Fix a bug with no suggestions flagJean Chalard2014-10-151-1/+2
| | | | | | | | | | | | | | | | We should reset the composition state when moving the cursor inside the word after a gesture when the text field specifies no suggestions. Bug: 17959921 Change-Id: I977fea775f7b7e145e343636f0fb94266a40953a
| * Merge "(DO NOT MERGE) Fix showing important notice even at beginning of ↵Tadashi G. Takaoka2014-09-181-5/+9
| |\ | | | | | | | | | sentence" into lmp-dev
| | * (DO NOT MERGE) Fix showing important notice even at beginning of sentenceTadashi G. Takaoka2014-09-181-5/+9
| | | | | | | | | | | | Bug: 17536096 Change-Id: Ic72d6fecc3241c1a9aba87b82a46750cbd69e001
* | | Add JSR305 annotation to LeakGuardHandlerWrapperTadashi G. Takaoka2014-10-141-1/+3
| | | | | | | | | | | | Change-Id: I7456200af739db4510c5549b7bc894fb48749455
* | | Performance fix for multiple language subtypesJean Chalard2014-10-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | The code would iterate all enabled subtypes each time getCurrentSubtype() is called, which is really quite frequent. Bug: 11230254 Change-Id: I91feb36de6eca84967e848fc585aae04b350be89
* | | Set up a sync preference and policy for syncing [2]Sandeep Siddhartha2014-10-101-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | Always show the typed word in recorrections.Jean Chalard2014-10-091-2/+3
| | | | | | | | | | | | | | | | | | | | | Bug: 11330140 Bug: 17875601 Bug: 17623275 Change-Id: Ie4620f36f312c54c7b01b5f6cbdb0bc9171b6179
* | | Merge "Simplify CursorAnchorInfoCompatWrapper"Yohei Yukawa2014-10-091-14/+8
|\ \ \
| * | | Simplify CursorAnchorInfoCompatWrapperYohei Yukawa2014-10-091-14/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Add keyboard shadowTadashi G. Takaoka2014-10-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL sets 8dp elevation ot input view in order to cast a shadow onto underlying application. Bug: 16210054 Change-Id: I7779c63612fc88e24dde65de3e4e7a45b9d1762f
* | | | Merge "[ML18] Make WordComposer#getAutoCorrection a word info"Jean Chalard2014-10-081-1/+1
|\ \ \ \ | |/ / / |/| | |
| * | | [ML18] Make WordComposer#getAutoCorrection a word infoJean Chalard2014-10-081-1/+1
| | | | | | | | | | | | | | | | | | | | Bug: 11230254 Change-Id: I6ad2e7f89862fbfe7af5502961643320c782347f
* | | | Merge "Skeleton code for user dictionary sync"Jatin Matani2014-10-081-0/+3
|\ \ \ \ | |/ / / |/| | |
| * | | Skeleton code for user dictionary syncJatin Matani2014-10-071-0/+3
| | | | | | | | | | | | | | | | | | | | 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
* | | | | [ML16] Remove DictionaryFacilitator.getLocale()Jean Chalard2014-10-071-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 11230254 Change-Id: Ife99df42bc145fbd2d5c3128330bc0f88b104de9