aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Set up a sync preference and policy for syncing [2]Sandeep Siddhartha2014-10-101-0/+67
| | | | | | | | | | | | - Adds a preference for enabling sync, which controls the sync behavior - Make the ProductionFlags depend on appropriate flags to guarantee that we don't mess things when flipping some flags - Preferences now control the "syncable" property of the provider thereby controlling the policy and when this entry shows up in system settings. Bug: 17464069 Change-Id: I1d58351188518c1ae9f1f9e147b5ea15d32a3427
* Don't restore device specific preferencesSandeep Siddhartha2014-10-101-5/+6
| | | | | | | | | | | | | | | There are two categories of preferences: 1. That are part of the default shared preference They were all getting backed up and restored. Added a blacklist to not restore some of these. e.g. current account 2. That are in a non-default shared preference file. These are not getting backed up currently, but added a specific local preference file for all such preferences. Bug: 17288591 Change-Id: I2f748be971a2337543e5014434aa39313fd1e1d8
* Fixing keyboard theme selectionTadashi G. Takaoka2014-10-101-0/+26
| | | | | Bug: 17937287 Change-Id: I476045980843c5897820cd544daea06fa991acb5
* Merge "Changes related Sync Engine library that communicates to cloud server"Jatin Matani2014-10-092-44/+47
|\
| * Changes related Sync Engine library that communicates to cloud serverJatin Matani2014-10-092-44/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | This change updates some of the code that the library uses to communicate with the cloud server Specifically : - Update BlockingHttpClient to use template ResponseProcessor - Update HttpUrlConnectionBuilder to setAuthToken for HttpUrlConnection Bug: 17464069 Bug: 17464805 Change-Id: I7d7b58dff594b920162f799d102e8582ff9fe6a4
* | Always show the typed word in recorrections.Jean Chalard2014-10-091-37/+8
| | | | | | | | | | | | | | Bug: 11330140 Bug: 17875601 Bug: 17623275 Change-Id: Ie4620f36f312c54c7b01b5f6cbdb0bc9171b6179
* | [ML19] Actually switch the language when appropriateJean Chalard2014-10-091-1/+7
|/ | | | | | | | 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
* [ML16] Remove DictionaryFacilitator.getLocale()Jean Chalard2014-10-071-3/+3
| | | | | Bug: 11230254 Change-Id: Ife99df42bc145fbd2d5c3128330bc0f88b104de9
* Merge "Postponing memory deallocation after onFinishInputView"Adrian Velicu2014-10-062-0/+52
|\
| * Postponing memory deallocation after onFinishInputViewAdrian Velicu2014-10-062-0/+52
| | | | | | | | | | Bug: 17559789 Change-Id: I1d4b1524028164d27ec4eadd3960b567148f2b84
* | Merge "Add a utility method to SuggestionSpanUtils"Yohei Yukawa2014-10-061-0/+26
|\ \
| * | Add a utility method to SuggestionSpanUtilsYohei Yukawa2014-10-061-0/+26
| | | | | | | | | | | | | | | | | | | | | This is a ground work for subsequent CLs. BUG: 16995261 Change-Id: Icbb708a35412a635a0d625b520069840c0bb0904
* | | Remove preliminary subtypes from E-MR1 releaseTadashi G. Takaoka2014-10-0611-42/+73
| | | | | | | | | | | | | | | | | | | | | | | | Note that unit test for Sinhala (Sri Lanka) and Tamil (Sri Lanka) have been unexpectedly @suppressed. Bug: 17743363 Change-Id: I4076a61adbf2d4aee58417d0c354b8ef4a938668
* | | Merge "[ML14] Forward the locale list to relevant places, again"Jean Chalard2014-10-064-20/+37
|\ \ \
| * | | [ML14] Forward the locale list to relevant places, againJean Chalard2014-10-064-20/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 "Revert "Remove preliminary subtypes from E-MR1 release""Ken Wakasa2014-10-068-16/+16
|\ \ \ \ | |_|_|/ |/| | |
| * | | Revert "Remove preliminary subtypes from E-MR1 release"Ken Wakasa2014-10-068-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 704db5f003eabaee8dcd80838e563865083b73a9. Bug: 17743363 Reverting due to unit test breakage.. Change-Id: Ie7c1e86e50af2a05b4b7877092122dc4f026aa54
* | | | Merge "Make sure to suppress BoS prediction until input twice."Keisuke Kuroyanagi2014-10-061-1/+4
|\ \ \ \
| * | | | Make sure to suppress BoS prediction until input twice.Keisuke Kuroyanagi2014-10-061-1/+4
| | | | | | | | | | | | | | | | | | | | Change-Id: I98d91f264d5d1d3f5bcda1fd9ec885779ba2f746
* | | | | Merge "Remove preliminary subtypes from E-MR1 release"Tadashi G. Takaoka2014-10-068-16/+16
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / /
| * | / Remove preliminary subtypes from E-MR1 releaseTadashi G. Takaoka2014-10-068-16/+16
| | |/ | |/| | | | | | | | | | | | | | | | Note that unit test for Sinhala (Sri Lanka) and Tamil (Sri Lanka) have been unexpectedly @suppressed. Bug: 17743363 Change-Id: I5f4b6fd8cbb8fa4e31df9ac602847c681655fd02
* / | Fix: BoS prediction is shown after inputting just once.Keisuke Kuroyanagi2014-10-061-0/+3
|/ / | | | | | | Change-Id: Ibba209f47cb5b1a4b08281689d607711b8dcfad4
* | Merge "Add unittest for SuggestionSpanUtils"Yohei Yukawa2014-10-061-0/+181
|\ \
| * | Add unittest for SuggestionSpanUtilsYohei Yukawa2014-10-061-0/+181
| |/ | | | | | | | | | | | | | | This adds unittest for SuggestionSpanUtils for subsequent CLs. No behavior change is intended in this CL. BUG: 16995261 Change-Id: I90d1591cab893a1421ca633963b7c8f00a5fe4b4
* / Make unit tests use new entry updating method.Keisuke Kuroyanagi2014-10-061-84/+73
|/ | | | | Bug: 14425059 Change-Id: Ie7d92e92822a0d3a8b654d213e55d45aab799f5d
* Revert "[ML14] Forward the locale list to relevant places"Ken Wakasa2014-10-034-37/+20
| | | | | | | | | | 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-034-20/+37
| | | | | Bug: 11230254 Change-Id: Idf3ed27b396d63ade9800c72c5ce0ed613f5f669
* Merge "Fix testCharacterTableIsPresent to use BinaryDictUtils.getDictFile"Ken Wakasa2014-10-032-2/+6
|\
| * Fix testCharacterTableIsPresent to use BinaryDictUtils.getDictFileAkifumi Yoshimoto2014-10-032-2/+6
| | | | | | | | | | Bug:17097992 Change-Id: Ic26c95fccb63d592883f85fe34f4570f1861b8c3
* | Merge "Simplify dictionary creation in unit tests."Keisuke Kuroyanagi2014-10-032-388/+131
|\ \
| * | Simplify dictionary creation in unit tests.Keisuke Kuroyanagi2014-10-032-388/+131
| | | | | | | | | | | | Change-Id: Id1b41494701f54651d7f79aba426e15cca8d898d
* | | Fix: NPE in unit test.Keisuke Kuroyanagi2014-10-031-8/+10
| | | | | | | | | | | | Change-Id: I769b43f2afa1151d5c0d9c408018c3932be377dc
* | | Merge "Fix bug of testCharacterTableIsPresent (dicttool test)"Akifumi Yoshimoto2014-10-031-1/+1
|\ \ \ | | |/ | |/|
| * | Fix bug of testCharacterTableIsPresent (dicttool test)Akifumi Yoshimoto2014-10-031-1/+1
| | | | | | | | | | | | | | | Bug:17097992 Change-Id: Ibe343b8cc704631e84ed9d3a39feee30a54bdc38
* | | Use Devanagari Danda letter as full stop on Nepali keyboardTadashi G. Takaoka2014-10-033-88/+53
| | | | | | | | | | | | | | | Bug: 17741882 Change-Id: I62e8c9a3f194b9a3a6724c7d1a92292b150ddeb9
* | | Fix a behavior change in dicttoolJean Chalard2014-10-031-5/+7
|/ / | | | | | | | | | | | | The behavior change was introduced by I8b3458ad. Concretely, empty bigram lists would end up as empty lists instead of null. Change-Id: Ibcdf7e6aabc6aba3f5db0477335882394e050ce5
* | Merge changes I3c1f5ac1,I269c9aa8Jean Chalard2014-10-032-3/+37
|\ \ | | | | | | | | | | | | | | | * changes: Switch code point table Test for code point table (dicttool test)
| * | Switch code point tableAkifumi Yoshimoto2014-10-021-3/+4
| | | | | | | | | | | | | | | Bug:17097992 Change-Id: I3c1f5ac183ebb5d3757b8ff258655869ab61f2e7
| * | Test for code point table (dicttool test)Akifumi Yoshimoto2014-10-021-0/+33
| | | | | | | | | | | | | | | Bug:17097992 Change-Id: I269c9aa86378f32083f8688f4ce91862d47dd181
* | | Merge "Add calls to stub for API to consume gesture data."Jean Chalard2014-10-032-0/+102
|\ \ \
| * | | Add calls to stub for API to consume gesture data.David Faden2014-10-032-0/+102
| | | | | | | | | | | | | | | | | | | | Bug: 17400259 Change-Id: Ib3511afffe1d14662e7dd14611f384689516e664
* | | | Refactor keyboard layout unit testsTadashi G. Takaoka2014-10-03172-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
* | | Merge "Include a code point table in the binary dictionary."Akifumi Yoshimoto2014-10-027-72/+158
|\| |
| * | Include a code point table in the binary dictionary.Akifumi Yoshimoto2014-10-027-72/+158
| | | | | | | | | | | | | | | Bug:17097992 Change-Id: I677a5eb3a704e4386f6573360e44ca335d81d2df
* | | Change package of subtype count unit testTadashi G. Takaoka2014-10-021-1/+3
| |/ |/| | | | | Change-Id: Ie191c0607bb8388632fda5d276dd95f962676e3e
* | Enable preliminary Sinhara keyboard for dogfoodTadashi G. Takaoka2014-10-011-1/+1
| | | | | | | | | | Bug: 6911143 Change-Id: I38241d00567b25d1c6ba352f5b01eb8d8d532e0f
* | Add Uzbek keyboardTadashi G. Takaoka2014-10-015-2/+188
| | | | | | | | | | Bug: 13222403 Change-Id: I9a4cf447a8ab0c26c4dc7f7794c57390024660cc
* | Use Devanagari Danda letter as full stop on Hindi keyboardTadashi G. Takaoka2014-10-017-74/+122
| | | | | | | | | | Bug: 17418371 Change-Id: I22bb2913015a83604301576e68095974c38b7c9a
* | Merge "Add Akkhor Layout for Bengali Bangladesh"Tadashi G. Takaoka2014-10-016-31/+602
|\ \
| * | Add Akkhor Layout for Bengali BangladeshTadashi G. Takaoka2014-09-266-31/+602
| | | | | | | | | | | | | | | Bug: 16143057 Change-Id: I0b4a3d0d1125f9af25a98ee7a1852129ae1c1d2c