aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Experimental automatic language switching support.•••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 Yohei Yukawa2016-01-222-1/+70
* Support EditorInfo#hintLocales in compat library.•••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 Yohei Yukawa2016-01-222-0/+48
* Use "languageTag" in RichInputMethodSubtype.•••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 Yohei Yukawa2016-01-212-1/+19
* Experimentally specify languageTag attribute.•••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 Yohei Yukawa2016-01-211-0/+6
* Import translations. DO NOT MERGE•••Change-Id: I6b60be9063655acb76a724ef9ca8a0cd946c7d8d Auto-generated-cl: translation import Geoff Mendal2016-01-201-2/+2
* Merge "Import translations. DO NOT MERGE"Geoff Mendal2016-01-181-9/+9
|\
| * Import translations. DO NOT MERGE•••Change-Id: I0fe5a3880cbc1ddf27626d175109c31020932ed6 Auto-generated-cl: translation import Geoff Mendal2016-01-181-9/+9
* | Import translations. DO NOT MERGE•••Change-Id: Ic12099dc6253b77f748245ae9ab1ad6ac9920dfc Auto-generated-cl: translation import Geoff Mendal2016-01-181-1/+1
|/
* Import translations. DO NOT MERGE•••Change-Id: Id3644c842de9db4fa3b4d3fc4fd6a9d720dccffd Auto-generated-cl: translation import Geoff Mendal2016-01-111-1/+1
* Merge "Hide settings-key until the device is unlocked."Yohei Yukawa2016-01-072-0/+91
|\
| * Hide settings-key until the device is unlocked.•••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 Yohei Yukawa2016-01-072-0/+91
* | 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 valid•••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 Dmitry Torokhov2015-12-081-2/+18
| | * | Import translations. DO NOT MERGE•••am: fdbd6fe212 -s ours * commit 'fdbd6fe212eafe89c889a900fe235dfd5141b10b': Import translations. DO NOT MERGE Geoff Mendal2015-11-250-0/+0
| | |\ \
| | * | | Import translations. DO NOT MERGE•••Change-Id: I7650a71daa7cede33ba972510f36f216caf9db11 Auto-generated-cl: translation import Geoff Mendal2015-11-251-1/+1
| | * | | Import translations. DO NOT MERGE•••am: 76218d9045 -s ours * commit '76218d9045409d1881a72a20ece23dc6371070e7': Import translations. DO NOT MERGE Geoff Mendal2015-11-140-0/+0
| | |\ \ \
| | * | | | Import translations. DO NOT MERGE•••Change-Id: I3ceefd186d7ee9f1c8c7039548d4b7f6794d6188 Auto-generated-cl: translation import Geoff Mendal2015-11-1477-77/+539
| | * | | | Unicode 8.0 emoji additions to Google Keyboard.•••am: 7674a65367 * commit '7674a653678b542d795b0bd05c241654ffe1015a': Unicode 8.0 emoji additions to Google Keyboard. Chieu Nguyen2015-11-11114-26/+3583
| | |\ \ \ \
| | * \ \ \ \ Import translations. DO NOT MERGE•••am: 4de1e2262e -s ours * commit '4de1e2262e1d81f8d015a2ea3ccace35316308d0': Import translations. DO NOT MERGE Geoff Mendal2015-11-110-0/+0
| | |\ \ \ \ \
| | * | | | | | Import translations. DO NOT MERGE•••Change-Id: I856b3184faf72ef8d16d849046d6fb7f05e8c67f Auto-generated-cl: translation import Geoff Mendal2015-11-112-2/+2
| | * | | | | | Revert "Unicode 8.0 emoji changes to Google Keyboard."•••am: e1d5012683 * commit 'e1d501268396e58bfdd37a0a50dfeb2ac48139a8': Revert "Unicode 8.0 emoji changes to Google Keyboard." Ian Pedowitz2015-11-10113-2672/+26
| | |\ \ \ \ \ \
| | * \ \ \ \ \ \ Merge "Revert "Add description strings for Unicode 8.0 new emoji."" into mnc-...•••am: 9dfac101f2 * commit '9dfac101f2c7c34992e0214c09ee34f20b396bb1': Revert "Add description strings for Unicode 8.0 new emoji." Ian Pedowitz2015-11-101-916/+0
| | |\ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ Merge "Add description strings for Unicode 8.0 new emoji." into mnc-dr-dev•••am: 9749f1f1c3 * commit '9749f1f1c3755ece6ddfc822d642ac0e8218d138': Add description strings for Unicode 8.0 new emoji. Reena Lee2015-11-091-0/+916
| | |\ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ Unicode 8.0 emoji changes to Google Keyboard.•••am: 9cc42549d1 * commit '9cc42549d18f1e28ffc8dae94ff36728933f53f1': Unicode 8.0 emoji changes to Google Keyboard. Chieu Nguyen2015-11-09113-26/+2672
| | |\ \ \ \ \ \ \ \ \
| | * | | | | | | | | | Fix AltR+1 -> ESC shortcuts bringing on-screen keyboard•••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) Dmitry Torokhov2015-11-032-97/+154
| | * | | | | | | | | | Merge "Import translations. DO NOT MERGE" into mnc-dr-ryu-devGeoff Mendal2015-10-263-3/+3
| | |\ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | Import translations. DO NOT MERGE•••Change-Id: If5c9898e482ef2a23bc145fdc12eab6fccbd93d3 Auto-generated-cl: translation import Geoff Mendal2015-10-263-3/+3
| | * | | | | | | | | | | Import translations. DO NOT MERGE•••Change-Id: I64dabfa1cb5e4b6d86a6a2cb358406ce7375141c Auto-generated-cl: translation import Geoff Mendal2015-10-261-1/+1
| | |/ / / / / / / / / /
* | | | | | | | | | | | Merge "Import translations. DO NOT MERGE"Geoff Mendal2016-01-061-3/+3
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Import translations. DO NOT MERGE•••Change-Id: Ie923e0212ba100e460fb8bc53717aaa08cfd72ee Auto-generated-cl: translation import Geoff Mendal2016-01-061-3/+3
| |/ / / / / / / / / / /
* / / / / / / / / / / / Import translations. DO NOT MERGE•••Change-Id: I47324173fd4ac0776afc1a44647e4bef21c461f9 Auto-generated-cl: translation import Geoff Mendal2016-01-061-1/+1
|/ / / / / / / / / / /
* | | | | | | | | | / Import translations. DO NOT MERGE•••Change-Id: I2a938e925f9175325fb445358bfa881ddb16415c Auto-generated-cl: translation import Geoff Mendal2015-12-212-5/+5
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | |
* | | | | | | | | | Merge "Import translations. DO NOT MERGE"Geoff Mendal2015-12-161-0/+212
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Import translations. DO NOT MERGE•••Change-Id: I2ad057c051e8c455957acbc958be1777e2eee285 Auto-generated-cl: translation import Geoff Mendal2015-12-161-0/+212
* | | | | | | | | | | Merge "Import translations. DO NOT MERGE"Geoff Mendal2015-12-161-0/+96
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Import translations. DO NOT MERGE•••Change-Id: Id3177c219a92a8a2e654e3f11cd8935b919444be Auto-generated-cl: translation import Geoff Mendal2015-12-161-0/+96
| |/ / / / / / / / / /
* | | | | | | | | | | Merge "Import translations. DO NOT MERGE"Geoff Mendal2015-12-161-0/+208
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Import translations. DO NOT MERGE•••Change-Id: I4ec506d7edc476194cc2cd2ced1aec6a6e4affe8 Auto-generated-cl: translation import Geoff Mendal2015-12-161-0/+208
| |/ / / / / / / / / /
* | | | | | | | | | | Merge "Import translations. DO NOT MERGE"Geoff Mendal2015-12-1678-2/+72301
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Import translations. DO NOT MERGE•••Change-Id: I611c5740b31367399b2211ad9c79cacf9230defa Auto-generated-cl: translation import Geoff Mendal2015-12-1678-2/+72301
| |/ / / / / / / / / /
* | | | | | | | | | | Merge "Import translations. DO NOT MERGE"Geoff Mendal2015-12-161-0/+24
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Import translations. DO NOT MERGE•••Change-Id: Iefcca0df4b65fb43312e3e4a3030ccafae431a21 Auto-generated-cl: translation import Geoff Mendal2015-12-161-0/+24
| |/ / / / / / / / / /
* | | | | | | | | | | Merge "Import translations. DO NOT MERGE"Geoff Mendal2015-12-161-0/+27
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Import translations. DO NOT MERGE•••Change-Id: I5566cfdd9f6a5b46fd164beb95635dbcfa3a807f Auto-generated-cl: translation import Geoff Mendal2015-12-161-0/+27
| |/ / / / / / / / / /
* / / / / / / / / / / Import translations. DO NOT MERGE•••Change-Id: Iae2a2a5fa84265e885fd704f5893e6004f0283be Auto-generated-cl: translation import Geoff Mendal2015-12-161-0/+31
|/ / / / / / / / / /
* | | | | | | | | | Import translations. DO NOT MERGE•••Change-Id: I3deb5d1e2e9892e34a8272eef6d7a8b75b86b928 Auto-generated-cl: translation import Geoff Mendal2015-12-141-1/+1
* | | | | | | | | | Change NavigationBar invisible if the input view is not shown.•••The opaque navigation bar guard view does not make much sense when the IME does not show software keyboard at all. LatinIME does not show any UI when the hardware keyboard is connected. With Iea77915ecc55eedaf19899e72c44f704ba9d852c, input method can change the navigation bar visibility. This CL changes navigation bar invisible when the hardware keyboard is connected. Bug:22564251 Change-Id: I14d9490e00caa852035a05830e76114cbe6af8f2 Seigo Nonaka2015-12-081-0/+13
* | | | | | | | | | Import translations. DO NOT MERGE am: f6d1c5f323 -s ours am: ac0f805945 -s ...•••am: 717f0100b4 -s ours * commit '717f0100b425e842c11a53bd76df85890bb6bacf': Import translations. DO NOT MERGE Geoff Mendal2015-12-070-0/+0
|\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Import translations. DO NOT MERGE am: f6d1c5f323 -s ours•••am: ac0f805945 -s ours * commit 'ac0f805945c4ef1ded149f56c1b183a307153844': Import translations. DO NOT MERGE Geoff Mendal2015-12-070-0/+0
| |\ \ \ \ \ \ \ \ \ \