Commit graph

8918 commits

Author SHA1 Message Date
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
8c1323023f am 635f9773: am d7fdc730: Merge "Simplify a call, and add comments (A2)" into jb-mr1-dev
* commit '635f9773cdf07153428c9f614f331428c5854f0f':
  Simplify a call, and add comments (A2)
2012-09-13 14:11:38 -07:00
Tadashi G. Takaoka
d0a46d3ec3 am ae65d19e: am 50f0388e: Merge "Fix gesture floating preview on up event" into jb-mr1-dev
* commit 'ae65d19e5a9b624eb1df3b773b26deaa3bc7e4b1':
  Fix gesture floating preview on up event
2012-09-13 14:11:36 -07:00
Jean Chalard
962a5f63b7 am 99508794: am 2427f578: Merge "Import TextUtils.getCapsMode to fix it internally (A1)" into jb-mr1-dev
* commit '995087944764c74e3aef73229f9ac036b078c282':
  Import TextUtils.getCapsMode to fix it internally (A1)
2012-09-13 14:11:35 -07:00
Tadashi G. Takaoka
f41b836a13 am 265083c8: am 737e9150: Merge "Show gesture floating preview text at oldest finger" into jb-mr1-dev
* commit '265083c85a656b4abfa1ec2470c61a12d967e8c9':
  Show gesture floating preview text at oldest finger
2012-09-13 14:11:25 -07:00
Jean Chalard
d666c125bc am a0fd2b40: am 37872892: Merge "Make onUpdateSelection much more resilient to race conditions." into jb-mr1-dev
* commit 'a0fd2b4053b338576e8e706067b921f8f9c1ee76':
  Make onUpdateSelection much more resilient to race conditions.
2012-09-13 14:11:24 -07:00
Tom Ouyang
c445a32b12 am f5297a2b: am 0e301bdc: Merge "Generalize incremental recognition to non-Latin languages" into jb-mr1-dev
* commit 'f5297a2b615d98ebf178fb74c42c7349ac8f3e9f':
  Generalize incremental recognition to non-Latin languages
2012-09-13 14:11:22 -07:00
Ken Wakasa
de9dce44f5 am b78d7be6: am f8986ac6: Merge "Add tests for BinaryDictInputOutput." into jb-mr1-dev
* commit 'b78d7be6b455f6984c03a3f95a80c884c35a3573':
  Add tests for BinaryDictInputOutput.
2012-09-13 14:11:19 -07:00
Tadashi G. Takaoka
2fab276b19 am 1ab9ca8b: am 71fcf0f5: Assign subtypes\' hashCode value as its subtypeId
* commit '1ab9ca8bbddedbc71f9bab424e823fbfd27ae41d':
  Assign subtypes' hashCode value as its subtypeId
2012-09-13 14:11:11 -07:00
Tadashi G. Takaoka
f0bf673fe6 am 8171d9d9: am 9144eecd: Merge "Add boolean resource isDefault=true for all supported locales" into jb-mr1-dev
* commit '8171d9d9a6d7f685900f777e8b26df84a81c52d1':
  Add boolean resource isDefault=true for all supported locales
2012-09-13 14:11:08 -07:00
Ken Wakasa
da5ef60c95 am 63eef189: am 328755ee: Merge "Move FormatOptions and FileHeader to FormatSpec." into jb-mr1-dev
* commit '63eef1890dfb2cc9dd5f0a59786fde64a8a90904':
  Move FormatOptions and FileHeader to FormatSpec.
2012-09-13 14:11:06 -07:00
Tadashi G. Takaoka
87045568da am b1963c2d: am 9deb52c9: Merge "Cosmetic change to remove trailing space" into jb-mr1-dev
* commit 'b1963c2d399bc700aecce89236a492a578629b23':
  Cosmetic change to remove trailing space
2012-09-13 14:11:05 -07:00
Satoshi Kataoka
877545e895 am 6b966b26: am f4554d8b: Fix an issue on FP calculation diff of osx and linux
* commit '6b966b2623647ebbab0e2a51f1390be93c422f2b':
  Fix an issue on FP calculation diff of osx and linux
2012-09-13 14:11:04 -07:00
Yuichiro Hanada
d18c931e70 am cdf4135f: am 81d97eec: Move constants and comments.
* commit 'cdf4135f6332d5e2bb25f6447e0d1fb735eb1976':
  Move constants and comments.
2012-09-13 14:10:55 -07: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