Commit Graph

30511 Commits (149ac7920544d48265df51aed1da2934092ba0ac)

Author SHA1 Message Date
Tadashi G. Takaoka 081989ca30 Remove unused default object of GestureStrokePreviewParams
This change also fixes build broken by Id615556766.

Change-Id: I16605cc3b65e3e9ab2d5a498825c31d9b4046b73
2013-12-20 15:25:24 +09:00
Jean Chalard 1c0374da49 [IL17] Move commitChosenWord to InputLogic.
Also not-cache a value whose documentation says not to cache
it. That makes it write only, so remove it.

Bug: 8636060
Change-Id: I39798a039cebf79ad78a41fe457c9d9764a3f275
2013-12-20 15:13:48 +09:00
Jean Chalard a905fcec00 [IL16] Improve getTextWithSuggestionSpan
Dynamically test for the presence of main dict suggestions. This
is much more potent and more accurate than the vaguely defined
boolean.
Also, resolve a TODO and avoid creating an object uselessly.

Not directly related, but helpful with:
Bug: 8636060

Change-Id: Ib1745f77ee6d9ec7cd8bbfa5a548652ec84ec902
2013-12-20 15:13:48 +09:00
Tadashi G. Takaoka 91000283b5 am 6e97efef: Fix rugged gesture trail
* commit '6e97efef78f32daebed7ec3b0624cd645072ec84':
  Fix rugged gesture trail
2013-12-19 21:45:58 -08:00
Tadashi G. Takaoka 6e97efef78 Fix rugged gesture trail
Bug: 12222472
Change-Id: Id615556766718a8bd4848f7026833fbcea540c39
2013-12-20 14:40:18 +09:00
Tadashi G. Takaoka 7084bd2fe3 am ce9c7d75: Merge "Remove PointerTracker reference from accessibility package"
* commit 'ce9c7d75114e298457447edcec9d9740968e22bd':
  Remove PointerTracker reference from accessibility package
2013-12-19 20:12:15 -08:00
Jean Chalard 3ae5c14c18 am 30e3b66f: Merge "[IL15] Some small refactoring"
* commit '30e3b66fa3003f9008f8164539bae5540f454cf4':
  [IL15] Some small refactoring
2013-12-19 20:12:13 -08:00
Jean Chalard 1516b09c3b am 00a2f21e: Merge "[IL14] Move getCurrent*Caps* to InputLogic"
* commit '00a2f21eeb0296124b65581b83a7364c2befe3d9':
  [IL14]  Move getCurrent*Caps* to InputLogic
2013-12-19 20:12:10 -08:00
Tadashi G. Takaoka ce9c7d7511 Merge "Remove PointerTracker reference from accessibility package" 2013-12-20 03:33:24 +00:00
Tadashi G. Takaoka 6a23b9e3d5 Remove PointerTracker reference from accessibility package
Change-Id: I1a88d9fc4db437070778ea1256aae17c32428729
2013-12-20 12:29:25 +09:00
Jean Chalard 30e3b66fa3 Merge "[IL15] Some small refactoring" 2013-12-20 02:42:09 +00:00
Jean Chalard 00a2f21eeb Merge "[IL14] Move getCurrent*Caps* to InputLogic" 2013-12-20 02:40:53 +00:00
Jean Chalard 5c9e677c2a [IL15] Some small refactoring
Bug: 8636060
Change-Id: I4bfdf1628c9b55a79bd2d88ee30bf10b08a49232
2013-12-20 11:24:45 +09:00
Jean Chalard 48ba1f25ff [IL14] Move getCurrent*Caps* to InputLogic
Bug: 8636060
Change-Id: I6338dcee0f7a80f2181ba0369f71350cb21d231a
2013-12-20 11:24:42 +09:00
Baligh Uddin 71310f88f4 am c34b4c07: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'c34b4c0744fd952f51034265971ff8b1dab5ebf1':
  Import translations. DO NOT MERGE
2013-12-19 14:46:01 -08:00
Baligh Uddin c34b4c0744 Merge "Import translations. DO NOT MERGE" 2013-12-19 22:42:51 +00:00
Baligh Uddin 6917e972b2 Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-12-19 22:42:46 +00:00
Baligh Uddin 4f878a71b9 Import translations. DO NOT MERGE
Change-Id: Iec55106743e61ca92f934f1280b0faf0bb2f4b1b
Auto-generated-cl: translation import
2013-12-19 14:18:14 -08:00
Baligh Uddin 58ac3f27ed Import translations. DO NOT MERGE
Change-Id: Ida3373df3fe48f8ddf56e858c4cb81ad8efef339
Auto-generated-cl: translation import
2013-12-19 14:11:17 -08:00
Jean Chalard 447f335f27 am cdd8a1a6: [IL13] Inline restartSuggestionsOnWordBeforeCursor
* commit 'cdd8a1a69d0fdbf844ab390e22872e2b32f1d664':
  [IL13] Inline restartSuggestionsOnWordBeforeCursor
