aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/compat (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Migrated various apps under packages/inputmethods/LatinIME/ to androidxvineel sadineni2018-05-152-2/+2
| | | | | | Bug: 76692459 Test: mmma packages/inputmethods/LatinIME/ Change-Id: Ib76af6f6db1a0dd5cf64a06a4ea56151712e9692
* Merge java-overridable/ into java/ againYohei Yukawa2018-05-061-0/+30
| | | | | | | | | | | | | | | This CL a logical revert of a previous CL [1], which separated Java files into common ones and overridable ones. Now that that overriding concept is no longer used, there is no need to keep having separate directory structure. [1]: Ic734bd4d20aa050c688a3158b1a382ae0ac18991 fb74ab15c1343084740d65ef8744cad33a678e82 Fix: 79323502 Test: make -j aosp_taimen-userdebug && make -j Test: tapas LatinIME && make -j Change-Id: I2090bc25d18e6d4f24e91c2cbfe832755cbb4e8f
* Follow class package change: LocaleListYohei Yukawa2016-05-171-1/+1
| | | | | | | | | | | | | In order to avoid layering violation, LocaleList needs to be moved from android.util package to android.os package [1]. This CL follows up that package change. No behavior change is intended. [1]: Ia8de2ee9df3dd0a42b1fe84574439519b680fe18 Bug: 28819696 Change-Id: Ie795c191e299358c7c463693823f309ce61cc985
* Follow API removal of LocaleList#getPrimary().Yohei Yukawa2016-02-092-5/+14
| | | | | | | | | | | This follows up to a recent CL [1] that removed #getPrimary() method from LocaleList class. [1] I75f77aea6b75e38793ed8477e5e5a4420d5e6d85 fee44846376c212114223fc4259382921e6dca7a Bug: 26984092 Change-Id: Ied4678d35c4dcb380ce24e9bce9336dbbf6c16b8
* Support EditorInfo#hintLocales in compat library.Yohei Yukawa2016-01-222-0/+48
| | | | | | | | This CL updates LatinIME's compatibility library so that we can access EditorInfo#hintLocales without directly depending on unreleased SDK. Bug: 22859862 Change-Id: I4ba7d294bc314002c3abf8842f097a4249783364
* Use "languageTag" in RichInputMethodSubtype.Yohei Yukawa2016-01-211-0/+18
| | | | | | | | | | With this CL, RichInputMethodSubtype#getLocale() starts returning a Locale object that is initialized with "languageTag" when it is specified. No behavior change is intended when "languageTag" attribute is not available or specified. Bug: 22858221 Change-Id: I23f2e479b8e284ce589c6950b071ba84c5dd8ce1
* Hide settings-key until the device is unlocked.Yohei Yukawa2016-01-071-0/+80
| | | | | | | | | | | | | | | | | | Starting in N, we are going to have new APIs to officially support the situation where apps need to run before the user has unlocked their device for the first time. For IME developers those APIs would be important not only because IMEs developers may want to support other apps that support that feature but also because IMEs developers have already needed to pay attention to the same situation where the IME is running so that the user can enter the initial password (e.g. for an encrypted device). Bug 11270326 is a perfect example of this scenario. Now we can disable settings-key until the device is unlocked by using the new API when running in Android N devices. Bug: 11270326 Change-Id: Ie1c6efa63b60b91430f1a78dde624d0f3dff3c69
* Bring back shortcuts and add to dictionary UIJatin Matani2015-07-061-0/+49
| | | | | | For JB and lower devices, the UI is surfaced by the IME. Bug: 22200135 Change-Id: Icca08500ee0683e2ceb5357b0bc430cd1712220e
* Do not restrict downloads to WiFi networks.Dan Zivkovic2015-06-171-38/+0
| | | | | | Bug 21900337. Change-Id: I82991b492ea4c02a28a1ccc898d6f12741f1b793
* Always specify non-null Locale object to SuggestionSpanYohei Yukaw2015-04-201-6/+5
| | | | | | | | | | | | | | | | | Confusingly, specifying a null Locale object to the constructor of SuggestionSpan does not necessarily mean that SuggestionSpan#getLocale() returns null. The constructor in question also receives Context object, and Context's locale can be used as a fallback locale to initialize locale of SuggestionSpan. With this CL, LatinIME always specify non-null Locale object when instantiating SuggestionSpan object. It basically corresponds to the active main dictionary, but can be Locale#ROOT when one locale is not determined for some reasons. BUG: 20435013 Change-Id: I2c152466410327300e7dba4d7ed9a22f57c17c4f
* Forgot to remove reference to deleted class.Dan Zivkovic2015-03-031-5/+2
| | | | Change-Id: Ic662a536e468390a3f7266daf9c56e4fc5a70ac6
* Fix master build.Dan Zivkovic2015-02-112-5/+5
| | | | | | For some reason, we can't import android.os package in our Constants. Change-Id: I357ed72d13c5039a83c6e2489cdf5ef74d0ffea8
* Remove shortcut support from LatinIME.Dan Zivkovic2015-02-113-53/+5
| | | | | | Note this change does not affect the native decoder interface. Change-Id: I73b7dc008a5acaf75a31a36a2d332b5afabd82d0
* Make LocaleUtils.constructLocaleFromString as @NonnullTadashi G. Takaoka2014-11-211-5/+1
| | | | Change-Id: I82d574c67b25239510f3ecc8882efe46e40677eb
* 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 some methods out from SubtypeSwitcherTadashi G. Takaoka2014-11-061-0/+3
| | | | Change-Id: I89aaf87d7d0cc204b0ca0f61c2f64d15e2df848e
* Clean up UserDictionaryCompatUtilsTadashi G. Takaoka2014-10-281-26/+17
| | | | Change-Id: I1b22c82930af4f30db4237335850fb34b66f9299
* Move Constants.java to the latin.common packageKen Wakasa2014-10-231-1/+1
| | | | | | | 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-232-0/+3
| | | | | | | This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1
* Remove BuildCompatUtils.VERSION_CODES_LXXYohei Yukawa2014-10-223-11/+5
| | | | | | Finally it is turned out to be a XXL-size Lollipop. Change-Id: Icbd22506be9de514eba287cdd8d97fbfd070ac09
* Fix some compiler warningsTadashi G. Takaoka2014-10-214-21/+15
| | | | | | | | | | | | | | | | | | | | | 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: Iedbf01e1c6191350aed8d31c2638b2430e67a36f
* Merge "Simplify CursorAnchorInfoCompatWrapper"Yohei Yukawa2014-10-091-82/+104
|\
| * Simplify CursorAnchorInfoCompatWrapperYohei Yukawa2014-10-091-82/+104
| | | | | | | | | | | | | | | | | | 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-093-7/+114
|/ | | | | | | | This CL sets 8dp elevation ot input view in order to cast a shadow onto underlying application. Bug: 16210054 Change-Id: I7779c63612fc88e24dde65de3e4e7a45b9d1762f
* Add a utility method to SuggestionSpanUtilsYohei Yukawa2014-10-061-0/+28
| | | | | | | This is a ground work for subsequent CLs. BUG: 16995261 Change-Id: Icbb708a35412a635a0d625b520069840c0bb0904
* Add unittest for SuggestionSpanUtilsYohei Yukawa2014-10-061-1/+6
| | | | | | | | This adds unittest for SuggestionSpanUtils for subsequent CLs. No behavior change is intended in this CL. BUG: 16995261 Change-Id: I90d1591cab893a1421ca633963b7c8f00a5fe4b4
* am 5139c4fd: am 702a736e: am 31838876: am 9baaa4b5: am 6ad437ed: Merge "Fix ↵Yohei Yukawa2014-10-011-3/+3
|\ | | | | | | | | | | | | NPE due to the lack of null-check" into lmp-dev * commit '5139c4fd28d1a34981d590f2fbec9b407481ea52': Fix NPE due to the lack of null-check
| * Fix NPE due to the lack of null-checkYohei Yukawa2014-09-291-3/+3
| | | | | | | | | | | | | | | | | | | | The case that was not coverted well is that CursorAnchorInfoCompatWrapper could be instantiated with null object. In such situations, we should do nothing. BUG: 17682582 Change-Id: I6625a2f0ed8c5580ed9edfe4728f342da77a8e40
* | Add allowRedundantMoreKeys attributeTadashi G. Takaoka2014-09-251-0/+47
| | | | | | | | | | | | | | This CL also adds a couple of custom layout tests of Nordic languages. Bug: 10787354 Change-Id: I5e875d3f30863395511afa82f0a02deb093d3a6f
* | resolved conflicts for merge of 233a2f21 to masterYohei Yukawa2014-09-181-2/+16
|\| | | | | | | Change-Id: If391cc622367dfb4448c6a5c32b82111d352d86e
| * Use Add-To-Dictionary indicator onlyYohei Yukawa2014-09-181-2/+16
| | | | | | | | | | | | | | | | | | | | With this CL, the previously used commit indicator was reverted. Instead we use the add-to-dictionary indicator only at the moment. This CL also fixes the indicator position in bidi context. BUG: 17335734 Change-Id: I5f7cf173ddc30876e2b01320acaff8ba4265edf6
* | am 42ddc212: am f930ce12: am 1caa0b71: Merge "Follow up API signature ↵Yohei Yukawa2014-09-081-10/+15
|\| | | | | | | | | | | | | changes of CursorAnchorInfo" into lmp-dev * commit '42ddc2127deb117a0bb2b7a7797cb8c9ba335f5a': Follow up API signature changes of CursorAnchorInfo
| * Follow up API signature changes of CursorAnchorInfoYohei Yukawa2014-09-081-10/+15
| | | | | | | | | | | | | | | | | | | | This is a follow up CL for Ic8c6fab58c01206872a34e7ee604cdda. No behavior change is intended in this CL. BUG: 17365414 BUG: 17335734 Change-Id: I4299536d0cb0c660b7b564653c72c9cb409a7aa5
* | am f2c509a8: am 310da35c: Merge "Follow up API signature change" into lmp-devYohei Yukawa2014-09-031-17/+15
|\| | | | | | | | | * commit 'f2c509a81ef107e6c71dc6804417469d12c94fca': Follow up API signature change
| * Follow up API signature changeYohei Yukawa2014-09-031-17/+15
| | | | | | | | | | | | | | | | This is a follow up CL for API signature change in I772c48ff18918e48a81e807b48ff907614485c09 BUG: 17320996 Change-Id: Ic8b6162bda12bf74fae79af212c5d81c400eb9e8
* | am 6e29bf56: am 8c42bf54: Follow API signature change in CursorAnchorInfoYohei Yukawa2014-09-031-28/+10
|\| | | | | | | | | * commit '6e29bf56c680331a7d1a50be38212c1356cb584d': Follow API signature change in CursorAnchorInfo
| * Follow API signature change in CursorAnchorInfoYohei Yukawa2014-09-021-28/+10
| | | | | | | | | | | | | | | | This is just a follow up CL for Ia8cbb9f6b41cd9509fc0147fd68763df. No behavial change is intended. BUG: 17200900 Change-Id: Iba23b731ebde64ec2e816c5b4bef1d93632fce1e
* | am 2fabd50d: am f507d1fe: Support RTL layout in custom input style settingsTadashi G. Takaoka2014-08-291-3/+16
|\| | | | | | | | | * commit '2fabd50df49f894afde15ac5f4ebd2ff5372a9c4': Support RTL layout in custom input style settings
| * Support RTL layout in custom input style settingsTadashi G. Takaoka2014-08-291-3/+16
| | | | | | | | | | Bug: 17322353 Change-Id: I3b211ab8729121271563a8a243558a58ee7847c2
* | am 3ef26ac1: am 6bd267f4: Merge "Add new attributes to our notification" ↵Jean Chalard2014-08-281-0/+83
|\| | | | | | | | | | | | | into lmp-dev * commit '3ef26ac13b677bc8d7adeed378ce6d6cbad171ee': Add new attributes to our notification
| * Add new attributes to our notificationJean Chalard2014-08-281-0/+83
| | | | | | | | | | | | Bug: 17167221 Bug: 17128331 Change-Id: I6a045fd2398f40dbdc10c9d20993f7513e1f2cff
* | am 2a2d324e: am 8380f921: Fix a bug where the top prediction would disappear.Jean Chalard2014-08-261-1/+1
|\| | | | | | | | | * commit '2a2d324eb627807a9d09b491fbb4ac78ffb253fc': Fix a bug where the top prediction would disappear.
| * Fix a bug where the top prediction would disappear.Jean Chalard2014-08-261-1/+1
| | | | | | | | | | | | | | | | | | | | This is because prediction can't be easily distinguished in style. This fixes the bug by simulating the right members, but some refactoring should be done to remove useless booleans. Bug: 17271923 Change-Id: Ib88f3fb95678021624e59535492926dd315d26fb
* | Fix unit testsJean Chalard2014-08-251-1/+3
| | | | | | | | Change-Id: I48bfa4e4dd80f36d2fe0a1e9d2a2706533cc722e
* | Merge "Revert "Revert "[ML1] Introduce RichInputMethodSubtype"""Jean Chalard2014-08-251-3/+6
|\ \
| * | Revert "Revert "[ML1] Introduce RichInputMethodSubtype""Jean Chalard2014-08-251-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit a63d0a8ee6cb05bcddb69bf9a6018853d89d886a. This patch seems to be fine after all, but was submitted without its companion [ML1.1] patch causing a build breakage. Reverting the revert and submitting both at the same time seems like the right thing to do. Change-Id: Ib8fefa40b74dcee0edb025a52dac9b35c82d49df
* | | Merge "Revert "[ML1] Introduce RichInputMethodSubtype""Jean Chalard2014-08-221-6/+3
|\| |
| * | Revert "[ML1] Introduce RichInputMethodSubtype"Jean Chalard2014-08-221-6/+3
| | | | | | | | | | | | | | | | | | This reverts commit 8ffe4bc9321e582a4d882f21e465d5886616f489. Change-Id: I9d4c98b0adfdb78b0f4d376f7691e50d1bd2228f
* | | am 96db9222: am cabb66e9: follow-up to API change in I4a577bfd02b37bYohei Yukawa2014-08-221-87/+19
|\ \ \ | |/ / |/| / | |/ | | * commit '96db9222c2c8c728498751221cc92664676dd4f0': follow-up to API change in I4a577bfd02b37b