Commit Graph

8567 Commits (ea24d13c7ae5c8f1417a0165d806b47702eda07b)

Author SHA1 Message Date
Tadashi G. Takaoka 475b9b0942 am f035649c: Asynchronously look up dictionary for gesture input
* commit 'f035649cb612be8b80892c510bbc137a615719b4':
  Asynchronously look up dictionary for gesture input
2012-09-14 02:15:04 -07:00
Tadashi G. Takaoka f035649cb6 Asynchronously look up dictionary for gesture input
Bug: 7149248
Change-Id: Icba2db73508b89a85828ae9e196ab618e5e6c280
2012-09-14 02:12:11 -07:00
Keisuke Kuroyanagi 1cd7ca9919 Using isSkippableChar instead of '\'' and '-'.
Change-Id: I295a72b683b2ebc28a006baa66baf7e1b97100eb
2012-09-14 18:03:10 +09:00
Jean Chalard eda096538b Do not auto-correct upon starting a gesture.
We decided to revert this UI decision after negative feedback.
Indeed, if you use to gesture but tap just one word, chances
are it's because you know you do NOT want a dictionary word.

Bug: 6965241
Change-Id: I85fdfab3c1cf1d3c0fd3e95908e01bdf56bccbba
2012-09-14 17:52:54 +09:00
Jean Chalard 8d35b203ca Make the arrobase sign a space stripper.
Gestures offer much more opportunity to enter e-mail user names,
so this should now be the dominant use case for arrobase use. In
this use case, the arrobase sign should be a space stripper.

Bug: 7164981
Change-Id: I736ac56dab81cd2c97275ec80dbb0ec0bc159006
2012-09-14 17:31:46 +09:00
Jean Chalard 916ff36f78 am 6f8dfd92: Simplify the code some more (A4)
* commit '6f8dfd92b1b19eb3e3f3bfd2cd837c6b70b50c33':
  Simplify the code some more (A4)
2012-09-14 01:05:58 -07:00
Jean Chalard 35dc8cf223 Replace immediate values with named constants for characters (A6)
Change-Id: I6248f9f3ff99003ab62be22eac673df0f7f5c015
2012-09-14 16:59:50 +09:00
Jean Chalard e94c276690 Simplification again (A5)
Change-Id: Id3ba200e06244e6d13cf57d346001d61f85ef1a2
2012-09-14 16:59:18 +09:00
Jean Chalard 6f8dfd92b1 Simplify the code some more (A4)
Change-Id: I1b1763ceefda6357dc698195928d0f16bc425830
2012-09-14 16:58:04 +09:00
Jean Chalard 352b0352a8 am 33a226f8: Merge "Small simplification (A3)" into jb-mr1-dev
* commit '33a226f897f20d7cc623ad6facc17bf0382426a1':
  Small simplification (A3)
2012-09-13 19:55:18 -07:00
Jean Chalard 33a226f897 Merge "Small simplification (A3)" into jb-mr1-dev 2012-09-13 19:53:14 -07:00
Tadashi G. Takaoka 6456aabb09 am c869a224: Merge "Don\'t show gesture preview trail while detecting gesture input" into jb-mr1-dev
* commit 'c869a224a4ba510de49cbe9200a56552ffa11cfa':
  Don't show gesture preview trail while detecting gesture input
2012-09-13 19:31:53 -07:00
Tadashi G. Takaoka c869a224a4 Merge "Don't show gesture preview trail while detecting gesture input" into jb-mr1-dev 2012-09-13 19:30:00 -07:00
Tadashi G. Takaoka 9c5d165e9c Don't show gesture preview trail while detecting gesture input
Bug: 7166222
Change-Id: Iecc8403a4eca305323ed8c8e17266d23172d84d9
2012-09-14 11:21:12 +09:00
Yuichiro Hanada a0fe76f6d5 am cc958dd9: Refactor BinaryDictInputOutput.
* commit 'cc958dd96eef65fddbc48185c2e88ab18504a377':
  Refactor BinaryDictInputOutput.
2012-09-13 19:20:17 -07:00
Yuichiro Hanada cc958dd96e Refactor BinaryDictInputOutput.
Change-Id: Idb4b635fcac70cc988e0dd3ce3bf121fba12099c
2012-09-14 11:08:01 +09:00
Jean Chalard 5fbe3764ae Small simplification (A3)
Change-Id: I2ea9566ce5cb1fbccd33a42836244a899365de6a
2012-09-13 20:13:52 +09:00
Jean Chalard 635f9773cd am d7fdc730: Merge "Simplify a call, and add comments (A2)" into jb-mr1-dev
* commit 'd7fdc730c302c182cc34dd03018b4185df912727':
  Simplify a call, and add comments (A2)
