aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | 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 "[ML14] Forward the locale list to relevant places, again"Jean Chalard2014-10-065-68/+71
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | [ML14] Forward the locale list to relevant places, againJean Chalard2014-10-065-68/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* / / / / 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-035-71/+68
|/ / | | | | | | | | | | | | | | | | | | 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-035-68/+71
| | | | | | | | | | Bug: 11230254 Change-Id: Idf3ed27b396d63ade9800c72c5ce0ed613f5f669
* | 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
* | | Fix when to show input viewTadashi G. Takaoka2014-10-031-4/+24
|/ / | | | | | | | | | | 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
* | Merge "Preserve spans when splitting sentences"Yohei Yukawa2014-10-021-3/+2
|\ \
| * | Preserve spans when splitting sentencesYohei Yukawa2014-10-021-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL fixes a bug that span information was unintentionally removed when given sentences are split into words. Nothing is changed in KitKat and prior because TextInfo never returns spanned text until L. Note that the spell checker service still doesn't rely on span information even with this CL. BUG: 16419551 Change-Id: I6ffb75ee6add4ae20e9d3dcfb90b65f097d70fba
* | | Merge "[ML12] Add a getPrimaryLocale function and some refactoring"Jean Chalard2014-10-022-17/+52
|\ \ \
| * | | [ML12] Add a getPrimaryLocale function and some refactoringJean Chalard2014-10-022-17/+52
| | | | | | | | | | | | | | | | | | | | Bug: 11230254 Change-Id: Ic579b93702c24f47e6cdb0c9a4da6b11f1fa76c8
* | | | Merge "Include a code point table in the binary dictionary."Akifumi Yoshimoto2014-10-021-1/+3
|\ \ \ \
| * | | | Include a code point table in the binary dictionary.Akifumi Yoshimoto2014-10-021-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Bug:17097992 Change-Id: I677a5eb3a704e4386f6573360e44ca335d81d2df
* | | | | Fix unnecessary touch event handlingTadashi G. Takaoka2014-10-021-0/+6
| |/ / / |/| | | | | | | | | | | | | | | Bug: 17762449 Change-Id: I698ca91ab977aa65c7bd8a5fb82b3d91264cfbca
* | | | Merge "Never include the typed word in recorrections"Jean Chalard2014-10-012-32/+11
|\ \ \ \ | |_|/ / |/| | |
| * | | Never include the typed word in recorrectionsJean Chalard2014-10-012-32/+11
| | | | | | | | | | | | | | | | | | | | Bug: 17623275 Change-Id: I2461e5e8baf06fb80a05b87f9d3db7a4d1952a01
* | | | Merge "Make a better effort to detect a framework lie."Jean Chalard2014-10-013-17/+35
|\ \ \ \
| * | | | Make a better effort to detect a framework lie.Jean Chalard2014-10-013-17/+35
| |/ / / | | | | | | | | | | | | | | | | Bug: 17130496 Change-Id: I1a3631670c152d9b7667c9c4e08e14c48569eef5
* | | | Merge "Fix an NPE on ICS factory rom."Jean Chalard2014-10-011-2/+4
|\ \ \ \
| * | | | Fix an NPE on ICS factory rom.Jean Chalard2014-10-011-2/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In ICS factory rom and MR0, there was a bug where calling the constructor for SuggestionSpan that doesn't take a context as an argument would always return in a crash. Don't call it, and pass an explicit context instead. Bug: 13552505 Change-Id: I5c919499b9d086c2cf283795b2af5b91cb425933
* | | | Merge "Add jni method to update entries for a word efficiently."Keisuke Kuroyanagi2014-10-011-0/+3
|\ \ \ \
| * | | | Add jni method to update entries for a word efficiently.Keisuke Kuroyanagi2014-10-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 14425059 Change-Id: Ic628939ea68cdee17573409883a8403c73b78905
* | | | | Merge "Fix when to show more suggestions dot hint"Tadashi G. Takaoka2014-10-011-3/+7
|\ \ \ \ \
| * | | | | Fix when to show more suggestions dot hintTadashi G. Takaoka2014-10-011-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 17742406 Change-Id: Ifdf5d196778da2bb9bb9e3ca9250d23857d90bab
* | | | | | Merge "Introduce NgramProperty in Java side."Keisuke Kuroyanagi2014-10-014-21/+79
|\ \ \ \ \ \ | | |/ / / / | |/| / / / | |_|/ / / |/| | | |
| * | | | Introduce NgramProperty in Java side.Keisuke Kuroyanagi2014-10-014-21/+79
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 14425059 Change-Id: I8b3458ad22730b3dccbe0caea2c5930f5276dc82
* | | | | Merge "Add StatsUtils#onLoadSettings for when settings are changed"Jatin Matani2014-10-011-0/+2
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Add StatsUtils#onLoadSettings for when settings are changedJatin Matani2014-09-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Non-blocking call in nature. Bug:17013677 Change-Id: Iff737422bbacbf22c9b0ff6eaf1c1f75e6bf23c3
* | | | | Avoid double space when autocorrect is triggeredAdrian Velicu2014-09-301-1/+9
| |_|/ / |/| | | | | | | | | | | | | | | Bug: 17596034 Change-Id: Iaa6cc066eefd2436195a91791f2628e9a5f1c449
* | | | Merge "Create a code point table based on occurrence counts."Akifumi Yoshimoto2014-09-292-0/+3
|\ \ \ \ | |_|/ / |/| | |
| * | | Create a code point table based on occurrence counts.Akifumi Yoshimoto2014-09-262-0/+3
| | | | | | | | | | | | | | | | | | | | Bug:17097992 Change-Id: Ifd76dbd4d385d800af416368e25c9e56a76d0fbf