aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge "Add two convenient utility methods for L new API" into lmp-devYohei Yukawa2014-07-181-6/+70
|\
| * Add two convenient utility methods for L new APIYohei Yukawa2014-07-191-6/+70
| | | | | | | | | | | | | | | | | | This CL adds two convenient utility methods for InputConnection#requestCursorAnchorInfo to encapsulate a bit complicated parameter construction. BUG: 16382260 Change-Id: Ib11e3bd15a4edcb602c08ff830b2fb7b34ec00da
* | Remove unused Key.keyLabelFlags' valuesTadashi G. Takaoka2014-07-192-75/+4
| | | | | | | | Change-Id: Iae3cd6674448f258ee0a4bf2966bf3c347876b4f
* | Enable StringUtils to split CharSequence like String#splitYohei Yukawa2014-07-191-0/+52
|/ | | | | | | | | | | | This is a groundwork for enabling LocaleSpan. To enable LocaleSpan everywhere, we need to switch to CharSequence from String so that Span infromation can be preserved end-to-end. To achieve this, we need to have CharSequence version of String#split. BUG: 16029304 Change-Id: I0dd103185dcf62fb1e25054a374340790e6a4678
* Clean up under the util package.Ken Wakasa2014-07-183-441/+0
| | | | | | | - Move util classes that are unused in AOSP - Remove unused methods Change-Id: Ic97fd313f1e2bafd50609d42aa3a2d090b63eafc
* Add a compatibility library for newly added methods in LYohei Yukawa2014-07-181-0/+70
| | | | | | | | | This CL adds an compatibility library for InputConnection#requestCursorAnchorInfo method that is supposed to be available in L and later. BUG: 16382260 Change-Id: I68be0c56b9fd929546e8706ccece938ae4f33339
* Rename ProductionFlag to ProductionFlagsTadashi G. Takaoka2014-07-165-11/+11
| | | | Change-Id: I5da2dbf8828fa0e176e7c2496392a5f561ebfe20
* Merge "Rename LatinImeLogger to DebugFlags" into lmp-devTadashi G. Takaoka2014-07-1619-40/+53
|\
| * Rename LatinImeLogger to DebugFlagsTadashi G. Takaoka2014-07-1619-40/+53
| | | | | | | | | | Bug: 15318007 Change-Id: Ic0268fd12865c9a692a5e7110a9beb76cb8b6d7f
* | Use SwitchPreference for spell checker settingTadashi G. Takaoka2014-07-162-13/+7
|/ | | | | | | This is a follow up of I1f7214c689. Bug: 15781377 Change-Id: I7289b8b724e086da80ab3849cc567560c1a8502d
* Track crashing during migration to avoid crash loop. DO NOT MERGE.Keisuke Kuroyanagi2014-07-141-11/+29
| | | | | | | Bug: 16213554 Bug: 16235703 Change-Id: Ib29b1a84b4c6ebae06d3dc6448f3c274ec6a7aab (cherry picked from commit 1d6024d2f8051271e3c9abc1285d989114f5f1d7)
* Use SwitchPreference on API versions newer than KitKatTadashi G. Takaoka2014-07-133-4/+87
| | | | | Bug: 15781377 Change-Id: I1f7214c689006b1088249783eb614b6f0fbf2ee7
* Merge "Remove SuggestionsGatherer."Keisuke Kuroyanagi2014-07-093-98/+67
|\
| * Remove SuggestionsGatherer.Keisuke Kuroyanagi2014-07-103-98/+67
| | | | | | | | | | | | Bug: 13689011 Bug: 13630847 Change-Id: I9930d5ce9cbe16489dc69f68b9590d72afe463b5
* | Merge "Quit sorting suggestions in AndroidSpellCheckerService."Keisuke Kuroyanagi2014-07-092-55/+19
|\|
| * Quit sorting suggestions in AndroidSpellCheckerService.Keisuke Kuroyanagi2014-07-102-55/+19
| | | | | | | | | | | | | | | | Suggestions have been sorted in SuggestionResults. Bug: 13689011 Change-Id: Iec21e97119ceb7c71673d5b15bb1f06040b59fef
* | Merge "Make spell checker use dictionary facilitator."Keisuke Kuroyanagi2014-07-096-537/+236
|\|
| * Make spell checker use dictionary facilitator.Keisuke Kuroyanagi2014-07-106-537/+236
| | | | | | | | | | Bug: 13630847 Change-Id: I07d17ccf5ce0755f63a0b8d236d77600baaf62b6
* | Add Material Light themeTadashi G. Takaoka2014-07-101-2/+5
| | | | | | | | | | Bug: 15782668 Change-Id: Id2ae47cfb2065d73f13701b9c6a041129dfd08ae
* | Simplify the wrapper for TextInfo#getCharSequenceYohei Yukawa2014-07-091-3/+11
| | | | | | | | | | | | | | | | | | This CL simplifies the wrapper method for TextInfo#getCharSequence() because in the almost all cases we want to use the result of TextInfo#getText() as the default value. BUG: 16029304 Change-Id: I62f987aed8ca42b093255e6c0703d6120fa01299
* | Fix alphabet label of Kannada and TeluguTadashi G. Takaoka2014-07-091-8/+8
| | | | | | | | | | | | Bug: 10029252 Bug: 10028759 Change-Id: Iea9cc1b7cafa97280503b0236b005cea57ba2c3d
* | Add Telugu keyboardTadashi G. Takaoka2014-07-091-78/+95
| | | | | | | | | | Bug: 10028759 Change-Id: Id1bf030a9928124ead695aa7bf76db48ca58de4b
* | Add Kannada keyboardTadashi G. Takaoka2014-07-091-71/+86
| | | | | | | | | | Bug: 10029252 Change-Id: Ia03ff886f9e62a2fe228fe59b504b033eead7631
* | Merge "Add Malayalam keyboard"Tadashi G. Takaoka2014-07-021-70/+88
|\ \
| * | Add Malayalam keyboardTadashi G. Takaoka2014-07-081-70/+88
| | | | | | | | | | | | | | | Bug: 10417006 Change-Id: Ieb03fe1f08c85417b5d9ad4d62c8a5bc6d0632bc
* | | Add a compatibility utility class for TextInfoYohei Yukawa2014-07-081-0/+59
|/ / | | | | | | | | | | | | | | | | | | This is a groundwork for enabling LocaleSpan support in spell checker service. TextInfo#getCharSequence is supposed to be available in API Level 21 and later. We need some abstraction layer as usual. BUG: 16029304 Change-Id: Iafbf2877db393dbd040295c21d429334e3a13a5f
* | Merge "Add Tamil keyboard"Tadashi G. Takaoka2014-07-021-2/+20
|\ \
| * | Add Tamil keyboardTadashi G. Takaoka2014-07-081-2/+20
| | | | | | | | | | | | | | | Bug: 9978106 Change-Id: I226e640fe453076063121176121ed5923d1ccfa1
* | | Use bn-rIN resource directory for Bengali (India)Tadashi G. Takaoka2014-07-081-3/+3
|/ / | | | | | | | | Bug: 10028755 Change-Id: I552ad3b30d359b79c48cde4912d796c532b42b51
* | Merge "Remove unused keyPreviewIcon attributes"Tadashi G. Takaoka2014-07-023-23/+9
|\ \ | |/ |/|
| * Remove unused keyPreviewIcon attributesTadashi G. Takaoka2014-07-083-23/+9
| | | | | | | | | | | | This CL also removes unused tabKeyPreview icon. Change-Id: Ia69ba9c3d7c67ccb8983275bed262292eb422db2
* | Merge "Move phrase gesture from additional features to public."Keisuke Kuroyanagi2014-07-0214-47/+95
|\ \
| * | Move phrase gesture from additional features to public.Keisuke Kuroyanagi2014-07-0814-47/+95
| |/ | | | | | | | | Bug: 15758242 Change-Id: I703dc2703afdf9402c5d2ac27411b74ece993dba
* / Fix Armenian comma on phone deviceTadashi G. Takaoka2014-07-081-56/+59
|/ | | | | Bug: 7963631 Change-Id: Ia28b4020652174daa2731b3eed7636db9639c6b6
* Merge "Ensure each character is coverted by at most one LocaleSpan"Yohei Yukawa2014-07-021-5/+170
|\
| * Ensure each character is coverted by at most one LocaleSpanYohei Yukawa2014-07-071-5/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fix Sinhala keyboard for tablet deviceTadashi G. Takaoka2014-07-071-5/+10
| | | | | | | | | | | | | | | | | | | | 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
* | Move getPrevWordsInfoFromNthPreviousWord to PrevWordsInfoUtils.Keisuke Kuroyanagi2014-07-072-76/+106
|/ | | | | Bug: 14425059 Change-Id: Id37022ac6c1545d6845abfbcdb7ed47f0e250eec
* Merge "Restore additional subtypes when the package is updated"Yohei Yukawa2014-07-026-120/+220
|\
| * Restore additional subtypes when the package is updatedYohei Yukawa2014-07-046-120/+220
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Add Bengali keyboard layout"Tadashi G. Takaoka2014-07-021-174/+212
|\ \
| * | Add Bengali keyboard layoutTadashi G. Takaoka2014-07-041-174/+212
| | | | | | | | | | | | | | | | | | | | | This is a preliminary keyboard layout. Bug: 10028755 Change-Id: I365fb8e942a60d4b690a4af95fcd35bf73fffbe4
* | | Merge "Add compatibility utility class for LocaleSpan"Yohei Yukawa2014-07-021-0/+59
|\ \ \
| * | | Add compatibility utility class for LocaleSpanYohei Yukawa2014-07-041-0/+59
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | 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
* / | Remove dead code to fix test failure due to NoSuchMethodErrorYohei Yukawa2014-07-041-25/+0
|/ / | | | | | | | | | | | | | | | | | | This CL removes following methods from StringUtils, which are no longer used since Id3c262386a7bc7ed75966b1395a50171abe550d3. - #joinCommaSplittableText - #appendToCommaSplittableTextIfNotExists BUG: 16000850 Change-Id: Ibdc9b7e463a19cdfac788b24c0a6322d0c5850c5
* / Additional subtype ID should be independent of OS-versionYohei Yukawa2014-07-044-52/+114
|/ | | | | | | | | | | | | | | | | | | | | 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
* Merge "[HW5] Make the word composer package private."Ken Wakasa2014-06-262-11/+20
|\
| * [HW5] Make the word composer package private.Jean Chalard2014-07-012-11/+20
| | | | | | | | Change-Id: I66ed277751272eb3ae2fd5e55e9f3e413970082f
* | Merge "[HW4] Move a reference to WordComposer out of LatinIME"Jean Chalard2014-06-262-11/+11
|\|
| * [HW4] Move a reference to WordComposer out of LatinIMEJean Chalard2014-07-012-11/+11
| | | | | | | | Change-Id: I5436432c0da86ed1e33b3c9d40204f4ea013ff55