Commit Graph

4191 Commits (002e43ead02268ee17033289ab3043511505856b)

Author SHA1 Message Date
Eric Fischer ca8c001f62 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-31 15:50:11 -07:00
Eric Fischer 105b04ea49 Import translations. DO NOT MERGE
Change-Id: Ic7fe11c9f60a61f611840373bf0cea8efb1f213c
2012-05-31 15:11:02 -07:00
Charles Chen b99788c3b8 Merge "Update keyboard view used by node provider. Remove global layout listener." into jb-dev 2012-05-31 11:10:02 -07:00
Jean Chalard 6f0cd9ba6d Fix a possible NPE.
This NPE's at least in unit tests.

Change-Id: I255ac5fec9502e4e5bd18cba1211cdf46c6cafc8
2012-05-31 19:33:39 +09:00
Jean Chalard 38a24ba82d Merge "Add a whitelist entry" into jb-dev 2012-05-31 03:24:46 -07:00
Jean Chalard fc2238ee40 Add a whitelist entry
Bug: 6394369
Change-Id: I2308ca85f7deea73186742baff1499eb0aa35a77
2012-05-31 19:12:43 +09:00
Jean Chalard 73e417b57b Merge "Improvements to the English dicts" into jb-dev 2012-05-31 03:05:53 -07:00
Jean Chalard 260ba38d53 Merge "Add a few entries to the whitelist for English." into jb-dev 2012-05-31 02:47:00 -07:00
Jean Chalard 51fb65569a Improvements to the English dicts
Bug: 6394369
Change-Id: I7a4747386adef44e6d1a0c9fec52d09611f1ce10
2012-05-31 18:46:22 +09:00
Jean Chalard b46d324fcb Add a few entries to the whitelist for English.
Bug: 6394369
Change-Id: I8fab241580d13cc881741085559611b99df34c53
2012-05-31 18:42:53 +09:00
Tadashi G. Takaoka 60ee192b07 Utilize Rect's method
Change-Id: Ia3df1baae4b92eca828c53c17f68ff26b25e525c
2012-05-31 14:05:34 +09:00
alanv 48ccd55281 Update keyboard view used by node provider. Remove global layout listener.
Bug: 6582130
Change-Id: I2976e37e921a3e2c151486a919b0a93a908c3384
2012-05-30 15:39:48 -07:00
Eric Fischer a2cfb2e3b0 Import translations. DO NOT MERGE
Change-Id: I9bb9f03989d5c3113c5f735d1f62b75b595d7d91
2012-05-30 14:19:19 -07:00
Tadashi G. Takaoka 9afafd0ebe Merge "Restrict phantom sudden move event hack to specific device" into jb-dev 2012-05-30 03:55:35 -07:00
Tadashi G. Takaoka d438fcaca2 Restrict phantom sudden move event hack to specific device
Bug: 6571778
Change-Id: I4306af387074d34db68a9bb16ae41debcfc36bfd
2012-05-30 19:49:38 +09:00
Tadashi G. Takaoka 38da968a9a Merge "Cleanup keyboard-heights.xml resources" into jb-dev 2012-05-30 03:39:19 -07:00
Tadashi G. Takaoka f4ca178fc7 Cleanup keyboard-heights.xml resources
Change-Id: If33643045ad6ff7ea9fdf3f974564cb40f1db041
2012-05-30 19:33:30 +09:00
Jean Chalard c7f2878cf5 Remove a vibration-related option when there's no vibrator
Bug: 6567160
Change-Id: I1b5d425ffb64b2d7390cd0b7be0825f6aca17f41
2012-05-30 15:24:59 +09:00
Eric Fischer 902275cb5d Import translations. DO NOT MERGE
Change-Id: I50bf9fee5d80982699b696871987df047c569d18
2012-05-29 15:00:57 -07:00
Tom Ouyang 1ed017ef0e Fix performance issue when there are no contacts in the dictionary dictionary.
Bug: 6551480
Change-Id: I8681a1bd82423c612af2d012f9b872501d8c201d
2012-05-29 09:45:42 -07:00
Satoshi Kataoka 961e676b9a Merge "Set level 1 as the initial value of the valid words" into jb-dev 2012-05-29 04:43:54 -07:00
Satoshi Kataoka c88f61215c Set level 1 as the initial value of the valid words
Bug: 4192129
Change-Id: I867e78ce79c78977d08e8b66881a25b6fe5bf41f
2012-05-29 20:39:39 +09:00
Tadashi G. Takaoka 2959fc0f13 Delay shift lock transient until long pressed shift key is released
Bug: 5424586
Change-Id: Ib602af1b38b1b109bdac9cb0c53132169556db2f
2012-05-29 18:14:11 +09:00
Satoshi Kataoka 2f854e170c Add a JNI to get the frequency
Bug: 4192129
Change-Id: I3f220f5a10114d4eb23956148076cf76220bda0f
2012-05-29 17:21:59 +09:00
Satoshi Kataoka bd40b94f96 Merge "Optimize the store of bigram list" into jb-dev 2012-05-28 23:09:59 -07:00
Satoshi Kataoka bc56885062 Optimize the store of bigram list
Bug: 4192129

