aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-02-02Import translations. DO NOT MERGEGeoff Mendal6-2/+126
Change-Id: I5d6f14c0c66d10cbadb82faa2efb3b9ea840ca47 Auto-generated-cl: translation import
2016-02-02Import translations. DO NOT MERGEGeoff Mendal7-3/+99
Change-Id: I5d515d10a10996742473c4747a5a232fdd179b0c Auto-generated-cl: translation import
2016-02-02Import translations. DO NOT MERGEGeoff Mendal7-5/+113
Change-Id: I5b5f1b6b2034af820e116b4bb0ca592add026abf Auto-generated-cl: translation import
2016-02-02Import translations. DO NOT MERGEGeoff Mendal6-2/+126
Change-Id: I49316abaf3db35799511fb25edbde618bb839ab3 Auto-generated-cl: translation import
2016-01-22Experimental automatic language switching support.Yohei Yukawa2-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
2016-01-22Support EditorInfo#hintLocales in compat library.Yohei Yukawa2-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
2016-01-21Use "languageTag" in RichInputMethodSubtype.Yohei Yukawa2-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
2016-01-21Experimentally specify languageTag attribute.Yohei Yukawa1-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
2016-01-20Import translations. DO NOT MERGEGeoff Mendal1-2/+2
Change-Id: I6b60be9063655acb76a724ef9ca8a0cd946c7d8d Auto-generated-cl: translation import
2016-01-18Import translations. DO NOT MERGEGeoff Mendal1-9/+9
Change-Id: I0fe5a3880cbc1ddf27626d175109c31020932ed6 Auto-generated-cl: translation import
2016-01-18Import translations. DO NOT MERGEGeoff Mendal1-1/+1
Change-Id: Ic12099dc6253b77f748245ae9ab1ad6ac9920dfc Auto-generated-cl: translation import
2016-01-11Import translations. DO NOT MERGEGeoff Mendal1-1/+1
Change-Id: Id3644c842de9db4fa3b4d3fc4fd6a9d720dccffd Auto-generated-cl: translation import
2016-01-07Hide settings-key until the device is unlocked.Yohei Yukawa2-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
2016-01-06Import translations. DO NOT MERGEGeoff Mendal1-3/+3
Change-Id: Ie923e0212ba100e460fb8bc53717aaa08cfd72ee Auto-generated-cl: translation import
2016-01-06Import translations. DO NOT MERGEGeoff Mendal1-1/+1
Change-Id: I47324173fd4ac0776afc1a44647e4bef21c461f9 Auto-generated-cl: translation import
2015-12-21Import translations. DO NOT MERGEGeoff Mendal2-5/+5
Change-Id: I2a938e925f9175325fb445358bfa881ddb16415c Auto-generated-cl: translation import