Commit graph

29984 commits

Author SHA1 Message Date
Jean Chalard
f294ed3308 Fix a code path that looks ridiculous
Bug: 12295276
Change-Id: I187016b59213d351c943c6e0b9a2ad3708499646
2013-12-26 22:28:16 +09:00
Jean Chalard
06b7e9e8f5 am f441047f: [IL43] Small cleanup
* commit 'f441047fadd6bc60b05274ca4a7195e4ff4b680d':
  [IL43] Small cleanup
2013-12-26 05:17:52 -08:00
Jean Chalard
654fe9724d am c28f0288: [IL42] Inline getSuggestedWordsOrOlderSuggestionsAsync
* commit 'c28f02880c307c1bf7c11a755765ea6354150bd4':
  [IL42] Inline getSuggestedWordsOrOlderSuggestionsAsync
2013-12-26 05:17:48 -08:00
Jean Chalard
f441047fad [IL43] Small cleanup
All calls are already passing this

Bug: 8636060
Change-Id: I13accefd7c17039dc5ec12dc9e8133ebc86451ad
2013-12-26 22:12:24 +09:00
Jean Chalard
c28f02880c [IL42] Inline getSuggestedWordsOrOlderSuggestionsAsync
Bug: 8636060
Change-Id: I5c47370a3ea5962caff4d40db2faa62accfc7147
2013-12-26 22:12:22 +09:00
Jean Chalard
c3f4239ed7 am 70433efc: [IL41] Remove a useless call and trampoline.
* commit '70433efc41970b4dc475b7e446388430aaf801b9':
  [IL41] Remove a useless call and trampoline.
2013-12-26 05:11:23 -08:00
Jean Chalard
70433efc41 [IL41] Remove a useless call and trampoline.
No point in calling maybeRetrieveOlderSuggestions now that the
same work is done right here. The callback is also useless now.

Bug: 8636060
Change-Id: Ic14849cb6f6e6293a42cfe068f5c6b18b7677bc0
2013-12-26 21:58:41 +09:00
Keisuke Kuroyanagi
9a25b2374d am be147f1f: Remove DictionaryFacilitatorForSuggest.getMainDictionary().
* commit 'be147f1fdcfb5d192f64eb97e508b43da1fd9509':
  Remove DictionaryFacilitatorForSuggest.getMainDictionary().
2013-12-26 03:59:06 -08:00
Keisuke Kuroyanagi
ce3fbd8486 am a3744827: Extract dict operations from Suggest to a new class.
* commit 'a374482719ef9f38395e7e39884433cc72e9cdb7':
  Extract dict operations from Suggest to a new class.
2013-12-26 03:55:47 -08:00
Keisuke Kuroyanagi
be147f1fdc Remove DictionaryFacilitatorForSuggest.getMainDictionary().
Bug: 8187060
Change-Id: Ide087f1e39b24695b610bd2b3c464b7e3cb9cd29
2013-12-26 20:48:19 +09:00
Keisuke Kuroyanagi
a374482719 Extract dict operations from Suggest to a new class.
Bug: 8187060
Change-Id: I77775aa50763158d99753c2312fa11fe14267aef
2013-12-26 20:48:19 +09:00
Jean Chalard
1212122d92 am 5c45ff12: [IL39] Change a test.
* commit '5c45ff12140c801448d0bef1991d803edc674fb8':
  [IL39] Change a test.
2013-12-26 03:48:16 -08:00
Jean Chalard
94982318e9 am 98140faa: [IL38] Fix a wrong double call
* commit '98140faac34ad2250c38c5f651788308adbedb2d':
  [IL38] Fix a wrong double call
2013-12-26 03:00:05 -08:00
Jean Chalard
5c45ff1214 [IL39] Change a test.
I don't see why we would want to remove other suggestions just because
the only suggestion happens to be a dictionary word. That's just
inconsistent.

Bug: 8636060
Change-Id: Ie2d990e5785273d625e6e5518026364165a8f2df
2013-12-26 18:44:17 +09:00
Jean Chalard
98140faac3 [IL38] Fix a wrong double call
This only gives bad results if a gesture results in only one suggestion.

Change-Id: I5a2f27f83f6901a5a9ecf22f02bdfc9cca6d9f1d
2013-12-26 18:43:47 +09:00
Keisuke Kuroyanagi
361cbcfc99 am d77ad190: Fix NPE in a unit test.
* commit 'd77ad1902be50def82596d9c6c84c5fc988444aa':
  Fix NPE in a unit test.