Change-Id: Idcc62e4f9696b56b1d7013891b2da37b1784423e
2012-05-29 15:03:10 +09:00
Satoshi Kataoka 24c4d62618 Merge "Fix NumberFormatException" into jb-dev 2012-05-28 21:20:42 -07:00
Satoshi Kataoka 48255b1747 Fix NumberFormatException
Bug: 6567496
Change-Id: Ib0d9fab8496c8c856b94cce5812a263efbcb724f
2012-05-29 13:16:38 +09:00
Tadashi G. Takaoka 6034acd168 Fix Dvorak layout in uri/email mode on phone device
Bug: 6567492
Change-Id: I78d56ec05b7711749553c6787a9abb1351dff4db
2012-05-29 12:43:40 +09:00
Tadashi G. Takaoka e09520290f Merge "Make KeySpecParser case sensitive again" into jb-dev 2012-05-28 03:22:46 -07:00
Tadashi G. Takaoka 0a3362d264 Make KeySpecParser case sensitive again
Partially revert I76c3e917.

Bug: 6561272
Change-Id: I5649a8ecb44bd11c67785ea97ddbb67b0a019ccc
2012-05-28 19:07:51 +09:00
Tadashi G. Takaoka 8f590c77e8 Use Math.round instead of (int) to convert Key coordinates from float to int
Bug: 6566563
Change-Id: I97d1e9727077cb4d9abbf1ad5bd5d3f061c7bce7
2012-05-28 16:16:35 +09:00
satok aa0641394b Merge "Forget user history" into jb-dev 2012-05-27 22:59:22 -07:00
satok fd53b8cc2b Forget user history
Bug: 4192129

Change-Id: Ic98398e5383093a1c24373849eadc48fc4d3626f
2012-05-28 14:34:02 +09:00
Jean Chalard bed613cf11 Merge "Simulate hardware enter/delete events if the app targets < 16" into jb-dev 2012-05-27 21:21:22 -07:00
Jean Chalard 92d7b55acf Merge "Small update to the English dictionaries" into jb-dev 2012-05-27 21:20:59 -07:00
Tadashi G. Takaoka 6cc58bedea Merge "Fix PC QWERTY keyboard of 7-inch tablet" into jb-dev 2012-05-27 21:07:54 -07:00
Jean Chalard 3a6efa06e2 Small update to the English dictionaries
Demote 'HDTV'

Bug: 6563090
Change-Id: I39a1632397569cf79a8d67d93cdff5cf29f82f3a
2012-05-28 13:01:59 +09:00
Tadashi G. Takaoka cfb96c4973 Fix PC QWERTY keyboard of 7-inch tablet
Bug: 6566031
Change-Id: I6d5a9244487d8b5816090aa98e032c9780cb5ae5
2012-05-28 12:58:12 +09:00
Tadashi G. Takaoka 7ab7f66c2d Fix adjusting key's label/code case
With this fix, we may probably be able to revert I76c3e917 (Make
KeySpecParser case insensitive).

Bug: 6561272
Change-Id: Ic7571560d7b422ffc9a07f0acecd388e0b330d50
2012-05-28 12:34:49 +09:00
Jean Chalard 4e1a558ee8 Simulate hardware enter/delete events if the app targets < 16
This will make text input buggy on all apps until they target
JB or superior.

