aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * RefactoringJean Chalard2014-06-041-13/+13
| | | | | | | | | | | | | | | | | | Rename `initialize' to `start' and `deactivate' to `stop' for ease of understanding. It's completely bizarre that you can "deactivate" a recapitalization and that will just restart a new one the next time you press shift. Start and stop are easier to understand. Change-Id: I455175aebfcfe11198c6c61bf2c6b19efc3f82df
* | Reorder keys around the spacebarTadashi G. Takaoka2014-06-0412-29/+49
|/ | | | | | | | | | | | | | This CL reorders keys around the spacebar. - On phone's symbols and symbols shift layout, the comma key is moved to the left of the spacebar to aligned with main layout. - On tablet's layout, the comma key is moved to the left of the spacebar on all layout to aligned with the same layout of phone's. Also the comma key has "settings" as more keys. - In Arabic and Perisan, the comma key of tablet already has some more keys This CL remove "/" and add "settings" instead. Bug: 15281451 Change-Id: I6e0e75e4d4abfb1f356e7499be91424c7c57c58b
* Make prevWord = null if the next word starts from a connector.Keisuke Kuroyanagi2014-05-301-0/+4
| | | | | | | | | | This fixes PunctuationTests# testAutoCorrectionWithSingleQuotesAround. Bug: 14119293 Bug: 15334309 Change-Id: I604c21a21e89a5fc431fd56ab7b6ad03f4736b01
* Fix testsJean Chalard2014-05-291-3/+3
| | | | | | | | | | | DEBUG in LatinIME has been changed by Ie52007dc to mean both DebugSettings.PREF_DEBUG_MODE and Settings.PREF_KEY_IS_INTERNAL instead of just DEBUG_MODE as used to be the case. Tests depend on the debug mode to test many things and they make sure they run in debug mode or they fail. This has tests understand the change in policy. Change-Id: Ie9f29e6a1d85e19704c8940d3fcf97c13c3dbaa6
* Merge "Remove PrioritizedSerialExecutor."Keisuke Kuroyanagi2014-05-292-106/+57
|\
| * Remove PrioritizedSerialExecutor.Keisuke Kuroyanagi2014-05-292-106/+57
| | | | | | | | | | Bug: 15320560 Change-Id: Icb88a96ebd685da1d2cba7b07889a2751c603a2e
* | Fix: too many calls to getSuggestedWordsForTypingInputJean Chalard2014-05-291-0/+21
|/ | | | | | | | | | | This reverts commit d941ea18 and builds on it to fix the behavior of the broken cases. It also fixes a small, related bug that probably has existed for a very long time: predictions not displayed when cancelling double-space-to-period. Bug: 15148015 Change-Id: I1f9358f8b6f5804f831643611576be347e83999d
* Merge "Add PersonalizationDictionaryTests."Keisuke Kuroyanagi2014-05-291-0/+117
|\
| * Add PersonalizationDictionaryTests.Keisuke Kuroyanagi2014-05-291-0/+117
| | | | | | | | | | Bug: 11778342 Change-Id: Ice88f439ae11714e5ec9dd3b7616d0c2d59ea812
* | Merge "Remove researcher logger"Tadashi G. Takaoka2014-05-291-171/+0
|\ \
| * | Remove researcher loggerTadashi G. Takaoka2014-05-291-171/+0
| |/ | | | | | | | | | | | | This CL must be checked in together with I5cc76807e3. Bug: 15318007 Change-Id: I61423c3377ddc299fb332e742d6626c2e47145bb
* / Disable a test that fails for an unknown reasonJean Chalard2014-05-291-1/+1
|/ | | | | | | | It works when tested on the actual device, and on some versions of the platform. Until we know what's wrong with resource loading when running under the test harness, we need to disable this test. Change-Id: I2d7ed9db940b9b73739de8325665bdafb6af58cb
* Merge "Stop directly checking SuggestedWordInfo.mKind"Keisuke Kuroyanagi2014-05-281-4/+4
|\
| * Stop directly checking SuggestedWordInfo.mKindKeisuke Kuroyanagi2014-05-281-4/+4
| | | | | | | | | | | | Bug: 15298959 Change-Id: Iba6eeb7981634e7ddb896404978b30f6efd6e72f
* | Run test only on KitKat devicesJean Chalard2014-05-281-10/+19
|/ | | | | | | | | This won't work on < KK because it needs the armenian locale to be present on the device. I don't know why, but when under test, apps don't seem to be able to resolve resources for locales not supported by the system. Change-Id: Ie0f4fc30954978061cae751024bab5569a2ab2eb
* Merge "Return whether the dynamic dict operation was success."Keisuke Kuroyanagi2014-05-271-9/+30
|\
| * Return whether the dynamic dict operation was success.Keisuke Kuroyanagi2014-05-271-9/+30
| | | | | | | | | | Bug: 12184250 Change-Id: Iee7e00c1e84c95551a077f4dd023c0a9b9ac9466
* | Fix unit test build.Keisuke Kuroyanagi2014-05-271-3/+4
|/ | | | Change-Id: Id2c92c5035d7b357fa66c7ca671b72a1a33ebf3b
* Stop filtering out when perfect freq > top non-perfect freq.Keisuke Kuroyanagi2014-05-271-2/+27
| | | | | Bug: 13142176 Change-Id: I0290df918a5bd5018bf55231dc462d5e797155c6
* Apply distracter filter for UserHistoryDictionary.Keisuke Kuroyanagi2014-05-271-2/+5
| | | | | Bug: 13142176 Change-Id: I67d63a5c789d7c587bcd7abacd26b2e76da11978
* Use whether it's exact match to detect distracters.Keisuke Kuroyanagi2014-05-261-14/+11
| | | | | Bug: 13142176 Change-Id: Id5b7286d28897931f7bfe571be45d46ffeef4adf
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-2427-173/+127
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Merge "Update RichInputConnectionAndTextRangeTests."Keisuke Kuroyanagi2014-05-231-9/+15
|\
| * Update RichInputConnectionAndTextRangeTests.Keisuke Kuroyanagi2014-05-231-9/+15
| | | | | | | | | | Bug: 14119293 Change-Id: I952daaa8e938c67bd9e0e699d71a77a3b0bf8b0d
* | Merge "Introduce EMPTY_PREV_WORDS_INFO and BEGINNING_OF_SENTENCE."Keisuke Kuroyanagi2014-05-233-4/+4
|\|
| * Introduce EMPTY_PREV_WORDS_INFO and BEGINNING_OF_SENTENCE.Keisuke Kuroyanagi2014-05-233-4/+4
| | | | | | | | | | Bug: 14119293 Change-Id: I5020e5f0aa64bc3e97b3a3c2c07a60c8b765ed64
* | Version up dynamic dict format from 401 to 402.Keisuke Kuroyanagi2014-05-232-3/+3
|/ | | | Change-Id: Ibea36af905ade773ae3db3a5456f7b5a0ad7d220
* Extend jni methods and enable Beginning-of-Sentence.Keisuke Kuroyanagi2014-05-233-21/+127
| | | | | Bug: 14119293 Change-Id: I78fc877367dd0d6240eeacb750b6d2d0b93cba83
* Add a test for armenian period.Jean Chalard2014-05-231-0/+13
| | | | | Bug: 11463389 Change-Id: Ib482290672947df61b86cdb4e78461e9ce843f94
* Merge "Make DistracterFilter interface."Keisuke Kuroyanagi2014-05-231-3/+3
|\
| * Make DistracterFilter interface.Keisuke Kuroyanagi2014-05-231-3/+3
| | | | | | | | | | | | Bug: 13142176 Bug: 15094186 Change-Id: If94b0a155b5ea2ff6b839e7da9d12a9cc6553931
* | Fix some auto-caps problems:Jean Chalard2014-05-231-0/+31
|/ | | | | | | | | - (mainly for Spanish) auto-caps after inverted bang and what - (German only) don't auto-cap after digits-period-space Bug: 15177663 Bug: 12206753 Change-Id: Ia214bc067319469d9debbbfbdcb1dcff980847f0
* Move distracter filter to dictionary facilitator.Keisuke Kuroyanagi2014-05-231-1/+2
| | | | | | Bug: 13142176 Bug: 15094186 Change-Id: Ib9e42f8e25538009f3ba62cf1e034cae3f6823c7
* Add beginning of sentence information in PrevWordsInfo.Keisuke Kuroyanagi2014-05-211-24/+28
| | | | | | Bug: 14119293 Bug: 14425059 Change-Id: I65320920e840082b0b697bb621676716d0933e0c
* Merge "Fix subtype count in unit test"Ken Wakasa2014-05-214-7/+7
|\
| * Fix subtype count in unit testTadashi G. Takaoka2014-05-214-7/+7
| | | | | | | | | | | | This is a follow up of I38552cdbdd Change-Id: Ia1091518614e8e4fa79219f2cdd7b34f4562181c
* | Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.Keisuke Kuroyanagi2014-05-215-121/+147
|/ | | | | | | Bug: 14119293 Bug: 14425059 Bug: 15102610 Change-Id: Ib482390f8d15b37d44a1a54e8c243a9eaec3f815
* Revert "Use PrevWordsInfo for get/add/remove n-gram(bigram) entry."Ken Wakasa2014-05-205-147/+121
| | | | | | | | | | This reverts commit ff50b39176370ab80a33bfdcf9979603c08a88b3. Bug: 14119293 Bug: 14425059 Bug: 15102610 Change-Id: If278b4ab236e38d20d8cdc0761b0438911bd4ff9
* Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.Keisuke Kuroyanagi2014-05-205-121/+147
| | | | | | | Bug: 14119293 Bug: 14425059 Change-Id: I12e9ba977c153b514c6591ab52940712fd0874e3
* Use PrevWordsInfo instead of String in Java side.Keisuke Kuroyanagi2014-05-192-17/+17
| | | | | | | Bug: 14119293 Bug: 14425059 Change-Id: I3d5da84881a49a04550180dd9aac2c37da2ed762
* Rename LXX theme to LXX_DarkTadashi G. Takaoka2014-05-191-25/+35
| | | | | Bug: 14419121 Change-Id: I3d73c51d339eafec26871a659575d8b7b8cc441c
* Use dedicated DictionaryFacilitator for DistracterFilterKeisuke Kuroyanagi2014-05-171-8/+20
| | | | | Bug: 15002249 Change-Id: Ic77eaa7d627d406daad7dcd15cb4884d9f647312
* Fix keyboard theme selection logicTadashi G. Takaoka2014-05-161-26/+256
| | | | | Bug: 15002666 Change-Id: I5cc52db71ee609edffdb2613e93245e92ac6fc6a
* Fix: StringIndexOutOfBoundsException.Keisuke Kuroyanagi2014-05-161-0/+10
| | | | | Bug: 14985751 Change-Id: I9df2f737555ab02e24e0fbd231a97c1eec26bc57
* Merge "Quit use bigram probability diff for ver4 dict."Keisuke Kuroyanagi2014-05-151-80/+115
|\
| * Quit use bigram probability diff for ver4 dict.Keisuke Kuroyanagi2014-05-151-80/+115
| | | | | | | | Change-Id: I2cfcfbcf351877d1dff466a24974dbb05908f14e
* | Merge "Add VERSION4_DEV(402) in Java side and use it for tests."Keisuke Kuroyanagi2014-05-142-37/+97
|\|
| * Add VERSION4_DEV(402) in Java side and use it for tests.Keisuke Kuroyanagi2014-05-142-37/+97
| | | | | | | | | | Bug: 13406708 Change-Id: I7c9c53bf34d12dced7331a359a83f6444490783a
* | Fix a bug where changing languages kills the composition.Jean Chalard2014-05-141-0/+12
|/ | | | | Bug: 14926896 Change-Id: Id2a06c68a51f833db4d8bbc858a232c2696afb6e
* Rename LMP to LXX just in caseTadashi G. Takaoka2014-05-141-8/+8
| | | | | | This CL must be checked in together with I7e2ba67f31. Change-Id: I51cb982f9cf0ace173d535a60293bb4be83bbb75