2013-12-26 00:09:59 -08:00
Keisuke Kuroyanagi
d77ad1902b Fix NPE in a unit test.
Change-Id: I0dfc23232ed77e1ff1aedecfa6ac022020cb1c19
2013-12-26 17:01:48 +09:00
Keisuke Kuroyanagi
1aacc4d60a am 65e3ae6f: Merge "Remove useless method call for spell checker."
* commit '65e3ae6f153a136902eaaf4da217496802c1daa1':
  Remove useless method call for spell checker.
2013-12-25 22:45:22 -08:00
Keisuke Kuroyanagi
65e3ae6f15 Merge "Remove useless method call for spell checker." 2013-12-26 06:42:51 +00:00
Tadashi G. Takaoka
a53fdb6aa9 am 3fbcf485: Merge "Add BatchInputArbiter"
* commit '3fbcf48591e2803dfe5e8540bed2f992c3c43925':
  Add BatchInputArbiter
2013-12-25 21:51:12 -08:00
Keisuke Kuroyanagi
7987afbea4 Remove useless method call for spell checker.
Bug: 8187060
Change-Id: I2f91da12ba2a9e7ce28abd06f314e0e6125d08dc
2013-12-26 14:51:05 +09:00
Tadashi G. Takaoka
3fbcf48591 Merge "Add BatchInputArbiter" 2013-12-26 05:50:07 +00:00
Jean Chalard
69d8055bb6 am 30a72da4: [IL37] Small simplification
* commit '30a72da42c479adb4cedff5d7a40846a3103ac9b':
  [IL37] Small simplification
2013-12-25 21:22:52 -08:00
Jean Chalard
e86dc236f5 am c08119e5: [IL36] Inline setAutoCorrection
* commit 'c08119e5c1f302cbc35b2c97d948e691ad8e8a59':
  [IL36] Inline setAutoCorrection
2013-12-25 21:19:33 -08:00
Tadashi G. Takaoka
4a4b6d42a7 Add BatchInputArbiter
Move the logic that determines how to handle gesture typing from
PointerTracker to BatchInputArbiter class.

This change must be checked in together with Ia7db8f4fb7.

Change-Id: I5e9f786de58d8a3cb0407ae562af707710ec37fb
2013-12-26 14:09:57 +09:00
Jean Chalard
30a72da42c [IL37] Small simplification
Bug: 8636060
Change-Id: I08a6c04986a0bd86ce4c232893e804766ebeebb9
2013-12-26 13:51:09 +09:00
Jean Chalard
c08119e5c1 [IL36] Inline setAutoCorrection
There are far too many one-use methods.

Bug: 8636060
Change-Id: I84e0669b8d2cc5a2817c42b089e874dc60e84769
2013-12-26 13:18:36 +09:00
Jean Chalard
8d2f602609 am 52a2682b: [IL35] Preparative cleanup
* commit '52a2682b99fc57dea974b21f3d606ed53a802e60':
  [IL35] Preparative cleanup
2013-12-25 19:33:34 -08:00
Jean Chalard
52a2682b99 [IL35] Preparative cleanup
Bug: 8636060
Change-Id: Id6791085816891c78289b0223bf0807db2da6300
2013-12-25 22:25:49 +09:00
Jean Chalard
f54be4fec2 am 0154609a: Merge "[IL34] Introduce InputLogicHandler"
* commit '0154609a2e98e217e49e53253746608767a02241':
  [IL34] Introduce InputLogicHandler
2013-12-25 05:25:15 -08:00
Jean Chalard
0154609a2e Merge "[IL34] Introduce InputLogicHandler" 2013-12-25 13:21:54 +00:00
Keisuke Kuroyanagi
5f33e88490 am 5c4bd203: Remove "Boost personalization dictionary" from settings.
* commit '5c4bd203315fe4e0374d80d4fc038f210e1639bb':
  Remove "Boost personalization dictionary" from settings.
2013-12-25 02:12:11 -08:00
Keisuke Kuroyanagi
5c4bd20331 Remove "Boost personalization dictionary" from settings.
Change-Id: Iab05e42e947610f358472cd95d0319d0ab3f0b31
2013-12-25 19:02:49 +09:00
Keisuke Kuroyanagi
52b417dca0 am bb39518b: Use SettingsValues instead of Settings in Suggest.
* commit 'bb39518bd7bb58d76f11d0deb16978a5c5fca7d9':
  Use SettingsValues instead of Settings in Suggest.
