Commit Graph

202 Commits (f5f834afcd5506a0ae3bd5bcfcb0c3a9b1506ac1)

Author SHA1 Message Date
Tadashi G. Takaoka 050c0462dc Display language name on spacebar even in symbol keyboard.
Bug: 3468634
Change-Id: I1a25eb71ddbd7efae6f40ea357714924a9d56dc4
2011-02-20 21:16:49 +09:00
Tadashi G. Takaoka 4b13b4f942 Add "passwordInput" attribute to case tag of Keyboard
This change also introduces number password (a.k.a. PIN) layout. The
text password layout will follow.

Bug: 3384942
Change-Id: I50b5e413e47a28d5285fd0468115e11ce46c7f18
2011-02-20 18:46:48 +09:00
satok 290b4a8ff9 Merge "Not to make a thread at changing view from keyboard to voice" 2011-02-17 01:45:28 -08:00
satok 060efb6d82 Not to make a thread at changing view from keyboard to voice
Change-Id: If3f89b3e9774c566a1bb2119b161c42b715e6709
2011-02-17 17:45:46 +09:00
Ken Wakasa eebbe54113 Merge "Fix password variation check code" 2011-02-16 22:00:01 -08:00
Ken Wakasa 16ee377bcd Fix password variation check code
Change-Id: Id994112a029982b4dabd6ebca34edd1d787e5ae2
2011-02-17 14:44:44 +09:00
Tadashi G. Takaoka 887f11ee43 Remove next letters frequency handling
Bug: 3428942
Change-Id: Id62f467ce4e50c60a56d59bf96770e799a4659e2
2011-02-17 13:59:41 +09:00
Jean Chalard a7b2ac26ee Remove a useless flag.
This has become useless when LatinIME stopped being a
SharedPreferenceListener.

Change-Id: I708ec3c3a299ead18548c85b435b45558c984e8d
2011-02-15 17:15:13 +09:00
Jean Chalard 9a5d2ba03e Stop listening on shared preferences change.
It appears it is not useful to listen to this change, because in any
case, settings will be reloaded when the view is shown again or when
IME is changed.

Change-Id: I08dddccc630b01718da7fab011ce14f189dd31c3
2011-02-10 16:34:58 +09:00
Tadashi G. Takaoka 39c323eb12 Merge "Move and rename computeProximityThreshold" 2011-02-08 00:05:27 -08:00
Jean Chalard f0d99b8677 Make the keyboard sound on by default for xlarge screens.
Also change the name of the default value for re-correction for
consistency with other constant names.

Bug: 3426884

Change-Id: I615ba640fb17e6d7514b8a0e4f52028eb0e23908
2011-02-08 12:44:03 +09:00
Tadashi G. Takaoka 5ef096f5f6 Move and rename computeProximityThreshold
Move and rename KeyboardView.computeProximityThreshold to
KeyDetector.getMostCommonKeyWidth. And make it public for unit test
use.

This is a part of multi-project change (If751659a, Idb18f362)

Bug: 3414081
Change-Id: If751659a53c7412f836d6d28866760ffe84b179b
2011-02-08 11:43:39 +09:00
Jean-Michel Trivi cf675cc808 am 78f9ee97: am 985fb645: Revert I871cfaaf Latin IME Keyboard sounds off by default
* commit '78f9ee978a6a3e8a78ae161034c273d4c8600f6f':
  Revert I871cfaaf Latin IME Keyboard sounds off by default
2011-02-07 13:49:56 -08:00
Jean-Michel Trivi a428945d90 am 2fb80292: am 435ea0f5: Fix bug 3426884 Latin IME Keyboard sounds should be on by default
* commit '2fb802922e76f20bfb21c0b988bab4a67c56161d':
  Fix bug 3426884 Latin IME Keyboard sounds should be on by default
2011-02-07 13:49:43 -08:00
Jean-Michel Trivi 985fb645ef Revert I871cfaaf Latin IME Keyboard sounds off by default
Change-Id: If4b90daa04df0b554faf2886fe83410e086e5b9c
2011-02-04 17:44:17 -08:00
Jean-Michel Trivi 435ea0f5dc Fix bug 3426884 Latin IME Keyboard sounds should be on by default
Change the default value when retrieving the PREF_SOUND_ON property
 from the Settings from false to true.

Change-Id: I871cfaaf1f33b5e0301c84ee9c94f1c429901021
2011-02-04 16:42:46 -08:00
Tadashi G. Takaoka ea55bf5df7 Fix menu option dialog order
Change-Id: Iea619d26a2f2091b71182face2f6a66d188e0287
2011-02-03 15:56:01 +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
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
Tadashi G. Takaoka 5c35e4109f Merge "Fix BroadcastReceiver leakage in SubtypeSwitcher" into honeycomb 2011-01-26 09:07:44 -08: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
Ken Wakasa aa0458f917 Fix Input options dialog
bug: 3387860
Change-Id: I81e57ca08e07e4c2a68196ca173b764c40fbeb17
2011-01-26 02:56:09 +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
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
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
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
satok 6845da8d7b Add touchable region
Bug: 3238092

Change-Id: I3cda3106a61c40c3b66741dc38c9ff4cc55f487b
2011-01-20 22:04:42 +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
satok 82411d47ba Add a safety net for auto-correction.
Bug: 3353956

Change-Id: I6a32632b2f986f0d9a07aa72f256a2c41cc09873
2011-01-19 17:54:22 +09:00
Jean Chalard 8b0febc6f0 Merge "Simplify latin IME settings page." into honeycomb 2011-01-18 19:08:15 -08: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
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
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
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 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