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
Yuichiro Hanada
eae7b293e4
Check the length of the word when add to FusionDictionary.
...
Change-Id: Id98d18e90a8b83b597507728b467f56888c8fd12
2012-09-10 12:35:53 +09:00
Tadashi G. Takaoka
f117f77766
Fix bimanual gesture preview trail
...
Bug: 7122288
Change-Id: I9f0aabe08628880a8439bfda98844ae60206b8de
2012-09-07 17:20:07 +09:00
Ken Wakasa
3069e22610
Merge "Add tests for readDictionaryBinary with byte array." into jb-mr1-dev
2012-09-06 04:40:41 -07:00
Yuichiro Hanada
be5db53a09
Add tests for readDictionaryBinary with byte array.
...
Change-Id: I2c2815e9d4867687fb3f5b0c661e6162b88c0a0c
2012-09-06 20:35:33 +09:00
Tadashi G. Takaoka
c1780c16a7
Revise gesture preview trail design
...
Bug: 7042741
Change-Id: I99e3b3a6fc52afaee3cc5daf371131c3afebb3ae
2012-09-06 20:09:12 +09:00
Tadashi G. Takaoka
15496ec4d7
Merge "Revise gesture floating preview design" into jb-mr1-dev
2012-09-05 20:35:40 -07:00
Tadashi G. Takaoka
71e2e8152f
Revise gesture floating preview design
...
Bug: 7043127
Change-Id: Ibf9a6d57279263d9b60753e0eb734b658eeda9f2
2012-09-06 12:29:57 +09:00
Ken Wakasa
aa7cc7beed
Merge "Cosmetic cleanup" into jb-mr1-dev
2012-09-05 19:07:45 -07:00
Kurt Partridge
6fbb8ed253
Merge "add logging code" into jb-mr1-dev
2012-09-05 18:46:26 -07:00
Kurt Partridge
1093952cbb
Merge "ResearchLogging do not even show basic data for password fields" into jb-mr1-dev
2012-09-05 11:53:07 -07:00
Kurt Partridge
625cfe3d21
Merge "ResearchLog uploadingService now waits for logging to finish" into jb-mr1-dev
2012-09-05 10:39:03 -07:00
Ken Wakasa
d3a9b70307
Cosmetic cleanup
...
Change-Id: I5e95440019f58c606ac2e947c6e0cbd4d51f6522
2012-09-06 01:13:12 +09:00
Tadashi G. Takaoka
e8c6d5a480
Utilize StateListDrawable for key preview background
...
Change-Id: I268550a185701caecefc27ebaec40fb2c940d883
2012-09-05 20:38:00 +09:00
Yuichiro Hanada
83dfe0fd8c
Add FormatOptions.
...
Change-Id: Ibad05a5f9143de1156b2c897593ec89b0a0b07e7
2012-09-05 18:05:43 +09:00
Kurt Partridge
fe05b88134
add logging code
...
Change-Id: I0abb4a1ad67666162ab6703ffdb33c5e0675be93
2012-09-04 15:24:25 -07:00
Kurt Partridge
596911479c
ResearchLogging do not even show basic data for password fields
...
Change-Id: I5489bad95f238e2f4d43bdd65bcf2f752d7a63fe
2012-09-04 15:24:25 -07:00
Kurt Partridge
17114054e9
ResearchLog uploadingService now waits for logging to finish
...
Bug: 6188932
Change-Id: I31c0f380b334d9117990f2d92de8d385e4a52c7c
2012-09-04 15:24:25 -07:00
Jean Chalard
ac25fcac71
Display punctuation suggestions on cursor move
...
...if punctuation suggestions are requested.
Fixes the symptom, but not the root cause of
Bug: 6981089
Change-Id: I683a7451c99457829cb4e5a762f43548ff89a535
2012-09-04 19:54:55 +09:00
Ken Wakasa
2e4713a54e
Merge "Check the length of the word when add to userhistory." into jb-mr1-dev
2012-09-04 02:36:35 -07:00
Tadashi G. Takaoka
848331222e
Use string-array resource to define predefined-subtypes
...
Bug: 6809603
Change-Id: Icafe4652ec17844838b28c04977deb88bcb9aa8f
2012-09-04 17:18:39 +09:00
Tadashi G. Takaoka
147a62a8a8
Merge "Reduce amount of empty space in which keypresses are detected" into jb-mr1-dev
2012-09-04 00:55:25 -07:00
Tadashi G. Takaoka
3f00c6151f
Reduce amount of empty space in which keypresses are detected
...
Bug: 6942329
Change-Id: Ie92ccf43f307b8ceb9a311c30390d0cb2abf2cd7
2012-09-04 16:11:21 +09:00
Yuichiro Hanada
dd435b305e
Check the length of the word when add to userhistory.
...
Change-Id: I7f2fe1771eed6b610704892b24f8a0283a779162
2012-09-04 15:34:41 +09:00
Ken Wakasa
d34dd5bb6b
Merge "Cosmetic fixes and a bug fix in UnigramDictionary::testCharGroupForContinuedLikeness()." into jb-mr1-dev
2012-09-03 22:26:42 -07:00
Ken Wakasa
f2789819bd
Cosmetic fixes and a bug fix in UnigramDictionary::testCharGroupForContinuedLikeness().
...
This change has actually been extracted from a change work in progress I4fe423834b8131fb122251892c98228a6e08ba25
Change-Id: I52568fa09da2ea22be7f8bfe9676b7cd73c31fa4
2012-09-04 14:23:37 +09:00
Tadashi G. Takaoka
2c0c1cc677
Merge "Fix key info reported by keyboard accessibility node provider." into jb-mr1-dev
2012-09-03 18:34:55 -07:00
Tadashi G. Takaoka
eceea877bd
Consolidate Esperanto layout into Spanish layout
...
This change also removes AsciiCapable extra value from Esperanto
subtype.
Change-Id: I0fa18ef7c52e4ba24b182e8ecb9788572660b704
2012-09-03 17:38:56 +09:00
Tadashi G. Takaoka
ab5f9532db
Use 5-row layout for Thai phone keybopard
...
Bug: 6911182
Change-Id: I78f59564e8c31b9b66ed9a136584d0c57cc43120
2012-09-03 14:15:48 +09:00
Tadashi G. Takaoka
8624a0a186
Use normal font for Thai
...
This change also adds workaround to display Thai composing letters
correctly.
Bug: 6753168
Change-Id: Ibd42ebb40df08b5de32b3500f10003c4a5de4897
2012-09-03 14:05:10 +09:00
Jean Chalard
8251036616
Match calls in I8a70e43b for Icbe60bdf
...
Change-Id: I3a9eaaa018cd338ca8d9aa09c0fa58800b637e19
2012-09-03 11:58:23 +09:00
Jean Chalard
2035b946a3
Merge "Reinstate the shortcut-only attribute" into jb-mr1-dev
2012-09-02 19:28:01 -07:00
Jean-Baptiste Queru
27c093fc5e
am 70fb1d1a: am f0adce8a: Merge "Esperanto keyboard"
...
* commit '70fb1d1a690f3f16e4bbb19ffea349af1402cb1f':
Esperanto keyboard
2012-08-31 07:08:55 -07:00
Jean-Baptiste Queru
70fb1d1a69
am f0adce8a: Merge "Esperanto keyboard"
...
* commit 'f0adce8a491f1f1970354eef7e6fd078b237684c':
Esperanto keyboard
2012-08-31 07:04:00 -07:00
Jean Chalard
72b1c93941
Reinstate the shortcut-only attribute
...
Also add the blacklist attribute
Bug: 7005742
Bug: 2704000
Change-Id: Icbe60bdf25bfb098d9e3f20870be30d6aef07c9d
2012-08-31 22:11:52 +09:00
Tadashi G. Takaoka
a643b54b4d
Add missing KeyDrawParams default constructor to fix build
...
Change-Id: Id2ae9e4085b4137c961b5202e0822d484dd71e8e
2012-08-31 20:28:46 +09:00
Tadashi G. Takaoka
aa54607246
Merge "Support per-Key and per-Keyboard key visual attributes" into jb-mr1-dev
2012-08-31 04:24:48 -07:00
Tadashi G. Takaoka
dc34da218a
Support per-Key and per-Keyboard key visual attributes
...
This change refactors KeyDrawParams and KeyPreviewDrawParams to
separate KeyVisualAttributes.
Change-Id: I4de549eef303e1debe4b8f84668e042445fc18da
2012-08-31 20:23:21 +09:00
Tadashi G. Takaoka
67d0a597bc
Merge "Use resource to specify 5-rows keyboard parameters" into jb-mr1-dev
2012-08-31 04:06:35 -07:00
Tadashi G. Takaoka
74b89db8a4
Merge "Fix key label padding" into jb-mr1-dev
2012-08-31 03:58:21 -07:00
Tadashi G. Takaoka
36b5f4aae2
Fix key label padding
...
Change-Id: I971dd17afdaf1ce6e64e3c41bdb42a6ba3f6fd0e
2012-08-31 19:57:25 +09:00
Tadashi G. Takaoka
518838b778
Use resource to specify 5-rows keyboard parameters
...
Change-Id: I67b290c4600dee43a81ba975ffc93a32a6d060b4
2012-08-31 19:14:33 +09:00
Tadashi G. Takaoka
9d05f36b77
Use normal font for Arabic and Farsi
...
Bug: 6753168
Change-Id: Iaef85847cf9f6c432c6ca25e7e6ec522c084d073
2012-08-31 18:56:50 +09:00
Yuichiro Hanada
666a433802
add UserHistoryDictIOUtils.
...
Change-Id: I8a70e43b23f65b5fd5f0ee0b30a94ad8f5ef8a8a
2012-08-31 15:08:57 +09:00
Kurt Partridge
9bbc7ec052
Merge changes Ifb983c35,I0b947421 into jb-mr1-dev
...
* changes:
ResearchLogger clean up splash screen
ResearchLogger no longer offers option to disable logging
2012-08-30 22:56:53 -07:00
Ken Wakasa
48643b08a9
Merge "add readUnigramsAndBigramsBinary." into jb-mr1-dev
2012-08-30 22:55:12 -07:00
Kurt Partridge
25405eafb0
ResearchLogger clean up splash screen
...
- simpler text
- AlertDialog implementation
- declining users are redirected to regular IME
Bug: 6188932
Change-Id: Ifb983c3511125f8919f4a8b25aeee7de66dbb0cb
2012-08-30 22:52:00 -07:00
Kurt Partridge
58eb4d9f27
ResearchLogger no longer offers option to disable logging
...
Bug: 6188932
Change-Id: I0b9474216080f3820438c09f89b0b6c6c102c69d
2012-08-30 22:51:56 -07:00
Yuichiro Hanada
b2a43a2ed4
add readUnigramsAndBigramsBinary.
...
Change-Id: I7967f11211221d4877bf0a0c30183af885f45390
2012-08-31 14:39:19 +09:00
Tadashi G. Takaoka
71b52a84e2
Move key label padding attributes back to KeyboardView
...
This is a partially reverting change of I1e2d59bf8c438ca653e2e415ccf66fd4f15d5394
Change-Id: Id213541cdddcc0761bf6418c8429a5f96c0281ef
2012-08-31 10:35:54 +09:00
Tadashi G. Takaoka
49d8af8a4e
Separate inner classes of KeyboardView out under internal package
...
Change-Id: I6d53b53526bbab951044a026476bd88a9ebd5a90
2012-08-30 16:23:01 +09:00
Tadashi G. Takaoka
749cc18751
Move some key top visual attributes from KeyboardView to Key
...
Change-Id: I1e2d59bf8c438ca653e2e415ccf66fd4f15d5394
2012-08-30 16:14:32 +09:00
Jacob Nordfalk
3ed057a058
Esperanto keyboard
...
Universal esperanto keyboard. Has letters for all latin scripts, as users
will often need to type something in both Esperanto and other languages
(for example their country's).
Signed-off-by: Jacob Nordfalk <jacob.nordfalk@gmail.com>
Change-Id: Ia8a739fa31a60e118d42ae9e8c62ddfd66e2ca35
2012-08-30 08:48:19 +02:00
Tadashi G. Takaoka
35ff94547c
Separate inner classes of keyboard package out under internal package
...
Change-Id: Ia3969bd5ddec5aa5d81d05ad4cf676d818587922
2012-08-30 15:37:55 +09:00
Jean Chalard
ded498d4a4
Merge "add readHeader." into jb-mr1-dev
2012-08-29 22:32:14 -07:00
Yuichiro Hanada
62ed901100
add readHeader.
...
Change-Id: I5be5d62a63ca897e36fe93200ffdca6befb363aa
2012-08-30 14:17:50 +09:00
Tadashi G. Takaoka
29d5973fd3
Optimize rare Key attributes to separate class
...
This change also removes per-Key verticalGap and horizontalGap.
Change-Id: Id4d2129022fbbfbf5d740b8d1257032c945bb775
2012-08-30 11:48:19 +09:00
Tadashi G. Takaoka
61bc66b324
Revert "Revert "Fix key letter size of 5-rows Thai keyboard""
...
This reverts commit 7a5ca9982f
.
Depends: Ia4fa5046b3106e2710b9d5df1a6cc5f2cf995ec7
Change-Id: I0b9d0125380efe898943dc26ae884378145c44a3
2012-08-30 11:30:13 +09:00
Tadashi G. Takaoka
b590d69e1f
Merge "Revert "Revert "Move resource related methods to ResourceUtils""" into jb-mr1-dev
2012-08-29 19:29:37 -07:00
Ken Wakasa
d2a81ab9bd
Merge "Add FusionDictionaryBufferInterface." into jb-mr1-dev
2012-08-29 18:49:03 -07:00
Jason Chen
85cb45c80f
Merge "Add defaults for manta" into jb-mr1-dev
2012-08-29 15:40:41 -07:00
alanv
26b424b644
Fix key info reported by keyboard accessibility node provider.
...
Bug: 6704529
Change-Id: I519881a96767a8858c11da7c0abac3e276a45cf5
2012-08-29 13:07:37 -07:00
Jason Chen
3b54385d61
Add defaults for manta
...
Change-Id: I8784a126b02e3e6618ac845a32a894ceb58ea39e
2012-08-29 09:10:26 -07:00
Tadashi G. Takaoka
92821614fd
Revert "Revert "Move resource related methods to ResourceUtils""
...
This reverts commit bfc02a7005
.
Change-Id: Ife4c0312ea3260211b1b5ee39b239e8e9d7db67e
Depends: I3d862515568be36d5aa80d12e7e5c0a9bf4d06a6
2012-08-29 22:30:55 +09:00
Ken Wakasa
bfc02a7005
Revert "Move resource related methods to ResourceUtils"
...
This reverts commit 160dc0f98e
Change-Id: Ic5a3d9c70b8f6f2993d8455799945ec2633cad66
2012-08-29 04:33:39 -07:00