| Commit message (Expand) | Author | Age | Files | Lines |
* | Fix a NPE•••Bug: 18451316
Change-Id: Ia20bf388471f84c963354df050182e722d966a02
|  Jean Chalard | 2014-11-20 | 1 | -0/+6 |
* | Remove Dict dependency on WordComposer and ProximityInfo•••Bug: 18108776
Change-Id: I9b399a44241e05a7add9bb8094263aa76de37880
|  Jean Chalard | 2014-10-29 | 1 | -4/+3 |
* | Move Constants.java to the latin.common package•••Our intention is to have classes of latinime-common under the common
package as much as we can.
Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
|  Ken Wakasa | 2014-10-23 | 1 | -0/+1 |
* | Use trigrams for personalization dict.•••5Bug: 14425059
Change-Id: I73cf6904e569d60996a3b079f16ea6df0cb90f02
|  Keisuke Kuroyanagi | 2014-10-23 | 1 | -3/+3 |
* | Fix Javadoc and null analysis related warnings•••This CL also adds @SuppressWarning("unused" to java-overridable package.
Bug: 18003991
Change-Id: If70527e30654384705d7a814f5efd181d9f539e1
|  Tadashi G. Takaoka | 2014-10-23 | 1 | -2/+7 |
* | 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 | 1 | -29/+34 |
* | Renaming "blacklist" flag to "possibly offensive"•••No behaviour changes.
Unified the overloaded FusionDictionary::add method to always take an
isPossiblyOffensive argument.
Bug: 11031090
Change-Id: I5741a023ca1ce842d2cf10d4f6c926b0efabaa78
|  Adrian Velicu | 2014-10-21 | 1 | -2/+2 |
* | [ML19] Actually switch the language when appropriate•••That is, when auto-correcting or when manually picking.
This is not great, but it's a good starting point.
Bug: 11230254
Change-Id: I07627f48e2de1c28053d6572c7c72625808ec79c
|  Jean Chalard | 2014-10-09 | 1 | -0/+6 |
* | [ML17] Add a method to switch the most probable language•••Also directly hold a ref to it. It's simpler for now, though
we may want to remove it completely later to have a flat,
purely weight-based system with no preference.
Also split weights between gesturing and typing.
Bug: 11230254
Change-Id: Ica15964a193ae6e7f14c85a9a3ed806130fa7efb
|  Jean Chalard | 2014-10-07 | 1 | -6/+33 |
* | [ML16] Remove DictionaryFacilitator.getLocale()•••Bug: 11230254
Change-Id: Ife99df42bc145fbd2d5c3128330bc0f88b104de9
|  Jean Chalard | 2014-10-07 | 1 | -10/+12 |
* | [ML15] First step in removing DictionaryFacilitator.getLocale•••Bug: 11230254
Change-Id: Ied010ec6f1024080e8a499f682d2fc1780e82ef7
|  Jean Chalard | 2014-10-07 | 1 | -14/+21 |
* | [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 | 1 | -19/+24 |
* | 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 | 1 | -24/+19 |
* | [ML14] Forward the locale list to relevant places•••Bug: 11230254
Change-Id: Idf3ed27b396d63ade9800c72c5ce0ed613f5f669
|  Jean Chalard | 2014-10-03 | 1 | -19/+24 |
* | [ML12] Add a getPrimaryLocale function and some refactoring•••Bug: 11230254
Change-Id: Ic579b93702c24f47e6cdb0c9a4da6b11f1fa76c8
|  Jean Chalard | 2014-10-02 | 1 | -0/+36 |
* | Rename PrevWordsInfo to NgramContext.•••Bug: 14425059
Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984
|  Keisuke Kuroyanagi | 2014-09-29 | 1 | -16/+16 |
* | Refactoring PrevWordsInfo.•••Bug: 14425059
Change-Id: I48a193b965e3055bd10a00046322c2b7b19a6232
|  Keisuke Kuroyanagi | 2014-09-26 | 1 | -2/+1 |
* | Merge "Added @UsedForTesting to 'missing' methods to avoid ProGuard removing ... |  Adrian Velicu | 2014-09-19 | 1 | -0/+1 |
|\ |
|
| * | Added @UsedForTesting to 'missing' methods to avoid ProGuard removing them•••Bug: 16864527
Change-Id: I698a1b3e09e7e9a12722169b37f87bd51c8cbd34
|  Adrian Velicu | 2014-09-19 | 1 | -0/+1 |
* | | [ML8] Add a language weight•••...and rename an improperly named normalization value
Bug: 11230254
Change-Id: I0f5633148a9f66dbfd7d28540b8a8985131c4549
|  Jean Chalard | 2014-09-19 | 1 | -2/+5 |
|/ |
|
* | Fix showing important notice even at beginning of sentence•••This is a cherry-pick of Ic72d6fecc3 from lmp-dev.
Bug: 17536096
Change-Id: Id76b8f8dc85d03bc7ed5f24800301c081a82a8d2
|  Tadashi G. Takaoka | 2014-09-18 | 1 | -2/+3 |
* | [ML7] Have multiple DictionaryGroup instances in facilitator•••This is the central change of multilingual input.
Bug: 11230254
Change-Id: Id8b68fb101e837e8cf182ab4bc1e55e4da5cc49d
|  Jean Chalard | 2014-09-16 | 1 | -95/+169 |
* | [ML6] Have asyncReloadMainDictionary support multiple locales•••Change-Id: I4c3dfaad38ec1cc91d1a9f81d5ff45ef12f70029
|  Jean Chalard | 2014-09-11 | 1 | -11/+14 |
* | [ML5] Rewrite resetDictionariesWithDictNamePrefix•••This change rewrites resetDictionariesWithDictNamePrefix so
that it would work if there were several locales, which is going to
happen shortly. This change on its own is quite large and difficult
already, so I didn't want to merge it into the change that actually
makes several locales happen; another such change is following.
Change-Id: Ibb80b05b73c0f0f0bea64b7e308cc4d38ca448f9
|  Jean Chalard | 2014-09-11 | 1 | -47/+76 |
* | Enable personalization for multilingual users.•••Bug: 16547557
Change-Id: I03eda34edc902fc4732d16d234216344d8d84d88
|  Keisuke Kuroyanagi | 2014-09-10 | 1 | -1/+5 |
* | Get locale using detected language for personalization.•••Bug: 16547557
Change-Id: If3d88a548e5a2255ff81c819b056f77bfbe237ae
|  Keisuke Kuroyanagi | 2014-09-10 | 1 | -29/+17 |
* | Move case and OOV detection logic into distracter filter.•••Bug: 16547557
Change-Id: I8502585976deb5e93fff3b1e0266654b8a927bda
|  Keisuke Kuroyanagi | 2014-09-10 | 1 | -15/+3 |
* | [ML4] Rename Dictionaries to DictionaryGroup•••We're going to have multiple DictionaryGroup objects and it
would be very confusing to have this class name a plural.
Change-Id: I8f5c621459ede49f245be26097fe71f44289761c
|  Jean Chalard | 2014-09-04 | 1 | -54/+54 |
* | [ML3] Put the locale in SuggestedWordInfo•••...and remove it from SuggestionResults.
Change-Id: Iae85ec7e82e2caf18cc6d7656aa46dc150707cdd
|  Jean Chalard | 2014-09-01 | 1 | -1/+1 |
* | Use DictionaryFacilitatorLruCache for personalization.•••Bug: 16547557
Change-Id: I5faba5e26d072b49c0fffcaeaf5062f9e0c2dcc0
|  Keisuke Kuroyanagi | 2014-08-29 | 1 | -3/+17 |
* | Get dynamic dict stats via DictionaryFacilitator•••Bug: 16553957
Change-Id: Ida08ceaf34708daed52d61b3d5adfbdb48e42c71
|  Keisuke Kuroyanagi | 2014-08-25 | 1 | -0/+12 |
* | Use DistracterFilterCheckingIsInDictionary for User History•••Bug: 13142176
Bug: 15531638
Change-Id: I7e4e5afa05c5cee6eedef62c053d81edac5fa6af
|  Keisuke Kuroyanagi | 2014-08-07 | 1 | -1/+3 |
* | Move phrase gesture from additional features to public.•••Bug: 15758242
Change-Id: I703dc2703afdf9402c5d2ac27411b74ece993dba
|  Keisuke Kuroyanagi | 2014-07-08 | 1 | -4/+3 |
* | Merge "Make PrevWordsInfo have multiple words' information." |  Keisuke Kuroyanagi | 2014-06-24 | 1 | -3/+6 |
|\ |
|
| * | Make PrevWordsInfo have multiple words' information.•••Bug: 14425059
Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a
|  Keisuke Kuroyanagi | 2014-06-25 | 1 | -3/+6 |
* | | [CS1] Some initial clean up•••Bug: 13238601
Change-Id: I54ee9a85ecfee3c50c8db3eb4cd6f391a775a630
|  Jean Chalard | 2014-06-23 | 1 | -11/+3 |
|/ |
|
* | Remove word from personalized dicts when it's canceled.•••Bug: 15555552
Bug: 15552347
Change-Id: Ia4d8c79d079e3ce233d46d4bbad4fff1be5c5c39
|  Keisuke Kuroyanagi | 2014-06-20 | 1 | -6/+10 |
* | Fix: Probability used for one word contextual phrase.•••Bug: 14161647
Change-Id: Ia5f985ea467145fb381e3ad2c1f67f3b013f19e8
|  Keisuke Kuroyanagi | 2014-06-16 | 1 | -15/+14 |
* | Add clearContextualDictionary().•••Change-Id: Ia2f8d5640cde816cca23b26ee261acf44f3cdcdc
|  Keisuke Kuroyanagi | 2014-06-16 | 1 | -12/+13 |
* | Add a method to update contextual dictionary.•••Bug: 14161647
Change-Id: I2111f841c94e31d62b670da4236fc738df03a708
|  Keisuke Kuroyanagi | 2014-06-16 | 1 | -0/+40 |
* | Merge "Add prefix to the arguments of getDictionary()." |  Keisuke Kuroyanagi | 2014-06-10 | 1 | -5/+16 |
|\ |
|
| * | Add prefix to the arguments of getDictionary().•••Bug: 13630847
Change-Id: Ib4513b8cb6981e01dd33fd9703cc01646a2c7ccc
|  Keisuke Kuroyanagi | 2014-06-10 | 1 | -5/+16 |
* | | Make dump dictionary settings easily extensible.•••This adds "Dump contextual dictionary".
Bug: 14161647
Change-Id: I41a6d6e131d9d8c300ac0120d903d46d88bb3346
|  Keisuke Kuroyanagi | 2014-06-10 | 1 | -1/+1 |
|/ |
|
* | Fix: NPE after turning on personalized suggestion.•••Bug: 13142176
Bug: 15428247
Change-Id: I236202e3c1b70a11d512c946798035087945c0ac
|  Keisuke Kuroyanagi | 2014-06-09 | 1 | -2/+7 |
* | Check isInDictionary() before the distracter test.•••Bug: 13142176
Bug: 15428247
Change-Id: I7ce2c09ebbef6ca8c056807c2a35f2f987fd436e
|  Keisuke Kuroyanagi | 2014-06-09 | 1 | -3/+5 |
* | Add getMaxFrequencyOfExactMatches() to Dictionary.•••Bug: 13142176
Bug: 15428247
Change-Id: I93b44ef40cafb6b811c68fa79f3a4971fc3916a5
|  Keisuke Kuroyanagi | 2014-06-05 | 1 | -10/+24 |
* | Stop filtering out when perfect freq > top non-perfect freq.•••Bug: 13142176
Change-Id: I0290df918a5bd5018bf55231dc462d5e797155c6
|  Keisuke Kuroyanagi | 2014-05-27 | 1 | -2/+2 |
* | Apply distracter filter for UserHistoryDictionary.•••Bug: 13142176
Change-Id: I67d63a5c789d7c587bcd7abacd26b2e76da11978
|  Keisuke Kuroyanagi | 2014-05-27 | 1 | -2/+2 |
* | Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
|  Tadashi G. Takaoka | 2014-05-24 | 1 | -7/+6 |
* | Make DistracterFilter interface.•••Bug: 13142176
Bug: 15094186
Change-Id: If94b0a155b5ea2ff6b839e7da9d12a9cc6553931
|  Keisuke Kuroyanagi | 2014-05-23 | 1 | -1/+1 |