2012-09-13 03:40:32 -07:00
Jean Chalard d7fdc730c3 Merge "Simplify a call, and add comments (A2)" into jb-mr1-dev 2012-09-13 03:38:50 -07:00
Tadashi G. Takaoka ae65d19e5a am 50f0388e: Merge "Fix gesture floating preview on up event" into jb-mr1-dev
* commit '50f0388ee6515e9d52a1cb202e02dc5492d47d61':
  Fix gesture floating preview on up event
2012-09-13 03:23:27 -07:00
Tadashi G. Takaoka 50f0388ee6 Merge "Fix gesture floating preview on up event" into jb-mr1-dev 2012-09-13 03:21:12 -07:00
Tadashi G. Takaoka 350fab6dc4 Fix gesture floating preview on up event
This is a follow up of Iddb26ba1.

Bug: 7119032
Change-Id: Ibbc94a1a4880ca31bd8aeece89893691b14acc4d
2012-09-13 19:07:09 +09:00
Jean Chalard 9950879447 am 2427f578: Merge "Import TextUtils.getCapsMode to fix it internally (A1)" into jb-mr1-dev
* commit '2427f578c8fafa85f3f9f74c00384f785e489bcf':
  Import TextUtils.getCapsMode to fix it internally (A1)
2012-09-13 02:59:17 -07:00
Jean Chalard 3d54e1c1ec Simplify a call, and add comments (A2)
Since the function has to be modified heavily but does a lot
of non-trivial work, add a wealth of comments explaining what
it does and why so as to facilitate understanding the changes
to come.

Bug: 4967874
Change-Id: I6c21aea15f161d807035f279dfb7d1b98b3e9144
2012-09-13 18:59:04 +09:00
Jean Chalard 2427f578c8 Merge "Import TextUtils.getCapsMode to fix it internally (A1)" into jb-mr1-dev 2012-09-13 02:57:35 -07:00
Tadashi G. Takaoka 265083c85a am 737e9150: Merge "Show gesture floating preview text at oldest finger" into jb-mr1-dev
* commit '737e9150935e1058b2d7d6adcd1b7857fa7c37ca':
  Show gesture floating preview text at oldest finger
2012-09-13 02:33:58 -07:00
Tadashi G. Takaoka 737e915093 Merge "Show gesture floating preview text at oldest finger" into jb-mr1-dev 2012-09-13 02:32:53 -07:00
Jean Chalard a0fd2b4053 am 37872892: Merge "Make onUpdateSelection much more resilient to race conditions." into jb-mr1-dev
* commit '378728920bec5e43138573acb8473093e674fde9':
  Make onUpdateSelection much more resilient to race conditions.
2012-09-13 02:30:23 -07:00
Jean Chalard 378728920b Merge "Make onUpdateSelection much more resilient to race conditions." into jb-mr1-dev 2012-09-13 02:28:52 -07:00
Tom Ouyang f5297a2b61 am 0e301bdc: Merge "Generalize incremental recognition to non-Latin languages" into jb-mr1-dev
* commit '0e301bdc294b4a22688e486b4570948ff98b9ccf':
  Generalize incremental recognition to non-Latin languages
2012-09-13 02:28:44 -07:00
Tom Ouyang 0e301bdc29 Merge "Generalize incremental recognition to non-Latin languages" into jb-mr1-dev 2012-09-13 02:26:54 -07:00
Ken Wakasa b78d7be6b4 am f8986ac6: Merge "Add tests for BinaryDictInputOutput." into jb-mr1-dev
* commit 'f8986ac69bd1928e0dcf044b28de69a7553cc512':
  Add tests for BinaryDictInputOutput.
2012-09-13 02:21:54 -07:00
Ken Wakasa f8986ac69b Merge "Add tests for BinaryDictInputOutput." into jb-mr1-dev 2012-09-13 02:20:59 -07:00
Tadashi G. Takaoka f0e83046f0 Show gesture floating preview text at oldest finger
Bug: 7119032
Change-Id: Iddb26ba1a595e472fde0982d744b5652d5fbda3e
2012-09-13 18:17:15 +09:00
Yuichiro Hanada 7e35841053 Add tests for BinaryDictInputOutput.
Change-Id: I2ca66fd9a3568d5b6ece79d954095383d23a0a9f
2012-09-13 18:06:45 +09:00
Jean Chalard 9d1c73ffd8 Import TextUtils.getCapsMode to fix it internally (A1)
This should have on effect at all on behavior,
except an increase in performance.

