History log of /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.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/ContactsBinaryDictionary.java
e708b1bc2e11285ad404133b8de21719ce08acb5 25-Jun-2014 Keisuke Kuroyanagi <ksk@google.com> Make PrevWordsInfo have multiple words' information.

Bug: 14425059
Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.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/ContactsBinaryDictionary.java
a91561aa58db1c43092c1caecc051a11fa5391c7 23-May-2014 Tadashi G. Takaoka <takaoka@google.com> Use Java 7 diamond operator

Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.java
a790c5b68324da41428aeb68594d43ca5632f66d 23-May-2014 Keisuke Kuroyanagi <ksk@google.com> Introduce EMPTY_PREV_WORDS_INFO and BEGINNING_OF_SENTENCE.

Bug: 14119293
Change-Id: I5020e5f0aa64bc3e97b3a3c2c07a60c8b765ed64
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.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/ContactsBinaryDictionary.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/ContactsBinaryDictionary.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/ContactsBinaryDictionary.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/ContactsBinaryDictionary.java
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/ContactsBinaryDictionary.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/ContactsBinaryDictionary.java
1737b7ff5c59b68693b85a410d5b5a901407087e 28-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Use ReentrantReadWriteLock in ExpandableBinaryDictionary.

Bug: 8187060
Change-Id: Ic665f0a5e940708aa9addedac068a64900b307e7
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.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/ContactsBinaryDictionary.java
60763a06e81f550ea5d5cb69bf5e23c02b5099bb 27-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Use different contacts dict name for spell checker.

Bug: 13630847
Change-Id: I016a464890d5e63794fb1288b4ce7b09adffc453
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.java
fdd2db576dc69aa69ae99ddb2178a955e71b61f0 03-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Always close binary dicts for personalized dicts.

Bug: 10923130
Bug: 13664080
Change-Id: Ib247c775194a03462387994cd832b1650bfd1915
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.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/ContactsBinaryDictionary.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/ContactsBinaryDictionary.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/ContactsBinaryDictionary.java
b8ff8ca9d9d17f61f3f0e019ed0b62fe13d1a33f 18-Feb-2014 Jean Chalard <jchalard@google.com> Straighten out database cursors behavior.

Some were never closed, other closed twice. This change
makes all Cursor instances behave, having the #close()
call in a finally{} clause, and puts the burden of closing
the cursor squarely on the creator rather than in the
called methods.
There is however one exception that is beyond the scope
of this change: UserDictionarySettings have a Cursor
member, it's never closed, and fixing the problem is not
obvious. This change adds a TODO for now.

It's not very clear if this change actually helps with
bug#12670151, but it may be related and it's a good
think to do anyway.

Bug: 12670151
Change-Id: I87cc44387e7dee3da1488671b93a28d9d73f7dc0
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.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/ContactsBinaryDictionary.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/ContactsBinaryDictionary.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/ContactsBinaryDictionary.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/ContactsBinaryDictionary.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/ContactsBinaryDictionary.java
dd0da393e1e4211e0d2c18370d6862faff81bc4e 20-Nov-2013 Keisuke Kuroyanagi <ksk@google.com> Add DEBUG_DUMP to ContactsBinaryDictionary.

Change-Id: Iebfae5f37727deeb6636ad6301b7b1bbe5f454e0
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.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/ContactsBinaryDictionary.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/ContactsBinaryDictionary.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/ContactsBinaryDictionary.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/ContactsBinaryDictionary.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/ContactsBinaryDictionary.java
5648054667c89d1a61c6792ef226eabedb30443d 08-May-2013 Satoshi Kataoka <satok@google.com> Add account e-mail addresses to the user dictionary

Bug: 8683365
Change-Id: Id72540c515e61c3dd854892599645dd6d22b496d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.java
fc6d4a5412c83ff2bd59d514b8970a5ee56e9f17 08-May-2013 Satoshi Kataoka <satok@google.com> Add owner's info to the dictionary

Bug: 8683365
Change-Id: I1c30eac128b4172526423ebeeb45bc6cee7fb67b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.java
73ec85b8ad3102ce1c7e6013be73afe83475e589 15-Apr-2013 Jean Chalard <jchalard@google.com> Don't insert automatic spaces when text looks like a URL

This is about as ad-hoc as it gets, but then again, what we want
is probably as ad-hoc as it gets.
All URL boxes I know of double as search bars, and not adding
automatic spaces there sucks (e.g. in Chrome URL bar).
And in other boxes actually you don't want to add a space if
it looks like a URL. QSB isn't even a search box, and it behaves
like this.

So I think this is actually the right answer to the problem.

Bug: 7062925
Change-Id: Ib09472b34644fd5bf2dc84bb97cedeeba28bcd02
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.java
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/ContactsBinaryDictionary.java
8aa9963a895f9dd5bb1bc92ab2e4f461e058f87a 21-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Fix Apache license comment

Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.java
240871ecafde7834ebb4270cd7758fc904a5f3a7 29-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Move code point constants from Keyboard to Constants class

Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.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/ContactsBinaryDictionary.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/ContactsBinaryDictionary.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/ContactsBinaryDictionary.java
e55c23e4b0b8d9d66349a3b275d0fa1540d7450a 27-Jun-2012 Ken Wakasa <kwakasa@google.com> Small cleanups

Change-Id: Ic1a198ab1b4f0323fde9e4245729fd0e6011b914
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.java
d82898c5a91f8aa69d5dc594b7a9290b8be1247a 12-Jun-2012 Jean Chalard <jchalard@google.com> Change the return type of getWords and getBigrams (A8)

This only returns stuff, but it doesn't change yet how the data
is really passed. It merely adds a way of getting the same data.
Later, the old way will be removed.

Change-Id: If3a064de362175fc5a6781b7a97b65d8730aaf3c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.java
2e8aa0600293875c620ba7b650010cb30ec023c1 06-Jun-2012 Tom Ouyang <ouyang@google.com> Contacts binary dictionary updates with change in keyboard locale.

Bug: 6616436
Change-Id: I8d66a37f295134c5b9875b2a305a9be7442bd75d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.java
1ed017ef0e271ed3f3c212def6cc6ba95b14e780 25-May-2012 Tom Ouyang <ouyang@google.com> Fix performance issue when there are no contacts in the dictionary dictionary.

Bug: 6551480
Change-Id: I8681a1bd82423c612af2d012f9b872501d8c201d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.java
2798c85c0f77fdf4f12eccfe241f84ddec3de994 22-May-2012 Tom Ouyang <ouyang@google.com> Fix cursor leak in ContactsBinaryDictionary

Bug: 6529131
Change-Id: I86493705fbf069ba7a6c43581cfbd1bcc27ff1ba
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.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/ContactsBinaryDictionary.java
4d289d39aeae21064f63d958974816ceee3e9fde 27-Apr-2012 Tom Ouyang <ouyang@google.com> Contacts dictionary rebuilds only when contact names have changed.

Bug: 6396600
Change-Id: Iad693ec4bab6351793d624e5c5b0a9f5c12a60e3
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.java
18222f8c863e509538857b1fafca9c696fae2f55 26-Mar-2012 Tom Ouyang <ouyang@google.com> Add a new binary contacts dictionary based on ExpandableBinaryDictionary and use locale for bigrams.

Bug: 6188977
Change-Id: I753422eed1effaeb5fd01124cf1ddd1e31ee9d60
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ContactsBinaryDictionary.java