aboutsummaryrefslogtreecommitdiffstats
path: root/java (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Import translations. DO NOT MERGEGeoff Mendal2016-03-0978-323/+635
| | | | | Change-Id: Ia05e008bcc73b8b66bff4d739e5a2b1b57f19ffb Auto-generated-cl: translation import
* Merge "LatinIME: change "Language & input" to -> "Languages & input"" into ↵Mihai Niță2016-03-091-6/+6
|\ | | | | | | nyc-dev
| * LatinIME: change "Language & input" to -> "Languages & input"Mihai Nita2016-03-081-6/+6
| | | | | | | | | | | | | | | | Because now the user can select more than one locale. Bug: 26849449 Change-Id: I6921793c16ec8c65c44b3c54c816b73a623fb4f2
* | Use android:languageTag for Serbian-Latin layout.Yohei Yukawa2016-03-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Serbian-Latin is one of subtypes that our APIs could not easily deal with their locale. Now we can safely rely on BCP 47 language tag hence we should do. See my previous CLs [1][2][3] for details. Note that this CL is supposed to have no effect on the behavior of LatinIME because we internall remap "sr-Latn" to "sr_ZZ" [4]. [1]: I77db5b99a7cf745d800db75baf135bb60ad04820 8d6eeb01df72891acd3aa75e64aa1595a41cc96e [2]: I251d3d999afd13c0d618f2cb59e8ed3d47f21c98 b8456a6a483ce62c81b92f613561fb761be0f3e8 [3]: I37cb9ce196f2e23589e60ce34475504405778bbb f6997344e6e31ee6e7b95aec6853e0ded00d4083 [4]: I93ff0c75b3687bb1b913f451b9eb5f2820beefbc 31a3f07c2117180df524d6b2e78089897c8ea807 Bug: 27348943 Change-Id: Icd0667c40c6f1310699f3deb1234b7861ec2fa24
* | Map "sr-Latn" to "sr_ZZ" for internal use.Yohei Yukawa2016-03-041-1/+24
|/ | | | | | | | | | | We want to expose Serbian (Latin) layout as "sr-Latn" to the system, while our internal logic may not be ready to deal with "sr-Latn" yet. As a temporary workaround, we remap "sr-Latn" into "sr_ZZ" for our internal use. Bug: 27348943 Change-Id: I93ff0c75b3687bb1b913f451b9eb5f2820beefbc
* Revert "Close FileChannels in UpdateHandler#copyFile."Yohei Yukawa2016-03-031-10/+2
| | | | | | | | | | | | | | This reverts commit 3e2670265e17e91c5a8cfff01711f973dccd2a0c. It turns out that the behavior change in libcore was unintentional, and it was already fixed [1]. Let's revert our workaround back to see if the existing code is compatible with N. [1]: Ibacb192abc37870c74a2500d65b94d68f9c2318e 5e7b572c2b494ab86ddd2baca3883a40a6064c1e Bug: 26239281 Change-Id: I6cd2340492d93251231e7ee37c3d4f82c1721293
* Merge "Close FileChannels in UpdateHandler#copyFile." into nyc-devKeisuke Kuroyanagi2016-02-251-2/+10
|\
| * Close FileChannels in UpdateHandler#copyFile.Keisuke Kuroyanagi2016-02-241-2/+10
| | | | | | | | | | Bug: 26239281 Change-Id: Ib30beb3548f8fb4a8e338b5da863ae28c252bc2b
* | Fix runtime crash on KitKat and prior.Yohei Yukawa2016-02-221-2/+8
|/ | | | | | | | | | | | | | | | | | This is a follow up CL to the previous CL [1], in which we started calling Window#setNavigationBarColor(int) when the window visibility is changed. One thing we missed is that calling Window#setNavigationBarColor(int) on KitKant or prior devices would result in a runtime crash. Hence with this CL we do not call that method unless the OS version is N or leter, because specifying Color.TRANSPARENT would make sense on N+ devices. [1]: I14d9490e00caa852035a05830e76114cbe6af8f2 6c04339c5aadb5118b0e0a8178b3d569956bbad7 Bug: 22564251 Bug: 27302540 Change-Id: Ib7299dd8c3dad4271f8fac453e690c83bda4a954
* 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
* Import translations. DO NOT MERGEGeoff Mendal2016-02-083-4/+4
| | | | | Change-Id: Iddf2184f6d13e5a788ec2ed303346ff05dcbf377 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEGeoff Mendal2016-02-031-2/+2
| | | | | Change-Id: Iebd3e06f3913a687d1490aa71421da337eea4200 Auto-generated-cl: translation import
* Suppress redundant TYPE_WINDOWS_STATE_CHANGED.Yohei Yukawa2016-02-021-1/+3
| | | | | Bug: 23975618 Change-Id: I5933beaa5b28404f85e100461bdeab5496eb3c0e
* Merge branch \'mnc-dr2-dev\' of ↵Geoff Mendal2016-02-021-1/+1
|\ | | | | | | | | | | | | | | | | /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/packages/inputmethods/LatinIME into mnc-dr2-dev am: 904a89c20b am: 6de2f31f45 * commit '6de2f31f45cd51e14cc3191c6908af00674cfb0e': Import translations. DO NOT MERGE
| * Merge branch \'mnc-dr2-dev\' of ↵Geoff Mendal2016-02-022-2/+2
| |\ | | | | | | | | | | | | | | | | | | | | | | | | /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/packages/inputmethods/LatinIME into mnc-dr2-dev am: 904a89c20b * commit '904a89c20bf86040a6fcae8f379c7a956eb61b98': Import translations. DO NOT MERGE
| | * Merge "Import translations. DO NOT MERGE" into mnc-dr2-devGeoff Mendal2016-02-022-2/+2
| | |\
| | | * Import translations. DO NOT MERGEGeoff Mendal2016-02-022-2/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: Ied3f429a108b3fa47e5c0f8c71b8a7ec60f7de2c Auto-generated-cl: translation import
| | * | Merge "Import translations. DO NOT MERGE" into mnc-dr2-devGeoff Mendal2016-02-027-3/+99
| | |\ \
| | | * | Import translations. DO NOT MERGEGeoff Mendal2016-02-027-3/+99
| | | |/ | | | | | | | | | | | | | | | | Change-Id: Ia854ef967086df83683588d555d040567c379c76 Auto-generated-cl: translation import
| | * | Merge "Import translations. DO NOT MERGE" into mnc-dr2-devGeoff Mendal2016-02-027-5/+113
| | |\ \
| | | * | Import translations. DO NOT MERGEGeoff Mendal2016-02-027-5/+113
| | | |/ | | | | | | | | | | | | | | | | Change-Id: I3298816f22de3d4088800d34940e25a192fc422e Auto-generated-cl: translation import
| | * / Import translations. DO NOT MERGEGeoff Mendal2016-02-026-2/+126
| | |/ | | | | | | | | | | | | Change-Id: I5d6f14c0c66d10cbadb82faa2efb3b9ea840ca47 Auto-generated-cl: translation import
| | * Import translations. DO NOT MERGEGeoff Mendal2015-12-071-2/+2
| | | | | | | | | | | | | | | Change-Id: Iad6a7df2c517e80c376c92197b505ae76276e71b Auto-generated-cl: translation import
| | * Import translations. DO NOT MERGEGeoff Mendal2015-11-251-1/+1
| | | | | | | | | | | | | | | Change-Id: Ic32df26eab46cdedabbbf63ed3b659680b518743 Auto-generated-cl: translation import
| | * Merge "Import translations. DO NOT MERGE" into mnc-dr2-devGeoff Mendal2015-11-1677-85/+817
| | |\
| | | * Import translations. DO NOT MERGEGeoff Mendal2015-11-1677-85/+817
| | |/ | |/| | | | | | | | | | Change-Id: I72546cce9ec50ddb468bbd3d989ceb3b6adb4627 Auto-generated-cl: translation import
| | * Import translations. DO NOT MERGEGeoff Mendal2015-11-1677-59/+73995
| |/ | | | | | | | | Change-Id: I42db5a73ba835ce778019b8375fce0c7b1271e15 Auto-generated-cl: translation import
* | Experimental automatic language switching support.Yohei Yukawa2016-01-222-1/+70
| | | | | | | | | | | | | | | | | | | | | | With this CL, LatinIME switches the current subtype from its enabled subtypes based on the first locale in EditorInfo#hintLocales. This functionality is still experimental, and will be triggered only when EditorInfo#hintLocales is specified by the application. Bug: 22859862 Change-Id: Ibd0559b370d8aa0d50d1bada8ecfdac0ed8db898
* | 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-212-1/+19
| | | | | | | | | | | | | | | | | | | | 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
* | Experimentally specify languageTag attribute.Yohei Yukawa2016-01-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With previous CLs [1][2], now we can associate a BCP 47 language tag for each InputMethodSubtype in XML resource file by "languageTag" attribute. In order to test that the functionality, we start using "languageTag" for some subtypes. Note that specifying "languageTag" for all the existing subtypes is beyond the goal of this CL, which should be handled in subsequent CLs. Here is the list of subtypes that start having "languageTag" attribute. - android:imeSubtypeLocale="en_US" -> android:languageTag="en-US" - android:imeSubtypeLocale="en_GB" -> android:languageTag="en-GB" - android:imeSubtypeLocale="fr " -> android:languageTag="fr" - android:imeSubtypeLocale="fr_CA" -> android:languageTag="fr-CA" - android:imeSubtypeLocale="fr_CH" -> android:languageTag="fr-CH" - android:imeSubtypeLocale="tl" -> android:languageTag="fil" [1]: I77db5b99a7cf745d800db75baf135bb60ad04820 8d6eeb01df72891acd3aa75e64aa1595a41cc96e [2]: I251d3d999afd13c0d618f2cb59e8ed3d47f21c98 b8456a6a483ce62c81b92f613561fb761be0f3e8 Bug: 22858221 Change-Id: I37cb9ce196f2e23589e60ce34475504405778bbb
* | Import translations. DO NOT MERGEGeoff Mendal2016-01-201-2/+2
| | | | | | | | | | Change-Id: I6b60be9063655acb76a724ef9ca8a0cd946c7d8d Auto-generated-cl: translation import
* | Merge "Import translations. DO NOT MERGE"Geoff Mendal2016-01-181-9/+9
|\ \
| * | Import translations. DO NOT MERGEGeoff Mendal2016-01-181-9/+9
| | | | | | | | | | | | | | | Change-Id: I0fe5a3880cbc1ddf27626d175109c31020932ed6 Auto-generated-cl: translation import
* | | Import translations. DO NOT MERGEGeoff Mendal2016-01-181-1/+1
|/ / | | | | | | | | Change-Id: Ic12099dc6253b77f748245ae9ab1ad6ac9920dfc Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEGeoff Mendal2016-01-111-1/+1
| | | | | | | | | | Change-Id: Id3644c842de9db4fa3b4d3fc4fd6a9d720dccffd Auto-generated-cl: translation import
* | Merge "Hide settings-key until the device is unlocked."Yohei Yukawa2016-01-072-0/+91
|\ \
| * | Hide settings-key until the device is unlocked.Yohei Yukawa2016-01-072-0/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Merge remote-tracking branch 'goog/mnc-dr-ryu-dev'"David Riley2016-01-073-99/+172
|\ \ \
| * \ \ Merge remote-tracking branch 'goog/mnc-dr-ryu-dev'David Riley2015-12-213-99/+172
| |\ \ \
| | * | | Check if last shown Emoji category ID is still validDmitry Torokhov2015-12-081-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When upgrading to a new version of APK we may find that the stored Emoji category ID is no longer applicable. For example it happened when we brought in the new Unicode 8.0 Emojis. Also restore the "Symbols" emoji category on pre-kitkat devices which was accidentally dropped when bringing in Unicode 8.0 Emojis. b/25972978 Change-Id: I91c044603b0aac8757cb8597d3af995f84b822f3
| | * | | Import translations. DO NOT MERGEGeoff Mendal2015-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7650a71daa7cede33ba972510f36f216caf9db11 Auto-generated-cl: translation import
| | * | | Import translations. DO NOT MERGEGeoff Mendal2015-11-1477-77/+539
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3ceefd186d7ee9f1c8c7039548d4b7f6794d6188 Auto-generated-cl: translation import
| | * | | Unicode 8.0 emoji additions to Google Keyboard.Chieu Nguyen2015-11-11114-26/+3583
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 7674a65367 * commit '7674a653678b542d795b0bd05c241654ffe1015a': Unicode 8.0 emoji additions to Google Keyboard.
| | * | | | Import translations. DO NOT MERGEGeoff Mendal2015-11-112-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I856b3184faf72ef8d16d849046d6fb7f05e8c67f Auto-generated-cl: translation import
| | * | | | Revert "Unicode 8.0 emoji changes to Google Keyboard."Ian Pedowitz2015-11-10113-2672/+26
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: e1d5012683 * commit 'e1d501268396e58bfdd37a0a50dfeb2ac48139a8': Revert "Unicode 8.0 emoji changes to Google Keyboard."
| | * \ \ \ \ Merge "Revert "Add description strings for Unicode 8.0 new emoji."" into ↵Ian Pedowitz2015-11-101-916/+0
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mnc-dr-dev am: 9dfac101f2 * commit '9dfac101f2c7c34992e0214c09ee34f20b396bb1': Revert "Add description strings for Unicode 8.0 new emoji."
| | * \ \ \ \ \ Merge "Add description strings for Unicode 8.0 new emoji." into mnc-dr-devReena Lee2015-11-091-0/+916
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 9749f1f1c3 * commit '9749f1f1c3755ece6ddfc822d642ac0e8218d138': Add description strings for Unicode 8.0 new emoji.
| | * \ \ \ \ \ \ Unicode 8.0 emoji changes to Google Keyboard.Chieu Nguyen2015-11-09113-26/+2672
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 9cc42549d1 * commit '9cc42549d18f1e28ffc8dae94ff36728933f53f1': Unicode 8.0 emoji changes to Google Keyboard.
| | * | | | | | | | Fix AltR+1 -> ESC shortcuts bringing on-screen keyboardDmitry Torokhov2015-11-032-97/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the way we decide whether we want to show on-screen keyboard by not only paying attention to modifiers, but also keeping track whether the key sequence started in the right state. We are still misfiring if user presses a non-modifier key and then our modifier hot-key, but such sequence is unlikely. Given the fact that we do not want to store too much state I believe this deficiency is acceptable. Bug: 25087681 Bug: 24142161 Change-Id: I1a6b5e8e903c27a87134a6c9a7cd474a0607d5c8 (cherry picked from commit 7c513455918a52bd28c1c8181cb2880db0973b4b)