aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Expand)AuthorAgeFilesLines
* Remove dead code, including tests.•••Change-Id: Id88b02b74bdfe4ca05b08181ceb6b34d5652fc0c Dan Zivkovic2015-03-107-1142/+6
* Handle empty previous ngram context correctly.•••Fixes bug where empty previous ngram context not at the beginning of a sentence incorrectly returned the beginning-of-sentence marker. Bug: 19612336 Change-Id: I5ddf3408e20dcedf70487b85c983cd3fc12550e7 Chieu Nguyen2015-03-091-0/+17
* Use a single background executor.•••Bug 19625976. Change-Id: Ia03f440a31b059b5af42d162e1145330bf7b5ddf Dan Zivkovic2015-03-091-1/+1
* Handle null InputMethodSubtype.•••Bug 19627494. Change-Id: I50dc77c59ced0f2e7c07a49ae0cb040197c2ab35 Dan Zivkovic2015-03-062-1/+8
* Combine InputLogicTests.•••Change-Id: Ie322e7d7c7098031d112abad6c9991f56ebba0f2 Dan Zivkovic2015-03-042-136/+110
* Next-word suggestion bit in keyboard settings.•••This feature works in supported languages. We don't need a user setting. Bug 19596067. Change-Id: Icdded772745f9816da47f8a5e3b87b733083b121 Dan Zivkovic2015-03-044-86/+31
* Add util method in ngramcontext for context array•••Change-Id: I2e3e2ac7706be50ed2055b0c69b30e25a516a879 Jatin Matani2015-03-031-0/+39
* Merge "Refresh pref settings for cloud sync"Jatin Matani2015-02-261-3/+3
|\
| * Refresh pref settings for cloud sync•••- Show the opt-in text - Show the account picker if user presses 'enable sync'. Previously we disabled the sync pref which was confusing. - Remove the debug tags from some prefs; and improve messaging overall General rules; - sync is turned ON : user checks 'enable sync' pref AND accepts the opt-in AND chooses an account - sync is turned OFF: when user signs out Demo link https://drive.google.com/a/google.com/file/d/0B9tNQOWdRuiWSUdVVE5rVDJudlk/view?usp=sharing Change-Id: I2e7933796b15e47005ba9970a8c1294416ef31a0 Jatin Matani2015-02-261-3/+3
* | Stop waking up to decay dynamic dictionaries.•••Bug 19516048. Change-Id: Ibc27a792b4fa80fa8c6af4721c47a617526e9584 Dan Zivkovic2015-02-252-878/+0
* | Don't assume that correctable words are invalid•••Currently, the Delight3DictionaryFacilitator sets a boolean flag when the top suggestion score exceeds the auto-correction threshold. This flag is used to trigger auto-correction of the typed word. Also, the existing logic assumes that if allowsToBeAutoCorrected then the word is invalid, which is no longer true after we stopped using whitelists. Bug 19518376. Change-Id: Ifa7f6a09c07d25ac68c6cf3aec91f358bd88689f Dan Zivkovic2015-02-251-0/+32
|/
* Merge "Spell checker uses cache of size 1."Dan Zivkovic2015-02-201-15/+0
|\
| * Spell checker uses cache of size 1.•••This is a step in the direction of removing the LRU cache completely. Change-Id: I8886f7ef74e6b1b35135e68f169cb461682964e9 Dan Zivkovic2015-02-201-15/+0
* | Add tests for Contact* classes•••Also add empty implementation for dictionary facilitator iteration APIs Change-Id: Ia847e3faa75075c819fcfda89193d1024d2d5aca Jatin Matani2015-02-203-0/+282
|/
* Sanitize the usage of executors.•••There should be 1 executor each for static and dynamic language models. This prevents too many dynamic LM updates from running in parallel, competing for resources. Change-Id: I8ec439e0ea2d92fba275bc20a0b8c9193346a0c1 Dan Zivkovic2015-02-191-3/+2
* Fix master build.•••For some reason, we can't import android.os package in our Constants. Change-Id: I357ed72d13c5039a83c6e2489cdf5ef74d0ffea8 Dan Zivkovic2015-02-112-5/+5
* Remove shortcut support from LatinIME.•••Note this change does not affect the native decoder interface. Change-Id: I73b7dc008a5acaf75a31a36a2d332b5afabd82d0 Dan Zivkovic2015-02-1113-455/+74
* Merge "Add new class spellcheck.UserDictionaryLookup that can look up the sys...Mario Tanev2015-02-101-0/+279
|\
| * Add new class spellcheck.UserDictionaryLookup that can look up the•••system "Personal dictionary" in the event that the DictionaryFacilitator doesn't. Change-Id: Ib4f15ec4d8f06ea43c2e063f5a13a2f699afbb8a Mario Tanev2015-02-101-0/+279
* | Remove distracter filter from client.•••Bug 19296201. Change-Id: Ic834e5956347cd86a96bd14024c42ad8ee258659 Dan Zivkovic2015-02-094-233/+3
* | Merge "Move decoder specific constants to DecoderSpecificConstants.java"Mohammadinamul Sheik2015-02-063-6/+6
|\ \
| * | Move decoder specific constants to DecoderSpecificConstants.java•••Change-Id: Ie4d325b3152e1e7e424b8b436e222e194e4d9da0 Mohammadinamul Sheik2015-02-053-6/+6
| |/
* / Cleanup in preparation of distracter change.•••Bug 19296201. Change-Id: If016da2b7f4b3ecb9afd6d7aed9d19fbd4938758 Dan Zivkovic2015-02-061-15/+5
|/
* Merge "Selections spans should not split surrogate pair."Dan Zivkovic2015-02-051-0/+36
|\
| * Selections spans should not split surrogate pair.•••When committing a span after a revert, the offset logic was such that it split a surrogate unicode pair used to express an emoji. Checking the last character of the span lets us avoid this problem. Fix for bug 19255233. Change-Id: I07d18d9002b5075f7925319dd05962011656c311 Dan Zivkovic2015-02-041-0/+36
* | AOSP changes to use KeyboardLayout to support the new DictionaryFacilitator•••Change-Id: Ie0c9ce805d9ad009fc9bbaac37b715aff90cd844 Mohammadinamul Sheik2015-02-041-2/+22
|/
* Merge "Nuke Amanatto"Jatin Matani2015-02-032-213/+0
|\
| * Nuke Amanatto•••Change-Id: Ieff2cd37f869dca69abf53ac32a576c2e45cc1e3 Jatin Matani2015-02-022-213/+0
* | Create a new KeyboardLayout class to represent the layout.•••Change-Id: Ia08c8194f460271c831702675cfb687ab9f6678b Mohammadinamul Sheik2015-01-301-0/+61
|/
* Disable the Burmese keyboard.•••We'll resurrect this effort in the new code base. Bug 16900511. Change-Id: Iae4cd27cb29cb8f991e97cffd88ed59c30d66628 Dan Zivkovic2015-01-294-543/+1
* Change DictionaryFacilitator.java to an interface, create its•••implementation DictionaryFacilitatorImpl.java and add a java-overridable factory DictionaryFacilitatorProvider.java used to create a DictionaryFacilitator. Change-Id: Id4a58ae31feaa4d12a048a772c8d76ff82fdee45 Mario Tanev2015-01-272-2/+6
* Merge "Re-enable new keyboard layouts in Fava."Dan Zivkovic2015-01-219-18/+18
|\
| * Re-enable new keyboard layouts in Fava.•••This reverts commit da27faeb87dc47656f82ba90ee590872a3993985. Change-Id: I08e2b2510efcafd20743679de4a1ef7f09d9949a Dan Zivkovic2015-01-209-18/+18
* | Merge "Fix moving the cursor inside composition in lang w/o spaces"Jean Chalard2015-01-161-0/+28
|\ \ | |/ |/|
| * Fix moving the cursor inside composition in lang w/o spaces•••Also introduce the cursor move event, which we needed to do anyway Bug: 18827118 Change-Id: I30e994764c095b4423b874dc05d1bbedc0de592f Jean Chalard2014-12-221-0/+28
* | Revert "Enable preliminary subtypes for F-release"•••Bug 17743363: Preliminary subtypes should be removed from F-release This reverts commit 45c917e23852861d144eba085304ad5a2e665e98. Change-Id: I5e91a7fd0efdc16e140a91fab6300bd8ba9cd6c7 Dan Zivkovic2015-01-129-18/+18
|/
* Revert "Fix unit test failure due to translation glitch"•••This reverts commit f8705dd2bdb9aeb61860e6a0125102afc63a351d. Change-Id: I7ddc1eced8109ff0bb50eb8a217db0d276848a1e Tadashi G. Takaoka2014-12-171-10/+2
* Passing account info to dictionaryFacilitator•••Attempt to use dictionary facilitor without invoking preference manager. Instead use account from settings only when things are being reset/changed. Discussion forked from ag/591663 Overall, the idea here is to maintain an account information inside dictionary groups. Reset the dictionary groups if account changes (the way we do for locale). Since only user history dictionary is currently affected, the check to reset user history dictionary also includes the check to verify the account. For other things remain the same. SettingsValues holds the current account (and is updated if prefs change due to change in account settings). The updated settings are then propagated to dictionary facilitator via LatinIME#loadSettings. Bug:18104749,18469539 Change-Id: I553e776e7ea125d0fb7a1fe70a4c7eb0b2277fb8 Jatin Matani2014-12-163-41/+48
* Make LanguageOnSpacebarHelper as utility class•••Change-Id: I546f3b1943999a41803222bd14f9ddd23aa87a51 Tadashi G. Takaoka2014-12-111-13/+11
* Revert "Add keyboard margin options to place the keyboard dynamically."•••This reverts commit 8584db1461d286f8eb966c40eb0bc76e8c9df76a. Bug: 18675223 Bug: 18675476 Change-Id: I4e25d87ac261c44b1943df832115f8cca690103a Tadashi G. Takaoka2014-12-091-1/+1
* Merge "Hook for fetching sync content from UserHistoryDict"Jatin Matani2014-12-082-105/+175
|\
| * Hook for fetching sync content from UserHistoryDict•••Add API to ExpandableBinaryDictionary to dump content from a given dictionary. We use this for dumping data for sync process. Refactored UserHistoryDictionaryTests to scrap out the util methods for testing. These utility methods would be used for testing sync + user dictionary code in LatinIMEGoogleTests Bug:18106539 Change-Id: I357f9192ea1bd69a526d0b620c25616a2e8e9d5b Jatin Matani2014-11-262-105/+175
* | Merge "Refactor KeysCache to UniqueKeysCache"Tadashi G. Takaoka2014-12-081-19/+1
|\ \
| * | Refactor KeysCache to UniqueKeysCache•••Change-Id: I8e3c4705c705a1c6e05e9112211d7012912d7e41 Tadashi G. Takaoka2014-11-271-19/+1
* | | Add keyboard margin options to place the keyboard dynamically.•••Keyboard location and location can now be set in the debug options section. Change-Id: I87c5a1d679489e12dccf26632c399af28087629e Andy Wang2014-12-051-1/+1
* | | Fix a misspelled method name•••Change-Id: I1151dc1d5db3986a97daf68c1e387dbc2e4610dc Adrian Velicu2014-12-021-1/+1
|/ /
* / Remove unneeded Context argument•••Change-Id: Ib34931836a617d0dc049fb3c9ae6686374ec8c12 Tadashi G. Takaoka2014-11-213-3/+3
|/
* Fix unit test failure due to translation glitch•••Once the translation strings are updated, the uni test starts failing. Then this CL should be reverted. Change-Id: I884663feaa53998a98dd0e488ae8e3e6d0ad4ffd Tadashi G. Takaoka2014-11-201-2/+10
* Make the typed word a SuggestedWordInfo•••That allows to carry the language information in an accurate manner. Bug: 18063142 Change-Id: I0bca8981372ae10648274095b18b26a3686b762b Jean Chalard2014-11-201-2/+3
* Cleanup StringAndJsonUtilsTests•••Change-Id: I7d35492c439c9419915251387b0c12e205740586 Tadashi G. Takaoka2014-11-194-503/+495