Commit Graph

4101 Commits

Author SHA1 Message Date
alanv
cc38306d4f Only speak key label after checking for password obscure flag.
Bug: 6523222
Change-Id: Ic737c4ce135d869a3422b1ebbea0a845c71b1699
2012-05-19 01:07:34 -07:00
alanv
282adf7330 Pass IME accessibility events directly to the AccessibilityManager.
Bug: 6523554
Change-Id: I44bceb7b068ff1ac0c799f4a93d5dcd8026f1e4b
2012-05-19 00:05:13 -07:00
Tom Ouyang
e1128687b1 Merge "Change to a binary version of the expandable user dictionary." into jb-dev 2012-05-18 10:05:11 -07:00
Ken Wakasa
16e7d13475 Remove unnecessary entries in the English whitelist dictionary
bug: 6354484
Change-Id: Id1c89be171f23d2bf8c8289e61f573520b46de14
2012-05-18 20:52:23 +09:00
Jean Chalard
1fc0c71fad Update French/English dictionaries to the latest version
Change-Id: I9c98280f900914d1af22b47019ebc0ad5ab175de
2012-05-18 18:54:37 +09:00
Tadashi G. Takaoka
75c60bf3a5 Merge "Change auto caps mode argument to int type" into jb-dev 2012-05-18 01:53:19 -07:00
Tadashi G. Takaoka
553e2f19c1 Change auto caps mode argument to int type
Bug: 6501446
Change-Id: I3f7bc0fc39edd29ebf96107c3d43b9ccc9b8022e
2012-05-18 17:46:05 +09:00
Tadashi G. Takaoka
0a57156c07 Don't use KeyDrawParams as argument of Key#selectTextSize
This is a follow up of Ide48c361.

Bug: 6509415
Change-Id: I59f6e47d06ebfbac6d354d36fca6788f092ed41d
2012-05-18 17:09:02 +09:00
Tadashi Takaoka
aee147e216 Revert "Make KeyDrawParams and KeyPreviewDrawParams to top level class"
This reverts commit 4c9e6a15d1
2012-05-18 01:02:53 -07:00
Tadashi G. Takaoka
4c9e6a15d1 Make KeyDrawParams and KeyPreviewDrawParams to top level class
This is a follow up of Ide48c361.

Bug: 6509415
Change-Id: Ib45c476924bc4b6b2ca65e0cae91d719109a9cb1
2012-05-18 16:58:34 +09:00
satok
468ac35822 Merge "Add utils for forgetting curve" into jb-dev 2012-05-17 23:01:06 -07:00
satok
607a924486 Add utils for forgetting curve
Bug: 4192129
Change-Id: Iebb7ac355e1c1891da31c33754315bd76a61889b
2012-05-18 14:50:05 +09:00
Tadashi G. Takaoka
d7b80c4eee Merge "Use large label text size for action label" into jb-dev 2012-05-17 21:30:42 -07:00
Tadashi G. Takaoka
88d378bce9 Use large label text size for action label
The large label text size is used for:
* The enter key's action label on phone/number keyboard layout of
  phone device and 7-inch tablet
* The enter key's action label on alphabet/symbols keyboard of 7-inch
  tablet.

Bug: 6509415
Change-Id: I1c0dc511b3ac87cba00163b8d29c687ad1e86ce8
2012-05-18 13:06:37 +09:00
Jean Chalard
914929939a Merge "Close batch edit" into jb-dev 2012-05-17 20:25:57 -07:00
Jean Chalard
d4cacb1e41 Close batch edit
This does the same thing as Ie30e1aff but differently

