| Commit message (Expand) | Author | Age | Files | Lines |
* | Use BinaryDicitonary.MAX_PREV_WORD_COUNT_FOR_NGRAM for D2 dictioanries.•••Fixes the UserHistoryDictionaryTests
Change-Id: I49776f53298ced3cd7e771cfe77a940b80b01f20
|  Mohammadinamul Sheik | 2015-03-17 | 1 | -1/+3 |
* | Stop waking up to decay dynamic dictionaries.•••Bug 19516048.
Change-Id: Ibc27a792b4fa80fa8c6af4721c47a617526e9584
|  Dan Zivkovic | 2015-02-25 | 1 | -60/+0 |
* | Remove distracter filter from client.•••Bug 19296201.
Change-Id: Ic834e5956347cd86a96bd14024c42ad8ee258659
|  Dan Zivkovic | 2015-02-09 | 2 | -6/+2 |
* | Nuke Amanatto•••Change-Id: Ieff2cd37f869dca69abf53ac32a576c2e45cc1e3
|  Jatin Matani | 2015-02-02 | 2 | -213/+0 |
* | 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 Tanev | 2015-01-27 | 2 | -2/+6 |
* | 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 Matani | 2014-12-16 | 3 | -41/+48 |
* | 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 Matani | 2014-11-26 | 2 | -105/+175 |
* | Implement UserHistoryDictionary for each user account.•••UserHistoryDictionary currently uses locale to determine the
UserHistoryDictionary on the filesystem. With this change we
use the account name as well. Thus each UserHistoryDictionary
would following the following spec:
UserHistoryDictionary.<locale>.<account>.dict.
In case no account is selected, we default to the existing
spec:
UserHistoryDictionary.<locale>.dict
Example
UserHistoryDictionary.en_US.testaccount@example.com.dict
Bug: 18104749
Change-Id: Iab031e166b55cf2ded68275a7e9be22475737b37
|  Jatin Matani | 2014-11-13 | 1 | -16/+48 |
* | Move util classes under common•••Also why did we have two copies of LocaleUtils >.>
Bug: 18108776
Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
|  Jean Chalard | 2014-11-07 | 1 | -1/+1 |
* | Use trigrams for personalization dict.•••5Bug: 14425059
Change-Id: I73cf6904e569d60996a3b079f16ea6df0cb90f02
|  Keisuke Kuroyanagi | 2014-10-23 | 1 | -3/+3 |
* | Add latinime-common local lib•••This is just a placeholder in this CL. It will be shared by LatinIME,
dicttool, and tests.
Change-Id: I6fb3516a5061555f6f24b29141c2871d2319b023
|  Ken Wakasa | 2014-10-22 | 1 | -1/+1 |
* | Fix some compiler warnings•••This CL fixes the following compiler warnings.
- Indirect access to static member
- Access to a non-accessible member of an enclosing type
- Parameter assignment
- Method can be static
- Local variable declaration hides another field or variable
- Value of local variable is not used
- Unused import
- Unused private member
- Unnecessary 'else' statement
- Unnecessary declaration of throw exception
- Redundant type arguments
- Missing '@Override' annotation
- Unused '@SuppressWarning' annotations
Bug: 18003991
Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
|  Tadashi G. Takaoka | 2014-10-21 | 2 | -5/+3 |
* | [ML14] Forward the locale list to relevant places, again•••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
|  Jean Chalard | 2014-10-06 | 2 | -4/+6 |
* | Revert "[ML14] Forward the locale list to relevant places"•••This reverts commit 15dbd38283fc9c8fdfd2540f1d94d4dbf2eabcb5.
Bug: 11230254
Reverting due to unit test breakage.
Change-Id: Icf29ba5c808c754515aef2d1b4162d72f606acfe
|  Ken Wakasa | 2014-10-03 | 2 | -6/+4 |
* | [ML14] Forward the locale list to relevant places•••Bug: 11230254
Change-Id: Idf3ed27b396d63ade9800c72c5ce0ed613f5f669
|  Jean Chalard | 2014-10-03 | 2 | -4/+6 |
* | Quit using currentTimeMillis() for user history unit tests.•••Change-Id: I24bd81e6781148302d5679850ed0a9bda71a3d27
|  Keisuke Kuroyanagi | 2014-09-29 | 1 | -5/+4 |
* | Rename PrevWordsInfo to NgramContext.•••Bug: 14425059
Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984
|  Keisuke Kuroyanagi | 2014-09-29 | 1 | -8/+8 |
* | Call stopTestModeInNativeCode() in testDecaying().•••Change-Id: I939fdbda31ff066ea6e807ad1438a8f77fb6ddef
|  Keisuke Kuroyanagi | 2014-09-24 | 1 | -0/+1 |
* | Quit using try catch in addAndWriteRandomWords.•••Change-Id: I1f3137bacf02bf6bad03a9a99fa56346ff0cd763
|  Keisuke Kuroyanagi | 2014-09-22 | 1 | -7/+3 |
* | Quit depending on SoftReference in UserHistoryDictionaryTests.•••Change-Id: I96533abf939d39873c5eaab9a9b02f71681aafcf
|  Keisuke Kuroyanagi | 2014-09-22 | 1 | -45/+38 |
* | Get locale using detected language for personalization.•••Bug: 16547557
Change-Id: If3d88a548e5a2255ff81c819b056f77bfbe237ae
|  Keisuke Kuroyanagi | 2014-09-10 | 1 | -3/+17 |
* | Fix: PersonalizationDictionaryTests.•••Change-Id: I2196c53d8e3ac3ab4c6c2f8e9320489b3a8bacd2
|  Keisuke Kuroyanagi | 2014-08-29 | 1 | -1/+1 |
* | Merge "Add language to PersonalizationDataChunk." |  Keisuke Kuroyanagi | 2014-08-16 | 1 | -1/+2 |
|\ |
|
| * | Add language to PersonalizationDataChunk.•••Bug: 16547557
Change-Id: I11b82667631cbd5263cc08ccb304fc97bf692050
|  Keisuke Kuroyanagi | 2014-08-19 | 1 | -1/+2 |
* | | Add retry for dict file existence tests.•••Change-Id: Ife8d30e1de22336ea87faadb8c6ad7451679337b
|  Keisuke Kuroyanagi | 2014-08-15 | 1 | -25/+21 |
|/ |
|
* | Print files when dict file existence check is failed.•••Change-Id: Id71f239afa95b68961192714998695c21ed48002
|  Keisuke Kuroyanagi | 2014-08-13 | 1 | -0/+8 |
* | Remove all test dictionary files before and after unit test.•••Change-Id: I92db6318daa98684639ab959f55d047a941fe265
|  Keisuke Kuroyanagi | 2014-08-13 | 1 | -4/+26 |
* | Add additional wait for writing file in testAddManyWords().•••Change-Id: Ibb79b9821dac3d48e18c684e8aca605254bec045
|  Keisuke Kuroyanagi | 2014-08-12 | 1 | -0/+10 |
* | Make PrevWordsInfo have multiple words' information.•••Bug: 14425059
Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a
|  Keisuke Kuroyanagi | 2014-06-25 | 1 | -3/+4 |
* | Add a method to update contextual dictionary.•••Bug: 14161647
Change-Id: I2111f841c94e31d62b670da4236fc738df03a708
|  Keisuke Kuroyanagi | 2014-06-16 | 1 | -0/+75 |
* | Add Dictionary.isInDictionary().•••Bug: 13142176
Bug: 15428247
Change-Id: If2d1c1fea7a69e41809a828da8dd032211ad144e
|  Keisuke Kuroyanagi | 2014-06-09 | 1 | -4/+4 |
* | Add PersonalizationDictionaryTests.•••Bug: 11778342
Change-Id: Ice88f439ae11714e5ec9dd3b7616d0c2d59ea812
|  Keisuke Kuroyanagi | 2014-05-29 | 1 | -0/+117 |
* | Apply distracter filter for UserHistoryDictionary.•••Bug: 13142176
Change-Id: I67d63a5c789d7c587bcd7abacd26b2e76da11978
|  Keisuke Kuroyanagi | 2014-05-27 | 1 | -2/+5 |
* | Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
|  Tadashi G. Takaoka | 2014-05-24 | 1 | -4/+3 |
* | Introduce EMPTY_PREV_WORDS_INFO and BEGINNING_OF_SENTENCE.•••Bug: 14119293
Change-Id: I5020e5f0aa64bc3e97b3a3c2c07a60c8b765ed64
|  Keisuke Kuroyanagi | 2014-05-23 | 1 | -1/+1 |
* | Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.•••Bug: 14119293
Bug: 14425059
Bug: 15102610
Change-Id: Ib482390f8d15b37d44a1a54e8c243a9eaec3f815
|  Keisuke Kuroyanagi | 2014-05-21 | 1 | -6/+7 |
* | Revert "Use PrevWordsInfo for get/add/remove n-gram(bigram) entry."•••This reverts commit ff50b39176370ab80a33bfdcf9979603c08a88b3.
Bug: 14119293
Bug: 14425059
Bug: 15102610
Change-Id: If278b4ab236e38d20d8cdc0761b0438911bd4ff9
|  Ken Wakasa | 2014-05-20 | 1 | -7/+6 |
* | Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.•••Bug: 14119293
Bug: 14425059
Change-Id: I12e9ba977c153b514c6591ab52940712fd0874e3
|  Keisuke Kuroyanagi | 2014-05-20 | 1 | -6/+7 |
* | Use ReentrantReadWriteLock in ExpandableBinaryDictionary.•••Bug: 8187060
Change-Id: Ic665f0a5e940708aa9addedac068a64900b307e7
|  Keisuke Kuroyanagi | 2014-04-28 | 1 | -0/+1 |
* | Handle user history dictionary as an ExpandableBinaryDictionary.•••Bug: 13755213
Change-Id: I1ea8a6df007af7153852f2d32bf5e8ec669c432b
|  Keisuke Kuroyanagi | 2014-04-24 | 1 | -2/+2 |
* | Remove clearAndFlushDictionary() and use clear().•••clearAndFlushDictionary() was needed when dictionaries are constructed
in java side. All expandable dictionaries now use native code; thus,
this method is same to clear() and no longer needed.
Bug: 13755213
Change-Id: Ifd836e64f8ff807930f7cd2319b103b65e8fce70
|  Keisuke Kuroyanagi | 2014-04-24 | 1 | -1/+1 |
* | Change default decaying parameters.•••Bug: 13458617
Change-Id: I4942af4a48881fb6ca866c74140b262e6d323f4a
|  Keisuke Kuroyanagi | 2014-03-14 | 1 | -2/+2 |
* | Separate utility methods from BinaryDictionary.•••Bug: 8187060
Change-Id: Ice2984e332b7bd3bb17174aefc80b5635b72fc50
|  Keisuke Kuroyanagi | 2014-03-05 | 1 | -3/+3 |
* | Added a method and run GC for testing.•••Bug: 13231889
Change-Id: If64b7422967c3e4107c845072b64a7bb26a35f7e
|  Keisuke Kuroyanagi | 2014-02-28 | 1 | -2/+2 |
* | Fix: UserHistoryDictionaryTests.testDecaying().•••Bug: 13106697
Change-Id: If81f77c3cefdefae94cb9145aa9f700494f8237a
|  Keisuke Kuroyanagi | 2014-02-20 | 1 | -4/+14 |
* | Add user history dictionary decaying test.•••Bug: 10667710
Change-Id: Ib2be57d8c4cbbb34f64555d84ea6fd571cfdd247
|  Keisuke Kuroyanagi | 2014-02-20 | 1 | -0/+62 |
* | Fix UserHistoryDictionaryTests•••Change-Id: I5f2f555f9c3f471545921ef80e4cf528976be837
|  Tadashi G. Takaoka | 2014-02-13 | 1 | -54/+47 |
* | Stop considering personalization dicts outputs as words•••Bug: 12800726
Bug: 12798403
Change-Id: I6d60f9ad39761757f8a64533f40d6441f3a36410
|  Jean Chalard | 2014-02-05 | 1 | -1/+1 |
* | Fix flaky unit test.•••Change-Id: I8df0f9a0398b29f679844f256ad84f09ebcea8ee
|  Keisuke Kuroyanagi | 2014-01-14 | 1 | -0/+2 |
* | Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20c•••The bulk merge from -bayo to klp-dev should not have been merged to master.
Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
|  Ken Wakasa | 2013-12-13 | 1 | -40/+16 |