aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Extend jni method to dump ngram entries.Keisuke Kuroyanagi2014-10-092-16/+27
| |/ / / | | | | | | | | | | | | | | | | Bug: 14425059 Change-Id: Ib03b58525fae12f254b45630bee31ecbdde227b1
* | | | Merge "Simplify CursorAnchorInfoCompatWrapper"Yohei Yukawa2014-10-094-100/+145
|\ \ \ \
| * | | | Simplify CursorAnchorInfoCompatWrapperYohei Yukawa2014-10-094-100/+145
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this CL, we will use CursorAnchorInfoCompatWrapper just to avoid unexpected NoClassDefFoundError due to the direct dependency CursorAnchorInfo class, which is available only on API level 21 and later. Change-Id: I254ff83f1ca41daa21d0666b5824af22ba529022
* | | | [ML20.1] Move getRichInputMethodSubtype to additional featuresJean Chalard2014-10-091-2/+2
| | | | | | | | | | | | | | | | | | | | Bug: 11230254 Change-Id: I9bc19db5f101eeb6841394fe3637f271c93cbfa7
* | | | Merge "[ML19] Actually switch the language when appropriate"Jean Chalard2014-10-093-7/+20
|\ \ \ \
| * | | | [ML19] Actually switch the language when appropriateJean Chalard2014-10-093-7/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That is, when auto-correcting or when manually picking. This is not great, but it's a good starting point. Bug: 11230254 Change-Id: I07627f48e2de1c28053d6572c7c72625808ec79c
* | | | | Add keyboard shadowTadashi G. Takaoka2014-10-094-7/+120
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL sets 8dp elevation ot input view in order to cast a shadow onto underlying application. Bug: 16210054 Change-Id: I7779c63612fc88e24dde65de3e4e7a45b9d1762f
* | | | Merge "Fix messaging for sync now feature, when no account is selected"Jatin Matani2014-10-081-2/+2
|\ \ \ \
| * | | | Fix messaging for sync now feature, when no account is selectedJatin Matani2014-10-081-2/+2
| |/ / / | | | | | | | | | | | | Change-Id: I5e81b7a1eed9c2177ad3ddfa6c96c2b85c433766
* | | | Merge "Stop dimming main keyboard while showing more keys keyboard"Tadashi G. Takaoka2014-10-081-21/+0
|\ \ \ \
| * | | | Stop dimming main keyboard while showing more keys keyboardTadashi G. Takaoka2014-10-081-21/+0
| |/ / / | | | | | | | | | | | | | | | | Bug: 17910364 Change-Id: Ibe76ee86a43c5939f48e45506c985b3f289eac7a
* | | | Merge "[ML18] Make WordComposer#getAutoCorrection a word info"Jean Chalard2014-10-083-39/+28
|\ \ \ \
| * | | | [ML18] Make WordComposer#getAutoCorrection a word infoJean Chalard2014-10-083-39/+28
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 11230254 Change-Id: I6ad2e7f89862fbfe7af5502961643320c782347f
* | | | | Fix unit test failureKen Wakasa2014-10-081-0/+2
| |/ / / |/| | | | | | | | | | | Change-Id: I5a28c6775385ba3b0b7d86c85064fd28f3cbb353
* | | | Merge "Skeleton code for user dictionary sync"Jatin Matani2014-10-082-1/+60
|\ \ \ \ | |/ / / |/| | |
| * | | Skeleton code for user dictionary syncJatin Matani2014-10-072-1/+60
| |/ / | | | | | | | | | | | | Bug:17464069 Change-Id: If683b80e882c07fba576959346ae74cd445dd83e
* | | Merge "Fix NoClassDefFoundError due to CursorAnchorInfo in K"Yohei Yukawa2014-10-071-0/+5
|\ \ \
| * | | Fix NoClassDefFoundError due to CursorAnchorInfo in KYohei Yukawa2014-10-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check API level before touching CursorAnchorInfo that is only available in L and later. BUG: 17891202 Change-Id: I6e8d2e3f071bd78bed8c1d24ba2b97207dea3044
* | | | [ML17] Add a method to switch the most probable languageJean Chalard2014-10-071-6/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also directly hold a ref to it. It's simpler for now, though we may want to remove it completely later to have a flat, purely weight-based system with no preference. Also split weights between gesturing and typing. Bug: 11230254 Change-Id: Ica15964a193ae6e7f14c85a9a3ed806130fa7efb
* | | | [ML16] Remove DictionaryFacilitator.getLocale()Jean Chalard2014-10-073-16/+16
| | | | | | | | | | | | | | | | | | | | Bug: 11230254 Change-Id: Ife99df42bc145fbd2d5c3128330bc0f88b104de9
* | | | [ML15] First step in removing DictionaryFacilitator.getLocaleJean Chalard2014-10-073-22/+29
|/ / / | | | | | | | | | | | | Bug: 11230254 Change-Id: Ied010ec6f1024080e8a499f682d2fc1780e82ef7
* | | Merge "Quit having obsolete options for ime-simulator."Keisuke Kuroyanagi2014-10-071-4/+0
|\ \ \
| * | | Quit having obsolete options for ime-simulator.Keisuke Kuroyanagi2014-10-061-4/+0
| | | | | | | | | | | | | | | | | | | | Bug: 16547409 Change-Id: I43f5a15153cbd7072fde15764a664ad4d1c6417f
* | | | Merge "Postponing memory deallocation after onFinishInputView"Adrian Velicu2014-10-061-9/+31
|\ \ \ \
| * | | | Postponing memory deallocation after onFinishInputViewAdrian Velicu2014-10-061-9/+31
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 17559789 Change-Id: I1d4b1524028164d27ec4eadd3960b567148f2b84
* | | | | Fix missing prediction words on contextual stripTadashi G. Takaoka2014-10-077-21/+31
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 17874801 Change-Id: Iaba935a6b2548376f10a0ecd80f07ea7ada6c60a
* | | | | Merge "Add a utility method to SuggestionSpanUtils"Yohei Yukawa2014-10-061-0/+28
|\ \ \ \ \
| * | | | | Add a utility method to SuggestionSpanUtilsYohei Yukawa2014-10-061-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a ground work for subsequent CLs. BUG: 16995261 Change-Id: Icbb708a35412a635a0d625b520069840c0bb0904
* | | | | | Merge "[ML14] Forward the locale list to relevant places, again"Jean Chalard2014-10-0611-90/+126
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | [ML14] Forward the locale list to relevant places, againJean Chalard2014-10-0611-90/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Diff: +++ b/java/src/com/android/inputmethod/keyboard/internal/KeyboardBuilder.java @@ -735,7 +735,7 @@ public class KeyboardBuilder<KP extends KeyboardParams> { private boolean matchLocaleCodes(TypedArray caseAttr, final Locale[] locales) { // TODO: adujst this for multilingual input - return matchString(caseAttr, R.styleable.Keyboard_Case_languageCode, locales[0].toString()); + return matchString(caseAttr, R.styleable.Keyboard_Case_localeCode, locales[0].toString()); } private boolean matchLanguageCodes(TypedArray caseAttr, Locale[] locales) { Change-Id: Icefac18dd6d5fea97f591177cf8df1ba6de7f4f0
* | | | | | Merge "Remove ENABLE_CURSOR_ANCHOR_INFO_CALLBACK"Yohei Yukawa2014-10-062-12/+8
|\ \ \ \ \ \
| * | | | | | Remove ENABLE_CURSOR_ANCHOR_INFO_CALLBACKYohei Yukawa2014-10-062-12/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can now start relying on L APIs even in unbundled release. This means ENABLE_CURSOR_ANCHOR_INFO_CALLBACK can be always true. Hence we simply remove it. Change-Id: I0353e992e97e252059f83accea100504594bf171
* | | | | | | Merge "Update setup wizard video and image of AOSP"Tadashi G. Takaoka2014-10-062-4/+5
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Update setup wizard video and image of AOSPTadashi G. Takaoka2014-10-062-4/+5
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | Bug: 17769384 Change-Id: I23748bce17566aad1693ff56e8c04f493f957f84
* | | | | | Merge "Refactor custom input style settings"Tadashi G. Takaoka2014-10-061-31/+23
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | Refactor custom input style settingsTadashi G. Takaoka2014-10-061-31/+23
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | This CL removes references of Pair class. Change-Id: I7cda0ac438ac1d5026599cb52ac2ea8845339da9
* | | | | Merge "Add unittest for SuggestionSpanUtils"Yohei Yukawa2014-10-061-1/+6
|\ \ \ \ \
| * | | | | Add unittest for SuggestionSpanUtilsYohei Yukawa2014-10-061-1/+6
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds unittest for SuggestionSpanUtils for subsequent CLs. No behavior change is intended in this CL. BUG: 16995261 Change-Id: I90d1591cab893a1421ca633963b7c8f00a5fe4b4
* | | | | Make UserHistoryDictionary use updateEntriesForWordWithNgramContext()Keisuke Kuroyanagi2014-10-064-49/+52
| |/ / / |/| | | | | | | | | | | | | | | Bug: 14425059 Change-Id: I409ebf90f68f4a0f1638128ac5ee6af859323d30
* | | | Make unit tests use new entry updating method.Keisuke Kuroyanagi2014-10-061-0/+20
|/ / / | | | | | | | | | | | | Bug: 14425059 Change-Id: Ie7d92e92822a0d3a8b654d213e55d45aab799f5d
* / / Revert "[ML14] Forward the locale list to relevant places"Ken Wakasa2014-10-0311-126/+90
|/ / | | | | | | | | | | | | | | | | | | This reverts commit 15dbd38283fc9c8fdfd2540f1d94d4dbf2eabcb5. Bug: 11230254 Reverting due to unit test breakage. Change-Id: Icf29ba5c808c754515aef2d1b4162d72f606acfe
* | [ML14] Forward the locale list to relevant placesJean Chalard2014-10-0311-90/+126
| | | | | | | | | | Bug: 11230254 Change-Id: Idf3ed27b396d63ade9800c72c5ce0ed613f5f669
* | Use Devanagari Danda letter as full stop on Nepali keyboardTadashi G. Takaoka2014-10-031-98/+102
| | | | | | | | | | Bug: 17741882 Change-Id: I62e8c9a3f194b9a3a6724c7d1a92292b150ddeb9
* | Merge "Fix a behavior change in dicttool"Jean Chalard2014-10-031-8/+23
|\ \
| * | Fix a behavior change in dicttoolJean Chalard2014-10-031-8/+23
| | | | | | | | | | | | | | | | | | | | | The behavior change was introduced by I8b3458ad. Concretely, empty bigram lists would end up as empty lists instead of null. Change-Id: Ibcdf7e6aabc6aba3f5db0477335882394e050ce5
* | | Merge "[ML13] Fix the locale passing in ProximityInfo"Jean Chalard2014-10-032-22/+13
|\ \ \
| * | | [ML13] Fix the locale passing in ProximityInfoJean Chalard2014-10-032-22/+13
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The locale is used to determine additional proximity characters. This is dependent on the dictionary language, but was passed as a function of the layout, which is wrong and would have given bad suggestions in multi-lingual mode. Ideally, additional proximity characters should be inserted in the dictionary header, but for now it's a rather simple change to get it from the dictionary's locale instead of the proximity info locale. Also, that allows us to remove completely the locale parameter from proximity info, which is a much needed change. This change has zero effect on unit tests and on regression tests. Bug: 11230254 Change-Id: If95157155db7dccd1f00b8ba55ccb3600283f9e4
* / / Fix when to show input viewTadashi G. Takaoka2014-10-032-6/+27
|/ / | | | | | | | | | | Bug: 15922840 Bug: 17788786 Change-Id: I69aea682202650b601a295d9da583ef8e05a3982
* | Add calls to stub for API to consume gesture data.David Faden2014-10-036-4/+138
| | | | | | | | | | Bug: 17400259 Change-Id: Ib3511afffe1d14662e7dd14611f384689516e664
* | Fix ellipsizing and text scale x calculationTadashi G. Takaoka2014-10-021-57/+62
| | | | | | | | | | | | Bug: 17742721 Bug: 11158757 Change-Id: I98b55a8e661804e84f75e75675c6f2ef33ac1a11