Bug: 6512086
Change-Id: I47ae990510d3f657abd45ad5f0e325d93dec83c0
2012-05-18 12:07:58 +09:00
Svetoslav Ganov
a9d2803096 Merge "Fix NPE on HOVER_EXIT event when not touching a key." into jb-dev 2012-05-17 20:00:17 -07:00
alanv
d4f7a26f92 Fix NPE on HOVER_EXIT event when not touching a key.
Bug: 6513368
Change-Id: Ia6d4d01f51a620230b4d19f813fb3aff6881ec03
2012-05-17 19:53:51 -07:00
Tadashi G. Takaoka
a26bda7c2f Increase CHAR LIMIT of some string resources
Bug: 6513954
Change-Id: If4aa1032bc7e615c77e3a64c6e8f8dbb0a020d8d
2012-05-18 11:09:39 +09:00
Tadashi G. Takaoka
817a66e7e6 Merge "Support large label text ratio in KeyboardView" into jb-dev 2012-05-17 18:32:24 -07:00
Tom Ouyang
f6adff6227 Change to a binary version of the expandable user dictionary.
Bug: 6435677
Change-Id: If83409f699608d443796e64a3c65692ae81b98e6
2012-05-17 15:12:00 -07:00
Tadashi G. Takaoka
a08759f6b1 Support large label text ratio in KeyboardView
Bug: 6509415
Change-Id: Ide48c36126c23d91612c322a1027257c9b967e6b
2012-05-17 20:38:48 +09:00
Tadashi G. Takaoka
8ec3a42d2b Merge "Check duplicated entry of "custom input style"" into jb-dev 2012-05-17 04:36:16 -07:00
Tadashi G. Takaoka
749b2a388e Check duplicated entry of "custom input style"
Bug: 6495488
Change-Id: Ia6c2421cb0e7c1793d4dfe18acd07fd6f8c5d797
2012-05-17 20:20:41 +09:00
Jean Chalard
6139016b2b Merge "Fix a bug where the previous word would not be read correctly" into jb-dev 2012-05-17 04:06:54 -07:00
Jean Chalard
6e5ca89050 Fix a bug where the previous word would not be read correctly
Bug: 6510002
Change-Id: Id30f67e0ca6f7a6fbbbd07922ae19e416c5ef55e
2012-05-17 20:03:39 +09:00
Jean Chalard
d7515a0bdf Merge "Add open-source-able word lists to AOSP." into jb-dev 2012-05-17 03:32:29 -07:00
Jean Chalard
8fec807800 Add open-source-able word lists to AOSP.
Bug: 6458744
Change-Id: If28aeb7360ee7ec7408f55934ca2a684f032e338
2012-05-17 19:20:04 +09:00
Jean Chalard
bc77adefbb Merge "Return the bigram frequency if available." into jb-dev 2012-05-17 03:15:40 -07:00
Tadashi G. Takaoka
5748a7ce86 Merge "Split Portuguese subtype into pt_BR and pt_PT" into jb-dev 2012-05-17 02:07:13 -07:00
Jean Chalard
892c000b6d Merge "Add a whitelisted word" into jb-dev 2012-05-17 02:05:09 -07:00
Tadashi G. Takaoka
a8b1563d08 Merge "Fix stale key drawing" into jb-dev 2012-05-17 02:02:53 -07:00
Tadashi G. Takaoka
93a1ac2213 Split Portuguese subtype into pt_BR and pt_PT
Bug: 6510103
Change-Id: I91e13e7ecdf4fc9a2f3e3d647b70fb4b672321f5
2012-05-17 18:00:51 +09:00
Jean Chalard
fea28ab1ba Add a whitelisted word
Change-Id: Id776b63dfadeba815f619ed0536bb14febc3aee7
2012-05-17 18:00:30 +09:00
Jean Chalard
71b047e301 Merge "Don't deactivate the LastComposedWord on shift" into jb-dev 2012-05-17 01:15:02 -07:00
Jean Chalard
125de3dfdf Don't deactivate the LastComposedWord on shift
Bug: 6495116
Change-Id: Ib86de02a1216146082bf58a033982ac37fefffe1
2012-05-17 17:05:30 +09:00
Tadashi G. Takaoka
a1500959b6 Merge "Tidy up number password layout" into jb-dev 2012-05-17 00:58:15 -07:00
Tadashi G. Takaoka
b7a5a68200 Fix stale key drawing
Bug: 6509479
Change-Id: I49988ac951f6b37b14192ef1113a0d668a84f1a2
2012-05-17 14:46:10 +09:00
Tadashi G. Takaoka
eca2912a99 Fix ".com" key width on 7-inch tablet
Change-Id: I5f843993e819bbc2e84f4d721cf7892d5518d7f6
2012-05-17 13:16:50 +09:00
Tadashi G. Takaoka
6de535c35e Tidy up number password layout
Bug: 6462191
Change-Id: Idd156e2fd651b80a6b5ebb2b10d88e107febbddb
2012-05-17 13:06:26 +09:00
Tadashi G. Takaoka
18ce073119 Update language switch icon
Bug: 6129414
Change-Id: I1232e2bafed47c93f30470537cc334a755cf7a4d
2012-05-17 09:16:53 +09:00
Eric Fischer
7ba940fd3a Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-16 14:41:06 -07:00
Eric Fischer
c01ff687ce Import translations. DO NOT MERGE
Change-Id: I81a628c87810826dc6c2fb31035a8f7ef22d414a
2012-05-16 14:33:14 -07:00
Svetoslav Ganov
928eec5cd2 Merge "Make LatinIME keys accessibility focusable, clickable." into jb-dev 2012-05-16 11:55:47 -07:00
Eric Fischer
e78218b8e1 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-16 09:49:05 -07:00
Ken Wakasa
cf74ead3d7 DO NOT MERGE. Hide the usability study mode for the production
Change-Id: Ic0ffe56cd5314a00e81ba99148162dfb3ea1b044
2012-05-16 22:59:03 +09:00
Jean Chalard
9416c81403 Return the bigram frequency if available.
This concludes the work on bug#6313806.
Don't submit it before the dictionaries are suitably amended.