2013-12-25 01:57:18 -08:00
Keisuke Kuroyanagi
bb39518bd7 Use SettingsValues instead of Settings in Suggest.
Bug: 8187060
Change-Id: Idba1e708d67c036072b728949d17f8bd98ae0115
2013-12-25 18:53:04 +09:00
Tadashi G. Takaoka
caea4be68c am d99d225f: Merge "Separate GestureStrokeDrawingPoints from GestureStrokeRecognitionPoints"
* commit 'd99d225f105c6e7276e1e06e57b9803aed981e62':
  Separate GestureStrokeDrawingPoints from GestureStrokeRecognitionPoints
2013-12-24 23:01:11 -08:00
Tadashi G. Takaoka
d99d225f10 Merge "Separate GestureStrokeDrawingPoints from GestureStrokeRecognitionPoints" 2013-12-25 06:58:08 +00:00
Keisuke Kuroyanagi
4dd23b9dce am eea7122e: Move dict operations to Suggest.
* commit 'eea7122e5b0b0489e4795e3e6cb994784b4ab82b':
  Move dict operations to Suggest.
2013-12-24 22:47:10 -08:00
Keisuke Kuroyanagi
eea7122e5b Move dict operations to Suggest.
Bug: 8187060

Change-Id: Iabe13abcd43b381360f7080b3f4ee0533f246160
2013-12-25 15:26:50 +09:00
Tadashi G. Takaoka
c3fe1425a5 Separate GestureStrokeDrawingPoints from GestureStrokeRecognitionPoints
This change must be checked in together with Ibed5330614.

Change-Id: I20ba79fd20e8ea0aa3ac596c011ec5bfea528ace
2013-12-25 15:19:00 +09:00
Jean Chalard
621dcbc31c [IL34] Introduce InputLogicHandler
Bug: 8636060
Change-Id: I5d08ed5d69cdb03bd188e36b7014de03f04fa72f
2013-12-25 14:20:19 +09:00
Keisuke Kuroyanagi
e67dacb1f5 am 605caf1b: Fix NPE in SettingsValues.
* commit '605caf1b5fca04f348fae92f4db1a8f10ac7df92':
  Fix NPE in SettingsValues.
2013-12-24 21:08:36 -08:00
Keisuke Kuroyanagi
605caf1b5f Fix NPE in SettingsValues.
Change-Id: I96fc381d2b45881aeb342d33207cd7fe82f5077c
2013-12-25 14:00:16 +09:00
Keisuke Kuroyanagi
5d0e0af57e am 4a55ee14: Fix typo in a unit test.
* commit '4a55ee14408ff28e6738b0165707b278b38f1282':
  Fix typo in a unit test.
2013-12-24 20:18:04 -08:00
Keisuke Kuroyanagi
4a55ee1440 Fix typo in a unit test.
Change-Id: I9222533704722265511b9fe6fb5caf99765e198b
2013-12-25 13:13:43 +09:00
Tadashi G. Takaoka
2a141f93d2 am a801c8fd: Merge "Rename gesture related classes"
* commit 'a801c8fd9b04c9ea05d33aa6d1cd928985bcc090':
  Rename gesture related classes
2013-12-24 20:06:04 -08:00
Tadashi G. Takaoka
a801c8fd9b Merge "Rename gesture related classes" 2013-12-25 04:04:05 +00:00
Keisuke Kuroyanagi
bd23113b45 am f1457e7a: Remove personalized dicts when the option is turned off.
* commit 'f1457e7a221082688b6399853e84e77948633c7b':
  Remove personalized dicts when the option is turned off.
2013-12-24 19:25:02 -08:00
Tadashi G. Takaoka
e2a6253cb5 Rename gesture related classes
Change-Id: I5cb03576bb7221f1864e157857d872880a0a58f8
2013-12-25 11:52:54 +09:00
Keisuke Kuroyanagi
f1457e7a22 Remove personalized dicts when the option is turned off.
Bug: 11757851

Change-Id: I94f32859d862fe41e39845ab2bfc2d396c6aea0f
2013-12-25 11:44:16 +09:00