2013-12-19 03:52:29 -08:00
Jean Chalard f84fb3d653 am bbe40835: [IL12] move restartSuggestions* to InputLogic
* commit 'bbe40835a983e2e627a0e4664cbd4a1654597841':
  [IL12] move restartSuggestions* to InputLogic
2013-12-19 03:43:50 -08:00
Jean Chalard 3193a364fa am 10755af9: [IL11] Cleanup
* commit '10755af97b7cc8cb2c79871f1d5de9276ffeae79':
  [IL11] Cleanup
2013-12-19 03:33:54 -08:00
Jean Chalard cdd8a1a69d [IL13] Inline restartSuggestionsOnWordBeforeCursor
It's only ever used in one place and makes unhealthy assumptions
about what the caller is doing. It's better inlined.

Bug: 8636060
Change-Id: I265d5d96894e929d09247ee2e3dc2e81efc2a276
2013-12-19 20:31:52 +09:00
Jean Chalard bbe40835a9 [IL12] move restartSuggestions* to InputLogic
Bug: 8636060
Change-Id: I99474248e8fa35eb3053b5520abc8716805fdfb4
2013-12-19 20:30:41 +09:00
Jean Chalard 10755af97b [IL11] Cleanup
Make some methods private and add comments.

Bug: 8636060
Change-Id: I6c7d13dca8a22dd1a6f110e8b18d52864429579f
2013-12-19 20:13:14 +09:00
Jean Chalard c67440b00e am 060e2926: [IL10] Move revertCommit to InputLogic
* commit '060e292628aa8ebbdc9dc951393336f4bb39bc69':
  [IL10] Move revertCommit to InputLogic
2013-12-19 03:12:10 -08:00
Jean Chalard 3ba13e6069 am 69a57bcd: [IL9] Move commitCurrentAutoCorrection to InputLogic
* commit '69a57bcdcd254b8e2dfbc367ef130114634c51a5':
  [IL9] Move commitCurrentAutoCorrection to InputLogic
2013-12-19 03:12:07 -08:00
Jean Chalard 060e292628 [IL10] Move revertCommit to InputLogic
Bug: 8636060
Change-Id: Ia5788b365f05ae880bad957cbef00ecc93abb5d1
2013-12-19 19:30:26 +09:00
Jean Chalard 69a57bcdcd [IL9] Move commitCurrentAutoCorrection to InputLogic
Bug: 8636060
Change-Id: I405c4a537858a6d5ab0b29502a2792e8c3b2564e
2013-12-19 19:30:20 +09:00
Jean Chalard 29ed9292eb am 035e3885: [IL8] Move handleNonSeparator to InputLogic
* commit '035e3885ac5db4944f3b244019ee73208a88fd39':
  [IL8] Move handleNonSeparator to InputLogic
2013-12-19 02:10:55 -08:00
Jean Chalard 90f56f72fd am d85e49bf: [IL7] Move performRecapitalization to InputLogic
* commit 'd85e49bf8cd9d8b850cb9f1ca0257e826b74642a':
  [IL7] Move performRecapitalization to InputLogic
2013-12-19 01:42:57 -08:00
Jean Chalard 278a00d1b8 am 40b42b7d: [IL6] Move handleSeparator to InputLogic
* commit '40b42b7d8459d238f035fa7ea3c7be96ff01610f':
  [IL6] Move handleSeparator to InputLogic
2013-12-19 01:42:54 -08:00
Jean Chalard d4d88c502f am c8dfaab7: [IL5] Some renaming
* commit 'c8dfaab78398dd88a9657d0ae22077db6c4de2b9':
  [IL5] Some renaming
2013-12-19 01:42:51 -08:00
Jean Chalard 035e3885ac [IL8] Move handleNonSeparator to InputLogic
Also move getActualCapsMode and getNthPreviousWordForSuggestion

