aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused phrase gesture code.Chieu Nguyen2015-03-116-65/+5
| | | | | Bug: 19687841 Change-Id: I0862aa3127bf7f1564a4845efdf99ebf5ae4d5ac
* Remove deprecated distractor filtering methods.Dan Zivkovic2015-03-113-38/+3
| | | | Change-Id: I10ccf75d9c00d66b4e85de6c3c019242f2e90b0e
* Mark method @UsedForTestingDan Zivkovic2015-03-111-0/+1
| | | | | | This prevents it from being optimized away. Change-Id: Iecd317568e23e86e4c0ece8134a4926a7a56d65b
* Make inner classes visible for testing.Dan Zivkovic2015-03-111-1/+7
| | | | | | | | We need this to assert the correct behavior in the facilitator. Bug 19695605. Change-Id: I3923d00791c99208bc72f7c4210ae1ea0a34bd0e
* Delete user history files.Dan Zivkovic2015-03-114-8/+7
| | | | | | Bug 19669016. Change-Id: I8069fe561347851bf3c27423dbd8ba99d38c049e
* Remove dead code, including tests.Dan Zivkovic2015-03-102-18/+2
| | | | Change-Id: Id88b02b74bdfe4ca05b08181ceb6b34d5652fc0c
* Restart background executor.Dan Zivkovic2015-03-101-1/+3
| | | | | | Bug 19671650. Change-Id: I1a28a53e94bdb79aeb173f6905c1035022495acc
* Handle empty previous ngram context correctly.Chieu Nguyen2015-03-091-5/+2
| | | | | | | | | 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
* Kill+restart tasks before/after decoder init.Dan Zivkovic2015-03-091-1/+10
| | | | | | Bug 19625976. Change-Id: I6d8b0d2b0a77ccda1bfc914501cf568b92862980
* ExecutorUtils lets use schedule a runnable chain.Dan Zivkovic2015-03-092-27/+37
| | | | | | Bug 19625976. Change-Id: Iebbef7fed57a381498301dcf26fefa27d06802f7
* Use a single background executor.Dan Zivkovic2015-03-095-51/+14
| | | | | | Bug 19625976. Change-Id: Ia03f440a31b059b5af42d162e1145330bf7b5ddf
* Merge "Handle null InputMethodSubtype."Dan Zivkovic2015-03-063-4/+15
|\
| * Handle null InputMethodSubtype.Dan Zivkovic2015-03-063-4/+15
| | | | | | | | | | | | Bug 19627494. Change-Id: I50dc77c59ced0f2e7c07a49ae0cb040197c2ab35
* | Merge "Log from LatinIME."Dan Zivkovic2015-03-061-6/+4
|\ \
| * | Log from LatinIME.Dan Zivkovic2015-03-061-6/+4
| |/ | | | | | | | | | | | | | | | | When the DEBUG setting is on, log from this critical class. This will make it easier to diagnose issues. Bug 19632709. Change-Id: I5e14b3705f50cd021ad3d64af106ad28dc8b9321
* | Merge "Sync setting disabled if no account."Chieu Nguyen2015-03-061-12/+21
|\ \ | |/ |/|
| * Sync setting disabled if no account.Chieu Nguyen2015-03-051-12/+21
| | | | | | | | | | | | Bug: 19361223 Change-Id: Id5e8d34920f5bf3bffb6d6d287557e85d7b72c79
* | Merge "Restart suggestions when backspacing into a reverted word."Tom Ouyang2015-03-061-0/+14
|\ \ | |/ |/|
| * Restart suggestions when backspacing into a reverted word.Tom Ouyang2015-03-051-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | This is required for the final corrected word to be learned, as learning only occurs when suggestions are active. Note: This is already happening when backspacing into a non-reverted word Bug: 19619907 Bug: 18465402 Change-Id: I99a1d4f0ca0d62a2cdfa24cc0833ce89391715d9
* | Make privacy policy link clickable in sync settings.Chieu Nguyen2015-03-051-1/+15
|/ | | | | Bug: 19361223 Change-Id: I83128d771bf5214a446afd6a3d5244a184d0a4a8
* Handle words longer tha 256 characters.Dan Zivkovic2015-03-052-2/+2
| | | | | | Bug 19612315. Change-Id: I75e84df88b4da5cfc6a39b956613972841342c4b
* Next-word suggestion bit in keyboard settings.Dan Zivkovic2015-03-045-41/+1
| | | | | | | | | This feature works in supported languages. We don't need a user setting. Bug 19596067. Change-Id: Icdded772745f9816da47f8a5e3b87b733083b121
* Remove SHORTCUT column in FROM clause.Dan Zivkovic2015-03-041-51/+38
| | | | | | | | The column is no longer used, and is not available on pre-Jellybean devices. Bug 19595958. Change-Id: Ief54c7210698d6668b1b7815900a394cc7f27299
* Introduce DictionaryHeaderUtils to get dictionary header valuesMohammadinamul Sheik2015-03-031-16/+11
| | | | Change-Id: I86cef6c7f2f68a75428bb2b9c4d5a1dc1876b541
* Merge "Add DictionaryFacilitator dump()."Chieu Nguyen2015-03-033-1/+9
|\
| * Add DictionaryFacilitator dump().Chieu Nguyen2015-03-033-1/+9
| | | | | | | | Change-Id: I8b75aded3fc2b9b33128b6ba5a3e8d943dfca352
* | Merge "Add util method in ngramcontext for context array"Jatin Matani2015-03-031-0/+26
|\ \ | |/ |/|
| * Add util method in ngramcontext for context arrayJatin Matani2015-03-031-0/+26
| | | | | | | | Change-Id: I2e3e2ac7706be50ed2055b0c69b30e25a516a879
* | Forgot to remove reference to deleted class.Dan Zivkovic2015-03-031-5/+2
| | | | | | | | Change-Id: Ic662a536e468390a3f7266daf9c56e4fc5a70ac6
* | Remove no-op broadcast receiver from LatinIME.Dan Zivkovic2015-03-031-44/+0
|/ | | | | | Bug 19583388. Change-Id: Ia1ca481e2eae0c9791932f7f28a9072cc3dbbe7c
* Merge "Move dictionary facilitator handling."Chieu Nguyen2015-03-021-3/+2
|\
| * Move dictionary facilitator handling.Chieu Nguyen2015-03-021-3/+2
| | | | | | | | Change-Id: Ibd42982996a36ac52b4c916035491b835f8d14f9
* | Merge "Turn off cloud sync if we have managed profiles"Jatin Matani2015-03-023-47/+152
|\ \ | |/ |/|
| * Turn off cloud sync if we have managed profilesJatin Matani2015-03-023-48/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UserManager#getUserProfiles > 1 implies managed profile. Workflow: - Disable sync prefs - Execute an async task to check for managed profile; if managed profile is found, remove the sync prefs. If not, enable the preference; - Move the logging pref from Advanced to Account & Privacy. Bug:19230544 Change-Id: I4dbd1fe8433b3263ccc74c35dc0ee0bb371122b3
* | Fix build breakage due to changed resource IdJatin Matani2015-03-021-1/+1
| | | | | | | | Change-Id: I09ba038930416d1261ef095ec503f1ac68cd92ea
* | Merge "Label empty suggestions."Dan Zivkovic2015-02-272-7/+14
|\ \
| * | Label empty suggestions.Dan Zivkovic2015-02-272-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | When talkback is enabled, empty strings will have a content description. Bug 19479836. Change-Id: I25679a2bdeff238a5330ba406d5bc7e6e2868ba1
* | | Merge "Handle double space inserting a period."Chieu Nguyen2015-02-271-0/+1
|\ \ \
| * | | Handle double space inserting a period.Chieu Nguyen2015-02-271-0/+1
| |/ / | | | | | | | | | Change-Id: I109f0e9cf3e972bf60aa3fbbe817337aef70ea3c
* | | Merge "Update the MAX supported file version for downloaded static ↵Mohammadinamul Sheik2015-02-272-4/+4
|\ \ \ | |/ / |/| | | | | Dictionaries."
| * | Update the MAX supported file version for downloaded static Dictionaries.Mohammadinamul Sheik2015-02-272-4/+4
| | | | | | | | | | | | Change-Id: I72d37cc21585b18f4a41ff32627024502f10e993
* | | Race condition in cursor move.Dan Zivkovic2015-02-271-8/+10
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | The method WordComposer.moveCursorByAndReturnIfInsideComposingWord() iterates through all the code points in the word that's currently being composed, and it tries to adjust the cursor position by a given amount (left or right). It copies the code points to a new array while processing. But the code point count comes from a member variable. If the member variable changes while the method is processing the copy of the code points, it can run over the length of the code point array. Bug 18876474. Change-Id: Ib3a2d90a4e82b76d381efa774e6b3d6bca99c869
* | Merge "Refresh pref settings for cloud sync"Jatin Matani2015-02-261-82/+137
|\ \ | |/ |/|
| * Refresh pref settings for cloud syncJatin Matani2015-02-261-82/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Ignore the Emoji key when not connected.Dan Zivkovic2015-02-263-27/+49
| | | | | | | | | | | | | | | | | | When the LatinIME does not have an active InputConnection, it will not try to toggle the Emoji keyboard. Bug 19513415. Change-Id: I31f928cd7db1cddd771c548cd3dc42f8af64d0e2
* | Merge "Share decoders among latinime components."Jatin Matani2015-02-262-2/+4
|\ \
| * | Share decoders among latinime components.Jatin Matani2015-02-252-2/+4
| | | | | | | | | | | | Change-Id: I6c8d3cf10e05e606308cea42d1e935a415ada9f8
* | | Stop waking up to decay dynamic dictionaries.Dan Zivkovic2015-02-257-231/+47
| | | | | | | | | | | | | | | | | | Bug 19516048. Change-Id: Ibc27a792b4fa80fa8c6af4721c47a617526e9584
* | | Merge "Don't assume that correctable words are invalid"Dan Zivkovic2015-02-264-25/+40
|\ \ \
| * | | Don't assume that correctable words are invalidDan Zivkovic2015-02-254-25/+40
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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