Tadashi G. Takaoka
ea55bf5df7
Fix menu option dialog order
...
Change-Id: Iea619d26a2f2091b71182face2f6a66d188e0287
2011-02-03 15:56:01 +09:00
Tadashi G. Takaoka
919cab4893
Merge "Cleanup keyboard drawing code"
2011-02-01 03:35:26 -08:00
Tadashi G. Takaoka
f2fd472dcc
Cleanup keyboard drawing code
...
Change-Id: I084e3ac835ee60b8e463ac10c075adbf08b9a7cb
2011-02-01 19:42:56 +09:00
Jean Chalard
6550dce015
Merge "Add debugging info for Latin IME."
2011-01-31 23:25:00 -08:00
Jean Chalard
8553b5ec31
Add debugging info for Latin IME.
...
Add frequency of candidates in the candidates view when the debug
mode is active.
Bug: 3312867
Change-Id: Ie911f14ef11b2fa02af8f3a74302129f16ed0604
2011-02-01 16:06:50 +09:00
Tadashi G. Takaoka
34252baa86
Use custom dialog builder building url link clickable from service
...
This change is derived from I7611ebc1 (Honeycomb).
Bug: 3246715
Change-Id: I6446bd785f1bd3d7b901e86661c91ca5a823f30e
2011-02-01 15:39:33 +09:00
Ken Wakasa
eaa091da78
Merge "Fix subtype settings activity string"
2011-01-31 08:24:53 -08:00
Ken Wakasa
435bd31db3
Fix subtype settings activity string
...
original (abandoned) change: I78463bbb
Change-Id: I1ef4df882fb09dd31a77e8f12d30d03460ecaada
2011-02-01 01:16:32 +09:00
Jean Chalard
728115493e
Do not read the pop up setting if the config says not to.
...
If the configuration says the device should not display the "Pop up
on key press" setting, then do not read the preference and always
use the default setting.
bug: 3406181
Change-Id: Ice2989760cda1d40387ed88311144cbf2c114b93
2011-01-31 15:45:24 +09:00
Ken Wakasa
063a98a7b2
Merge "Reuse keyboard view's drawing bitmap if possible" into honeycomb
2011-01-27 23:43:02 -08:00
Tadashi G. Takaoka
513f1b0454
Merge "Add hack to translate sudden move to up/down events" into honeycomb
2011-01-27 23:37:49 -08:00
Tadashi G. Takaoka
faf437b507
Add hack to translate sudden move to up/down events
...
This change also gets rid of unnecessary debug messages.
Bug: 3400735
Change-Id: I3f003b1c2b553a2f841d4880f348a012d2d9c8ad
2011-01-28 16:35:02 +09:00
Ken Wakasa
566630147d
Reuse keyboard view's drawing bitmap if possible
...
bug: 3398660
Change-Id: I0c7f7c084904990563ac62b5d9cf829f86855661
2011-01-28 16:33:34 +09:00
Tadashi G. Takaoka
4d3b9d709c
Import new icon for disabled mic key
...
This change also updates other hdpi assets.
Bug: 3345931
Change-Id: Ia91e449905677b025307bf9ea6e618d82090a389
2011-01-28 16:16:59 +09:00
satok
b5d7857fbc
Merge "Fix auto-correction threshold and promote full matched words" into honeycomb
2011-01-26 20:10:31 -08:00
satok
14e427d5bb
Fix safety net not to be enabled at aggressive autocompletion mode
...
Bug: 3374359
Change-Id: I7b1dbeb64a87dda05397c236bb58da292f819471
2011-01-27 13:09:27 +09:00
satok
58c49b9132
Fix auto-correction threshold and promote full matched words
...
Bug: 3374359
Bug: 3278422
"zbe" will be auto corrected to "be" by fixing s-line
"teh" will be auto corrected to "the" by promotion of full matched words
Change-Id: I314c632820e4e0b1501edeca60ada205d291451f
2011-01-27 12:53:13 +09:00
Tadashi G. Takaoka
5c35e4109f
Merge "Fix BroadcastReceiver leakage in SubtypeSwitcher" into honeycomb
2011-01-26 09:07:44 -08:00
satok
5ecb352f7f
Merge "If there is no keyboard view attached, use voice input view." into honeycomb
2011-01-26 09:07:33 -08:00
satok
a42cc5303b
If there is no keyboard view attached, use voice input view.
...
Change-Id: Ibf0945f3bd70f02fe0d09229fc899641567c0d4c
2011-01-27 01:51:02 +09:00
Tadashi G. Takaoka
123c4a3851
Fix BroadcastReceiver leakage in SubtypeSwitcher
...
Bug: 3345931
Change-Id: If31a6e803ea7e1a857085ced354722c484fda075
2011-01-27 01:49:44 +09:00
Ken Wakasa
b5e00d5841
Fix NPE in isCandidateStripVisible()
...
Change-Id: I03d3c4806b51e7f902c43887a6769bffbffeccaf
2011-01-27 01:33:02 +09:00
Tadashi G. Takaoka
5cd87e1b1c
Disable shortcut key when network is not available
...
Bug: 3345931
Change-Id: I1deef774598b8e78da4404535b6d3814464a9d2d
2011-01-26 17:07:55 +09:00
satok
257b2a58d1
Merge "Hide recognition view when switchToLastInputMethod failed." into honeycomb
2011-01-25 19:23:56 -08:00
Ken Wakasa
aa0458f917
Fix Input options dialog
...
bug: 3387860
Change-Id: I81e57ca08e07e4c2a68196ca173b764c40fbeb17
2011-01-26 02:56:09 +09:00
Tadashi G. Takaoka
e5ce433a9e
Check second down event of double tap is on shift key
...
This change also removes unnecessary touch point tweaks.
Bug: 3385404
Change-Id: Ic398268ec4fcfaa9eafe8a70f2d10c2cd1fdfc62
2011-01-25 23:34:49 +09:00
satok
760884e027
Hide recognition view when switchToLastInputMethod failed.
...
Change-Id: Ie5f3d267e1042b4379b51c2dc6c8756e394cfc0f
2011-01-25 23:01:13 +09:00
Ken Wakasa
6d0ff1d070
Merge "Revert "Implement callback to handle touch event outside SoftInputWindow"" into honeycomb
2011-01-25 05:42:22 -08:00
Ken Wakasa
3b46ae535f
Merge "Automatically layout mini keyboard" into honeycomb
2011-01-25 05:32:41 -08:00
Tadashi G. Takaoka
04c96ab966
Automatically layout mini keyboard
...
Bug: 2214959
Change-Id: I06370e1c9e0683666ad19454a2fb501008af95c0
2011-01-25 20:36:11 +09:00
Tadashi G. Takaoka
00eb365873
Revert "Implement callback to handle touch event outside SoftInputWindow"
...
This reverts commit de59a84029
(Ie8d4469b).
The requested feature has been implemented by I92d98bed.
Bug: 3238092
Change-Id: I9d53030b3d5c9a0f24883292a93576a3231813aa
2011-01-25 19:27:10 +09:00
satok
099b4dc6ec
Merge "Avoid disk writes on UI thread." into honeycomb
2011-01-25 01:58:09 -08:00
satok
9313bef894
Avoid disk writes on UI thread.
...
Change-Id: I0a498e47afb2c9a5241e2f329c39e266550135a5
2011-01-25 17:59:39 +09:00
Jean Chalard
15638aec33
Show the value of the "Show suggestions" option in summary.
...
Have the "Show correction suggestions" option display its value
in its description.
Bug: 3282448
Change-Id: Id76b5032ed5776d0567e1679d2a74ee758045919
2011-01-25 17:53:32 +09:00
Tadashi G. Takaoka
85996b472a
Reuse language_selection_title string resource for option dialog
...
Bug: 3385831
Change-Id: I23f587815f7fca3190bd0aa669bb6a2378d34ea8
2011-01-25 11:48:06 +09:00
Luca Zanolin
35f1c6a73c
Fix resetting the status of VoiceIME when the user is switching from one VoiceIME to another Voice IME
...
Change-Id: Ibbbe3ed6c4e2e7e3c1266daddf109742bd8d97b6
2011-01-24 15:45:20 +00:00
satok
bd0de0f151
Update shortcut IME when user changes the language of keyboard.
...
Bug: 3329578
Change-Id: I59653ec7b1077e88be3767da9f4190d820fad4d1
2011-01-24 20:43:45 +09:00
Satoshi Kataoka
0dd0ea63ab
Merge "Always display the VoiceIME language in the Speak Now pop-up" into honeycomb
2011-01-24 02:59:22 -08:00
satok
85a6175f49
Merge "Set minimum height for RecognitionView in the case that there is no keyboard view loaded." into honeycomb
2011-01-24 02:58:16 -08:00
Luca Zanolin
2c5ec3a50d
Always display the VoiceIME language in the Speak Now pop-up
...
Change-Id: I1b01458aff98447b7b3d5459b765968bed5515cb
2011-01-24 10:36:15 +00:00
satok
8cacb024cf
Set minimum height for RecognitionView in the case that there is no keyboard view loaded.
...
Bug: 3352322
Change-Id: I9a7b2a745b47bdc62a96a5cd2c0d8ad717e1b406
2011-01-24 19:29:27 +09:00
Tadashi G. Takaoka
603e72baa2
Merge "Implement callback to handle touch event outside SoftInputWindow" into honeycomb
2011-01-24 01:44:28 -08:00
Tadashi G. Takaoka
de59a84029
Implement callback to handle touch event outside SoftInputWindow
...
Bug: 3238092
Change-Id: Ie8d4469bc2c6880bdf2a0c4e4eec68bb136b837c
2011-01-24 17:34:05 +09:00
satok
910b73127f
Add log for voice IME
...
Change-Id: I7d0a458b3cf41fc9dc679f654347e8870c75185d
2011-01-24 15:08:07 +09:00
satok
3d012a57db
Merge "Fix touchable region" into honeycomb
2011-01-21 02:59:49 -08:00
satok
9e347d3d44
Fix touchable region
...
Bug: 3238092
Change-Id: Ie2087086af90ba51e0e310f9e46964e450561cbe
2011-01-21 19:45:32 +09:00
Tadashi G. Takaoka
f3df63a93a
Update suggestions if user typed word is found in dictionary
...
This change aslo eliminates duplicate suggestion from past
suggestions. And call setTypedWordVaild to past suggestions.
Bug: 3367722
Change-Id: I7ffaa2f7e4e30b3951b6c2df002d269671c9d654
2011-01-21 15:52:35 +09:00
satok
15a7e837ab
Merge "Dim previously suggested words" into honeycomb
2011-01-20 22:22:13 -08:00
satok
6f7218627e
Dim previously suggested words
...
Change-Id: Id673c03bfa22ea9ce1bedb5174d8309a37a2a460
2011-01-21 15:20:21 +09:00
satok
58d6d0615d
Disable touchable region until we come up with correct implementation
...
bug: 3373640
Change-Id: I22448b779b0adc60f590aaef916075c7847dcdc9
2011-01-21 14:41:20 +09:00
Tadashi G. Takaoka
a2ad96d959
Make settings dialog cancel-able by touching outside
...
Bug: 3374426
Change-Id: I6ba9b82d4481c43c78b59e78dcf22cd9875a8240
2011-01-21 14:07:05 +09:00
Tadashi G. Takaoka
2fa21f5854
Add input method subtype selector and IME settings dialog
...
Bug: 3351762
Change-Id: Ic1767faac6d4470a89cacb851d449ac53b2f8205
2011-01-21 02:30:52 +09:00
Ken Wakasa
fefda4e6df
Refine InputMethodInfo API
...
bug: 3370297
Change-Id: I16073e6b8b90a06a20e506dac66e3ca25b4712d0
2011-01-20 23:29:53 +09:00
satok
6845da8d7b
Add touchable region
...
Bug: 3238092
Change-Id: I3cda3106a61c40c3b66741dc38c9ff4cc55f487b
2011-01-20 22:04:42 +09:00
satok
4022a79957
Merge "Add subtype languages" into honeycomb
2011-01-19 08:17:05 -08:00
satok
be324535f6
Add subtype languages
...
Change-Id: Ib251bd63f79281a4dc1739b213b16e8a936ea319
2011-01-20 01:15:09 +09:00
Jean Chalard
89764ad4ac
Simplify text correction settings in latin IME.
...
Conditionally remove the "Quick fixes", "Bigram suggestions" and
"Usability study mode" options, depending on configuration.
When disabled, have the quick fixes and bigram option become
false if autocorrect is off, and true otherwise.
Also reorder options to bring "Auto correction" above "Show
suggestions".
bug: 3282448
Change-Id: Ib7fd928be417a816ef9e21423a531773069b7468
2011-01-19 20:08:46 +09:00
Jean Chalard
ce9c417184
Change separator titles in settings screen.
...
Add a "General" category to enclose general settings, and rename
"Word suggestion settings" to "Text correction".
bug: 3282448
Change-Id: Ie695683af0646974da82e29e11d1c3a785ef46c7
2011-01-19 19:50:14 +09:00
satok
ce4b2d2dab
Merge "Add a safety net for auto-correction." into honeycomb
2011-01-19 01:02:28 -08:00
satok
82411d47ba
Add a safety net for auto-correction.
...
Bug: 3353956
Change-Id: I6a32632b2f986f0d9a07aa72f256a2c41cc09873
2011-01-19 17:54:22 +09:00
Ken Wakasa
86f189fd96
Fix NPE
...
bug: 3364217
Change-Id: If6a2514a8feac509d7b6716c8574521a0ec0fa3e
2011-01-19 17:44:51 +09:00
Tadashi G. Takaoka
08ca36d038
Merge "Pressing shift could turn off shift state while auto capitalize mode" into honeycomb
2011-01-18 19:18:01 -08:00
Jean Chalard
8b0febc6f0
Merge "Simplify latin IME settings page." into honeycomb
2011-01-18 19:08:15 -08:00
Tadashi G. Takaoka
d01ae897d3
Pressing shift could turn off shift state while auto capitalize mode
...
Bug: 3363137
Change-Id: I442c1fbb185ad9ea16ee9bab70649f2b9f89400c
2011-01-19 11:59:45 +09:00
Luca Zanolin
bbd651a008
Change the UI of Voice IME to be more like Voice Search.
...
There has been a bit of refactoring in RecognitionView in particular to fix the portrait layout.
The main issues found were:
- the size of the keyboard is specified in inches, and
(cm)(inches + inches) != ((cm) inches) + ((cm) inches))
- the height of keyboard background is high as the landscape keyboard, but it higher than
the portrait keyboard. This is not an issue on LatinKeyboard, as it overwrite the
onMeasure method. However, if I use the same image background in RelativeLayout
the Relative layout height is set to the height of the background, thus higher than the keyboard
- the change configuration was not propageted correctly
Change-Id: Id5dca425826997c573ccae7a085d5ddc9719733b
2011-01-18 15:49:17 +00:00
satok
da9eb5946c
Merge "Disable auto-correct when previous suggestion candidates are shown" into honeycomb
2011-01-18 05:12:17 -08:00
Tadashi G. Takaoka
26df6b508a
Merge "Load keyboard correctly when subtype has been changed to keyboard" into honeycomb
2011-01-18 05:11:31 -08:00
satok
cff6d09595
Disable auto-correct when previous suggestion candidates are shown
...
Change-Id: I16717f0c67950297a077a15b2b6492180c0bc54b
2011-01-18 22:07:58 +09:00
Tadashi G. Takaoka
3f652e2477
Merge "Clear composing text when the auto-corrected word is reverted" into honeycomb
2011-01-18 04:44:45 -08:00
Tadashi G. Takaoka
c1c4ee6b3a
Load keyboard correctly when subtype has been changed to keyboard
...
Bug: 3299191
Change-Id: I5d75898aca5de25d9955efac52979097e529990b
2011-01-18 21:44:02 +09:00
Tadashi G. Takaoka
30be3f9845
Clear composing text when the auto-corrected word is reverted
...
Bug: 3363133
Change-Id: Ib7582ad354ba16eb8ebc9f0b4f51c8ec3790f578
2011-01-18 21:01:26 +09:00
Jean Chalard
fd7d814c81
Simplify latin IME settings page.
...
Do not show the recorrection option on xlarge terminals,
and make it true by default. Also, bring the Auto-capitalization
at the top of the settings page.
Issue: 3282448
Change-Id: I51a9ae6c7e496be2970107277f0a4ac65b12821e
2011-01-18 18:41:15 +09:00
Jean Chalard
6c381b38cc
Remove the keyboard popup option by default.
...
Add an option to mask the sound on keypress preference, and
make it false on xlarge terminals by default.
bug: 3282448
Change-Id: I747272d9edf854dc229aa620836cfa35a437d13f
2011-01-18 16:26:11 +09:00
satok
7766340cac
Add debug log for subtypes.
...
Change-Id: I7941adeab3357db1ceb7bc0c9c01a01d6ac9cf98
2011-01-18 13:52:14 +09:00
Tadashi G. Takaoka
d5a6b910e8
Purge keyboard only when voice input will be invoked
...
This change also draws the language name in light gray on spacebar
without fading out even when the keyboard locale has not been changed.
Bug: 3362369
Bug: 3361915
Change-Id: I66538b03ce2e48c3441091319d0377176f8118ec
2011-01-18 11:41:12 +09:00
Tadashi G. Takaoka
9835307690
Merge "Preserve punctuation character after canceling auto correction" into honeycomb
2011-01-17 06:07:01 -08:00
Tadashi G. Takaoka
a0ff76638c
Merge "Make sure that keyboard is not displayed when voice mode" into honeycomb
2011-01-17 05:49:00 -08:00
Tadashi G. Takaoka
04f815eca4
Make sure that keyboard is not displayed when voice mode
...
Bug: 3352347
Change-Id: I43cf5159f8bdcf2bc2c9a48662ea44a43ad4e25d
2011-01-17 22:41:05 +09:00
Tadashi G. Takaoka
504e8d5171
Preserve punctuation character after canceling auto correction
...
Bug: 3230708
Change-Id: I939ca19c9c08d9b79658261b1e654a66af5cc493
2011-01-17 22:37:36 +09:00
Tadashi G. Takaoka
8bec4aa912
Fix voice key enable status has not been reflected to keyboard id
...
Bug: 3355428
Change-Id: Id4e572357a7b5603e9a609b7e80b81d8e2c500f6
2011-01-17 19:27:39 +09:00
Tadashi G. Takaoka
dc64b138b5
Revert I432be8f7 partially
...
This change reverts removing SubtypeSwitcher.onConfigurationChanged by careless in I432be8f7.
Bug: 3290290
Change-Id: I796ea01877d61eb750dabdeb3fdbf87666646c56
2011-01-17 17:52:15 +09:00
Tadashi G. Takaoka
9d446fc13f
Merge "Place language name at center of spacebar if no space icon" into honeycomb
2011-01-17 00:39:01 -08:00
Tadashi G. Takaoka
66432cfc9b
Place language name at center of spacebar if no space icon
...
This change also leaves the language name as light grayed after fading out.
Bug: 3290290
Change-Id: I71adf80c9a3b77d2fd34bca458845d85d55cbee7
2011-01-17 17:04:53 +09:00
Ken Wakasa
3ff0fb77ce
Merge "Fixes in close() in BinaryDictionary." into honeycomb
2011-01-16 23:12:55 -08:00
Ken Wakasa
da50e1e98d
Fixes in close() in BinaryDictionary.
...
Avoid using 'synchronized' in finalizer as well.
bug: 3340837
Change-Id: I9b28f54e4490ecb844ba33a379f71b625e4246a2
2011-01-17 15:58:07 +09:00
satok
f250c56a38
Allow implicitly enabled subtypes in subtype switcher.
...
Change-Id: I30cd9df85fd1927ee9c3bfbe0574167d4953a765
2011-01-17 14:46:25 +09:00
Tadashi G. Takaoka
67e08bb0fb
Invoke voice recognition certainly onStartInputView
...
Bug: 3352347
Change-Id: I80763c0a48ebf1ecd23549d78269421ebb40d206
2011-01-15 06:13:34 +09:00
Tadashi G. Takaoka
93e2d77741
Merge "Fix froyo-ub-LatinImeGoogle compatibility" into honeycomb
2011-01-14 06:59:01 -08:00
Tadashi G. Takaoka
5a88787e67
Merge "Add SubtypeLocale class" into honeycomb
2011-01-14 05:25:47 -08:00
Tadashi G. Takaoka
34cee317d8
Fix froyo-ub-LatinImeGoogle compatibility
...
Change-Id: I46fca4735d08552dfb414b2b302b4ed97ae96ab0
2011-01-14 22:24:10 +09:00
Tadashi G. Takaoka
de0c8874a4
Notify keyboard language on space bar when it has changed
...
This change also introduces the following.
* space bar language switcher is enabled for phone device.
* get rid of spcae key icon from number keyboard of tablet.
* slightly lower the position of language name on space bar of tablet.
Bug: 3290290
Change-Id: I432be8f757bcc84c257770112ff1f6fa7970c584
2011-01-14 20:11:52 +09:00
satok
1c835437a5
Merge "Do not triggerVoiceIME at changing subtype if IME is not shown." into honeycomb
2011-01-14 00:22:03 -08:00
Tadashi G. Takaoka
e276d8ddaa
Add SubtypeLocale class
...
Change-Id: Ic4c73c313f976ad6df1b4ddf48b914d05a08d283
2011-01-14 16:12:36 +09:00
Tadashi G. Takaoka
212368e877
Merge "Support "nm" (no mic) privateImeOptions" into honeycomb
2011-01-13 23:09:38 -08:00
Tadashi G. Takaoka
96680f28e8
Use integer value instead of symbolic name for os version
...
Change-Id: I1574915ededf5d47d245a3f09692ebbbfe37e4c6
2011-01-14 14:48:23 +09:00
Tadashi G. Takaoka
41f7fb51b0
Make input language selection settings work
...
This change also tweaks the padding of candidate strip for phone.
Change-Id: Iefe4dfeb7015e11d5b2d1566121f719d60b1377e
2011-01-14 14:21:12 +09:00
Tadashi G. Takaoka
0f901aab36
Support "nm" (no mic) privateImeOptions
...
Bug: 3331635
Change-Id: Ide160b9317c8f7d966f879dd460640fc4f894e9b
2011-01-14 10:02:26 +09:00
satok
255831206b
Do not triggerVoiceIME at changing subtype if IME is not shown.
...
Bug: 3325103
Change-Id: I5474553f0b55f286f573af80134e8ef1eeb39354
2011-01-13 21:05:29 +09:00
Tadashi G. Takaoka
a5627e4e1f
Merge "Reset old keyboard state before switching to new keyboard" into honeycomb
2011-01-11 22:54:26 -08:00
Tadashi G. Takaoka
ee66e6fa90
Reset old keyboard state before switching to new keyboard
...
This change is ported version of I8030202f from Gingerbread.
Bug: 3322158
Change-Id: Idc1ef7f174b50b0478ba53b14427485275e97748
2011-01-12 14:13:32 +09:00