Bug: 6313806
Change-Id: Icfea45bd52bb9d8cc68ba2266f80640e3942bb7f
2012-05-16 21:14:06 +09:00
satok
0028ed3627 Use "float" instead of "double"
Change-Id: I93ed4d88ede4058f081dd8d634b00dfff4e96d07
2012-05-16 20:45:05 +09:00
satok
f837b57bf5 Merge "Reorder suggestions result according to auto correction threshold" into jb-dev 2012-05-16 04:13:08 -07:00
satok
db1939dbaa Reorder suggestions result according to auto correction threshold
Bug: 5413904
Change-Id: I3aa3a8109ba45d2129b58d8242866fd3dd3473cb
2012-05-16 19:58:48 +09:00
Tadashi G. Takaoka
cfbb9d76e9 Merge "Tweak keypress sound volume default value of Grouper" into jb-dev 2012-05-16 03:25:51 -07:00
Tadashi G. Takaoka
8b791ddd6a Tweak keypress sound volume default value of Grouper
Bug: 6499913
Change-Id: I645e40ad02c14b463854f91ec45c1be9c598e46e
2012-05-16 19:10:10 +09:00
Jean Chalard
1defff313a Merge "Add some whitelist entries." into jb-dev 2012-05-16 02:31:14 -07:00
Jean Chalard
02ec1c91c4 Add some whitelist entries.
Change-Id: I77ddcb7ec26b0295e37c34bb69f358a182f45592
2012-05-16 18:13:43 +09:00
Tadashi G. Takaoka
b8b9ed8187 Merge "Show dialog to guide the user to input subtype enabler" into jb-dev 2012-05-16 01:52:25 -07:00
Tadashi G. Takaoka
bd85efd5fb Merge "Set divider icon's alpha value on the fly" into jb-dev 2012-05-16 01:52:19 -07:00
Jean Chalard
ed49e4d82e Merge "Stop meaningless bigram computations" into jb-dev 2012-05-16 01:43:39 -07:00
Tadashi G. Takaoka
1f2d0aa6c9 Set divider icon's alpha value on the fly
Bug: 6183494
Change-Id: I61a0c7617648d9c52e5001b3479afa0ab4913adc
2012-05-16 17:41:56 +09:00
Tadashi G. Takaoka
7566448ddf Show dialog to guide the user to input subtype enabler
Bug: 6370433
Change-Id: Ic5777c1d95fe2ce9f48c72b8cc05c7ac250f4cdf
2012-05-16 16:19:00 +09:00
Jean Chalard
fbecbe8474 Merge "Don't auto-correct when there is no main dictionary." into jb-dev 2012-05-16 00:14:04 -07:00
Jean Chalard
f0e12a9699 Don't auto-correct when there is no main dictionary.
Bug: 6502485
Change-Id: I5803b0db8552867110587a1140fc03fc2e0eccef
2012-05-16 16:09:14 +09:00
Tadashi G. Takaoka
f91739b41e Merge "Fix 3rd row of bulgarian BDS keyboard" into jb-dev 2012-05-15 20:04:09 -07:00
Tadashi G. Takaoka
c880eca7fc Fix 3rd row of bulgarian BDS keyboard
Bug: 6501927
Change-Id: Ia96ee076a5522c0ec1ce40d35ccc54d880fc86ab
2012-05-16 11:56:13 +09:00
Eric Fischer
e8d5537c5e Import translations. DO NOT MERGE
Change-Id: I5a64ecb9f9bbc09ce466c050a09f5757302dfec8
2012-05-15 19:04:23 -07:00
Tadashi G. Takaoka
140689ddc8 Update voice icon
Bug: 6499541
Change-Id: I18a4173265d4135c50753037adf51aa7b76a40a6
2012-05-16 09:41:47 +09:00
alanv
f2eba97cc0 Make LatinIME keys accessibility focusable, clickable.
Also fix speech for labeled keys.

