History log of /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d9a8f2a82f6a0157c48ff1d0f8b2e05d40618426 28-Jul-2014 Keisuke Kuroyanagi <ksk@google.com> Allow adding DICTIONARY_MAX_WORD_LENGTH-length words.

Bug: 12725817
Change-Id: Ib9b30473ba94242a7b97ccd3b850068f596a5d17
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
18df1925358229e98ad1db3d409577353a8e9a92 10-Jun-2014 Keisuke Kuroyanagi <ksk@google.com> Add prefix to the arguments of getDictionary().

Bug: 13630847
Change-Id: Ib4513b8cb6981e01dd33fd9703cc01646a2c7ccc
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
e507d92aa3ee4ae43124c5452f20aa8ed0ecef4c 21-May-2014 Keisuke Kuroyanagi <ksk@google.com> Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.

Bug: 14119293
Bug: 14425059
Bug: 15102610
Change-Id: Ib482390f8d15b37d44a1a54e8c243a9eaec3f815
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
4e21d3711fb65e5b7ef24b2db7b5f2504365d5e3 20-May-2014 Ken Wakasa <kwakasa@google.com> Revert "Use PrevWordsInfo for get/add/remove n-gram(bigram) entry."

This reverts commit ff50b39176370ab80a33bfdcf9979603c08a88b3.

Bug: 14119293
Bug: 14425059
Bug: 15102610

Change-Id: If278b4ab236e38d20d8cdc0761b0438911bd4ff9
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
ff50b39176370ab80a33bfdcf9979603c08a88b3 20-May-2014 Keisuke Kuroyanagi <ksk@google.com> Use PrevWordsInfo for get/add/remove n-gram(bigram) entry.

Bug: 14119293
Bug: 14425059

Change-Id: I12e9ba977c153b514c6591ab52940712fd0874e3
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
9898ee626733a0b07177df67df213b4fd42f30c1 07-May-2014 Keisuke Kuroyanagi <ksk@google.com> Check whether contacts have changed using hashCode().

Bug: 13755213
Change-Id: Ie2f7b7f9dc8bd3fce395618877d9f234287dcb21
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
c005c1dc565bd02cb1a24d5349a8078ed49dbae9 01-May-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Use dictType to class map to create sub dicts."
61fe28831d93a829f67694a342b6c94bdc7732ea 01-May-2014 Keisuke Kuroyanagi <ksk@google.com> Merge "Create factory methods for sub dicts."
99f26648710e1962e27eb8d27816a62996d61cb2 01-May-2014 Keisuke Kuroyanagi <ksk@google.com> Use dictType to class map to create sub dicts.

Bug: 13755213
Change-Id: I4dcd5684bc65f13361bf9c4f9d50b07b1e33c62d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
98e358a936496217618dcbaf94490a747f3f8bf0 01-May-2014 Keisuke Kuroyanagi <ksk@google.com> Create factory methods for sub dicts.

Bug: 13755213
Change-Id: I046af54b4860d2839328f2089ea785d81d04cf43
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
ec29147375dc9dee2b7b10d0c0e48c5c4b02bcf9 01-May-2014 Jean Chalard <jchalard@google.com> Merge "Some cleanup and reinforcement"
49d78712907142300285c339ea862c355e9d1fb1 30-Apr-2014 Jean Chalard <jchalard@google.com> Some cleanup and reinforcement

Bug: 9520584
Change-Id: I1c0f9e1b530d4d5bf5f52c2905c20f5ab7c26442
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
9ed7e47539932cd60d008ab6678a5f0413367c3b 30-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Handle user dict as an ExpandableBinaryDictionary.

Bug: 13755213
Change-Id: I2d242a3332e9633d4e41e08c0bbfafcefd814ecd
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
07c5b307d6f883c974d0fddaa88bee0fb0617543 28-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Remove DictionaryUpdateController.

Bug: 8187060
Change-Id: I3e1fa4060d8a5c12d8d609be3357d56051fb5815
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
817cd9a0d531a33fcecc0a59e6c75212b1d2801d 28-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Use different user dict name for spell checker.

Bug: 13630847
Change-Id: Icabd08c674dcf086250b9e594328a43286d1d203
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
c17311cefed5fa4cd61f699ec2ccb9422c31523f 27-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Remove unused method.

Change-Id: Iefb75136080e73c357511df045816f18cec767a6
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
ea89cb40b7641764d385bbc200c5910e08a29c1a 27-Feb-2014 Keisuke Kuroyanagi <ksk@google.com> Use dynamic operations to construct all ver4 dicts.

