Commit Graph

4219 Commits

Author SHA1 Message Date
Tadashi G. Takaoka
052a82057b Microphone key on 10-inch tablet on the far right vs where it is on phones
This change also re-introduces colored action key, that was disbaled
by I1c7335c5.

Bug: 6568834
Change-Id: I0c04b86049325c84492d90457cee0c16c57937f8
2012-06-06 10:41:17 -07:00
Tadashi G. Takaoka
268a442dc4 Microphone key on 7-inch tablet on the far right vs where it is on phones
Bug: 6568834
Change-Id: If48635ead60dc119656f1b10c9b05a1918ebd668
2012-06-06 10:38:50 -07:00
Tadashi G. Takaoka
907ba59397 Can specify Key.backgroundType in <Row> and <include> attribute
Bug: 6568834
Change-Id: I138464b5445e13eaf062ce84a1ba332dfd1afafa
2012-06-06 10:15:51 -07:00
Satoshi Kataoka
a836808f8b Cache UserHistoryDictionary for each language
Bug: 6603257
Change-Id: I73b65e921cff8337a00594525f67f6aec2178881
2012-06-06 20:02:00 +09:00
Tadashi G. Takaoka
be2fef4d5e Merge "Fix backing view height calculation in landscape orientation" into jb-dev 2012-06-05 17:54:42 -07:00
Tadashi G. Takaoka
b94f4cc71c Fix backing view height calculation in landscape orientation
This logic has been dropped by Ib814c07f.

Bug: 6610497
Change-Id: Id89ad3280b73a31d8c9c6826e9ee297791624db1
2012-06-05 17:41:01 -07:00
Charles Chen
f8233ec32d Merge "Refresh Accessibility key mapping when KeyboardView changes Keyboards." into jb-dev 2012-06-05 14:55:59 -07:00
Eric Fischer
2493778faf Import translations. DO NOT MERGE
Change-Id: I0b461b9a136cc170cd4e9bfdfa9df93e08ed5d0a
2012-06-05 12:43:33 -07:00
alanv
f147794fd4 Refresh Accessibility key mapping when KeyboardView changes Keyboards.
Bug: 6609626
Change-Id: I93d764b46e96fe70b61c91a7dcb46945ac8853dd
2012-06-05 11:02:54 -07:00
Jean Chalard
a6166d3776 Fix a bug where Latin IME crashes on spell checker request
Bug: 6611183
Change-Id: I8a879feb598e1ac55d73f9cb27e54aa533d3a010
2012-06-05 16:33:21 +09:00
Tom Ouyang
7f7739fee8 Merge "Fix a bug where the spellcheck is using the old non-binary contacts dictionary" into jb-dev 2012-06-04 23:10:03 -07:00
Satoshi Kataoka
0e134e6be8 Merge "Avoid redundant access to DB" into jb-dev 2012-06-04 20:08:02 -07:00
Jean Chalard
dd4872474a Merge "Read the script correctly" into jb-dev 2012-06-04 19:55:47 -07:00
Eric Fischer
fe3358aff2 Import translations. DO NOT MERGE
Change-Id: I939207fa1b57df23a612d62ea89e36ed6519ef64
2012-06-04 18:54:42 -07:00
Tom Ouyang
faf0059f35 Fix a bug where the spellcheck is using the old non-binary contacts dictionary
Bug: 6607023
Change-Id: I6dc120dea23052a0841e281c20706bfb21fd9876
2012-06-04 14:07:47 -07:00
Satoshi Kataoka
a8c13e7942 Avoid redundant access to DB
Bug: 6603257
Change-Id: I2e8017f9e2e222aeab0a80faa239ce83d3b212ad
2012-06-04 23:41:50 +09:00
Jean Chalard
b1f3c24c63 Read the script correctly
The script of a language presumably does not depend on the
country variant. This was how it was made but it was later
forgotten and the full locale was registered.

Bug: 6542210
Change-Id: Iebc90c546f9c8caf89f8aa6c6a7c4733e5bcba48
2012-06-04 18:39:16 +09:00
Tadashi G. Takaoka
550202a9ff Change spacebar and language switch key background color of phone
Bug: 6568834
Change-Id: I815af444eb953e665a09a075b2d3e5875898cb52
2012-06-04 15:58:07 +09:00
Tadashi G. Takaoka
fe824948bb Dismiss key preview immediately when Keyboard is closing
Bug: 6595594
Change-Id: I52311369929862b17879cd15fdee3598179eedbb
2012-06-04 15:47:32 +09:00
Tadashi G. Takaoka
8cf3654a93 Merge "Use calculated backing view height instead of the view's height" into jb-dev 2012-06-03 21:51:00 -07:00
Tadashi G. Takaoka
bc5b89cdff Use calculated backing view height instead of the view's height
This change removes the work around that was introduced by If4f24500.

Bug: 6596131
Change-Id: Ib814c07fdac7d0aa0d7fbc2764fda1af42b82ad5
2012-06-04 12:49:27 +09:00
Tadashi G. Takaoka
cc4d200668 Fix more keys definition of euro key
Bug: 6603571
Change-Id: I03f6d4a7f3c3f05a7c4e53ac93f6427735f2477d
2012-06-04 12:09:07 +09:00
Ken Wakasa
027448e08a Remove an unnecessary thread.
bug: 6584677

While looking at bug 6584677, we found that LatinIME always spawns an unnecessary thread
for Usability Study Mode.  We don't assume this change will address the root cause of the
bug, but we'd like to remove any suspicious noises in bugreports.

Change-Id: Ie47d104f6cd77ec2ad164f13b4212cb4a70bcf1d
2012-06-03 00:27:07 +09:00
Eric Fischer
0ebddf3669 Import translations. DO NOT MERGE
Change-Id: I08348cabf4793607183c40fd658e74e172633791
2012-06-01 13:04:16 -07:00
satok
72cd84665c Merge "Fix NPE in user history bigram dictionary" into jb-dev 2012-05-31 20:24:20 -07:00
satok
4f96bb4520 Fix NPE in user history bigram dictionary
Bug: 6584882
Change-Id: Id0162bffc4f0f36239cdc68383f8a47d7a957397
2012-06-01 12:19:22 +09:00
Charles Chen
40e5f403af Merge "Add special case for speaking ACTION_ENTER keys." into jb-dev 2012-05-31 17:24:50 -07:00
alanv
080327154f Add special case for speaking ACTION_ENTER keys.
Bug: 6576058
Change-Id: If9a4fc2ddd5bcbac5f610d705441aa379c499a6f
2012-05-31 16:15:21 -07:00
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