aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-10-03[ML14] Forward the locale list to relevant placesJean Chalard11-90/+126
Bug: 11230254 Change-Id: Idf3ed27b396d63ade9800c72c5ce0ed613f5f669
2014-10-03Use Theme.DeviceDefault.SettingsTadashi G. Takaoka1-1/+1
Bug: 13888366 Change-Id: Ib0bc35462f453438b295f8d4e1bc919ef709bf99
2014-10-03Fix testCharacterTableIsPresent to use BinaryDictUtils.getDictFileAkifumi Yoshimoto2-2/+6
Bug:17097992 Change-Id: Ic26c95fccb63d592883f85fe34f4570f1861b8c3
2014-10-03Simplify dictionary creation in unit tests.Keisuke Kuroyanagi2-388/+131
Change-Id: Id1b41494701f54651d7f79aba426e15cca8d898d
2014-10-03Fix: NPE in unit test.Keisuke Kuroyanagi1-8/+10
Change-Id: I769b43f2afa1151d5c0d9c408018c3932be377dc
2014-10-03Align a compat file for a change in native signatureJean Chalard1-5/+4
Change-Id: I89eb530c1a44e5ea9b5fcb37c792cb8c81d6dc1c
2014-10-03Fix bug of testCharacterTableIsPresent (dicttool test)Akifumi Yoshimoto1-1/+1
Bug:17097992 Change-Id: Ibe343b8cc704631e84ed9d3a39feee30a54bdc38
2014-10-03Use Devanagari Danda letter as full stop on Nepali keyboardTadashi G. Takaoka14-361/+217
Bug: 17741882 Change-Id: I62e8c9a3f194b9a3a6724c7d1a92292b150ddeb9
2014-10-03Fix when to show input viewTadashi G. Takaoka2-6/+27
Bug: 15922840 Bug: 17788786 Change-Id: I69aea682202650b601a295d9da583ef8e05a3982
2014-10-03[ML13] Fix the locale passing in ProximityInfoJean Chalard11-67/+64
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
2014-10-03Remove -fno-inline from profiling build.Keisuke Kuroyanagi1-1/+1
Bug: 17797064 Change-Id: I0ab60e2da8c9f509de472afbc3ad32e41e69e73c
2014-10-03Fix a behavior change in dicttoolJean Chalard2-13/+30
The behavior change was introduced by I8b3458ad. Concretely, empty bigram lists would end up as empty lists instead of null. Change-Id: Ibcdf7e6aabc6aba3f5db0477335882394e050ce5
2014-10-03Add calls to stub for API to consume gesture data.David Faden9-4/+306
Bug: 17400259 Change-Id: Ib3511afffe1d14662e7dd14611f384689516e664
2014-10-03Fix Hindi vowel sign candra E on ICS deviceTadashi G. Takaoka1-1/+1
Change-Id: I160f3c9f8671b6dc8a38a06fe2be50dbb27919a9
2014-10-03Refactor keyboard layout unit testsTadashi G. Takaoka172-987/+1203
- Move predfined keys definitions to AbstractLayerBase and make it a top-level class. - LayoutCustomizer extends AbstractLayoutBase that provides unit tests to access helper method and predefined key easily. - Move shared layout custmizers to new layout.customizer package. - Move private layout customizers to layout classes. Change-Id: I9421cef1bedf5759fb0434842ac13a3fe3320b69
2014-10-02Fix ellipsizing and text scale x calculationTadashi G. Takaoka1-57/+62
Bug: 17742721 Bug: 11158757 Change-Id: I98b55a8e661804e84f75e75675c6f2ef33ac1a11
2014-10-02[ML12] Add a getPrimaryLocale function and some refactoringJean Chalard2-17/+52
Bug: 11230254 Change-Id: Ic579b93702c24f47e6cdb0c9a4da6b11f1fa76c8
2014-10-02Preserve spans when splitting sentencesYohei Yukawa1-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
2014-10-02Fix unnecessary touch event handlingTadashi G. Takaoka1-0/+6
Bug: 17762449 Change-Id: I698ca91ab977aa65c7bd8a5fb82b3d91264cfbca
2014-10-02Switch code point tableAkifumi Yoshimoto1-3/+4
Bug:17097992 Change-Id: I3c1f5ac183ebb5d3757b8ff258655869ab61f2e7
2014-10-02Test for code point table (dicttool test)Akifumi Yoshimoto1-0/+33
Bug:17097992 Change-Id: I269c9aa86378f32083f8688f4ce91862d47dd181
2014-10-02Include a code point table in the binary dictionary.Akifumi Yoshimoto9-74/+162
Bug:17097992 Change-Id: I677a5eb3a704e4386f6573360e44ca335d81d2df
2014-10-02Change package of subtype count unit testTadashi G. Takaoka1-1/+3
Change-Id: Ie191c0607bb8388632fda5d276dd95f962676e3e
2014-10-01Implement updateCounter() by using existing entry adding methods.Keisuke Kuroyanagi13-21/+129
Bug: 14425059 Change-Id: I0b6cb80e1fb8f738e9c7d9e80fbc0c479546b879
2014-10-01Make a better effort to detect a framework lie.Jean Chalard3-17/+35
Bug: 17130496 Change-Id: I1a3631670c152d9b7667c9c4e08e14c48569eef5
2014-10-01Enable preliminary Sinhara keyboard for dogfoodTadashi G. Takaoka2-6/+2
Bug: 6911143 Change-Id: I38241d00567b25d1c6ba352f5b01eb8d8d532e0f
2014-10-01Fix an NPE on ICS factory rom.Jean Chalard1-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
2014-10-01Never include the typed word in recorrectionsJean Chalard2-32/+11
Bug: 17623275 Change-Id: I2461e5e8baf06fb80a05b87f9d3db7a4d1952a01
2014-10-01Add Uzbek keyboardTadashi G. Takaoka15-241/+788
Bug: 13222403 Change-Id: I9a4cf447a8ab0c26c4dc7f7794c57390024660cc
2014-10-01Use Devanagari Danda letter as full stop on Hindi keyboardTadashi G. Takaoka11-206/+247
Bug: 17418371 Change-Id: I22bb2913015a83604301576e68095974c38b7c9a
2014-10-01Add jni method to update entries for a word efficiently.Keisuke Kuroyanagi2-0/+21
Bug: 14425059 Change-Id: Ic628939ea68cdee17573409883a8403c73b78905
2014-10-01Fix when to show more suggestions dot hintTadashi G. Takaoka1-3/+7
Bug: 17742406 Change-Id: Ifdf5d196778da2bb9bb9e3ca9250d23857d90bab
2014-10-01Fix NPE in KeyboardParamsTadashi G. Takaoka1-3/+9
Bug: 17707885 Change-Id: Ie6a54ac5ab60f5d11363ac8da8eef850d65dba7c
2014-10-01Avoid downloading the metadata in quick succession.Jean Chalard4-26/+79
Bug: 17668298 Bug: 8651816 Bug: 17709442 Change-Id: Ib232f9d95d7c01a028be85d10f974a5a570c0ed5
2014-09-30Import translations. DO NOT MERGEBaligh Uddin73-1/+703
Change-Id: I69c02deb213419a95c464fb6ee45646611675d79 Auto-generated-cl: translation import
2014-09-30Import translations. DO NOT MERGEBaligh Uddin57-8/+566
Change-Id: Ic88e7382751ba8505975deb5ae3ef10be1894c0e Auto-generated-cl: translation import
2014-09-30Import translations. DO NOT MERGEBaligh Uddin73-1273/+726
Change-Id: I61b5124ffbdc073a093f55702b773c1cc8fd6046 Auto-generated-cl: translation import
2014-09-30Import translations. DO NOT MERGEBaligh Uddin2-2/+2
Change-Id: Id3f3a910f5503eb21582d5f8eb376948ac753470 Auto-generated-cl: translation import
2014-09-30Import translations. DO NOT MERGEBaligh Uddin57-980/+560
Change-Id: I381b6bea1ff36cce9a4edbbc778bfcf88ea2066f Auto-generated-cl: translation import
2014-09-30Import translations. DO NOT MERGEBaligh Uddin1-1/+1
Change-Id: I3e80f9e306fe210f8f0cb1e56d7306e2b44ee493 Auto-generated-cl: translation import
2014-10-01Move HistoricalInfo to property and use it in *Property.Keisuke Kuroyanagi21-89/+64
Bug: 14425059 Change-Id: Icccccabad98fb543c6a6be2844cfc0086d80b739
2014-10-01Introduce NgramProperty in Java side.Keisuke Kuroyanagi12-43/+105
Bug: 14425059 Change-Id: I8b3458ad22730b3dccbe0caea2c5930f5276dc82
2014-09-30Add StatsUtils#onLoadSettings for when settings are changedJatin Matani2-0/+5
Non-blocking call in nature. Bug:17013677 Change-Id: Iff737422bbacbf22c9b0ff6eaf1c1f75e6bf23c3
2014-09-30Avoid double space when autocorrect is triggeredAdrian Velicu3-3/+32
Bug: 17596034 Change-Id: Iaa6cc066eefd2436195a91791f2628e9a5f1c449
2014-09-30Fix bug of testCodePointTable.Akifumi Yoshimoto2-6/+9
Bug:17097992 Change-Id: Ia26bfceb008f52e2c3b760159c5129b7eca5d6d6
2014-09-29Rename BigramProperty to NgramProperty.Keisuke Kuroyanagi26-101/+96
Remaining work is changing bigram to ngram for supporting ngram entry counting, dumping, and migration. Bug: 14425059 Change-Id: Ifba288a1166996d62a5e57698f63537ea0a2a8ee
2014-09-29Import translations. DO NOT MERGEBaligh Uddin2-3/+3
Change-Id: Iaee29fb909327ab892f1b5c88cac0f9f0bd62ea3 Auto-generated-cl: translation import
2014-09-29Import translations. DO NOT MERGEBaligh Uddin1-2/+2
Change-Id: I2865485fc1e9c76ecdc2f138f04bae77691e8d3f Auto-generated-cl: translation import
2014-09-29Fix NPE due to the lack of null-checkYohei Yukawa2-4/+4
The case that was not coverted well is that CursorAnchorInfoCompatWrapper could be instantiated with null object. In such situations, we should do nothing. BUG: 17682582 Change-Id: I6625a2f0ed8c5580ed9edfe4728f342da77a8e40
2014-09-29Fix verbalizing missing emoticonsTadashi G. Takaoka2-1/+34
Bug: 15585153 Change-Id: I8ae184047558d1a78e20efde0b08e40beb4458b9