Jean Chalard
49d080f088
Merge "Auto correct on gesture when typed word is 1 char long" into jb-mr1-dev
2012-09-20 00:17:19 -07:00
Jean Chalard
b4e74cfc87
Auto correct on gesture when typed word is 1 char long
...
Bug: 7178462
Change-Id: I779d8ee4a957a9d1fdcc80d33257a98965dec7b8
2012-09-20 16:14:16 +09:00
Tadashi G. Takaoka
f80f09c7ee
Move PointerTracker.MIN_GESTURE_RECOGNITION_TIME to GestureStroke
...
Change-Id: Ib50192ed8f611fd8288ff9b7a1e0a19249cc6348
2012-09-20 15:14:25 +09:00
satok
f5becbcd75
am f1e13f1f: DO NOT MERGE: Clear cache of the user dictionary when a word is added
...
* commit 'f1e13f1fb10db4152b2617093d827c66615ee16d':
DO NOT MERGE: Clear cache of the user dictionary when a word is added
2012-09-19 20:50:20 -07:00
Tadashi G. Takaoka
a0ac9cc447
Merge "Use normal font for Hindi keyboard" into jb-mr1-dev
2012-09-19 20:44:35 -07:00
satok
f1e13f1fb1
DO NOT MERGE: Clear cache of the user dictionary when a word is added
...
This is a backport of Iec2793de3fff7bf15f68f
Change-Id: If16d1c48edf084d892da722fb288e467f211b08e
2012-09-20 12:27:14 +09:00
Tadashi G. Takaoka
bfcd2b3fc0
Merge "Change to "Show language switch key" option" into jb-mr1-dev
2012-09-19 19:56:59 -07:00
Tadashi G. Takaoka
cce6f9ee1d
Use normal font for Hindi keyboard
...
Bug: 6753168
Change-Id: I731a56bce70e1881e176392acfe977de28696063
2012-09-20 11:56:20 +09:00
Tadashi G. Takaoka
1a4aa7e307
Change to "Show language switch key" option
...
This change deprecates "Suppress language switch key".
Bug: 7037410
Change-Id: I1bc90877b4d2ee9364728959fd680dcb5b22ecbf
2012-09-20 11:33:40 +09:00
Tadashi G. Takaoka
f1ee564897
Smaller gesture preview trail
...
Bug: 7195987
Change-Id: Ibcd4b7a00b4e89070c4dfad88bb39ac1f7e4bd9a
2012-09-20 10:47:54 +09:00
Brian Muramatsu
331a5e7d66
mako: adjust default keybpress vibration
...
Bug 7049944
mako's vibrator has been recalibrated so reduce this to 5.
Change-Id: Ia53df175f5389e5fd1dc198e4877c4a4e7301559
2012-09-19 14:40:30 -07:00
Satoshi Kataoka
01a5a7d061
Merge "Clear cache of user dic" into jb-mr1-dev
2012-09-19 04:15:19 -07:00
Satoshi Kataoka
17f7b406aa
Clear cache of user dic
...
Change-Id: Iec2793de3fff7bf15f68f82a50331de7742b7049
2012-09-19 20:11:45 +09:00
Tadashi G. Takaoka
c7dc673cf0
Use Path to draw gesture preview trail
...
This change also reduces the number of points to use as preview trail.
Bug: 7167303
Change-Id: I0cf4908efa44b17b42d4fddd6725238236ac2654
2012-09-19 19:29:06 +09:00
Tadashi G. Takaoka
567204a140
Merge "Show gesture floating preview text is off by default" into jb-mr1-dev
2012-09-19 03:00:40 -07:00
Tadashi G. Takaoka
4f8e451d0c
Show gesture floating preview text is off by default
...
Bug: 7043127
Change-Id: Icabf080f43a5934fef3824919bb03229522d5e5a
2012-09-19 18:59:10 +09:00
Jean Chalard
caf15c3c67
Merge "Fix a bug that would persist caps lock state" into jb-mr1-dev
2012-09-19 02:30:49 -07:00
Satoshi Kataoka
8eb2065289
Merge "Log for geometric input" into jb-mr1-dev
2012-09-19 02:22:03 -07:00
Jean Chalard
ad0642cf25
Fix a bug that would persist caps lock state
...
...with regards to suggestions. It's much simpler to look at
whether the word is actually all capitalized or not.
Bug: 7113544
Change-Id: Idc0e77b2f812964e650ade0e32b9d4c09228cb74
2012-09-19 17:54:35 +09:00
Satoshi Kataoka
87cecf7db6
Log for geometric input
...
Change-Id: Ia0f0e38086b0be70cf2d04fc6fae48358f16e74f
2012-09-19 17:45:27 +09:00
Tadashi G. Takaoka
a8dc30e6d7
Merge "Remove hack algorithm from GestureStroke" into jb-mr1-dev
2012-09-19 00:33:17 -07:00
Tadashi G. Takaoka
f501e4dbd2
Remove hack algorithm from GestureStroke
...
Change-Id: Idd1c150677b989415e6fee4f543ff7639e98bed8
2012-09-19 16:13:08 +09:00
Yuichiro Hanada
65feee12e5
Make BinaryDictIOUtils.
...
Change-Id: I45830235ee738233e8eb2bd91d659705b698f58c
2012-09-19 15:37:37 +09:00
Yuichiro Hanada
c2fdf0dfbf
Make readNode read linked list nodes.
...
Change-Id: Ia5eaae0653179b2eb74c53b0823beaf80377a389
2012-09-19 14:49:23 +09:00
Sam Segers
8336d33a6c
nl-rBE keyboard layout
...
Add keyboardstyle for the Dutch part of Belium and make it AZERTY (the french keyboard).
This is the default layout in Belguim but in the Netherlands (nl) they use QUERTY.
Strings and spelling checker are the same.
Change-Id: Icb2b2712e6580c0e642d5f0f70f8950449d3bfd4
Signed-off-by: Sam Segers <sam.sgrs@gmail.com>
2012-09-19 06:19:11 +02:00
Yuichiro Hanada
a149c53c8e
add limit to FusionDictionaryBufferInterface.
...
Change-Id: Ic9ff717a9751023d47b02ff3b9d1fbf3115c2501
2012-09-19 12:28:19 +09:00
Jean Chalard
a0ebb28d15
Merge "Fix a bug with capitalizations (A15)" into jb-mr1-dev
2012-09-18 20:02:05 -07:00
Jean Chalard
3bf113f0ea
Merge "Mark 2 resolved TODOS as such (A14)" into jb-mr1-dev
2012-09-18 20:01:31 -07:00
Jean Chalard
c9923430ed
Merge "Support the gesture + phantom space case (A13)" into jb-mr1-dev
2012-09-18 18:36:13 -07:00
Yuichiro Hanada
b686df15fc
Add a new flag for linked list nodes.
...
Change-Id: Ib2f194775cfe5ab05481ac95cd709d6e8e8dd3c6
2012-09-18 22:01:49 +09:00
Yuichiro Hanada
bf45dc4860
Make writePlacedNode write the linked-list node.
...
Change-Id: I60feda815ea08cf73300fccca1ae12b97550f116
2012-09-18 21:20:07 +09:00
Yuichiro Hanada
061d225fb1
Add a new option to FormatOptions.
...
Change-Id: I8bf089bea5de46570a5e81fb1ea3ab22c07eeee1
2012-09-18 21:03:13 +09:00
Satoshi Kataoka
e55785e682
New flag for the internal settings
...
Change-Id: I81e69a6cda833a0d2c59a73388321ed11e0bd5b3
2012-09-18 20:33:43 +09:00
Satoshi Kataoka
2040090b46
Merge "Log touch timing" into jb-mr1-dev
2012-09-18 04:32:52 -07:00
Satoshi Kataoka
f8b35b9b04
Log touch timing
...
Change-Id: I45ce16c3194fac6da98486a986d23318347cad3a
2012-09-18 19:26:25 +09:00
Jean Chalard
75b3f81fe1
Fix a bug with capitalizations (A15)
...
When only one character has been typed, we should not take that
as a strong symbol that everything should be upper-cased.
Change-Id: I4e3a3223269e6763e3594baeaa844daa79a624ed
2012-09-18 18:52:05 +09:00
Jean Chalard
e4783f95b2
Mark 2 resolved TODOS as such (A14)
...
Change-Id: Ifbb731f5c825675436d079db4ffbae657d71f8da
2012-09-18 18:49:17 +09:00
Jean Chalard
d461bfd660
Support the gesture + phantom space case (A13)
...
Bug: 6950087
Change-Id: I198699f6e687ac74c35b9edfe469dce880d9ecaf
2012-09-18 18:48:49 +09:00
Jean Chalard
717d4938b5
Merge "Remove useless code (A12)" into jb-mr1-dev
2012-09-18 02:42:36 -07:00
Jean Chalard
ed47131612
Merge "Fix a bug with surrogate characters" into jb-mr1-dev
2012-09-18 02:06:55 -07:00
Jean Chalard
6c721b5f68
Fix a bug with surrogate characters
...
This is a pretty bad bug :/
Bug: 7013840
Change-Id: I12c7cfa4fa9d56b2c1fee6e6222c64fe20b88fa3
2012-09-18 18:01:15 +09:00
Jean Chalard
b128b1cdfe
Merge "Take space state into account for caps (A11)" into jb-mr1-dev
2012-09-18 00:21:48 -07:00
Jean Chalard
5822323514
Remove useless code (A12)
...
All this code is done inside the StringUtils or RichInputConnection
classes, where it's more logical. Since the IPC call is entirely
gone now, it's no use having these guards inside Latin IME.
Change-Id: Id324567e7458aed12b6f21d7114be3bd39725f15
2012-09-18 16:16:33 +09:00
Jean Chalard
90a9127244
Take space state into account for caps (A11)
...
Bug: 6950087
Change-Id: I8a1bca24db64b4dd54db8ac74d90cf43cbdddab6
2012-09-18 16:16:28 +09:00
Yuichiro Hanada
8adc0154e6
Remove populateOptions(final ByteBuffer buffer).
...
Change-Id: Ifc4c64c9cffe4f343c5a604c192db010a1792acc
2012-09-18 14:42:52 +09:00
Yuichiro Hanada
65e4970026
Fix hackCanUseDictionaryFile.
...
Bug: 7169473
Change-Id: I575aaa350042af076a8da5756993cdae9e73422c
2012-09-18 14:19:38 +09:00
Jean Chalard
252da38fcd
Take locale into account for caps (A10)
...
Bug: 4967874
Change-Id: Ic7ce7b2de088308fa00865c81246c84c605db1e5
2012-09-14 19:42:05 +09:00
Jean Chalard
da8aca6002
Merge "Fix comment warnings (A9)" into jb-mr1-dev
2012-09-14 03:20:34 -07:00
Jean Chalard
32c8704c21
Merge "Remove an unused function (A8)" into jb-mr1-dev
2012-09-14 03:19:53 -07:00
Jean Chalard
5cb9b70a3a
Merge "Fix abbreviations processing for English (A7)" into jb-mr1-dev
2012-09-14 03:14:21 -07:00
Jean Chalard
a3f06baa57
Merge "Do not auto-correct upon starting a gesture." into jb-mr1-dev
2012-09-14 03:11:51 -07:00
Jean Chalard
6e65ff8001
Fix comment warnings (A9)
...
Thanks Eclipse
Change-Id: Ie2b83f1ec7ab38a76155f8c264e3944685ae934d
2012-09-14 19:01:37 +09:00
Jean Chalard
50e61b8628
Remove an unused function (A8)
...
Change-Id: I0578068946d32192c4faf14b3e86624b7301c7d9
2012-09-14 19:01:37 +09:00
Jean Chalard
2c0d916287
Fix abbreviations processing for English (A7)
...
It's still incorrect for non-English languages.
Bug: 4967874
Change-Id: I3d4379265f72e1c0435eba90ab878a80bbcf55ce
2012-09-14 19:01:25 +09:00
Jean Chalard
b29efecd26
Merge "Fix a bug with open parens and some other chars" into jb-mr1-dev
2012-09-14 02:30:36 -07:00
Jean Chalard
7e4ad33a65
Fix a bug with open parens and some other chars
...
A space would be inserted after an open parenthesis if
it's typed after a manual pick.
Bug: 7167687
Change-Id: Ic49d09c34747117ccfbdbb8c66f634d88d4a45b0
2012-09-14 18:23:35 +09:00
Jean Chalard
e8db06fc02
Merge "Replace immediate values with named constants for characters (A6)" into jb-mr1-dev
2012-09-14 02:17:48 -07:00
Jean Chalard
371e7d702d
Merge "Make the arrobase sign a space stripper." into jb-mr1-dev
2012-09-14 02:17:20 -07:00
Jean Chalard
d806065033
Merge "Simplification again (A5)" into jb-mr1-dev
2012-09-14 02:17:01 -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
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
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
33a226f897
Merge "Small simplification (A3)" into jb-mr1-dev
2012-09-13 19:53:14 -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
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
d7fdc730c3
Merge "Simplify a call, and add comments (A2)" into jb-mr1-dev
2012-09-13 03:38:50 -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
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
737e915093
Merge "Show gesture floating preview text at oldest finger" into jb-mr1-dev
2012-09-13 02:32:53 -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
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
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
71fcf0f5ec
Assign subtypes' hashCode value as its subtypeId
...
Bug: 6752230
Change-Id: I311b840c890f4c6ff89c2808237d7e9b8baef21d
2012-09-13 16:56:59 +09: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
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
9deb52c996
Merge "Cosmetic change to remove trailing space" into jb-mr1-dev
2012-09-12 23:44:22 -07:00
Tadashi G. Takaoka
c54614d9f3
Cosmetic change to remove trailing space
...
Change-Id: If8c00c763f815d5eb97e18b19060c63d321ccd61
2012-09-13 15:21:54 +09:00
Yuichiro Hanada
81d97eec0e
Move constants and comments.
...
Change-Id: Ifd66bda7d528827ba61c60531121ea206a2325be
2012-09-13 14:28:39 +09:00
Jean Chalard
18fc3bf4c4
Merge "Make Latin IME aware of its surrounding text." into jb-mr1-dev
2012-09-12 02:07:48 -07:00
Tadashi G. Takaoka
57e9511113
Merge "Use offscreen bitmap buffer to draw gesture preview trail" into jb-mr1-dev
2012-09-12 02:01:46 -07:00
Jean Chalard
28d765ed90
Make Latin IME aware of its surrounding text.
...
This is a preparatory change for
Bug: 4967874
Bug: 6617760
Bug: 6950087
Change-Id: I3abf8e45c0d02c42491421f108370220134b9602
2012-09-12 17:54:16 +09:00
Tadashi G. Takaoka
9ad4b2a894
Use offscreen bitmap buffer to draw gesture preview trail
...
Bug: 7042741
Change-Id: Ie3d7054e786938dc501c7aa2ffc96b5924a7967b
2012-09-12 17:47:17 +09:00
Yuichiro Hanada
8d031a63b4
Add put method to FusionDictionaryBufferInterface.
...
Change-Id: Iac0b35d2da05e81237d105e8fe13c56d16038de1
2012-09-12 15:41:21 +09:00
Tadashi G. Takaoka
64c65ce6d7
Add missing MoreKeySpec.hashCode
...
Bug: 7149235
Change-Id: I14ba1017dffccc690e24289052a3ad7265a5f5f7
2012-09-12 11:52:44 +09:00
Charles Chen
655be140a0
Merge "When Accessibility is on, intercept touch events during dispatch." into jb-mr1-dev
2012-09-11 13:31:30 -07:00
Ken Wakasa
e30c4e0bb1
Stabilize gesture recognition algorithm that looks for the nearest key.
...
It relies on the order of the key array.
Change-Id: I58fa71a7b330e59cd774fc208e5b6bc1a3decd2e
2012-09-11 20:00:21 +09:00
Jean Chalard
8c06a468e0
Stop auto-correcting non-whitelisted one-char strings
...
Bug: 7134017
Change-Id: I75cf474dedafda3e1683dd8f7740c13aafdcf5ab
2012-09-11 17:24:08 +09:00
alanv
dc2ee77724
When Accessibility is on, intercept touch events during dispatch.
...
This allows Accessibility code to safely inject events into
onTouchEvent() without accidentally intercepting them.
Bug: 7137557
Change-Id: Ie4fa8e3be5b1bb84f57c6254feab1129cb89998f
2012-09-10 15:47:24 -07:00
Yuichiro Hanada
e55b644aef
Add new binary dictionary format.
...
Change-Id: Ia99411d4009857d5e420ca87ef8acf1f1826d3ed
2012-09-10 13:05:46 +09:00
Ken Wakasa
60af4f03a8
Fix dicttool_aosp build
...
Change-Id: Iabcf420b4120e3d275fdbcb23939a0ab6052ddf0
2012-09-10 12:56:10 +09:00