Bug: 8187060
Bug: 13127350
Change-Id: I081ee904c41898128efa8ba7a1bf3fa0a46c6231
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
c44b7312ad60c76ddd1c303d10b4f8e66ea9e605 20-Feb-2014 Jean Chalard <jchalard@google.com> Remove a call to a deprecated method

...that would cause a crash

Bug: 13082186
Change-Id: Ie12575c27dfdd2029bc9d5f0647e444f69770afc
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
870d89b1a81c263b3de96d0d035c2fb40071eed8 12-Feb-2014 Tadashi G. Takaoka <takaoka@google.com> Refactor dictionary constructor

This change must be checked in together with I3923d5af2a.

Bug: 12994268
Change-Id: I19de6efbdfa3b6c6c69a20a836e53962fd5737de
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
49b5fadae159d3de6a40a918d4b9db18e5463dc9 26-Dec-2013 Tadashi G. Takaoka <takaoka@google.com> Add DictionaryFacilitatorForSuggest constructor for testing

This change must be checked in together with I00b6e79d6b.

Change-Id: Id5f87a8d0286eb44958381fefd428f16896dc0d4
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
55ce2cc2d562a5733e8430f41dce265c8cf8f8db 20-Dec-2013 Jean Chalard <jchalard@google.com> [IL27] Some refactoring

Bug: 8636060
Change-Id: Iedfdf71350f5fe3ab451fc5ec6e3c9901f71e50f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
9642286c0140bf78f11d9229c12a07a3c1ac7ff6 13-Dec-2013 Keisuke Kuroyanagi <ksk@google.com> Make ExpandableBinaryDictionary usable for offdevice tests.

Bug: 11956652
Change-Id: If5a503ef161781818f2efceba542be5a61be6bd1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
84cc5a2c765831bb965c83bc996e6b906059e159 11-Dec-2013 Keisuke Kuroyanagi <ksk@google.com> Create ver4 dictionary files with the dictionary name.

Bug: 12025402

Change-Id: Ia0bb13b2e26aa60a67dff73f3f6a1e276f1bb1dd
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
8bfc8c46ffc755752dbf11a105ef40b8fc5ae390 03-Dec-2013 Keisuke Kuroyanagi <ksk@google.com> Add required header attributes for user/contacts dictionary.

Bug: 11973488

Change-Id: I91ef720a24633aec0f4e81cd4f7c49c749805c49
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
f3204eebb19f0f8fae9d6d81e7e2b430f29829a0 04-Oct-2013 Jean Chalard <jchalard@google.com> Set the shortcut frequency correctly.

14 is the right value.

Bug: 11076722
Change-Id: I95d404b540f7fbe4932d1f8498cde23f1df0314f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
d0cf6b7623f99f453724b7579e5a70333d06e9c9 20-Sep-2013 Jean Chalard <jchalard@google.com> Catch SQLiteException from remote processes

...to avoid catching fire when the Contacts or User dictionary
providers crash and burn.

Bug: 10200036
Change-Id: I73e9d126ce6d34ebc7e6ac03d94af1c12dde7eda
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
87472f00382c36f475dcaa1932af70b482adf1c3 12-Sep-2013 Jean Chalard <jchalard@google.com> Remove changing a word when added to the dictionary

This code is now useless.
I thought it affected 9902905, but it seems it actually does not.
Still, it's dead code.

Bug: 9902905
Change-Id: Id9c90fbf88f015af47b2368b90d173c481647093
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
c8db6f21e936b819a0b818f44eae0d2bc44433c9 16-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Prepare ExpandableBinaryDictionary to make it updatable

Bug: 6669677

Change-Id: Iaa6100f58de78d104e19c7a3c41d67e7826264f9
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
a410cb48eab0cd75aa27e20f60e47a29a59fb9ff 24-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Move subtype related utility class to utils package

Change-Id: I3564796531ea85f2ebafde40cd822b806b8741df
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
edd1992ed329a84f0e9ef7056fda99f78eeb92b4 04-Jul-2013 Keisuke Kuroynagi <ksk@google.com> DictionaryWriter to abstract binary dictionary writing.

UserHistoryDictionary should become to use ExpandableBinaryDictionary.

Bug: 6669677

