aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-07-07Move fontNormal flag from Key to RowTadashi G. Takaoka118-3190/+1484
Change-Id: I250da7c82e005ffe2027c528a1df731a1a3cdf47
2014-07-07Fix keyboard layout unit testTadashi G. Takaoka1-10/+2
This is a followup of I065824f3fa. Bug: 6911143 Change-Id: I47de962f9fbcfd8bbcd3af2f8005538322ffb932
2014-07-07Move getPrevWordsInfoFromNthPreviousWord to PrevWordsInfoUtils.Keisuke Kuroyanagi3-97/+128
Bug: 14425059 Change-Id: Id37022ac6c1545d6845abfbcdb7ed47f0e250eec
2014-07-07Fix Sinhala keyboard for tablet deviceTadashi G. Takaoka4-7/+18
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
2014-07-07Fix Sinhala keyboard layoutTadashi G. Takaoka2-22/+26
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
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-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-07Use smaller text size for 5-rows keyboardTadashi G. Takaoka2-2/+2
Change-Id: I065824f3fab941560980d3d9387730e4c25eb12b
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-04Remove dead code to fix test failure due to NoSuchMethodErrorYohei Yukawa2-67/+0
This CL removes following methods from StringUtils, which are no longer used since Id3c262386a7bc7ed75966b1395a50171abe550d3. - #joinCommaSplittableText - #appendToCommaSplittableTextIfNotExists BUG: 16000850 Change-Id: Ibdc9b7e463a19cdfac788b24c0a6322d0c5850c5
2014-07-01[HW5] Make the word composer package private.Jean Chalard2-11/+20
Change-Id: I66ed277751272eb3ae2fd5e55e9f3e413970082f
2014-07-01[HW4] Move a reference to WordComposer out of LatinIMEJean Chalard2-11/+11
Change-Id: I5436432c0da86ed1e33b3c9d40204f4ea013ff55
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[SD6] Inline a constant and remove logic become uselessJean Chalard1-21/+8
Bug: 15840116 Change-Id: I545cc9083aa4e2fd7cbbd1fbc02e1e382482db7c
2014-07-01[SD5(2)] Remove useless argsJean Chalard3-54/+13
Bug: 15840116 Change-Id: I1123426fbd9d420c1be64ccc917a5f870e70e6fa
2014-07-01Update dictionariesJean Chalard2-0/+0
>>> dictionaries/es_wordlist.combined.gz Header : date : 1403847862 <=> 1404131686 version : 48 <=> 49 Body : Added: apurate 50 Added: bondi 50 Added: chamuyar 50 Added: conocela 50 Added: conocelo 50 Added: conoceme 50 Added: conocenos 50 Added: conocete 50 Added: copate 50 Added: creele 50 Added: creeme 50 Added: creenos 50 Added: creete 50 Added: creiste 50 Added: creés 50 Added: dale 50 Added: dame 50 Added: danos 50 Added: decile 50 Added: decime 50 Added: decinos 50 Added: estate 50 Added: hablale 50 Added: hablales 50 Added: hablame 50 Added: hablanos 50 Added: hablate 50 Added: hablá 50 Added: hacele 50 Added: haceme 50 Added: hacenos 50 Added: hacete 50 Added: hacés 50 Added: llegás 50 Added: llevale 50 Added: llevame 50 Added: llevanos 50 Added: llevate 50 Added: llevá 50 Added: llevás 50 Added: parecé 50 Added: parecés 50 Added: pasala 50 Added: pasale 50 Added: pasales 50 Added: pasalo 50 Added: pasame 50 Added: pasanos 50 Added: pasate 50 Added: pasás 50 Added: podés 50 Added: ponele 50 Added: poneme 50 Added: ponenos 50 Added: ponete 50 Added: quedá 50 Added: querela 50 Added: querelo 50 Added: quereme 50 Added: querenos 50 Added: querete 50 Added: querés 50 Added: rascate 50 Added: sabelo 50 Added: sabés 50 Added: tenele 50 Added: teneme 50 Added: tenenos 50 Added: tenete 50 Added: tenés 50 >>> java/res/raw/main_es.dict Header : date : 1403847862 <=> 1404131686 version : 48 <=> 49 Body : Same changes Bug: 8010862 Change-Id: I98fc8542e21e35a7c80b332148c461144425e61a
2014-07-01[HW2] Have a script for hardware keyboardJean Chalard2-0/+8
Change-Id: I3ee85867c529156374ecc17db3243a50912e760b
2014-07-01Revert "[SD5] Remove useless args"Ken Wakasa2-3/+18
This reverts commit 1d300239612591879d535c20ade1f2712048170e that broke the build. Bug: 15840116 Change-Id: I0a5fa7dea2b418d19df24b2b31ed96bf192d45c0
2014-06-30[SD5] Remove useless argsJean Chalard2-18/+3
Bug: 15840116 Change-Id: Ib3380cfc9d343c6f8953bba03af3801142bc3bdb
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-30Fix testsJean Chalard4-46/+40
Change-Id: I12ba56d021b50c03dc62e3f3c8db3ecada2f6a4b
2014-06-30[CS6] Cut out methods to clarify what we are doingJean Chalard1-39/+45
Bug: 13238601 Change-Id: I99cc62e91b1e89130358fded572987023d919507
2014-06-27[SD3] Forward the script ID to where it will be usedJean Chalard6-24/+42
Bug: 15840116 Change-Id: If2073e76fed74ae6e1cdd7670013e0e985b0e630
2014-06-27[SD2] Add support for a new tag Feature in KeyboardLayoutSetJean Chalard4-0/+40
Bug: 15840116 Change-Id: I3abbe4ce1ae573e9c5f1a8a96dc0056e8889d507
2014-06-27Use Settings app's theme for L and laterTadashi G. Takaoka4-6/+23
This CL must be checked in together with I506b9ae6ea. Bug: 11866784 Change-Id: I00aa90618642758c783f7c92f162dc2ee16659a6
2014-06-26Import translations. DO NOT MERGEBaligh Uddin40-782/+392
Change-Id: I6c420e3dd4a97a1b7590c52bdd60c54e6e00f4de Auto-generated-cl: translation import
2014-06-26Import translations. DO NOT MERGEBaligh Uddin57-591/+1293
Change-Id: I2403c927d69e510a4ca2053041d80bfd9777471e Auto-generated-cl: translation import
2014-06-26Import translations. DO NOT MERGEBaligh Uddin39-78/+39
Change-Id: I4c6ef95873ed739c15f4ebee4d0aadb1186437d5 Auto-generated-cl: translation import
2014-06-26Import translations. DO NOT MERGEBaligh Uddin40-11/+8123
Change-Id: I664e4afdb71b6b040ac34dc1d47b5e75e3888e88 Auto-generated-cl: translation import
2014-06-27Support performAccessibilityAction for CLICK and LONG_CLICKTadashi G. Takaoka4-27/+47
Bug: 15727335 Change-Id: I83274c1a9d3cf2e8237d1674fe915b7b2d222a53
2014-06-27Add preliminary subtypes disabled for L-previewTadashi G. Takaoka5-14/+10
Bug: 13966540 Bug: 13779052 Bug: 10028772 Bug: 7963632 Change-Id: Ieec809f2d391e90b1ec547a3a89e929db47a5ed1
2014-06-27Revert "Move getPrevWordsInfoFromNthPreviousWord to StringUtlis."Ken Wakasa3-99/+97
This reverts commit ba463c9a66f75e8d00f4658e32b763eb54215231 that broke the dicttool build. Bug: 14425059 Change-Id: Ie1685587104d26e4416624747c97f6087c13388a
2014-06-27Move getPrevWordsInfoFromNthPreviousWord to StringUtlis.Keisuke Kuroyanagi3-97/+99
Bug: 14425059 Change-Id: I3eb24e840c165e43f68c2a60fccf9974affb57a6
2014-06-27Find multiple previous word information to support n-gram.Keisuke Kuroyanagi4-58/+108
Bug: 14425059 Change-Id: Ieace636334a9b2a094527341d4fcfc05958296c5
2014-07-01Fix a unit testJean Chalard3-14/+52
When switching languages, we need to wait until the dictionary is loaded to compute suggestions. Change-Id: I7c32a900b297cd6302bfdc020842581315f3007f
2014-07-01Revert "[SD6] Inline a constant and remove logic become useless"Ken Wakasa1-8/+21
This reverts commit 2a5824a63b244d1e5b18e512bc8dfb34f795f579 that broke the build. Bug: 15840116 Change-Id: Ife11050394f3ed90e39d835b92732e1b6af83249
2014-06-30[SD6] Inline a constant and remove logic become uselessJean Chalard1-21/+8
Bug: 15840116 Change-Id: I04b9d6bd45d9e806c268fa8ecb4653f8af729095
2014-06-27Add Sinhala keyboard layoutTadashi G. Takaoka12-116/+898
Bug: 6911143 Change-Id: I9ff87ece3e68381c0e9855106e7320c227f09965
2014-06-27[CS5] Use a local var to keep the first suggestionJean Chalard1-6/+7
Bug: 13238601 Change-Id: Ida8973945e8b141d01ea9d1825b89d84f0911575
2014-06-27Add a relevant suggestion to period-checkable requestsJean Chalard3-4/+6
Bug: 15412461 Change-Id: Ibf37df4d31141a7e43b54d6342e7861eedb1c03b
2014-06-27Remove unused method.Keisuke Kuroyanagi2-28/+0
Bug: 13664080 Change-Id: I47fd90f01ea9a18b11037c966150fa5fd926101b
2014-06-27Update the Spanish dictionaryJean Chalard2-0/+0
>>> dictionaries/es_wordlist.combined.gz Header : date : 1403153360 <=> 1403847862 version : 47 <=> 48 Body : Added: bañate 30 Added: correte 30 Added: duchate 30 Added: mostrame 40 Added: muestrame 40 Added: prestame 40 Added: sos 100 >>> java/res/raw/main_es.dict Header : date : 1403153360 <=> 1403847862 version : 47 <=> 48 Body : Added: bañate 30 Added: correte 30 Added: duchate 30 Added: mostrame 40 Added: muestrame 40 Added: prestame 40 Added: sos 100 Bug: 8010862 Change-Id: I0a478b5fd5edfadea420f306dc9b2d98876c246e
2014-06-27Revert "Use Settings app's theme for L and later"Mikhail Naganov4-23/+6
This reverts commit 80c47b2f7961a5a8de1c6ec5751c04d15d42122a. Change-Id: I69619bd9856d4133794597a0cf81cc121e3a7887
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