Bug: 6498563
Change-Id: I094d4db0e57fa373759a63eb3354b1ab3ab0f525
2012-05-15 15:14:14 -07:00
Tadashi G. Takaoka
b4b3e80f11 Merge "Fix empty custom input style entry appears after orientation change" into jb-dev 2012-05-15 04:23:50 -07:00
Tadashi G. Takaoka
c6846f28ba Fix empty custom input style entry appears after orientation change
Bug: 6495828
Change-Id: I77c44e24340cff4e0702ac6dee02e4dd84076f3e
2012-05-15 20:19:31 +09:00
Jean Chalard
2bbdac539a Merge "Use a formula packing more information into 4 bits field" into jb-dev 2012-05-15 03:02:01 -07:00
Jean Chalard
418b343797 Use a formula packing more information into 4 bits field
Bug: 6313806
Change-Id: Id0779bd69afae0bb4a4a285340c1eb306544663a
2012-05-15 18:59:21 +09:00
Jean Chalard
a86c0f1ea4 Stop meaningless bigram computations
Bug: 6313806
Change-Id: Idf765b40812a43de13aa166ed0b44c7b5f7cc218
2012-05-15 16:34:17 +09:00
Jean Chalard
8dced70b06 Merge "Read and use user dictionary shortcuts." into jb-dev 2012-05-14 20:38:23 -07:00
Tadashi G. Takaoka
30236efee1 Remove "fillBoth" enum value from keyWidth attribute of Key
Change-Id: Icc5ffb8286aeda298b46aeba05e44608e342bc57
2012-05-15 12:27:34 +09:00
Jean Chalard
19ad9bf145 Read and use user dictionary shortcuts.
Bug: 4646172

Change-Id: I51002c73d5bad1a698110c5cda02253348be8eed
2012-05-15 12:23:43 +09:00
Tadashi G. Takaoka
ea468ee687 Merge "Slightly wider space key for 10-inch tablet layouts" into jb-dev 2012-05-14 20:23:02 -07:00
satok
76218b966a Merge "Do not set "SuggestionSpan"s for suggestions from the next word predicition" into jb-dev 2012-05-14 20:14:53 -07:00
satok
0142b997bf Do not set "SuggestionSpan"s for suggestions from the next word predicition
Bug: 6294817
Change-Id: I5010eafa5ba7e947743706adf7e722f4f0cfb415
2012-05-15 12:08:31 +09:00
Tadashi G. Takaoka
bfbcbe5a14 Slightly wider space key for 10-inch tablet layouts
This change also removes the usage of "fillBoth" keyWidth from 10-inch
tablet layouts.