Change-Id: I6831c7dd2d84207d1a8f51ba15d52e0a72205d0c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
e28eba5074664d5716b8e58b8d0a235746b261eb 23-Jun-2013 Ken Wakasa <kwakasa@google.com> Move util classes to the latin/utils directory

Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
2cd1136b8ebedc7cf939d7d7546ed753191f8677 12-Apr-2013 Jean Chalard <jchalard@google.com> Merge "Remove the dialog to insert words to the dictionary."
6a2a4b8e4d0dee1564e59632b07a131d55d949d8 12-Apr-2013 Jean Chalard <jchalard@google.com> Make shortcut-only user dict entry non-words.

Bug: 7369456
Change-Id: Iecd6f6d617f31bd2aa6749516711aeb1f0549622
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
1a51833828569d76cbbc4865ccef8cc7f529dd68 12-Apr-2013 Jean Chalard <jchalard@google.com> Remove the dialog to insert words to the dictionary.

Bug: 8562529
Change-Id: Ibd853f0cb995e7fb35f8730eafcef73ead58c869
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
96845ecff62ac5a1131ce3eb8e6a06d3298dd984 16-Jan-2013 Jean Chalard <jchalard@google.com> Insert into user dict in lower case if auto-caps (D2)

Also recapitalize afterwards if the word has been changed.

Bug: 7972124
Change-Id: I9306580bb4ed0ffa80cc4559ce1abcd2034d1905
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
c79493a15fdc58415a4968cb05cbe3d2d934d78e 07-Jan-2013 Jean Chalard <jchalard@google.com> Adjust the used frequency of the user dictionary words.

Bug: 7656666
Change-Id: I4b271af636f6103cb5287336229581365841d778
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
b6ca354431367b625daf9fff5fbe4b1f5ef996ab 06-Jan-2013 Ken Wakasa <kwakasa@google.com> Small code cleanups

Multi-project commit with I249d5fbe

Change-Id: Ia28c4e970992aa1299a30e604eaa5d096655c3a5
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
8c15e91344a5e97ca069200070745c4384f40750 15-Dec-2012 Ken Wakasa <kwakasa@google.com> resolved conflicts for merge of d48d6fee to master

Change-Id: I21141956135debe737453dba87617671b1716d0a
18d688c94bb8e1e26de2d12445cb3096c6126f75 13-Dec-2012 Jean Chalard <jchalard@google.com> Use the amended user dictionary word for insertion

When the user edits a word before adding it to the user
dictionary, the keyboard should replace whatever was
committed before with the amended version.

Bug: 7725834
Change-Id: I1a417be6c5a86d6a96bc2c76aca314ad8f1202a9
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
bc464e2952e102219f0b977fc1e9140ad5bd03e4 03-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Replace useless CharSequence to String

Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
d113fd0be47f89b796990f1e71a756f5ceedcfad 02-Jul-2012 Jean Chalard <jchalard@google.com> Fix a bug with the user dictionary locale.

We internally use the string "zz" to mean no locale, but
the user dictionary service does not understand that and
words added with this locale pitifully end being added to
a "zz" user dictionary, which makes no sense to the user.
This change fixes things so that words added when the
keyboard is in a "no locale" layout, the words are added
to the global, all-locales user dictionary.

Bug: 6645306
Change-Id: Iec3cdd1fe3d5bc43427a43ef9ae9bf89e12be1f2
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
d8f0caa406a0ca1df488baeb3af05528085755b7 27-Jun-2012 Jean Chalard <jchalard@google.com> Move constants to a better place.

Change-Id: I5c27a3ed99b17f850e26a8503de16f001c7111c1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
05efe576f976f5fa280f8d523f2935c15cbb9bd1 27-Jun-2012 Jean Chalard <jchalard@google.com> Cleanup the dictionary type.

Stop storing an int in each of the different class types, and
just store a string in the top class.

Change-Id: I2af1832743e6fe78e5c1364f6d9cc21252bf5831
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
9997b44846906e4a71be393694e37bf5fef86db5 21-Jun-2012 Jean Chalard <jchalard@google.com> Improve compatibility for ICS.

ICS didn't have a SHORTCUT column in the user dictionary.
If running on a build under JellyBean, we should not ask
for it lest we crash.

Bug: 6600617
Change-Id: Iac0cbcc63c10064f01e2d51eec5931fd9cdd0922
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java
f6adff6227a15af105dbf39c57213a24bf16780b 23-Apr-2012 Tom Ouyang <ouyang@google.com> Change to a binary version of the expandable user dictionary.

Bug: 6435677
Change-Id: If83409f699608d443796e64a3c65692ae81b98e6
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/UserBinaryDictionary.java