Bug: 6537051
Change-Id: I726347db8c84d1582ad1962d3a910e698389e08c
2012-05-28 12:00:43 +09:00
Eric Fischer 739ff3cfc4 Import translations. DO NOT MERGE
Change-Id: I045ad47955d6f5f507818271543d2606b61877fc
2012-05-25 15:31:16 -07:00
Jean Chalard 123017cc74 Merge "Wipe the application cache selectively" into jb-dev 2012-05-25 04:07:46 -07:00
Jean Chalard 7707e0459f Merge "Cache application info." into jb-dev 2012-05-25 04:07:36 -07:00
Jean Chalard 9b93817b7f Merge "Get information about the target application." into jb-dev 2012-05-25 03:28:00 -07:00
Tadashi G. Takaoka b6c314e4ca Merge "Clean up some compiler warnings" into jb-dev 2012-05-25 03:21:30 -07:00
Tadashi G. Takaoka 93ebf74bae Clean up some compiler warnings
Change-Id: I604da15e65fc3cf807ec4033df4e4cd5ef0196fc
2012-05-25 19:04:54 +09:00
Jean Chalard eb696d288e Wipe the application cache selectively
Bug: 6537051
Change-Id: I839d0a98c729f3604582946d70c0140a5cff7dcf
2012-05-25 18:56:13 +09:00
Jean Chalard 1b1243d61f Cache application info.
Bug: 6537051
Change-Id: Ieca891235df0d697bdeb0510651b703654fdef38
2012-05-25 18:54:53 +09:00
Jean Chalard b224b60c94 Get information about the target application.
Bug: 6537051
Change-Id: I9fe7a07b5ddf2a423d5764840753ea70544206f1
2012-05-25 18:41:32 +09:00
Jean Chalard 383f4d6a69 Fix the name of the resource to lower case
Change-Id: Icbacf10702de20ef1a60d2648ee6440812d13f1d
2012-05-25 15:27:58 +09:00
Jean Chalard 1b3db401bc Add the dictionary for Portuguese to the apk
This adds about 1MB to the system image, but Ibae3cd55
has been committed to make up for it. Both those considered,
we are still adding 23kB to the build.

Bug: 6558327
Change-Id: Iae066d39a193a0a380d2872a35661920dd5cea54
2012-05-25 14:59:04 +09:00
Jean Chalard 0c20714403 Merge "Fix a bug with a concurrent modification of a map." into jb-dev 2012-05-24 03:39:09 -07:00
Jean Chalard 1b06b59e28 Fix a bug with a concurrent modification of a map.
Bug: 6538848
Change-Id: I1a8422356d9909213e53cfdc8c5bcc12eb48f19d
2012-05-24 19:38:04 +09:00
Tadashi G. Takaoka f11c8cd15a Merge "Get rid of heavy IPC call from key drawing code" into jb-dev 2012-05-24 03:24:13 -07:00
Jean Chalard 28d82a3ad3 Merge "Remove non-words from the French dictionary." into jb-dev 2012-05-24 03:14:35 -07:00
Jean Chalard 69897af20d Merge "Add new locales for the spell checker." into jb-dev 2012-05-24 03:13:56 -07:00
Tadashi G. Takaoka fd60b2f970 Get rid of heavy IPC call from key drawing code
Bug: 6541544
Change-Id: I5c7df486ff72714ae09e1dbc21a8adbe3106ce95
2012-05-24 19:04:49 +09:00
Jean Chalard d527a15ec4 Add new locales for the spell checker.
Bug: 6533167
Change-Id: I1581e8446b1af5dc3679e01be16d4fc34af725cc
2012-05-24 18:45:58 +09:00
Jean Chalard b2acdba809 Remove non-words from the French dictionary.
Change-Id: I98c546818aa456a534e833495deb670e79df4104
2012-05-24 17:16:41 +09:00
Tadashi G. Takaoka 49afe45d8e Fix build
Follow up of I7822adf407

Change-Id: Iac75c0f2ff2482bce1305c54cb25b708037db6c6
2012-05-24 17:13:35 +09:00
Tadashi G. Takaoka c60a846e21 Fix NPE in Settings.updateCustomInputStylesSummary
Change-Id: I7822adf407046098f97bf60da9382910c0a40209
2012-05-24 16:43:13 +09:00
satok 1e1235feeb Merge "Support bigram suggestions in Android spell checker" into jb-dev 2012-05-23 22:02:52 -07:00
satok 315d731d8f Support bigram suggestions in Android spell checker
Bug: 6136291
Change-Id: Ic278153f95b23e9aa180d1d6b5960785766d96e5
2012-05-24 12:27:33 +09:00
satok c54d558e2e Cancel adding user history bigram when autocorrection is cancelled
Bug: 6465474
Change-Id: Ifbfe0ddc2ce5fab070939ede3db7bf03a8535a45
2012-05-24 12:11:02 +09:00
Jean Chalard 0b6b6ee542 Merge "Notify the dictionary pack about copy failures" into jb-dev 2012-05-23 04:12:59 -07:00
Jean Chalard 3abac7e28e Notify the dictionary pack about copy failures
Bug: 6532896
Change-Id: I57f7b1a400222c89776f9bff652a7da4470232c5
2012-05-23 18:46:51 +09:00
Tadashi G. Takaoka 2866da88a7 Make ProximityInfo copy constructor for test
Change-Id: I94a29784591208af1849d4941a3b4789b93782de
2012-05-23 17:45:19 +09:00
Tadashi G. Takaoka 4cba9f58d4 Merge "Remove unused private method Suggest.searchBigramSuggestion" into jb-dev 2012-05-23 00:17:25 -07:00
Jean Chalard ff4c037c9d Merge "Remove an updated dictionary that changed locales" into jb-dev 2012-05-23 00:04:21 -07:00
Jean Chalard b9e2bce95e Remove an updated dictionary that changed locales
When a dictionary changes locale, we need to remove the file
that corresponds to the old version. It has a different path
than the new one, so we have to search for it explicitly.