Bug: 8636060
Change-Id: I1ee9162d0b7a517070c4b7420b084c973f061533
2013-12-19 18:32:51 +09:00
Jean Chalard d85e49bf8c [IL7] Move performRecapitalization to InputLogic
Bug: 8636060
Change-Id: I5bf2b1fa2f9338fe28151e66eac1ceda6dbd4a7f
2013-12-19 18:20:41 +09:00
Jean Chalard 40b42b7d84 [IL6] Move handleSeparator to InputLogic
Also move swapSwapperAndSpace, maybeDoubleSpacePeriod,
maybeStripSpace, promotePhantomSpace and canBeFollowedByDoubleSpacePeriod

Bug: 8636060
Change-Id: I864053d21c4b3d51ee7a3cd79053ca602337f6f8
2013-12-19 17:39:01 +09:00
Jean Chalard c8dfaab783 [IL5] Some renaming
Bug: 8636060
Change-Id: Id76889f8405458bcacb9c7c694cb193b27b842f3
2013-12-19 17:38:55 +09:00
Jean Chalard 529c691a6a am 37d3f1bd: [IL4] Move handleNonSpecialCharacter to InputLogic.
* commit '37d3f1bd02f695b0630bcd3a15ebeef40967e75e':
  [IL4] Move handleNonSpecialCharacter to InputLogic.
2013-12-19 00:07:51 -08:00
Jean Chalard be944b87ab am 0e82fa27: [IL3] Move handleBackspace to InputLogic.
* commit '0e82fa273d09f781d88a8d222394c7bcc7827745':
  [IL3] Move handleBackspace to InputLogic.
2013-12-18 23:57:00 -08:00
Jean Chalard b2036c9910 am cddf4f9d: [IL2] Move onCodeInput to InputLogic.
* commit 'cddf4f9d781850fb4ffcfd8dfc434aa44c5d9f88':
  [IL2] Move onCodeInput to InputLogic.
2013-12-18 23:49:22 -08:00
Jean Chalard 37d3f1bd02 [IL4] Move handleNonSpecialCharacter to InputLogic.
Bug: 8636060
Change-Id: I9c6869c85db49d7f87e95a421389eaf47ae3ab2e
2013-12-19 16:46:57 +09:00
Jean Chalard 0e82fa273d [IL3] Move handleBackspace to InputLogic.
Also move resetEntireInputState, resetComposingState,
sendDownUpKeyEvent, sendKeyCodePoint and getTextWithUnderline

Bug: 8636060
Change-Id: Ic4c270ac49769ffba41dc3f12d16ac3aa938717f
2013-12-19 16:46:54 +09:00
Jean Chalard cddf4f9d78 [IL2] Move onCodeInput to InputLogic.
Bug: 8636060
Change-Id: I8c5c028d81183adb0167b2034ee01de8048edafb
2013-12-19 16:24:45 +09:00
Jean Chalard 57c3bf5cc3 am 7bd2a75c: Start separating the input logic from LatinIME.
* commit '7bd2a75ca180cb5da8ba75500163aa06f332caac':
  Start separating the input logic from LatinIME.
2013-12-18 22:30:30 -08:00
Jean Chalard 7bd2a75ca1 Start separating the input logic from LatinIME.
Create an InputEngine class and start moving the relevant
variables to it.

Bug: 8636060
Change-Id: I64adef4ac01e665c19bb7c5b93517a0cbd03d817
2013-12-19 14:48:43 +09:00
Jean Chalard 15732a7280 am 553fd662: Merge "Add some info to test crashes to help diagnose flakiness"
* commit '553fd66270faec1e4a48b64a522074763c56024f':
  Add some info to test crashes to help diagnose flakiness
2013-12-18 20:50:05 -08:00
Jean Chalard 553fd66270 Merge "Add some info to test crashes to help diagnose flakiness" 2013-12-19 04:48:36 +00:00
Keisuke Kuroyanagi 08f9d25acc am b68dd6cd: Merge "Differentiate exact matches\' minor errors."
* commit 'b68dd6cd0b58f0471c556a58f50c3cd6eab831c3':
  Differentiate exact matches' minor errors.
2013-12-18 20:16:27 -08:00
Keisuke Kuroyanagi b68dd6cd0b Merge "Differentiate exact matches' minor errors." 2013-12-19 04:14:11 +00:00
Ken Wakasa d4c439746d am abe3a35a: Add C++ compiler warning options
* commit 'abe3a35abfb95430bc1d5571c86ea749415d26e4':
  Add C++ compiler warning options
2013-12-18 20:07:50 -08:00