Bug: 4967874
Bug: 6950087
Change-Id: Ie2b51efefe84ca767f5dc8e3b80bfef7e1faab3d
2012-09-13 17:46:39 +09:00
Jean Chalard 5ed88457bf Make onUpdateSelection much more resilient to race conditions.
This is pretty much as strong as it gets. It should be
impossible to get false positives and nearly impossible to
get true negatives with this new code.

Bug: 6981089
Change-Id: Ia32ab62f89c5943f0be169b979abab652e67bf5b
2012-09-13 17:35:26 +09:00
Tadashi G. Takaoka 1ab9ca8bbd am 71fcf0f5: Assign subtypes\' hashCode value as its subtypeId
* commit '71fcf0f5ec04d1ca00e83a07768ba5883c74017d':
  Assign subtypes' hashCode value as its subtypeId
2012-09-13 01:06:08 -07:00
Tadashi G. Takaoka 71fcf0f5ec Assign subtypes' hashCode value as its subtypeId
Bug: 6752230
Change-Id: I311b840c890f4c6ff89c2808237d7e9b8baef21d
2012-09-13 16:56:59 +09:00
Tadashi G. Takaoka 8171d9d9a6 am 9144eecd: Merge "Add boolean resource isDefault=true for all supported locales" into jb-mr1-dev
* commit '9144eecd8e76d443fd884010f34504367f64a8ff':
  Add boolean resource isDefault=true for all supported locales
2012-09-13 00:44:39 -07:00
Tadashi G. Takaoka 9144eecd8e Merge "Add boolean resource isDefault=true for all supported locales" into jb-mr1-dev 2012-09-13 00:43:18 -07:00
Ken Wakasa 63eef1890d am 328755ee: Merge "Move FormatOptions and FileHeader to FormatSpec." into jb-mr1-dev
* commit '328755eee2f6e44daa98a54bd0ee9c0f433c58be':
  Move FormatOptions and FileHeader to FormatSpec.
2012-09-13 00:40:04 -07:00
Ken Wakasa 328755eee2 Merge "Move FormatOptions and FileHeader to FormatSpec." into jb-mr1-dev 2012-09-13 00:38:44 -07:00
Yuichiro Hanada 1a347723c5 Move FormatOptions and FileHeader to FormatSpec.
Change-Id: I232e35598635113bf2c81825669c744aadc79efe
2012-09-13 16:35:41 +09:00
Tadashi G. Takaoka 82902e7671 Add boolean resource isDefault=true for all supported locales
Bug: 7115368
Change-Id: I390d52d10d6c7d1639f73255ace9985886ea2157
2012-09-13 15:56:35 +09:00
Tadashi G. Takaoka b1963c2d39 am 9deb52c9: Merge "Cosmetic change to remove trailing space" into jb-mr1-dev
* commit '9deb52c9968c0dfc00713b76aff9398173df6f79':
  Cosmetic change to remove trailing space
2012-09-12 23:46:35 -07:00
Tadashi G. Takaoka 9deb52c996 Merge "Cosmetic change to remove trailing space" into jb-mr1-dev 2012-09-12 23:44:22 -07:00
Satoshi Kataoka 6b966b2623 am f4554d8b: Fix an issue on FP calculation diff of osx and linux
* commit 'f4554d8b10f25ab300d057ff0ebd16b2b7a70be8':
  Fix an issue on FP calculation diff of osx and linux
2012-09-12 23:40:48 -07:00
Tadashi G. Takaoka c54614d9f3 Cosmetic change to remove trailing space
Change-Id: If8c00c763f815d5eb97e18b19060c63d321ccd61
2012-09-13 15:21:54 +09:00
Satoshi Kataoka f4554d8b10 Fix an issue on FP calculation diff of osx and linux
sugar on mac

result_type=1 expected=<1093> actual=<1047>
result_type=4 expected=<730> actual=<698>
result_type=5 expected=<177> actual=<173>

sugar on linux

result_type=1 expected=<1093> actual=<1047>
result_type=4 expected=<730> actual=<698>
result_type=5 expected=<177> actual=<173>

Change-Id: I4cd39becb0de4076dd37d870adda6463a96de424
2012-09-13 15:13:02 +09:00