Bug: 6540631
Change-Id: Ie9d63ba636651fe90f8fbb9627b7265ac7b34ccd
2012-05-23 15:59:49 +09:00
Tadashi G. Takaoka b5db270962 Remove unused private method Suggest.searchBigramSuggestion
Change-Id: I077c4c019676fefb8eac6042bd7db1b7ab33ca03
2012-05-23 15:32:48 +09:00
Tadashi G. Takaoka 24ce364586 Merge "Fix RuntiomeException when no custom input style is defined" into jb-dev 2012-05-22 23:13:18 -07:00
Tadashi G. Takaoka d6e238fc33 Fix RuntiomeException when no custom input style is defined
Bug: 6524480
Change-Id: I6bceea9fe07095b9ff3ed25c5677a82fa5d4086a
2012-05-23 14:48:16 +09:00
Jean Chalard 6c0349012e Fix an NPE
Bug: 6538761
Change-Id: Id85486ee93437cfec7db421d5c7f2d7980a7e32e
2012-05-23 12:05:36 +09:00
Svetoslav Ganov 37f81cd6e9 Merge "Always use AccessibilityUtils to send events." into jb-dev 2012-05-22 14:23:42 -07:00
Jean Chalard 978c96aa99 Remove a high surrogate after a delete if any
Bug: 6526328
Change-Id: Iae70cad7b3c114bc13af48ae0eadd52ab88e8471
2012-05-22 19:04:31 +09:00
Jean Chalard cb53c63eab Merge "Update AOSP dictionaries" into jb-dev 2012-05-22 00:29:57 -07:00
Tadashi G. Takaoka 8d9336d00f Merge "Use splitActionBarWhenNarrow for Android Settings activity" into jb-dev 2012-05-22 00:25:55 -07:00
Jean Chalard 80058c73cb Update AOSP dictionaries
Change-Id: Ia6bb1f9d6df4a9f859f132affc9cb030f14effd9
2012-05-22 16:12:50 +09:00
Tadashi G. Takaoka 55e5bdc560 Use splitActionBarWhenNarrow for Android Settings activity
Bug: 6503074
Change-Id: I080a6d354888a5d1218be81ffb1f523981b93783
2012-05-22 16:10:11 +09:00
Jean Chalard e1e3ab6fae Merge "Update dictionaries." into jb-dev 2012-05-21 22:51:47 -07:00
alanv 067689c57d Always use AccessibilityUtils to send events.
Bug: 6532601
Change-Id: I3aba9066ccd8d401973abfe9100f4cab731b5e7d
2012-05-21 20:31:06 -07:00
Jean Chalard 624150b11b Update dictionaries.
Bug: 6517432
Bug: 6525702
Change-Id: I47a8c4612bffb16971575b59e9e20fd0276a2f92
2012-05-22 11:29:33 +09:00
Tom Ouyang 2798c85c0f Fix cursor leak in ContactsBinaryDictionary
Bug: 6529131
Change-Id: I86493705fbf069ba7a6c43581cfbd1bcc27ff1ba
2012-05-21 16:50:26 -07:00
Tadashi G. Takaoka 16950d65c3 Reset automatic upper case when chroding key is pressed
Bug: 6501446
Change-Id: Idc3b88b5370c0d7968cc388885e9066f922cfcf3
2012-05-21 19:24:43 +09:00
Tadashi G. Takaoka fc0a0015f8 Mark UserDictionary and ContactsDictionary as deprecated
Bug: 6473962
Change-Id: I14477f99f67aedf756d9387ec1d50ef57a1c079e
2012-05-21 17:04:38 +09:00
Tadashi G. Takaoka 78e3977e90 Get rid of unused CODE_HAPTIC_AND_AUDIO_FEEDBACK
Bug: 6523953
Change-Id: Ibea6c74d00e956116f492a3bedfe40e580b4c316
2012-05-21 12:24:17 +09:00
Ken Wakasa fd08b4390e Tiny comment update to reflect what the class does more accurately.
Change-Id: I9eab3b5d387a5bf5d9b7fce4c1618170a7f34727
2012-05-20 16:56:29 +09:00
Ken Wakasa aefa7f1ab9 Add entires I forgot to add in Id1c89be1
bug: 6354484
Change-Id: Iea6fa4df99b38d94e517423a7030b4f0440d4f6e
2012-05-19 19:46:53 +09:00
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