aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/dictionarypack/DictionaryService.java (unfollow)
Commit message (Expand)AuthorFilesLines
2014-07-04Remove dead code to fix test failure due to NoSuchMethodError•••This CL removes following methods from StringUtils, which are no longer used since Id3c262386a7bc7ed75966b1395a50171abe550d3. - #joinCommaSplittableText - #appendToCommaSplittableTextIfNotExists BUG: 16000850 Change-Id: Ibdc9b7e463a19cdfac788b24c0a6322d0c5850c5 Yohei Yukawa2-67/+0
2014-07-04Additional subtype ID should be independent of OS-version•••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 Yohei Yukawa9-86/+323
2014-07-04Add Bengali keyboard layout•••This is a preliminary keyboard layout. Bug: 10028755 Change-Id: I365fb8e942a60d4b690a4af95fcd35bf73fffbe4 Tadashi G. Takaoka14-196/+967
2014-07-07Import translations. DO NOT MERGE•••Change-Id: I40d4d1bd2b732bf9a32805544e1c68aea4b733df Auto-generated-cl: translation import Baligh Uddin57-114/+57
2014-07-07Import translations. DO NOT MERGE•••Change-Id: I5908c36d3c83f44e330a9f83240c4ecb91f96b48 Auto-generated-cl: translation import Baligh Uddin9-4/+220
2014-07-07Ensure each character is coverted by at most one LocaleSpan•••This is a groundwork to attach LocaleSpan for committed text in LatinIME. This CL adds a utility method to ensure that a given range of the text is coverted by at most one LocaleSpan. Of course it could be possible to allow a substring to be coverted by multiple LocaleSpans at the same time, but ensuring uniqueness for LocaleSpan is supposed to be a good starting point. BUG: 16029304 Change-Id: Ic33a7178d0df1f05d3626aeb5773ec902254703f Yohei Yukawa2-5/+344
2014-07-07Import translations. DO NOT MERGE•••Change-Id: I4c62cc42d717e52815acf7b4843fdaaef3e191a8 Auto-generated-cl: translation import Baligh Uddin1-4/+4
2014-07-07Move fontNormal flag from Key to Row•••Change-Id: I250da7c82e005ffe2027c528a1df731a1a3cdf47 Tadashi G. Takaoka118-3190/+1484
2014-07-07Fix keyboard layout unit test•••This is a followup of I065824f3fa. Bug: 6911143 Change-Id: I47de962f9fbcfd8bbcd3af2f8005538322ffb932 Tadashi G. Takaoka1-10/+2
2014-07-07Fix Sinhala keyboard layout•••This CL modifes the following points. - add digit hint letters on the 1st row. - remove digit more keys from shifted layout. - use normal font for Sinhala letters. - use auto X scale flag to fix Sinhala letters on a key top. Bug: 6911143 Change-Id: I082ea38529399dce7d99c980e2be07c35d2e912d Tadashi G. Takaoka2-22/+26
2014-07-07Move getPrevWordsInfoFromNthPreviousWord to PrevWordsInfoUtils.•••Bug: 14425059 Change-Id: Id37022ac6c1545d6845abfbcdb7ed47f0e250eec Keisuke Kuroyanagi3-97/+128
2014-07-07Fix Sinhala keyboard for tablet device•••This CL introduces fontDefault flag to keyLabelFlags of Key attribute to reset font specification to keyTypeface attribute. This is a followup of I065824f3fa. Bug: 6911143 Change-Id: I33bd4a23aaea73e2b17175ddd39053ec915d5451 Tadashi G. Takaoka4-7/+18
2014-07-04Add compatibility utility class for LocaleSpan•••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 Yohei Yukawa2-0/+97
2014-07-07Use linked list for bigram list.•••BinaryDictionaryTests for VERSION4_DEV: Before Time: 36.461 After Time: 33.031 Bug: 14425059 Change-Id: I9ca2714f450f61f713df6ebd34c953dece991cdb Keisuke Kuroyanagi6-97/+112
2014-07-04Restore additional subtypes when the package is updated•••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 Yohei Yukawa7-121/+221
2014-07-07Use smaller text size for 5-rows keyboard•••Change-Id: I065824f3fab941560980d3d9387730e4c25eb12b Tadashi G. Takaoka2-2/+2
2014-07-01[HW3] Some refactoring•••Change-Id: I303ce084a56c6ec709d3eab239a4d9d2274d0dea Jean Chalard1-9/+11
2014-07-01[SD9] Add armenian and georgian scripts•••Bug: 15840116 Change-Id: I91719e4fc2e3fe29320e4cb8b1a2f8f93c44cc4d Jean Chalard6-24/+42
2014-07-01[SD8] Add scripts for layouts that are already implemented•••Bug: 15840116 Change-Id: I82b94fb89f18c6f7d88193231e132fbc2ac66685 Jean Chalard8-0/+16
2014-07-01[SD7] Actually check for script.•••...also implement the check for Hebrew and Arabic. Bug: 15840116 Change-Id: Ia6433d7d98038ade64c171be4fe4b3f094111fac Jean Chalard5-19/+68
2014-07-01[SD5(2)] Remove useless args•••Bug: 15840116 Change-Id: I1123426fbd9d420c1be64ccc917a5f870e70e6fa Jean Chalard3-54/+13
2014-06-30[SD4] Restart suggestions on language change•••...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 Jean Chalard3-29/+56
2014-06-30Import translations. DO NOT MERGE•••Change-Id: Ia31613a90afebc810811e603cfdee621c8d47b9c Auto-generated-cl: translation import Baligh Uddin12-0/+324
2014-06-30Import translations. DO NOT MERGE•••Change-Id: Ib559baf38fac9b3389b7cc0ed3714f52d4c2300f Auto-generated-cl: translation import Baligh Uddin11-0/+264