Change-Id: Ie6844fc096712daa24e09b3d67dde48d1c03eb46
2012-05-15 12:03:00 +09:00
Jean Chalard
a9aeb6f3cc Merge "Small optimization" into jb-dev 2012-05-14 19:11:19 -07:00
Jean Chalard
b1120fe79a Merge "Small optimizations" into jb-dev 2012-05-14 19:11:11 -07:00
Jean Chalard
f5ac6c725a Merge "More optimizations" into jb-dev 2012-05-14 19:11:06 -07:00
Jean Chalard
f184e73dd7 Merge "Some more obvious optimizations" into jb-dev 2012-05-14 19:11:02 -07:00
Jean Chalard
78df7181ff Merge "Some obvious optimizations to makedict" into jb-dev 2012-05-14 19:10:48 -07:00
Eric Fischer
3821f0a26e Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-14 15:27:07 -07:00
Eric Fischer
4bc4eb27bc Import translations. DO NOT MERGE
Change-Id: I782170eaa860b92b2a293f629a2118cf22877ff2
2012-05-14 15:17:54 -07:00
Tom Ouyang
5282f00ff8 Merge "Contacts dictionary rebuilds only when contact names have changed." into jb-dev 2012-05-14 14:34:22 -07:00
Tadashi G. Takaoka
6bec442f01 Merge "Slightly wider keys for 7-inch tablet layouts" into jb-dev 2012-05-14 07:36:46 -07:00
Tadashi G. Takaoka
0d1a193d5a Slightly wider keys for 7-inch tablet layouts
This change also removes the usage of "fillBoth" keyWidth from 7-inch
tablet layouts.

Bug: 6480505
Change-Id: I9ed58e0b49138fa9e1610c2b008798eedb19dd26
2012-05-14 18:34:52 +09:00
Jean Chalard
76319c6931 Small optimization
Performance gain is < 2%

Bug: 6394357
Change-Id: I2b7da946788cf11d1a491efd20fb2bd2333c23d1
2012-05-14 15:52:01 +09:00
Jean Chalard
4df5b43df8 Small optimizations
Bug: 6394357
Change-Id: I00ba1b5ab3d527b3768e28090c758ddd1629f281
2012-05-14 15:51:58 +09:00
Tadashi G. Takaoka
f3d9221d99 Fix popular domain key ".com" width
Bug: 6483245
Change-Id: Ie44fd71f848a254ec79c2e061ed050f139ff5aac
2012-05-14 14:02:09 +09:00
Jean Chalard
3b1b72ac4d More optimizations
We don't merge tails anyway, and we can't do it any more
because that would break the bigram lookup algorithm.
The speedup is about 20%, and possibly double this if
there are no bigrams.

Bug: 6394357

Change-Id: I9eec11dda9000451706d280f120404a2acbea304
2012-05-14 12:41:18 +09:00
Jean Chalard
12efad3d15 Some more obvious optimizations
The speedup is about 15%

Bug: 6394357
Change-Id: Ibd57363d9d793206dd916d8927366db4192083b6
2012-05-14 12:35:31 +09:00
Jean Chalard
47db0be7cb Some obvious optimizations to makedict
Bug: 6394357
Change-Id: Ibfd98aac2304ef50cf90b1de984736ddcfe7a4bc
2012-05-14 12:34:05 +09:00
Tom Ouyang
4d289d39ae Contacts dictionary rebuilds only when contact names have changed.
Bug: 6396600
Change-Id: Iad693ec4bab6351793d624e5c5b0a9f5c12a60e3
2012-05-11 18:43:53 -07:00
Eric Fischer
d7889d0fed Import translations. DO NOT MERGE
Change-Id: I6b1e690b678488f38ae84bf862796c32d346371e
2012-05-11 15:49:04 -07:00
Charles Chen
38b5e4239d Merge "Implement "lift-to-type" interaction. Fix event text." into jb-dev 2012-05-11 10:16:05 -07:00
Jean Chalard
59e6ad3874 Merge "Write the bigram frequency following the new formula" into jb-dev 2012-05-11 04:42:36 -07:00
Jean Chalard
f7346de94a Write the bigram frequency following the new formula
This also tests for bigram frequency against unigram frequency

Bug: 6313806
Bug: 6028348
Change-Id: If7faa3559fee9f2496890f0bc0e081279e100854
2012-05-11 20:27:22 +09:00
Jean Chalard
ad0233fa02 Merge "Refactor a method" into jb-dev 2012-05-11 04:09:17 -07:00