- Jul 12, 2012
-
-
Jean Chalard authored
Also, use it in getBigrams. Change-Id: Ia0be9b57d1b7effcd8a936e01e957d1195b39c68
-
Jean Chalard authored
This needs the matching A119b change to not break the build. The array is passed, but not used yet. Bug: 6166228 Change-Id: Ia91d658461d989ee8c94e9b31bb06f4a36f4c5b6
-
Jean Chalard authored
showSuggestions is only ever called by updateSuggestionsOrPredictions. It only feels natural that, when called with a 0-sized or null suggestion list, it clears the suggestions. Change-Id: I5b52bc9151afca1bb6c6f0a7f81e3255add92177
-
Jean Chalard authored
Change-Id: I6f8bb05a23edb40a079da60b7136170ec9043282
-
Jean Chalard authored
Change-Id: I97cf92a7b0dabc251dd241b24978ea00d1e5f047
-
Jean Chalard authored
This improves locality, it's better for readability/performance Change-Id: Ibb1efaf86e362dd2c9398722d0da2144df96b333
-
Jean Chalard authored
Change-Id: I7e24e0aeae7c004cae310ae9f46cf90dac2d4d14
-
Jean Chalard authored
If not composing a word, then consideredWord is always the empty string. Hence, it's never whitelisted, but it's also always "NotAWord", so isWhitelistedOrNotAWord returns always true, so allowsToBeAutoCorrected is always true. Which means that isPrediction implies allowsToBeAutoCorrected == true. Thus, !isPrediction && !allowsToBeAutoCorrected is strictly equivalent to !allowsToBeAutocorrected. Change-Id: I4ad7a7c3447851c539646d97cf55ff065e6ee115
-
Jean Chalard authored
If we are not composing a word, that isFirstCharCapitalized and isAllUpperCase are guaranteed to return false. Change-Id: Ic4a0be9574acf4653c729a9594f963f5bcf0c757
-
Jean Chalard authored
Change-Id: I7c76613df8f148feb02765f187db3ca6dc577977
-
Jean Chalard authored
The fact that prediction does not accept a null argument is an implementation detail, it should not be visible to Java code. Change-Id: I3a156b323b6db9353de898d33f3f7c81751cecb1
-
Jean Chalard authored
Change-Id: Ib785b7e8c554d030395e2c0ca92edb44eb2b245f
-
Jean Chalard authored
Change-Id: Iffc0bae0a273419e7c50d69526c0c8e402c6461c
-
Jean Chalard authored
Java code does not have to know about this implementation detail: the generic method should do the dispatching, instead of having the caller call either method. Change-Id: Ic13727f0cb18f4ced2c356cce2f8d710588c0421
-
Jean Chalard authored
Change-Id: Ic0ecea22212fd1a098a3a168da460374e446f4a3
-
Jean Chalard authored
Change-Id: I8a09fa2f0649880c943364699a07652e47dede22
-
Jean Chalard authored
Change-Id: Ied1f9f96a574b1e6a8ee0a71bfb1604d9c962e1c
-
- Jul 11, 2012
-
-
Ying Wang authored
Change-Id: I056d8d8d630a2b3576462f7900bc39a7f19f5aa0 Auto-generated-cl: translation import
-
Jean Chalard authored
Change-Id: Ib5ebddfdb87ef71a2f8d859fb45d3ac78040e97a
-
Tadashi Takaoka authored
This reverts commit 1250cdea
-
Tadashi G. Takaoka authored
Change-Id: I8a5641c88c45918d6bed81a0b03efdcff0b380c5
-
Jean Chalard authored
Change-Id: I121071f80c8af3c1053968dc76aaeca3352ca9a8
-
Jean Chalard authored
Change-Id: I6ce856ff49a8f8c696851b2487590704010fc758
-
Tadashi G. Takaoka authored
Change-Id: Ibe63212fe71cdebb5b897bc5018ae75b2a87555a
-
Jean Chalard authored
-
Jean Chalard authored
-
Jean Chalard authored
-
Jean Chalard authored
-
Jean Chalard authored
-
Jean Chalard authored
-
Jean Chalard authored
-
Kurt Partridge authored
-
Jean Chalard authored
Change-Id: I6340748654a95d203ed43ceb9a7e6468b5b8ab1c
-
Jean Chalard authored
Change-Id: I9e9f5664bb12bb25d74c8a076a6ee1024c708145
-
Jean Chalard authored
Change-Id: I6c265956394cf49e74b0256dfa5af06fe6b30467
-
Jean Chalard authored
Change-Id: I3c3ffcd3d40493f4bfa0f6596f923b3430e605aa
-
Jean Chalard authored
Change-Id: Ied2e291393609300173681e26e82b7dd36b41bd0
-
Jean Chalard authored
Change-Id: I3ac7ee823471a6d1da8031e064bce38b0e5a8f5c
-
Jean Chalard authored
Change-Id: I84b97886280eca75d5f2b7546f20f8b1bced55bc
-
Kurt Partridge authored
- separate ResearchLog from ResearchLogger - fix abort menu to explicitly indicate re-enabling of logging - auto flush entries every 5s - conform to new suggestedWords class multi-project change with I9fe1f8fe59d5891daa4ca84af157f36fb1bb17dc Bug: 6188932 Change-Id: I7e99390f934481c6ed9cea2b259944583edda5bb
-