aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Log interrupted tasks in AOSP.Dan Zivkovic2015-04-021-4/+4
| | | | | | | | | | | | Bug 19987461. Change-Id: Ia2714f555146f8f31a6d8c61f555d2b6fecdab7d
* | Add shortcut support to UserDictionaryLookup.Dan Zivkovic2015-04-022-27/+107
|/ | | | | | | | | | Also move the class to the parent package, since it's no longer tied to the spell checking service. Bug 19966848. Bug 20036810. Change-Id: I35014d212fd87281eb90def03ee92e6872dcd63e
* "spellcheking" needs spellchecking.Chieu Nguyen2015-03-271-1/+1
| | | | Change-Id: Iaf4cd5d11b113be4738182fb662e5dc54b2f5366
* Use the complete Locale in generating the dictionary id.Mohammadinamul Sheik2015-03-251-0/+18
| | | | | | | - Also deleted a couple of dead methods. Bug:19929051 Change-Id: I4f88dbc2a8204d5e2a20d1ad8c205a23c6319f8d
* Merge "Disable Hinglish locale."Chieu Nguyen2015-03-242-4/+4
|\
| * Disable Hinglish locale.Chieu Nguyen2015-03-232-4/+4
| | | | | | | | | | Bug: 19899126. Change-Id: I1824233b3bcb6cb6579714a7eb375ea2cebc39db
* | We can't spell check Russian without an LM.Dan Zivkovic2015-03-232-10/+7
|/ | | | Change-Id: I635a51acc2e45aebe23a1cf69da1b5c72a6ac9e1
* We ship with English, so we can't unit test FrenchDan Zivkovic2015-03-232-52/+8
| | | | Change-Id: I20a470a18ca0cd47fe7588958be904eb23fdf1a2
* Minor unit test fixes.Dan Zivkovic2015-03-232-6/+0
| | | | Change-Id: I800bb33a10f31d5b934b00768bc8fe4776e36f90
* Move ManagedProfileUtils to overridableJatin Matani2015-03-231-3/+3
| | | | | Bug:19532354 Change-Id: I50b3ae11b6e58f07b482353b624b1a7a73eadc99
* Fix InputLogicTests.Dan Zivkovic2015-03-201-70/+43
| | | | Change-Id: Ie319a6087297251e6b22ffd80014b69c746458e0
* Retire Delight2 migration code to speed up tests.Dan Zivkovic2015-03-205-997/+23
| | | | | | | | | We're waiting 10 minutes for tests to run, and half of that time is spent in depreacted code related to migration of Delight2 dictionary files. LatinIME will never migrate another Delight2 dictionary file again, so we can delete this code. Change-Id: I05c7d8429e8d9a26139456763c77997340fea8c2
* Pass DictionaryFacilitator to GestureConsumer#onImeSuggestionsProcessed.David Faden2015-03-191-1/+1
| | | | | Bug: 19712589 Change-Id: I81f9bf09b37487450780d85a1e4f752a9ba49370
* Add prev words context to the SuggestedWordInfo.Mohammadinamul Sheik2015-03-193-4/+6
| | | | | | Bug: 19712589 Bug: 19715579 Change-Id: Ie06665cab8405455c1b0a2ff034e0bb0731c9156
* Merge "Disable message if personalization is disabled."Chieu Nguyen2015-03-181-9/+33
|\
| * Disable message if personalization is disabled.Chieu Nguyen2015-03-181-9/+33
| | | | | | | | | | Bug: 19087415. Change-Id: I3974f1b676aa4a9bb04ab7f609b6daf1860c64f1
* | Merge "Fix KeyboardLayoutSetSubtypesCountTests."Chieu Nguyen2015-03-181-1/+1
|\ \
| * | Fix KeyboardLayoutSetSubtypesCountTests.Chieu Nguyen2015-03-181-1/+1
| |/ | | | | | | Change-Id: Iaef87c1cd1661956d78a740507f2fd8d40b78d8b
* / Fix the BlueUnderlineTests.Mohammadinamul Sheik2015-03-181-2/+2
|/ | | | | | changed the usecase that fits the new decoder behavior. Change-Id: Ie31675f55af9f0b0b635e65d84bb629e1c89383e
* Merge "Fix the RichInputConnectionAndTextRangeTests"Mohammadinamul Sheik2015-03-181-2/+6
|\
| * Fix the RichInputConnectionAndTextRangeTestsMohammadinamul Sheik2015-03-181-2/+6
| | | | | | | | | | | | | | Change from sentence seperator to sentence terminator has broken this tests. Change-Id: I303a2e703c46191b481b7d32213f165bd00aaaa2
* | Disable si_LK and ta_LK subtypes.Chieu Nguyen2015-03-181-2/+2
|/ | | | | Bug: 19815109 Change-Id: I3681fcf17752defdf3c1bacff9dadb60df2468ab
* Merge "Start-of-sentence should include newlines and non-period terminators."Tom Ouyang2015-03-171-0/+22
|\
| * Start-of-sentence should include newlines and non-period terminators.Tom Ouyang2015-03-171-0/+22
| | | | | | | | | | Bug: 19795382 Change-Id: Id6cc4a494a06de03d351aa6257632bd3b82e2ec4
* | Merge "Use BinaryDicitonary.MAX_PREV_WORD_COUNT_FOR_NGRAM for D2 dictioanries."Mohammadinamul Sheik2015-03-171-1/+3
|\ \
| * | Use BinaryDicitonary.MAX_PREV_WORD_COUNT_FOR_NGRAM for D2 dictioanries.Mohammadinamul Sheik2015-03-171-1/+3
| |/ | | | | | | | | | | Fixes the UserHistoryDictionaryTests Change-Id: I49776f53298ced3cd7e771cfe77a940b80b01f20
* / Fix some InputLogicTests.Dan Zivkovic2015-03-172-24/+40
|/ | | | Change-Id: I3dd080844ee96dd60ab50ddc74632181dec775a2
* Fix NPE in AccountSettingsFragment.Dan Zivkovic2015-03-161-39/+62
| | | | | | Bug 19773815. Change-Id: Ib5eb27cdf385c81d1a3822836f424fa29c0bbaa8
* Don't test format version 403 twice.Dan Zivkovic2015-03-161-2/+1
| | | | | | | BinaryDictionaryTests runs all tests 3 times for 3 format verisons. Cut that number down by 33% to speed things up. Change-Id: I8a2f78017fa30f46b5873dcf6a5f478f57af2ebd
* Revert "Next-word suggestion bit in keyboard settings."Dan Zivkovic2015-03-163-14/+48
| | | | | | | | This reverts commit 1ae16dc3db170802d1b38273f477125a2a969d32. Bug 19596067. Change-Id: Ie7286acbb70b215d7bd08e271bcf14526b68576f
* Fix the BinaryDictionaryTestsMohammadinamul Sheik2015-03-131-1/+1
| | | | Change-Id: I09378d74705e6943946ea4f76b15664086a387ed
* Remove autocorrection aggressiveness settings.Chieu Nguyen2015-03-132-14/+12
| | | | | | | Replace multiple settings with binary switch for autocorrection. Bug: 19589766 Change-Id: Ic8a0362dd36d18930493a55699851161e9cb23e8
* Separate executor for the Spelling decoder.Dan Zivkovic2015-03-121-1/+2
| | | | | | Bug 19710676. Change-Id: I6e66eddd507c11e424105869833fe6841b90275d
* Remove ALS from LatinIME.Dan Zivkovic2015-03-116-123/+17
| | | | | | This fixes unit tests and brings us closer to a green build. Change-Id: Iffcc392eda4a7671a238b79cc7367320ca648725
* Remove dead code, including tests.Dan Zivkovic2015-03-107-1142/+6
| | | | Change-Id: Id88b02b74bdfe4ca05b08181ceb6b34d5652fc0c
* Handle empty previous ngram context correctly.Chieu Nguyen2015-03-091-0/+17
| | | | | | | | | 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
* Use a single background executor.Dan Zivkovic2015-03-091-1/+1
| | | | | | Bug 19625976. Change-Id: Ia03f440a31b059b5af42d162e1145330bf7b5ddf
* Handle null InputMethodSubtype.Dan Zivkovic2015-03-062-1/+8
| | | | | | Bug 19627494. Change-Id: I50dc77c59ced0f2e7c07a49ae0cb040197c2ab35
* Combine InputLogicTests.Dan Zivkovic2015-03-042-136/+110
| | | | Change-Id: Ie322e7d7c7098031d112abad6c9991f56ebba0f2
* Next-word suggestion bit in keyboard settings.Dan Zivkovic2015-03-044-86/+31
| | | | | | | | | This feature works in supported languages. We don't need a user setting. Bug 19596067. Change-Id: Icdded772745f9816da47f8a5e3b87b733083b121
* Add util method in ngramcontext for context arrayJatin Matani2015-03-031-0/+39
| | | | Change-Id: I2e3e2ac7706be50ed2055b0c69b30e25a516a879
* Merge "Refresh pref settings for cloud sync"Jatin Matani2015-02-261-3/+3
|\
| * Refresh pref settings for cloud syncJatin Matani2015-02-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Stop waking up to decay dynamic dictionaries.Dan Zivkovic2015-02-252-878/+0
| | | | | | | | | | | | Bug 19516048. Change-Id: Ibc27a792b4fa80fa8c6af4721c47a617526e9584
* | Don't assume that correctable words are invalidDan Zivkovic2015-02-251-0/+32
|/ | | | | | | | | | | | 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
* Merge "Spell checker uses cache of size 1."Dan Zivkovic2015-02-201-15/+0
|\
| * Spell checker uses cache of size 1.Dan Zivkovic2015-02-201-15/+0
| | | | | | | | | | | | This is a step in the direction of removing the LRU cache completely. Change-Id: I8886f7ef74e6b1b35135e68f169cb461682964e9
* | Add tests for Contact* classesJatin Matani2015-02-203-0/+282
|/ | | | | | Also add empty implementation for dictionary facilitator iteration APIs Change-Id: Ia847e3faa75075c819fcfda89193d1024d2d5aca
* Sanitize the usage of executors.Dan Zivkovic2015-02-191-3/+2
| | | | | | | | 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
* Fix master build.Dan Zivkovic2015-02-112-5/+5
| | | | | | For some reason, we can't import android.os package in our Constants. Change-Id: I357ed72d13c5039a83c6e2489cdf5ef74d0ffea8