- Mar 19, 2012
-
-
Jean Chalard authored
UserBigramDictionary -> UserHistoryDictionary. Also update all methods, strings and comments, except those needed for backward compatibility (which only include the name of the database file). Change-Id: I0bccea29880dc566b90100575b83baaa947b03ae
-
- Mar 16, 2012
-
-
Ken Wakasa authored
Change-Id: I6d91f3b086470b79306dbe2874db9748b9e0eb5f
-
satok authored
bug: 6181736 Change-Id: I6522f19555c27f33c9ff4eaa8b2559a51a38f015
-
satok authored
Bug: 4343280 Change-Id: I6adaf560f7a4f1f96dcb6ec2f61f20ee3001167e
-
Jean Chalard authored
This isn't used any more. Change-Id: Ie63ae621bcac9342b869b9f236f35bf66ec3a09b
-
Jean Chalard authored
UserBigramDictionary now assumes both functionalities. It will be renamed to UserHistoryDictionary in a future change. There are several reasons to do this. First, there is a lot of duplicate code in User{Unigram,Bigram}Dictionaries that are factored by the few lines of code in this change. Also, other dictionaries like BinaryDictionary or ContactsDictionary all assume both responsibilities, as should be the case theoretically. It is also possible to do this because previous versions don't write any unigram data that we'd want to reuse. For even older versions that do write data, we can't really make any sense out of it. Bigram data however can be useful, and this allows us to reuse it easily. Change-Id: I755525f92744e1536eaef097527e8151b7859a30
-
satok authored
Bug: 4343280 Change-Id: I4e2dfb00d9c843a8a285d409ac5ab8fca5fb1694
-
Jean Chalard authored
A lot of things don't really make sense in the old code. Let's streamline it for now so that we have a cleaner interface to work with. This is preliminary work for bug 4192129. Change-Id: If01a5974cfadc43afced610c57fcf7fde67c1346
-
- Mar 15, 2012
-
-
Tadashi G. Takaoka authored
KeyDetector should use the distance from the hit box to detect the key. Bug: 6174250 Change-Id: Id1745d90222d1d1a10467f194b45307c12449944
-
Jean Chalard authored
Change-Id: I78f22bb38222fea54a55e460fcf728bf941d15e9
-
Jean Chalard authored
Bug: 6174065 Change-Id: I702760d44ead0eeb60d06360aa3bb03c2ec73325
-
Jean Chalard authored
Exit-fast, update comment, make a method private Change-Id: Id103bf03aeef43a1a4d064ecabb819490dc5d39a
-
Jean Chalard authored
I tracked all the calls to the constructor, and the passed list is never null. It's also final, so it's safe. Change-Id: I320f907acee0b237bb286a9a183c18106809174a
-
Jean Chalard authored
Change-Id: Ia1c80eeff00a55573bb311f07e1275da23bdcf98
-
Jean Chalard authored
Change-Id: I58de87c1ba4cd1130419191f63ff83b685604356
-
Jean Chalard authored
All calls to this methods are made with an actual String. No sense beating ourselves with an interface stick. Change-Id: I6ef98286be6f81f73864b04f3a17e68f36a6e542
-
Jean Chalard authored
Change-Id: I6950897d262f610d502b7f8293b9dd8d2b53e6e8
-
Jean Chalard authored
This has been moved to the SuggestedWords object and is now represented by a single flag instead of a flag in each suggestion. Change-Id: I6e9a7cff5a7701de7e61b4de13baac25c9a87b1b
-
Jean Chalard authored
Also, the first word in a sugestions list can never be obsolete. Change-Id: Ib21439aac8db4e6ce5b15b7a2aabe4222bc354db
-
Jean Chalard authored
Change-Id: I9684c7b08244b34853ce8a99b6e9d885389f6687
-
Jean Chalard authored
Change-Id: I43dae30774c40a9d6e7396f8fa73ed4b82a7c777
-
Jean Chalard authored
Change-Id: I5aee4c36ceaacbb1dbfc47c011f1e4aec4b9dca6
-
- Mar 14, 2012
-
-
satok authored
Bug: 4343280 Test: I11f8518d9ee Change-Id: I4b90bdffffed9736af223ac83c1a54019add70bb
-
Tadashi G. Takaoka authored
Change-Id: Ide3f605ce40e8c230f217bbf37ab016457ee91f1
-
Jean Chalard authored
In-place replacements of visibly identical things. Change-Id: I02b51bd7f63597e3428f0650b239e9a39ef5a7c7
-
Jean Chalard authored
Change-Id: I791700890338e023bd86b8794dbc90379b91dc7d
-
Jean Chalard authored
We know the size in advance, this may save a few allocations Change-Id: I2fb9a725f34ba2da4f34ed335652f10447d5d166
-
Jean Chalard authored
Just write the same thing in a more succint manner Change-Id: I08a2c5edd52a3502914541061fd5b6ee7a92ebc4
-
Jean Chalard authored
Renaming some variables, and obvious optimizations. Change-Id: Ib716748e9f3d602cf276dcd4e73f3bcfb819585e
-
Jean Chalard authored
Change-Id: I03005240238fb004c20b2df0d836796e2e8b307f
-
Jean Chalard authored
Change-Id: I208dd2e725e37c2fb3cd51fe48194679e5912f6b
-
Jean Chalard authored
Change-Id: Idef22e6a82d59e3ec95b95ad237debcb07daf000
-
Jean Chalard authored
We have to match one way or another, and the argument order to the Builder call is more logical. Change-Id: Iac7c3a351c2687cb294d6a4924fd9cb20ca95177
-
Jean Chalard authored
Change-Id: I2184084f4b7729c4324f8291d548bd4c4c2872a1
-
Jean Chalard authored
Change-Id: If77ee5aa9483d3ca03c52812f31665dee6468e99
-
Jean Chalard authored
Change-Id: Ic3e07b745b7b24cae0f772ea49e0de615b44caf9
-
Jean Chalard authored
I had missed that one Change-Id: I9a5040a7a61e294396aa424de96a69dbb15f037a
-
- Mar 13, 2012
-
-
Jean Chalard authored
Change-Id: Ie399ca7a9e76ccab44a92bc378d11f92392fed2c
-
Jean Chalard authored
...and go for the kill Change-Id: I5ad57211b250d2578ca22a5dae93344d52f9da80
-
Jean Chalard authored
Also stop using Builder between its creation and the call to the #build() method. Change-Id: Ie1fc3ec7b6f4c7c3789f672f4e26b4bf58c3e062
-