aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fix an NPE.•••Change-Id: Ie5ab5cc716ef1211eb9ad76baa0467455e1f1a71 Jean Chalard2014-11-201-2/+1
* Make the typed word a SuggestedWordInfo•••That allows to carry the language information in an accurate manner. Bug: 18063142 Change-Id: I0bca8981372ae10648274095b18b26a3686b762b Jean Chalard2014-11-201-1/+1
* Merge "Fix oscillations on ICS"Jean Chalard2014-11-191-6/+24
|\
| * Fix oscillations on ICS•••Bug: 18181427 Change-Id: Ib4dd62037b1f7b2d10496ee3e45b4a138e29f90a Jean Chalard2014-11-191-6/+24
* | Remove the other deprecated constructor to SuggestedWords•••Change-Id: Ied821df01e032ebc913d2f15dffdf41a51372ea4 Jean Chalard2014-11-171-2/+6
|/
* Merge "Move current subtype management code to RichInputMethodManager"Tadashi G. Takaoka2014-11-071-6/+6
|\
| * Move current subtype management code to RichInputMethodManager•••Change-Id: I82d5a17a5ec96f26047d29e79f3f28850fc5b3bb Tadashi G. Takaoka2014-11-061-6/+6
* | Move util classes under common•••Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab Jean Chalard2014-11-071-1/+1
|/
* Move shorcut IME related code from SubtypeSwitcher to RichInputMethodManager•••Change-Id: I0f95f603d80570c937e8c38ded88df341c11795e Tadashi G. Takaoka2014-11-061-2/+2
* Move some methods out from SubtypeSwitcher•••Change-Id: I89aaf87d7d0cc204b0ca0f61c2f64d15e2df848e Tadashi G. Takaoka2014-11-061-2/+2
* Fix a bug where LatinIME would recorrect with no input view•••Bug: 18071127 Change-Id: I634d1f63f7d5c5b7453ed7559f9b65fa0433dcd8 Jean Chalard2014-11-051-4/+5
* Fix MainKeyboardView visibility must be aligned with main keyboard frame•••Bug: 18105755 Change-Id: Ifdcaded538d0eac3b100486ddf27ae4314293792 Tadashi G. Takaoka2014-11-041-2/+2
* Small comment fixes•••Change-Id: Iecb432c414eadf13ee6a57fb21fc02d1c27e777f Ken Wakasa2014-11-021-3/+3
* Remove DrawingHandler•••Change-Id: I658a5b16cca1e56f0b944009b8aef09e0a97a0db Tadashi G. Takaoka2014-10-291-5/+3
* Move InputPointers and ResizableIntArray to common•••Bug: 18108776 Change-Id: Ie5c0430aa41a8d6c58bf510a10173223d7dfe9fe Jean Chalard2014-10-291-0/+1
* Remove device checking of Emoji physical key•••This CL also adds a settings option to enable/disable an Emoji-ALT physical key. Bug: 18122464 Change-Id: Iee1d97efec979a902b0492071d5e511ca1792ff0 Tadashi G. Takaoka2014-10-271-4/+6
* Move Constants.java to the latin.common package•••Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d Ken Wakasa2014-10-231-3/+4
* Fix Javadoc and null analysis related warnings•••This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1 Tadashi G. Takaoka2014-10-231-1/+2
* Add @Override for a method that is overriding a new L API•••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 Yohei Yukawa2014-10-221-2/+3
* Fix some compiler warnings•••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 Tadashi G. Takaoka2014-10-211-28/+30
* fix build•••Change-Id: I58a94fc0be01f272b6ad12524946f073c9f49894 Nick Kralevich2014-10-181-1/+1
* [ML29] Reinitialize the subtype at input start•••Bug: 11230254 Bug: 17994347 Change-Id: I3476909c4b371d6e94a0d4c35d91e109d639b8d5 Jean Chalard2014-10-161-0/+1
* am 8435acd7: am f7f786d8: am d9c04a6b: am 6456af0e: am ecea8551: Fix a bug wi...•••* commit '8435acd789bd4f9c1322a73b9e0567c2dee7b336': Fix a bug with no suggestions flag Jean Chalard2014-10-151-1/+2
|\
| * Fix a bug with no suggestions flag•••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 Jean Chalard2014-10-151-1/+2
| * Merge "(DO NOT MERGE) Fix showing important notice even at beginning of sente...Tadashi G. Takaoka2014-09-181-5/+9
| |\
| | * (DO NOT MERGE) Fix showing important notice even at beginning of sentence•••Bug: 17536096 Change-Id: Ic72d6fecc3241c1a9aba87b82a46750cbd69e001Tadashi G. Takaoka2014-09-181-5/+9
* | | Add JSR305 annotation to LeakGuardHandlerWrapper•••Change-Id: I7456200af739db4510c5549b7bc894fb48749455 Tadashi G. Takaoka2014-10-141-1/+3
* | | Performance fix for multiple language subtypes•••The code would iterate all enabled subtypes each time getCurrentSubtype() is called, which is really quite frequent. Bug: 11230254 Change-Id: I91feb36de6eca84967e848fc585aae04b350be89 Jean Chalard2014-10-141-2/+2
* | | 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-101-3/+0
* | | Always show the typed word in recorrections.•••Bug: 11330140 Bug: 17875601 Bug: 17623275 Change-Id: Ie4620f36f312c54c7b01b5f6cbdb0bc9171b6179 Jean Chalard2014-10-091-2/+3
* | | Merge "Simplify CursorAnchorInfoCompatWrapper"Yohei Yukawa2014-10-091-14/+8
|\ \ \
| * | | 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-091-14/+8
* | | | 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 "[ML18] Make WordComposer#getAutoCorrection a word info"Jean Chalard2014-10-081-1/+1
|\ \ \ \ | |/ / / |/| | |
| * | | [ML18] Make WordComposer#getAutoCorrection a word info•••Bug: 11230254 Change-Id: I6ad2e7f89862fbfe7af5502961643320c782347f Jean Chalard2014-10-081-1/+1
* | | | Merge "Skeleton code for user dictionary sync"Jatin Matani2014-10-081-0/+3
|\ \ \ \ | |/ / / |/| | |
| * | | Skeleton code for user dictionary sync•••Bug:17464069 Change-Id: If683b80e882c07fba576959346ae74cd445dd83e Jatin Matani2014-10-071-0/+3
* | | | 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
* | | | | [ML16] Remove DictionaryFacilitator.getLocale()•••Bug: 11230254 Change-Id: Ife99df42bc145fbd2d5c3128330bc0f88b104de9 Jean Chalard2014-10-071-5/+3
* | | | | [ML15] First step in removing DictionaryFacilitator.getLocale•••Bug: 11230254 Change-Id: Ied010ec6f1024080e8a499f682d2fc1780e82ef7 Jean Chalard2014-10-071-2/+2
|/ / / /
* | | | 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
* | | | | Merge "[ML14] Forward the locale list to relevant places, again"Jean Chalard2014-10-061-22/+22
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | [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-061-22/+22
* | | | | 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-061-5/+4
|/ / / /
* / / / 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-031-22/+22
|/ / /
* | | [ML14] Forward the locale list to relevant places•••Bug: 11230254 Change-Id: Idf3ed27b396d63ade9800c72c5ce0ed613f5f669 Jean Chalard2014-10-031-22/+22
* | | Fix when to show input view•••Bug: 15922840 Bug: 17788786 Change-Id: I69aea682202650b601a295d9da583ef8e05a3982 Tadashi G. Takaoka2014-10-031-4/+24
* | | Add calls to stub for API to consume gesture data.•••Bug: 17400259 Change-Id: Ib3511afffe1d14662e7dd14611f384689516e664 David Faden2014-10-031-1/+34