aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-07-04Remove dead code to fix test failure due to NoSuchMethodErrorYohei Yukawa1-25/+0
This CL removes following methods from StringUtils, which are no longer used since Id3c262386a7bc7ed75966b1395a50171abe550d3. - #joinCommaSplittableText - #appendToCommaSplittableTextIfNotExists BUG: 16000850 Change-Id: Ibdc9b7e463a19cdfac788b24c0a6322d0c5850c5
2014-07-04Additional subtype ID should be independent of OS-versionYohei Yukawa9-86/+323
This CL consolidates the initialization logic for additional subtypes so that each additional subtypes can have predictable subtype ID regardless of OS version. Previously subtype IDs for additional subtypes are calculated differently depending on the running OS version with hoping it minimizes the risk of compatibility issues. However, it is getting harder and harder to maintain slightly different logic between OSes. Thus we decided to unify the logic into that in KitKat even though it may causes some breaking changes. Note that the actual extra values that are used to instantiate InputMethodSubtype object are still determined on the fly depending on the running OS version. However these actual extra values are no longer used for the subtype ID calculation. BUG: 16000850 Change-Id: Id3c262386a7bc7ed75966b1395a50171abe550d3
2014-07-04Add Bengali keyboard layoutTadashi G. Takaoka14-196/+967
This is a preliminary keyboard layout. Bug: 10028755 Change-Id: I365fb8e942a60d4b690a4af95fcd35bf73fffbe4
2014-07-04Restore additional subtypes when the package is updatedYohei Yukawa7-121/+221
With this CL, Intent#ACTION_MY_PACKAGE_REPLACED will not only update the visibility of the setup activity but also reconstruct additional subtypes. This is important because the system always removes all the additional subtypes whenever the package is updated. BUG: 15890448 Change-Id: Ic36ea68f50b1ac89b4cbd268ee53f9a5e5d60afd
2014-07-04Add compatibility utility class for LocaleSpanYohei Yukawa2-0/+97
This is a groundwork for enabling LocaleSpan support. LocaleSpan is available in API Level 17 and later. We need some abstraction layer as usual. BUG: 16029304 Change-Id: Iead1afdc540216edb1b17f91a40d9edb2e790168
2014-07-01[HW3] Some refactoringJean Chalard1-9/+11
Change-Id: I303ce084a56c6ec709d3eab239a4d9d2274d0dea
2014-07-01[SD9] Add armenian and georgian scriptsJean Chalard6-24/+42
Bug: 15840116 Change-Id: I91719e4fc2e3fe29320e4cb8b1a2f8f93c44cc4d
2014-07-01[SD8] Add scripts for layouts that are already implementedJean Chalard8-0/+16
Bug: 15840116 Change-Id: I82b94fb89f18c6f7d88193231e132fbc2ac66685
2014-07-01[SD7] Actually check for script.Jean Chalard5-19/+68
...also implement the check for Hebrew and Arabic. Bug: 15840116 Change-Id: Ia6433d7d98038ade64c171be4fe4b3f094111fac
2014-07-01[SD5(2)] Remove useless argsJean Chalard3-54/+13
Bug: 15840116 Change-Id: I1123426fbd9d420c1be64ccc917a5f870e70e6fa
2014-06-30[SD4] Restart suggestions on language changeJean Chalard3-29/+56
...otherwise we can't recompute the composition when we change scripts. This also fixes when we register that we need to take note that the current subtype was used. Luckily this is a good occasion for some cleanup that I've wanted to do for some time: use InputTransaction for onTextInput (with the goal to ultimately remove it entirely) Bug: 15840116 Change-Id: Ie4f4f9157b66b79237eeb3db75535803124d3e19
2014-06-30Import translations. DO NOT MERGEBaligh Uddin12-0/+324
Change-Id: Ia31613a90afebc810811e603cfdee621c8d47b9c Auto-generated-cl: translation import
2014-06-30Import translations. DO NOT MERGEBaligh Uddin11-0/+264
Change-Id: Ib559baf38fac9b3389b7cc0ed3714f52d4c2300f Auto-generated-cl: translation import