Commit Graph

1746 Commits (a65d84ce81725a77a4864be18d2ca14ac095d4c8)

Author SHA1 Message Date
Eric Fischer b73ab9f2df Import revised translations.
Change-Id: Id2c4aac29ce82298a3c3d64540592932767f1e45
2011-04-11 14:30:01 -07:00
Tadashi G. Takaoka 689e7e907b Add Arabic keyboard to phone
Change-Id: I60c312fe9dc383a8048b46d9b54eee535c515aaa
2011-04-11 14:16:02 +09:00
Tadashi G. Takaoka 56abeabced Add visualInsetsLeft and Right as Key attribute
Bug: 4269094
Change-Id: Ic38d326a8e9ef802453c909f3a81d556863acc9b
2011-04-11 12:13:38 +09:00
Tadashi G. Takaoka a8c163f262 Fix suggestion strip layout
This change also removes unused drawable and xml resources.

Bug: 4181825
Change-Id: Ia723376bc5d40900a513df62e89cdfe35b2c859f
2011-04-08 20:03:57 +09:00
Tadashi G. Takaoka 82730b0e09 Merge "Remove redandant key from popup mini keyboard which has settings key" 2011-04-08 02:43:26 -07:00
Jean Chalard a944574967 Merge "Reinforce user-history based bigram use." 2011-04-08 02:14:06 -07:00
Tadashi G. Takaoka 1844ee7cf8 Remove redandant key from popup mini keyboard which has settings key
Bug: 4196879
Change-Id: If0ed5cace2d4d0c1f0e225e1003d54c055690387
2011-04-08 18:03:23 +09:00
Tadashi G. Takaoka 2c389c5b9e Merge "Increase the horizontal gap between shift/delete and normal keys" 2011-04-08 02:00:59 -07:00
Tadashi G. Takaoka b428e8cc9e Merge "Disable popup preview and long press on disabled key" 2011-04-08 02:00:09 -07:00
Tadashi G. Takaoka 967d6073bf Disable popup preview and long press on disabled key
Bug: 4268147
Change-Id: Ibcb54791ef78737dd09d8a594b5a53b0909609d6
2011-04-08 17:14:12 +09:00
Tadashi G. Takaoka 6d81e2b79b Increase the horizontal gap between shift/delete and normal keys
This change also adds capability to add horizontal padding to the
keyboard.

Bug: 4269094
Change-Id: I805e76b253a497079517c01bd2a976f8702f7e56
2011-04-08 16:43:01 +09:00
satok 299e366bcf Shrink sym_keyboard_voice_off_holo for phone
Bug: 4225070

Change-Id: Ic61c3c0263158ed3429553b134f13e8e94f5f5b7
2011-04-08 16:39:25 +09:00
satok b5d17e52fc Add logOnSeparator
This is a supplement for  I9abb8141f23100d

Change-Id: I529d2a78f4fe630611db4cba830d933370c8c34f
2011-04-08 15:24:55 +09:00
Tadashi G. Takaoka 50cce07f59 Merge "Remove "settings" key popup from "slash" and "atmark" key" 2011-04-07 21:43:28 -07:00
Tadashi G. Takaoka cf4eff3f59 Remove "settings" key popup from "slash" and "atmark" key
Removing "settings" key popup from these keys when there's a dedicated
"settings" key in the layout.

This is followup chnage of I119528c0.

Bug: 4196879
Change-Id: I742cc6d1d890c095610f1e8b9ac91a044ec540b7
2011-04-08 10:27:51 +09:00
Eric Fischer 2e4a15bf60 Merge "Import revised translations." 2011-04-07 14:07:55 -07:00
Eric Fischer 85427b3d8e Import revised translations.
Change-Id: I8c2fb2177e47ad50cf0ae1a191d2b8b4186c0700
2011-04-07 13:59:50 -07:00
Tadashi G. Takaoka e7c0e73a19 Simplify the Key's on state transition
Because handling shift locked state of alphabet keyboard is done by
KeyboardSwitcher, there is no need to change the "on" state of Key
when releasing the key. On the other hand, symbol and symbol shifted
keyboard has fixed "on" state "ALT/MORE" key.

This change also renames the attribute "isModifier" to "isFunctional".

Change-Id: I082885bd2376ae26bdfc378c14add2b5d6be1d4e
2011-04-07 20:28:46 +09:00
Tadashi G. Takaoka 73edb40154 Merge "Disable successive modifier key while sliding input" 2011-04-07 04:26:14 -07:00
Tadashi G. Takaoka 996db15d3c Disable successive modifier key while sliding input
When user starts sliding key input, sliding through successive
modifier key will be ignored.

Bug: 4181843
Depends: I082885bd2376ae26bdfc378c14add2b5d6be1d4e

Change-Id: Ibe890b9cc1183dbe9f68a421650fcd97e7ff221c
2011-04-07 20:17:27 +09:00
Tadashi G. Takaoka 494926fc2b Remove "settings key" popup from "comma key"
Bug: 4196879
Change-Id: I119528c03526b47a1398d9efc2aa307eb0c07ffe
2011-04-07 17:49:49 +09:00
Tadashi G. Takaoka da4bfbbbb3 Fix popup key preview on tablet
This change temporally enable popup key preview option on
tablet. (config_enable_show_popup_on_keypress_option).

Bug: 3286117
Change-Id: Iabbac5a333460e1ed2f8d05ba82f4bae81854b85
2011-04-07 15:56:16 +09:00
Eric Fischer fa62894c4b Import revised translations. DO NOT MERGE
Change-Id: Ica512df634b9152aac5bcd5f15d783110724fd7d
2011-04-06 13:51:45 -07:00
Jean Chalard 3e23682862 Reinforce user-history based bigram use.
- Have user-history based bigrams used as soon as they are entered,
  not after 6 times.
- Limit bigram frequency to 255 (this limits the multiplier to 1.8, and
  has no effect on main dict bigrams which already have this limit)
- Some TODO resolving

bug: 4192129

Change-Id: I4777f1a58c43dd55381c4b01252d722ab3a70547
2011-04-06 12:26:01 +09:00
satok fd58877d4f Merge "Add settings for theme, userfeedback and other settings (temporary)" 2011-04-01 03:53:26 -07:00
satok 8f9b86fec5 Add settings for theme, userfeedback and other settings (temporary)
Change-Id: I063c48dbf021f5608c241a3543aa2628b5faaa40
2011-04-01 19:48:17 +09:00
satok bbd377628a Merge "Revert all hdpi assets to gingerbread" 2011-04-01 01:45:24 -07:00
satok eee03627ce Revert all hdpi assets to gingerbread
Bug: 4196962

- all hdpi assets are blurred.

Change-Id: I4a589f99ead2b8db96f03c19771f083306276e61
2011-04-01 17:44:48 +09:00
satok 44783b6965 Merge "Enable VoiceInput even if there is no shortcut subtype supported" 2011-04-01 00:35:57 -07:00
satok 7429009838 Enable VoiceInput even if there is no shortcut subtype supported
Change-Id: I1d455348f56d73ecb942f22c2bbd03f240b489a6
2011-04-01 16:12:06 +09:00
satok 6f18a1fbcc Disable Recorrection when APIs are not supported.
Change-Id: I3b8fdc149d350215fd4852a50456824fe3fabe0b
2011-04-01 16:09:06 +09:00
Eric Fischer 97c916a684 Import revised translations. DO NOT MERGE
Change-Id: I9c0ccba49ec84860ad5390d4c5f878a48f873cfe
2011-03-29 12:01:28 -07:00
satok cf383a8175 Fix a NPE in InputMethodManagerCompatWrapper
Change-Id: Ia7c9b7135ba38a8df29464f7776b51d412f71acb
2011-03-25 20:01:24 -07:00
satok 9115dd2723 Fix some compat bugs and add VoiceInputLoggerCompatUtils
Change-Id: I54ed0853ed4423704a300977d7880678e066a6fb
2011-03-25 18:38:20 -07:00
satok f1a81f5eb3 Move a debug utility function to EditorInfoCompatUtils
- imeOptionName

Change-Id: I7a7ea9bee410cedc0ef9b3d2aa4df8260d7f6a35
2011-03-25 12:56:57 -07:00
satok e9957752bc Added InputTypeCompatUtils
Also Moved utilities related to InputType to InputTypeCompatUtils

Change-Id: Iab8ff5389f624f2abe627ece2acb156b0e1285ef
2011-03-25 00:46:40 -07:00
satok b2707856ab Added InputConnectionCompatUtils and EditorInfoCompatUtils
Change-Id: Ie69d5e90c4ee978d3ecb40b68e6466082569ca7a
2011-03-24 22:57:58 -07:00
satok 5a41db8814 Merge "Moved a functionality of setOverScrollMode to InputMethodServiceCompatWrapper" 2011-03-24 22:41:04 -07:00
satok a3ef6cde21 Moved a functionality of setOverScrollMode to InputMethodServiceCompatWrapper
Change-Id: Ie473c9fced9f0a8da5643390b44aa4b86128396d
2011-03-24 22:02:21 -07:00
satok 01829b8847 Merge "Added VibratorCompatWrapper" 2011-03-24 21:49:00 -07:00
satok f000bdc696 Merge "Moved a functionality of setting touchableRegion to InputMethodServiceCompatWrapper." 2011-03-24 21:28:25 -07:00
satok 699e429f19 Added VibratorCompatWrapper
Change-Id: I7640f051873f42aa15337edc718ac95ec1c51698
2011-03-24 21:25:22 -07:00
satok 1ddf2a1808 Merge "Added InputMethodInfoCompatWrapper" 2011-03-24 21:03:17 -07:00
satok 5cbc984ce1 Merge "Renamed Proxy classes" 2011-03-24 21:01:34 -07:00
satok b86905943c Renamed Proxy classes
- VoiceConnector to VoiceProxy
- VoiceInputConnector to VoiceInputWrapper
- VoiceLoggerConnector to VoiceLoggerWrapper

Change-Id: I908ddc590c8846cf5cbd80b9c0257cb65c638bde
2011-03-24 17:50:19 -07:00
satok 24119dfd41 Moved a functionality of setting touchableRegion to InputMethodServiceCompatWrapper.
Change-Id: I8b9fe507885ef5ae7cb09db93a977e23b1bbd0db
2011-03-24 13:27:45 -07:00
satok 2e36fb68d0 Added InputMethodInfoCompatWrapper
Change-Id: I5f2970e986afbe3b0b24ccf819f57f524e83ef3f
2011-03-24 12:24:50 -07:00
Jean Chalard 9107d98290 Add comments and basic reformatting for new files.
Ic4df2a9a introduced new keyboard layouts for Hebrew and Arabic.
This change adds a comment to them alongside with trailing
whitespace suppression.

This change explicitly limits its scope to files introduced by
Ic4df2a9a. It replaces I48927626 which has been deemed too reckless.

Change-Id: Id6b0e47f0623ead0b4e42e57dae359231a2b97fc
2011-03-24 00:32:10 -07:00
Jean Chalard b916fab196 Merge "Add a first version of Hebrew and Arabic keyboard." 2011-03-23 22:36:42 -07:00
Jean Chalard e50add1fbd Add a first version of Hebrew and Arabic keyboard.
The Arabic keyboard is more or less based on PC keyboard and other
sources. It has no means to input diacritics at the moment.
Some data for the Hebrew keyboard was already there, but not used.
This change splits phone and tablet layout and consolidates the
tablet one to something that seems sensible. It can't input diacritics
either at the moment.

Other shortcomings affect those keyboards. For example, normal
Hebrew keyboards switch to capital QWERTY keyboard with shift on,
as there are no capital Hebrew characters, but this version does not
feature this.

It should be mostly possible already to enter Arabic or Hebrew with
these keyboards however.

Change-Id: Ic4df2a9a77ffd03c4f9ee2c47e03c0f43f8e48ae
2011-03-23 22:31:40 -07:00
Jean Chalard 525028c897 Merge "Remove a useless variable." 2011-03-23 22:14:19 -07:00
satok 6dd7778d22 Fix a bug that Voice IME is not triggered properly.
Background:
Both SubtypeSwitcher and VoiceConnector have an instance of VoiceInput.
And VoiceConnector has a responsivity for setting VoiceInput to SubtypeSwitcher.
But in case that VoiceInputConnector already has an instance of VoiceInput
VoiceInputConnector doesn't set VoiceInput to SubtypeSwitcher.

Change-Id: I42d0220e7d84a08e03f143213cc6eff87e7e79a6
2011-03-23 13:05:06 -07:00
Jean Chalard 4fc18095f5 Remove a useless variable.
Change-Id: Ifec283fcd397f7f42933220f19a807879ef6195e
2011-03-23 11:17:18 -07:00
satok 10dd34de0f Add InputMethodServiceCompatWrapper for moving the callback from LatinIME.
Change-Id: If6b0180c63738e5e78a20fe5b938ef50d62865d6
2011-03-23 01:12:27 -07:00
Eric Fischer f75f9c5303 Import revised translations. DO NOT MERGE
Change-Id: Icac4b15118a9a49cac6d0c70e5783e64fa430782
2011-03-22 13:40:31 -07:00
satok 610f1dc855 Use reflections for classes related to InputMethodSubtype
Change-Id: Ica53ce879c2b4c5eb47f757fb788a795a881c30e
2011-03-18 22:49:57 -07:00
Jean Chalard 0a7cf81ca2 Merge "Add different ways of reading the dictionary file." 2011-03-18 12:19:00 -07:00
Jean Chalard cba93f50c3 Add different ways of reading the dictionary file.
This change adds basic support for an external dictionary provider.
It adds methods for reading the dictionary itself from an asset in
the dictionary provider package directly, obtaining the file name
through the ContentProvider interface; it also adds a way of getting
the data through an InputStream and copying the file locally.

Incidentally this change also adds the code needed to listen for
updating the dictionary provider package and reloading it in time.

This change also goes hand-in-hand with Iab31db6e, which implements
the small closed part of this.

Issue: 3414944

Change-Id: I5e4fff99a59bb99dbdb002102db6c90e6cb41c8a
2011-03-18 12:16:50 -07:00
satok da4236fb51 Merge "Added CompatUtils for starting a language selector" 2011-03-17 20:36:42 -07:00
satok 2cff4d7e4a Added CompatUtils for starting a language selector
Change-Id: I158414efaff43d0c6abe1f9af83ed3425992dfb9
2011-03-18 12:33:04 +09:00
Eric Fischer 76c2ff2154 Import revised translations.
Change-Id: I02fb673c7b4f180fb60c5cb869c458b65820781a
2011-03-17 16:56:28 -07:00
satok 9807ab27ea (Refactor 1) Moved voice related codes to deprecated/voice
Change-Id: I008ac7099c815fb74a9ab374419617b336453f97
2011-03-16 23:00:59 -07:00
Tadashi G. Takaoka 071f47140c Refactor BinaryDictionary a bit
This changes:
* Flag initialization code in BinaryDictionary to be more unit test friendly.
* Removing unnecessary class hierarchy of LatinIME inner class WordAlternatives.
* Formatting normalized score neatly.

Change-Id: I9f10c093d4f36258fe883cf3fb10cbbda2770497
2011-03-16 19:46:19 -07:00
Eric Fischer 88adb7d4a9 Import revised translations. DO NOT MERGE
Change-Id: Ieb00b75f2eb2f9a85e11c1694d42d2ee449e29e0
2011-03-16 17:02:12 -07:00
Tadashi G. Takaoka e7a2512aa3 Add Utils.equalsIgnoreCase methods
This change also corrects usage of "frequency", "priority" and "score"
* Frequency is the relative probability in dictionary.
* Score is the relative probability in suggestions.
* Priority is kind a sorted score.

Change-Id: Iafb135a4ecdb401cc505014a07c74dfcac44d699
2011-03-16 16:03:05 -07:00
Jean Chalard 027992afdc am d631651b: Avoid the removal of high-ranking exactly typed candidates.
* commit 'd631651b1291aef52bdd6ea7caaf9b95c9704506':
  Avoid the removal of high-ranking exactly typed candidates.
2011-03-15 23:54:31 -07:00
Jean Chalard d631651b12 Avoid the removal of high-ranking exactly typed candidates.
It used to be the case that the scoring system turns up the same word
that was entered with a different capitalization, but with a lower
score than some other, more frequent word. To cope with this, there
was code that would order such candidates in the first slot no matter
what. This processing is now useless because fully matching words now
have a huge boost that ensures they will get to the top of the list,
before any non-fully matching word (which means, differing only by
capitalization or accents).

The bug that did happen with this was, if a fully-matching word got
matched by several processing passes, and the (chronologically) later
score affected to this word was weaker, it would result in the
duplicate removal pass removing the stronger score. This in turn would
mess with autocorrect.

In an effort to keep the risk at a minimum for MR1, this change does
not actually remove the useless code, but adds a check in the odd case
to avoid the bad situation. Another change will remove the code for
ICS release.

bug: 4100269

Change-Id: I18c0575332981ffec0e257e26a360995838d521e
2011-03-15 21:12:38 -07:00
Eric Fischer c0471c43fb Import revised translations. DO NOT MERGE
Change-Id: I6eaad0ee53243ae5eece9bc6f8013eb77472e988
2011-03-15 14:49:18 -07:00
Eric Fischer 9eb7e2c37f Import revised translations.
Change-Id: Idc65c5944dcfa576ee50facb6b1f82e2a7d7186f
2011-03-15 10:48:11 -07:00
Eric Fischer 9db8d06418 Import revised translations. DO NOT MERGE
Change-Id: I660c6bc3b40072e209fe31c3c86ad11ce7928a71
2011-03-10 11:28:07 -08:00
Tadashi G. Takaoka 33e8124cf4 am 6a75cd12: Add alphabet hint to number password layout
* commit '6a75cd124d885df1b257d63c9c2b0561a9b09b84':
  Add alphabet hint to number password layout
2011-03-09 10:07:46 -08:00
Tadashi G. Takaoka 56d54381de am ab0ee37f: Disable debug flag in TextEntryState
* commit 'ab0ee37f52b87756c6d91aecd508fda821aeb4b6':
  Disable debug flag in TextEntryState
2011-03-08 18:41:24 -08:00
Tadashi G. Takaoka 6a75cd124d Add alphabet hint to number password layout
Bug: 4063047
Change-Id: I53e79edcb15d4da73a72d14a38224e80b612c115
2011-03-08 18:02:18 -08:00
Tadashi G. Takaoka ab0ee37f52 Disable debug flag in TextEntryState
Bug: 4051276
Change-Id: I980c0dfefdf3ae70935aca9755a55d1c925a23f9
2011-03-08 12:11:47 -08:00
satok b34c74abb1 am b55fcea6: Merge "Add whitelist dictionary" into honeycomb-mr1
* commit 'b55fcea6fc23bf44966ffb278d976c54995be72e':
  Add whitelist dictionary
2011-03-07 22:50:07 -08:00
satok bcfce3b3b9 Add whitelist dictionary
Bug: 3447571

Change-Id: I538e4e706982129b666ca1ab1085f1b68b69f87f
2011-03-08 11:29:10 +09:00
Eric Fischer d7e2bc335d Import revised translations. DO NOT MERGE
Change-Id: I2d90d6842d8572db68b3034917fa45e642c7f123
2011-03-07 13:03:14 -08:00
Jean Chalard 8867737adf am eaecb56f: Merge "Demote skipped characters matched words with respect to length." into honeycomb-mr1
* commit 'eaecb56f948a4979e72346f6c5c64b56f7bc7bbf':
  Demote skipped characters matched words with respect to length.
2011-03-04 22:46:13 -08:00
Jean Chalard eaecb56f94 Merge "Demote skipped characters matched words with respect to length." into honeycomb-mr1 2011-03-04 22:43:16 -08:00
satok a7dfbf8409 am f9a5bfa1: Merge "Add the suggestion algorithm of words with space proximity" into honeycomb-mr1
* commit 'f9a5bfa147b07f135e8da6f9b7305c31181fa5eb':
  Add the suggestion algorithm of words with space proximity
2011-03-04 22:27:28 -08:00
Ken Wakasa 107e876757 am 5ac85462: Merge "Fix a NPE caused by a null typedWord" into honeycomb-mr1
* commit '5ac8546268a3c3cd2f523d086043d6200c553fa7':
  Fix a NPE caused by a null typedWord
2011-03-04 22:24:22 -08:00
satok f9a5bfa147 Merge "Add the suggestion algorithm of words with space proximity" into honeycomb-mr1 2011-03-04 22:24:05 -08:00
Ken Wakasa 5ac8546268 Merge "Fix a NPE caused by a null typedWord" into honeycomb-mr1 2011-03-04 22:14:24 -08:00
satok 817e517e46 Add the suggestion algorithm of words with space proximity
Bug: 3311719

Change-Id: Ide12a4a6280103c092fa0f563dd5b9e3f7f5c89b
2011-03-04 20:37:18 -08:00
Jean Chalard 07a8406bc1 Demote skipped characters matched words with respect to length.
Words that matched user input with skipped characters used to be demoted
in BinaryDictionary by a constant factor and not at all in those dictionaries
implemented in java code. To represent the fact that the impact of a skipped
character gets larger as the word is shorter, this change will implement a
demotion that gets larger as the typed word is shorter. The demotion rate
is (n - 2) / (n - 1) where n is the length of the typed word for n >= 2.
It implements it for both BinaryDictionary and java dictionaries.

Bug: 3340731
Change-Id: I3a18be80a9708981d56a950dc25fe08f018b5b89
2011-03-05 13:20:19 +09:00
Ken Wakasa baf263caf4 Fix a NPE caused by a null typedWord
bug: 3514797
Change-Id: Ie1056745ded1f848d1e4f70c5344d6969de509b0
2011-03-05 12:50:58 +09:00
Eric Fischer a549101f3a Import revised translations. DO NOT MERGE
Change-Id: Icc96e318e240e58b07ec52e64fb640b3bc9f6443
2011-03-04 13:48:59 -08:00
Tadashi G. Takaoka d90be6c921 Fix unit test helper
Change-Id: I161b451404bbecb30d8e229004786b9e9882e41c
2011-03-03 23:06:45 -08:00
Tadashi G. Takaoka d628e72958 Merge "Cleanup Suggest to be able to be unit test ready" into honeycomb-mr1 2011-03-03 19:27:38 -08:00
Tadashi G. Takaoka c2c44f94e7 Cleanup Suggest to be able to be unit test ready
Bug: 3414081
Change-Id: Ia76afac4b1a61b8953a215b7cbdb7557736f7b9c
2011-03-03 19:18:03 -08:00
Eric Fischer 50a4cb403f Remove unneeded large-screen-specific translations.
Change-Id: Ia583ff3a4674dab1a2dc5cad7d7166ec9311585a
2011-03-03 15:50:53 -08:00
satok dca305dd71 Merge "Move the auto correction functionalities to AutoCorrection.java" 2011-03-03 02:58:06 -08:00
satok 9f67e12a0e Move the auto correction functionalities to AutoCorrection.java
- Also removed a quick fix for 2nd or more suggestions.

Change-Id: I7bf46a9cd6a727473e68836954fca160c9d853e6
2011-03-03 19:51:10 +09:00
Tadashi G. Takaoka 4503e2ea98 Hide shortcut key when the shortcut IME is not enabled
Bug: 3398726
Change-Id: I5e1bfc1fec9047c1c4e4f29fbf79f0fdf9356ffb
2011-03-03 01:18:08 -08:00
Tadashi G. Takaoka 424f6ec2bc Continue swapping sentence separator and space
Bug: 3504990
Change-Id: I3de44e9d9adb0bcafa2e59685c4cdc257716b1d6
2011-03-02 22:26:44 -08:00
Tadashi G. Takaoka 662bb7c26c Refactor TextEntryState not to use enum
Bug: 3504990
Change-Id: Id1ae9715d9f9ba99702e4cd5c243026a84d6861d
2011-03-02 22:11:52 -08:00
Tadashi G. Takaoka 1eff7d77c8 Remove mIsApplicationSpecifiedCompletions flags from SuggestedWords
Bug: 3504990
Change-Id: Ib7588ab05fa8b8ab58bf3bea6ff1f644c53ebb94
2011-03-02 22:03:29 -08:00
Jean Chalard c2bbc6a449 Use translation of fallback umlauts digraphs for German.
For German : handle "ae", "oe" and "ue" to be alternate forms for
umlaut-bearing versions of "a", "o" and "u".

Issue: 3275926

Change-Id: I056c707cdacc464ceab63be56c016c7f8439196c
2011-03-03 11:52:23 +09:00
Tadashi G. Takaoka e59491460b Remain in previous state while sliding off from shift key
Bug: 3502290
Change-Id: I69b60051863c78727363ae63576c28d87fb71a3a
2011-03-02 14:59:39 -08:00
Tadashi G. Takaoka 6f99d12b07 Enable re-correction even after revert auto-correction
This change removes the boolean flag mJustReverted.  Because we
preserve separator after canceling auto-correction according to
bug#3230708, there is no need for this flag now.

Bug: 3193810
Change-Id: Icea06ece569774b494ffa4ca4a899c898661cc19
2011-03-02 11:14:04 -08:00
Tadashi G. Takaoka 8bf93c4ba5 Merge "Introduce timeout for "." shortcut" 2011-03-01 23:59:14 -08:00
Tadashi G. Takaoka fc20f2198d Introduce timeout for "." shortcut
Bug: 3294239
Change-Id: I1832be8b54cd4d55cd504a3e1e0434aa284f9592
2011-03-01 23:57:51 -08:00
Ken Wakasa 7e99a28dfc Clear suggestion strip when the suggestion starts
bug: 3488704
bug: 3480132

Change-Id: Ie895d2ad1b58dc65fe16d65baa6fccafd4a142bb
2011-03-02 16:40:08 +09:00
Tadashi G. Takaoka db241a1038 Update assets from designer-git repository
This new assets has revised alpha value.

Bug: 3451586
Change-Id: I8485044263b92111d882c4f88ca6a0e92c82f0ed
2011-03-01 17:41:59 -08:00
Ken Wakasa 7ec48741e4 Merge "Fix null token error" 2011-03-01 14:27:12 -08:00
Ken Wakasa 18e15a1e5e Fix null token error
bug: 3499746
Change-Id: I76bd745b0623f4736c6b0aaf0ab42fd4b7c4f349
2011-03-02 07:20:27 +09:00
Tadashi G. Takaoka ee327ad0de Merge "Import new assets from designer-git repository" 2011-03-01 14:03:42 -08:00
Tadashi G. Takaoka 8ba2ceea68 Merge "Add "apostrophe" key to symbol keyboard of url mode" 2011-03-01 13:58:24 -08:00
Tadashi G. Takaoka b9038eb841 Import new assets from designer-git repository
Change-Id: Ie07dc956ea5c40b760d511976e42f847f0f68f9f
2011-03-01 13:44:48 -08:00
Tadashi G. Takaoka dd0ac4a58d Add "apostrophe" key to symbol keyboard of url mode
Bug: 3491087
Change-Id: I4fa339e66c958a54f2d28a2997861135ef94f7e6
2011-03-01 11:58:41 -08:00
Ken Wakasa ed895634f8 Merge "Reset the suggestion status when composing span gets cleared" 2011-03-01 11:43:34 -08:00
Ken Wakasa 025a5e356e Reset the suggestion status when composing span gets cleared
bug: 3353818

Change-Id: I87b80470015dbeb2eaaec9aa4d9d802597c18e19
2011-03-02 04:30:03 +09:00
Eric Fischer acd196386e Merge "Import revised translations." 2011-03-01 11:13:09 -08:00
Eric Fischer 19292fbff6 Import revised translations.
Change-Id: Ic7ae2c78e732707ef2504e82c08851fe627465b3
2011-03-01 11:03:19 -08:00
Ken Wakasa 952cb7e973 Refactor recorrection variable and method names
Change-Id: I3cb76e622e33985a187afe0a8928ed7b261615fd
2011-03-01 15:59:06 +09:00
Tadashi G. Takaoka 2e04770adf Add output variables to BinaryDictionary's test entry
Bug: 3414081
Change-Id: I1d11710476ffadcef67b0dbfbde309e7f8344d8a
2011-02-28 17:25:38 -08:00
Tadashi G. Takaoka 6f4eba814a Add test entry for BinaryDictionary class
Bug: 3414081
Change-Id: I1a3d60698795bf28c477086838e726d498fb6de0
2011-02-28 15:08:04 -08:00
Ken Wakasa eaef1c5007 Change how to load native lib to be on the safe side
Change-Id: If170d4821b8dbc187f29137ea99d10e30c20955f
2011-02-25 18:21:02 +09:00
Tadashi Takaoka 52e96f1e89 Merge "Added support for speaking keys through accessibility service." 2011-02-24 17:45:44 -08:00
Tadashi G. Takaoka 20887c57a6 Force currency key to "dollar" on password input field
This is followup change of I660c6f50.

Bug: 3413589
Change-Id: I7684150f7c52444884fe02a27e39c6de0105b2d8
2011-02-24 18:11:48 +09:00
Tadashi G. Takaoka 0e3548788b Merge "Dynamic currency key label" 2011-02-24 00:03:18 -08:00
Tadashi G. Takaoka d77e968942 Merge "Add noSettingsKey private IME option" 2011-02-23 23:48:45 -08:00
Tadashi G. Takaoka 6b05d482f4 Merge "Fix AutoText enabling timing" 2011-02-23 23:47:58 -08:00
Tadashi G. Takaoka 613514252c Dynamic currency key label
The currency key shows different key label depending on the coutnry
code of the keyboard, "dollar", "euro" and "pound".

Bug: 3413589
Change-Id: I660c6f5010629276df3f97d337f4493d1fbccb3f
2011-02-24 16:47:25 +09:00
Tadashi G. Takaoka 4199e29a7d Add noSettingsKey private IME option
Change-Id: Idf74aa32c9ea565fa6771013e2d37ee952c83a57
2011-02-24 16:31:20 +09:00
Tadashi G. Takaoka 2702334165 Fix AutoText enabling timing
Bug: 3479978
Change-Id: Ic3a9e947536b1508eb2bbe45753d6f7c0e99e416
2011-02-24 16:18:24 +09:00
Jean Chalard fdc4b08309 Merge "Allow the user to save words when there is no binary dictionary." 2011-02-23 19:18:10 -08:00
satok 10c169a44d Merge "Add proximity info to native" 2011-02-23 18:28:14 -08:00
Jean Chalard 7f2ba16aa2 Allow the user to save words when there is no binary dictionary.
At the moment, if there is no binary dictionary, even when pressing the
word in the suggestion strip the option to save in the user dictionary
is not displayed. This change addresses that.

Bug: 3363756
Change-Id: I4993a7f81ed15ab948a3098cdc49663e0f109e4a
2011-02-24 11:20:21 +09:00
Alan Viverette dcade18113 Added support for speaking keys through accessibility service.
Issue: 3366636

Change-Id: I70a2ebb4420782ba4d7d874ffc2259bb1b80446f
2011-02-23 18:16:43 -08:00
Jean Chalard ededda059c Merge "Treat quotes as part of the word in French." 2011-02-23 17:29:10 -08:00
satok 8fbd552292 Add proximity info to native
Bug: 3311719

Change-Id: Ie596304070e321ad23fb67a13bf05e2b6af1b54b
2011-02-23 23:04:00 +09:00
Jean Chalard 92e208429e Treat quotes as part of the word in French.
Bug: 3397183

Change-Id: Ie634a9b0f1f7ed7cfa9f4f3aeba44b578bc7caac
2011-02-23 22:08:19 +09:00
Tadashi G. Takaoka 435711dee0 Merge "Fix privateImeOptions parsing" 2011-02-23 03:03:19 -08:00
Tadashi G. Takaoka 8efc0addce Fix privateImeOptions parsing
This change deprecates "nm" private IME options and introduces new
private option, <package name>.noMicrophone, instead.

Change-Id: I9d5e3daaead2cdd42e017cd29f5f786ef3ba3649
2011-02-23 20:00:08 +09:00
Tadashi G. Takaoka edb722abef Merge "Add countryCode attribute to case tag of Keyboard" 2011-02-23 01:00:00 -08:00
Tadashi G. Takaoka 912ade36d2 Add countryCode attribute to case tag of Keyboard
Change-Id: I0480c3350a335e4cb57bba2d3484622990cd90af
2011-02-23 17:09:24 +09:00
Tadashi G. Takaoka cb97c2f140 Refactor keyboard mode holding variables
Change-Id: Id8d4e780a98292fda63b1e5bbf739eda78935a3b
2011-02-23 14:17:10 +09:00
Jean Chalard a5d5849701 Force autocorrection of matching words with different accents.
When entering a word without accents the user expects the system to
add accents automatically if there is no other matching word. This
patch ensures the accented version is promoted accordingly and
autocorrection really takes place.

Issue: 3400015

Change-Id: I8cd3db5bf131ec6844b26abecc1ecbd1d6269df4
2011-02-22 15:27:06 +09:00
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 4adf5d9ae5 Disable non-ASCII symbol keys in password input
Bug: 3384942

Change-Id: Ifa10e84f22bb6ff85dfc397fac95a0294b2a6bea
2011-02-20 18:59:25 +09:00
Tadashi G. Takaoka a9f2fe2d59 Merge "Add "passwordInput" attribute to case tag of Keyboard" 2011-02-20 01:50:16 -08: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
Tadashi G. Takaoka 690b1360bf Don't play key press sound if the key is disabled
Change-Id: I1c6d1b16a7420bc7e5f97f50da549e6a89498f18
2011-02-20 18:14:05 +09:00
Tadashi G. Takaoka 810a9ff9d4 Merge "Revised Russian keyboard layout" 2011-02-20 01:08:30 -08:00
Tadashi G. Takaoka fdb6a194b1 Read "enabled" attribute of Key from <key-style>
This is follow up change of I1ea82d9f.

Bug: 3384942
Change-Id: If96eda69fe81edbfc1b243a6fa9f8eb6bbf4c12d
2011-02-20 15:25:57 +09:00
Tadashi G. Takaoka ec2ef40dab Revised Russian keyboard layout
Bug: 3451586
Change-Id: I10d5f45b6218e8f0ab5a0d2f2c285469338890c6
2011-02-20 00:41:07 +09:00
Tadashi G. Takaoka ea6c2e3350 Add "languageCode" attribute to "case" tag in Keyboard XML
bug: 3451586
Change-Id: I08ca80e48648ba18543e9b8ca7362c06bb61a826
2011-02-18 17:04:04 +09:00
Tadashi G. Takaoka d9c52ba623 Rename imeOptions attribute of Keyboard to imeAction.
Bug: 3384942
Change-Id: I3ce01b83f0ae37f447de8a7fcdb5d7fe06b108c6
2011-02-18 16:56:05 +09:00
Tadashi G. Takaoka aa721c4783 Add "enabled" as an attribute of Key in Keyboard xml
If the key is marked as "enabled=false", the key will not respond to be pressed.

Bug: 3384942
Change-Id: I1ea82d9f3dfa5a9916ff3bbc736ea7e6c77426ae
2011-02-18 14:45:37 +09:00
Eric Fischer b32f1b6055 Merge "Import revised translations." 2011-02-17 10:30:01 -08:00
Eric Fischer 2ca4e9ae8a Import revised translations.
Change-Id: I4b678c68e9a32ac77c46958ef2c530da81508978
2011-02-17 10:21:28 -08: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
Ken Wakasa 0e71cb1fff Merge "Fix NPE" 2011-02-14 20:24:09 -08:00
Ken Wakasa 6e7275bb73 Merge "Adding 'ß' as an alternate for 's' (for 'en' keyboard)." 2011-02-14 19:46:56 -08:00
Ken Wakasa b1e05d6638 Fix NPE
bug: 3446590
Change-Id: Iea5bd8f63f3322496b5d68539f0215d5d01e68d1
2011-02-14 23:55:16 +09:00
Jean Chalard 75fa4b8c0d Merge "Add stack dumper helper function." 2011-02-13 19:03:11 -08:00
Jean Chalard 5b85d032cd Add stack dumper helper function.
Change-Id: I78e5aef3cc6abfeb764a7e8a432f063f18d56da2
2011-02-14 11:32:48 +09:00
Max Braun 3cadd8e366 Adding 'ß' as an alternate for 's' (for 'en' keyboard).
Change-Id: Ic1dfd4b18be1bcfb9c525dad540b85892608d5c4
2011-02-11 13:15:38 -08: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 33e0b1e79e Add unit test helper method to BinaryDictionary and Suggest
Bug: 3414081
Change-Id: Idee64010f2f423d3c7c548d0279c7bf287088762
2011-02-08 17:56:55 +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
satok 8dac5fe98d Merge "Duplicate enabled languages when there is only one enabled language" 2011-02-04 00:30:11 -08:00
satok c98a943eda Duplicate enabled languages when there is only one enabled language
Bug: 3415274

Change-Id: Ibc17733be888044cfa5d1787b8489e642d70d70f
2011-02-04 17:27:18 +09:00
Tadashi G. Takaoka fdb2225803 Merge "Skip sudden jump detection on distinct multitouch device" 2011-02-03 23:00:19 -08:00
Tadashi G. Takaoka 9a5b592b27 Skip sudden jump detection on distinct multitouch device
Bug: 3400448
Change-Id: I37150d624b73ed089875a905fe04c5b8b3ecfa0a
2011-02-04 15:49:11 +09:00
Jean Chalard f5cf266ad9 Rename a member to comply to the member naming policy.
Change-Id: Ie9493f438c6ac371029e52a5d5f6191c7239bf75
2011-02-03 18:38:55 +09:00
Jean Chalard f9ec16f9c0 Kill the process when the debug mode is updated.
Killing the process allows for some settings that are read only on
service start up to be correctly read again.

Change-Id: Ia48f2ca4760a530ac47b727f290d606715cb6bde
2011-02-03 17:57:29 +09:00
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
Ken Wakasa 620e657662 Manual revert of manually translated Spanish strings. DO NOT MERGE.
They were overwritten and got lost by I6de9aa76

Change-Id: I4b9505ea9e4d57e22ed078e0ec85efe585757b5e
2011-02-01 17:32:07 +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
Eric Fischer fc16caf56a Import revised translations. DO NOT MERGE. Bug 3394542
Change-Id: I6de9aa765cdfeb34fba0ae5fae8d7f92102125de
2011-01-31 12:49:13 -08: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 7e85cebfcf am 7b6cdacf: am 72811549: Do not read the pop up setting if the config says not to.
* commit '7b6cdacf4d36fa7ab21a98a95b9d44882886c890':
  Do not read the pop up setting if the config says not to.
2011-01-30 23:02:06 -08: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
Justin Ho a702741374 am 20e3e036: am d6cac41d: Merge "Fixing colon key alignment Bug: 3362749 Bug: 3405016 Change-Id: Ie6f15a5a8f27d0df517b451e93a92cc693b9fcd6" into honeycomb
* commit '20e3e0362804e1ba9fa0db7a9514005480a0f33a':
  Fixing colon key alignment Bug: 3362749 Bug: 3405016 Change-Id: Ie6f15a5a8f27d0df517b451e93a92cc693b9fcd6
2011-01-30 20:15:03 -08:00
Justin Ho d6cac41dc7 Merge "Fixing colon key alignment Bug: 3362749 Bug: 3405016 Change-Id: Ie6f15a5a8f27d0df517b451e93a92cc693b9fcd6" into honeycomb 2011-01-30 20:09:24 -08:00
Justin Ho 9a3be5eab0 Fixing colon key alignment
Bug: 3362749
Bug: 3405016
Change-Id: Ie6f15a5a8f27d0df517b451e93a92cc693b9fcd6
2011-01-30 19:58:18 -08:00
Ken Wakasa 41fe2ee6ee am 7c355c69: am e80c070c: Merge "Updated + key" into honeycomb
* commit '7c355c698d3776cf8e14dc9e1a438a7b2c3dbfee':
  Updated + key
2011-01-29 00:11:58 -08:00
Ken Wakasa e80c070c7d Merge "Updated + key" into honeycomb 2011-01-29 00:08:07 -08:00
Justin Ho 755661e598 Updated + key
Bug: 3401855
Change-Id: Ib5e67d0038b7e89ecdf3b652ac0719e96bf4ab2f
2011-01-28 22:53:09 -08:00
Eric Fischer fe97647f1b Import revised translations. DO NOT MERGE
Change-Id: I87042810bd939cf3c83a97034c8f1fda99cdd534
2011-01-28 14:59:40 -08:00
Ken Wakasa 9fab90b16d am e820fdfe: am 063a98a7: Merge "Reuse keyboard view\'s drawing bitmap if possible" into honeycomb
* commit 'e820fdfeb045a7c61c971532578ed02144b5c3e6':
  Reuse keyboard view's drawing bitmap if possible
2011-01-27 23:47:31 -08: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 69a15051a0 am 294d1c08: am 513f1b04: Merge "Add hack to translate sudden move to up/down events" into honeycomb
* commit '294d1c08f4ee87710237fffc6866a7ab11153aaf':
  Add hack to translate sudden move to up/down events
2011-01-27 23:42:28 -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 878d0c11dc am 109c4e59: am 4d3b9d70: Import new icon for disabled mic key
* commit '109c4e59208c07107abebdec48ef3d9cbcbf3b2b':
  Import new icon for disabled mic key
2011-01-27 23:35:30 -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
Justin Ho fe68d8418a am 68d96067: am c768bcf9: Merge "Updating keyboard settings asset" into honeycomb
* commit '68d960671eae99abc4c01ff4911a7e1cc203367c':
  Updating keyboard settings asset
2011-01-27 19:07:25 -08:00
Justin Ho c768bcf92f Merge "Updating keyboard settings asset" into honeycomb 2011-01-27 19:03:19 -08:00
Justin Ho c9ead118c8 Updating keyboard settings asset
Bug: 3362749
Change-Id: If9f0dd25bc40a5dbc6613ce0660bd62237c27760
2011-01-27 18:56:26 -08:00
Ken Wakasa 35e485fa23 Small manual translation fix in es-rUS
Change-Id: Ie4556432661d3408c6f58739d551fd2c01c8531a
2011-01-28 09:44:37 +09:00
Tadashi G. Takaoka b900040880 am 3e5462a7: am 0d6a8b13: Merge "Add tablet keyboards supported in Gingerbread" into honeycomb
* commit '3e5462a75017c2bdbcb45a1516269df9a4ed8de1':
  Add tablet keyboards supported in Gingerbread
2011-01-26 22:31:34 -08:00
Tadashi G. Takaoka 0d6a8b133c Merge "Add tablet keyboards supported in Gingerbread" into honeycomb 2011-01-26 22:27:36 -08:00
Tadashi G. Takaoka 79b965e04f Add tablet keyboards supported in Gingerbread
This change also re-orders the laternate characters on mini keyboard.

Bug: 2214959
Change-Id: Id44c5b0c05f9f32ff939ad91d229d83731f2a135
2011-01-27 15:21:01 +09:00
satok 241d221344 am 2580492a: am b5d7857f: Merge "Fix auto-correction threshold and promote full matched words" into honeycomb
* commit '2580492aa05a1fe22e59e7d6ba3296b19e4ae4e7':
  Fix auto-correction threshold and promote full matched words
2011-01-26 21:20:21 -08:00
satok 15cb2e57bf am d4a0e746: am 5c73753e: Merge "Fix safety net not to be enabled at aggressive autocompletion mode" into honeycomb
* commit 'd4a0e7461090e9f5e9f3f9427d9b7820cea2ff7c':
  Fix safety net not to be enabled at aggressive autocompletion mode
2011-01-26 21:20:18 -08:00
Ken Wakasa 69f8b14801 Tentative translations for es-rUS
Change-Id: I32e7347e81f45f98a1d5f17c703ad8b3cd8ec97f
2011-01-27 13:49:12 +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 5c73753e67 Merge "Fix safety net not to be enabled at aggressive autocompletion mode" into honeycomb 2011-01-26 20:10:26 -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
Eric Fischer e2602eaa6d Import revised translations. DO NOT MERGE
Change-Id: Ie4bacc79a479ab65a80c0f022bea7ad3e14f2b89
2011-01-26 16:40:37 -08:00
Tadashi G. Takaoka c059099799 am cbbe6386: am 5c35e410: Merge "Fix BroadcastReceiver leakage in SubtypeSwitcher" into honeycomb
* commit 'cbbe6386bbea5316ec63e31c758b1e8351efd5ef':
  Fix BroadcastReceiver leakage in SubtypeSwitcher
2011-01-26 09:13:00 -08:00
satok e78c9c6e55 am 61b85f5a: am 5ecb352f: Merge "If there is no keyboard view attached, use voice input view." into honeycomb
* commit '61b85f5affeb51922dbcfadb38ca1e502835411f':
  If there is no keyboard view attached, use voice input view.
2011-01-26 09:12:56 -08: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 eae634030c am c983da89: am b5e00d58: Fix NPE in isCandidateStripVisible()
* commit 'c983da89497e346667f2adb98c8bdb0947c38e43':
  Fix NPE in isCandidateStripVisible()
2011-01-26 08:41:38 -08:00
Ken Wakasa b5e00d5841 Fix NPE in isCandidateStripVisible()
Change-Id: I03d3c4806b51e7f902c43887a6769bffbffeccaf
2011-01-27 01:33:02 +09:00
Tadashi G. Takaoka 1fb3077bd2 am aedd89f1: am 5cd87e1b: Disable shortcut key when network is not available
* commit 'aedd89f1d7198ac6a5a13fdbbcfbbae87b4579d4':
  Disable shortcut key when network is not available
2011-01-26 00:53:43 -08: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 2c8139d6dc am 7fbfde52: am dc9c9790: Merge "Added voice input languages" into honeycomb
* commit '7fbfde523ec29035cf4d7817b34bbf73a8fc7a72':
  Added voice input languages
2011-01-25 22:12:03 -08:00
satok dc9c979074 Merge "Added voice input languages" into honeycomb 2011-01-25 22:07:13 -08:00
satok 0b0c522523 Added voice input languages
bug: 3382825

Change-Id: Iec031dffb86e4b05a4a718d17afe20064d14633e
2011-01-26 15:04:02 +09:00
Tadashi G. Takaoka dc09973f36 am fb02bb8b: am 36113a38: Merge "Import new drawable assets" into honeycomb
* commit 'fb02bb8b965066476c75b05b5c8365e3dc559f6f':
  Import new drawable assets
2011-01-25 20:59:21 -08:00
Tadashi G. Takaoka 36113a38be Merge "Import new drawable assets" into honeycomb 2011-01-25 20:54:42 -08:00
Tadashi G. Takaoka 8c1f39510e Import new drawable assets
Change-Id: I0267e4e4296d127fb44d77323d7cc4eb2f63666d
2011-01-26 12:44:41 +09:00
satok 04c10734d0 am d6ce8d98: am 257b2a58: Merge "Hide recognition view when switchToLastInputMethod failed." into honeycomb
* commit 'd6ce8d98427f221ccb4379b7c96e649fdf419acc':
  Hide recognition view when switchToLastInputMethod failed.
2011-01-25 19:27:30 -08:00
satok 257b2a58d1 Merge "Hide recognition view when switchToLastInputMethod failed." into honeycomb 2011-01-25 19:23:56 -08:00
Ken Wakasa 14e1367f6d am 71aafa94: am aa0458f9: Fix Input options dialog
* commit '71aafa9445c3b830b9cbe56911a91b57d25e20e3':
  Fix Input options dialog
2011-01-25 10:24:55 -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 8c3471234f am 8e13c338: am e5ce433a: Check second down event of double tap is on shift key
* commit '8e13c338afce490197d799fd86bc7bef3057b79b':
  Check second down event of double tap is on shift key
2011-01-25 07:53:37 -08:00
Tadashi G. Takaoka b3861a41b5 resolved conflicts for merge of f73d2386 to master
Change-Id: I3f7d3cf35e5df888e397e61acc9786972a1fda4c
2011-01-26 00:49:20 +09:00
Ken Wakasa 071bf799c7 am e16e692f: am 3b46ae53: Merge "Automatically layout mini keyboard" into honeycomb
* commit 'e16e692fa4cd1a52fe1e4f4ad07786fddefe7829':
  Automatically layout mini keyboard
2011-01-25 07:37:54 -08: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 f9da196b0c am 302e5b3c: am 099b4dc6: Merge "Avoid disk writes on UI thread." into honeycomb
* commit '302e5b3cfd2283dabcab68d34f3709e044f522e6':
  Avoid disk writes on UI thread.
2011-01-25 02:11:20 -08:00
satok 099b4dc6ec Merge "Avoid disk writes on UI thread." into honeycomb 2011-01-25 01:58:09 -08:00
Jean Chalard bde7e81eb2 am 33dd2620: am 15638aec: Show the value of the "Show suggestions" option in summary.
* commit '33dd262084d33e9b35f5f27b1841d393b043a78d':
  Show the value of the "Show suggestions" option in summary.
2011-01-25 01:06:06 -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
Jean Chalard 788895d866 am 31569d62: am 2f4cc01e: Clarify a settings summary text.
* commit '31569d625278469cab965a023ecc0a331a46750d':
  Clarify a settings summary text.
2011-01-25 00:40:16 -08:00
Jean Chalard 2f4cc01e61 Clarify a settings summary text.
Change-Id: I98ee8bbe312a1515199b9c5c56c390010e8ef616
2011-01-25 17:31:34 +09:00
satok 28fc914d93 am e64e3a71: am f8ddd13b: Removed subtype icon for each country and added subtype icon for each mode
* commit 'e64e3a71ffe08f2d54ff4408945f3aacbc1a192c':
  Removed subtype icon for each country and added subtype icon for each mode
2011-01-24 22:34:06 -08:00
satok f8ddd13b40 Removed subtype icon for each country and added subtype icon for each mode
Bug: 3286869

Change-Id: I43f151be00d2392c1816a43d37148169ff39a9f0
2011-01-25 14:43:23 +09:00
Tadashi G. Takaoka 03886cf96a Add new Window.Callback.dispatchGenericMotionEvent to adapter class
Change-Id: I7571da1d00c22d96f2fb0f9b2e8a2c84a9344c81
2011-01-25 13:05:38 +09:00
Tadashi G. Takaoka d13b49d1a4 am 62d09dc1: am ba72f353: Merge "Reuse language_selection_title string resource for option dialog" into honeycomb
* commit '62d09dc1e9dac778b4d6c412b2af74afd83f44c6':
  Reuse language_selection_title string resource for option dialog
2011-01-24 19:16:33 -08:00
Tadashi G. Takaoka ba72f35323 Merge "Reuse language_selection_title string resource for option dialog" into honeycomb 2011-01-24 19:08:15 -08: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
Eric Fischer 85fa405a58 Import revised translations. DO NOT MERGE
Change-Id: I8a8786f484918749fd679adf0ce3e952d3f483f1
2011-01-24 12:40:17 -08:00
Satoshi Kataoka 17bc97c134 Merge "Fix resetting the status of VoiceIME when the user is switching from one VoiceIME to another Voice IME" into honeycomb 2011-01-24 07:59:22 -08: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 bab08331c0 Add excludeFromLastInputMethod to voice subtype
Bug: 3382702

Change-Id: I0a0a85a509aee9586fafe8771b44892f6bc469bc
2011-01-25 00:34:11 +09: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 47e482157e Merge "Add log for voice IME" into honeycomb 2011-01-23 22:10:00 -08:00
satok 910b73127f Add log for voice IME
Change-Id: I7d0a458b3cf41fc9dc679f654347e8870c75185d
2011-01-24 15:08:07 +09:00
Tadashi G. Takaoka 156493cf66 Add description for auto correction threshold strings
Bug: 3088802
Bug: 3091970
Change-Id: I6f0cdb9ec74824497ff5f9e3a2ca5d7d29de0dd7
2011-01-24 14:51:39 +09:00
satok 251cb11f0d Remove unused assets
Change-Id: Iae825b3d1c62d622db8389718359eaaa2b289fb4
2011-01-24 11:38:18 +09:00
Tadashi G. Takaoka 6ac5e2a225 New drawable assets
This change excludes drawable-xdpi/* and
drawable-mdpi/sym_keyboard_smiley_holo.png from designer's repo.

Change-Id: Ic8a06903ba75aa2de2d81ac159f4e37962b4da52
2011-01-24 11:10:42 +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
Tadashi G. Takaoka 6e7dcd755e Merge "Use simple smiley for the emoticon key" into honeycomb 2011-01-20 22:20:22 -08:00
satok 6f7218627e Dim previously suggested words
Change-Id: Id673c03bfa22ea9ce1bedb5174d8309a37a2a460
2011-01-21 15:20:21 +09:00
Tadashi G. Takaoka 6fe297a905 Use simple smiley for the emoticon key
This change uses keyLable to show simple smiley on the key top and
removes sym_keyboard_smiley_holo drawable.

Bug: 3350296
Change-Id: I7d28db8a6f74936f932f250a70991a1bd1ff4ddd
2011-01-21 15:17:09 +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 439f2dbe1b Change the order of subtypes list
Change-Id: I748ed8e8a280832c1e3170ed070c2ae22ee7d5c1
2011-01-20 02:02:56 +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
Tadashi G. Takaoka 4e73674943 Merge "Add settings key to table keyboard" into honeycomb 2011-01-18 00:50:51 -08:00
Tadashi G. Takaoka 7ab9f601cc Add settings key to table keyboard
Bug: 3351762

Change-Id: Ibee1cf42af2f53017d83034f069b19be6657acbb
2011-01-18 16:27:40 +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 8cc6e8e5c3 Merge "Fix voice key enable status has not been reflected to keyboard id" into honeycomb 2011-01-17 04:57:28 -08:00
Tadashi G. Takaoka 90a916170f Disable suggestion strip by default for tablet
Bug: 3352374
Change-Id: Ic2fed4ecd6d73f6c2d0ad81061ecd266f4704b10
2011-01-17 19:59:33 +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 c99c0ed939 Merge "Notify keyboard language on space bar when it has changed" into honeycomb 2011-01-14 05:25:35 -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
Tadashi G. Takaoka 297d6619b3 Add CHAR LIMIT to string resources
Bug: 2988183
Bug: 3276544
Change-Id: Ib5c2c86972b1ab32468cd0ab9370ec629255c54d
2011-01-14 18:29:35 +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
satok 48f6ac68b7 Merge "Fix descriptions for strings. Bug: 2876541 Bug: 2988169" into honeycomb 2011-01-13 23:32:38 -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
satok 543334cc21 Fix descriptions for strings.
Bug: 2876541
Bug: 2988169

Change-Id: I80130aa258e38f638b226448ba53a7efaeb6c3d7
2011-01-14 11:06:59 +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 eead8c8311 Add discription for keyboard/voice subtype string resources
Bug: 3197096
Change-Id: I9dafcbf4d5775b3b928be54e546ac38042ece685
2011-01-13 11:52:15 +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
Tadashi G. Takaoka e332d45253 Merge "Fix text color of main key labels in shifted state" into honeycomb 2011-01-11 03:56:23 -08:00
Tadashi G. Takaoka 5f35a89182 Merge "Remove stale suggestion divider drawable" into honeycomb 2011-01-11 03:51:34 -08:00
Tadashi G. Takaoka 926a110fd0 Fix text color of main key labels in shifted state
Bug: 3322539
Change-Id: Ib9bc54da8d3725f64c86dbe6d9700e386f74de5e
2011-01-11 20:41:40 +09:00
Tadashi G. Takaoka 7c6ffbc648 Remove stale suggestion divider drawable
Bug: 3329543
Change-Id: If96648bf88e1a69e01ebe00d31ddd46df1fca45c
2011-01-11 20:15:15 +09:00
satok aa5e92492e Merge "Tweak keyboard icon" into honeycomb 2011-01-11 00:31:06 -08:00
satok e72a57deae Tweak keyboard icon
Change-Id: I2c802c1c0c5f7e173285656ac47e3251ff97e44d
2011-01-11 17:28:27 +09:00
Ken Wakasa a776b7fc4a Should update suggestion strip even if suggetion count is 1, in case typed word's length is 1
bug: 3320818
Change-Id: I98ac8e0649de5dfd8b886401d42f2e5bcc2a8a1a
2011-01-11 12:59:33 +09:00
Ken Wakasa 2faf0a176c Merge "Clean up: Update variable names to comply with spec of ApplicationInfo." into honeycomb 2011-01-10 09:05:34 -08:00
Ken Wakasa 255c044b0e Fix StringIndexOutOfBoundsException
bug: 3325065
Change-Id: Ic3d2dca5b2aa1681d472c7f96b31737e15f4952d
2011-01-09 18:44:28 +09:00
Ken Wakasa 90d96615bc Clean up: Update variable names to comply with spec of ApplicationInfo.
ApplicationInfo.sourceDir may or may not be apk file name.  It can be a directory as well.
The spec just says it's "Full path to the location of this package".

Also, added error handling in loadDictionary().

Change-Id: I5e64d0aba4b1ec7634f4b3ac5537e7a774433ece
2011-01-09 16:53:33 +09:00
Eric Fischer 7a42a46069 Merge "Import some unabbreviated translations for large screens." into honeycomb 2011-01-07 12:58:09 -08:00
Eric Fischer f73e76de00 Mark configuration strings untranslatable.
Change-Id: If8a35fe33e2091bcf95cc543e76df1184d52ce2b
2011-01-07 10:42:26 -08:00
Satoshi Kataoka 6d075dbda5 Merge "Get rid of the space bar symbol on the tablet." into honeycomb 2011-01-07 07:38:27 -08:00
Ken Wakasa 715189fe6e Get rid of the space bar symbol on the tablet.
bug: 3290290
Change-Id: I4c57151197989375e6e9f36f508e6e875f856654
2011-01-08 00:15:14 +09:00
Ken Wakasa e90b333017 Load main dic in native
Follow up to Id57dce51

bug: 3219819
Change-Id: I00e11ef21d0252ffa88c12dffb9c55b0f2e19a66
2011-01-07 19:51:45 +09:00
Eric Fischer e494e4d13e Import some unabbreviated translations for large screens.
Change-Id: Ifa1c25a7b2eb40fcaaddca06e3df1a66587cd3e3
2011-01-06 18:18:22 -08:00
Tadashi G. Takaoka f16028b92e Remove digit popup characters from mini keyboard of tablet
Bug: 3321376
Change-Id: I38d963952d3c6d2cf1ad19a69b32f90191f17178
2011-01-07 01:12:15 +09:00
Tadashi G. Takaoka cc55d947ad Calculate mini keyboard key width from labels
Change-Id: I4259753bd10fdf488fcffacb6b131e30511e780f
2011-01-06 22:40:20 +09:00
Tadashi G. Takaoka ca65332145 Merge "Remove Row object from MiniKeyboardBuilder" 2011-01-05 21:20:18 -08:00
Ken Wakasa 458249e703 Consolidate main dictionary files.
This change is a preparation for upcoming optimizations on dictionary file loading.
* We can consolidate dictionary files because we are no longer relying on Asset Manager.
* Stopping compressing dictionary files as planning to use mmap() on the region in the apk file.
* Probably we won't rely on Asset Manager.  Instead we'll probably use offset and size obtained from AssetFileDescriptor.

Change-Id: Id57dce512fd3d2397a58628f8264bd824194da76
2011-01-05 11:31:58 +09:00
Tadashi G. Takaoka e89af1fa5f Remove Row object from MiniKeyboardBuilder
Change-Id: I981278f29fdd23d80c3da21ecdbbda6d62a0dfde
2011-01-01 13:52:36 +09:00
Tadashi G. Takaoka a96574fdd5 Move NOT_A_TOUCH_COORDINATE constant to KeyboardActionListener
Change-Id: Iff3fde48682a7c56201fc9eb3640755e0090d0ee
2011-01-01 13:43:28 +09:00
Tadashi G. Takaoka 611044ab30 Merge "Snap back to the previous keyboard when sliding input is canceled" 2010-12-31 03:28:35 -08:00
Tadashi G. Takaoka 5f922caff8 Snap back to the previous keyboard when sliding input is canceled
Bug: 3316517
Change-Id: Iffaad1eb93b6a014d8445f3e27b0e24c20967daf
2010-12-31 14:02:04 +09:00
Tadashi G. Takaoka 1a6fba5702 Fix potential keyboard layout change bug
Change-Id: I2518dd1d2ef4b77fe32bb1fed4e0c722f3d120c1
2010-12-31 11:46:48 +09:00
Tadashi G. Takaoka 5797cefca6 Longer long-press timeout in sliding input
Change-Id: Id74bddef4837ee46569775ce54f54d5535cfa463
2010-12-30 17:27:47 +09:00
Ken Wakasa f182f82378 Include all the resources regardless of system locales
This change addresses open source LatinIME

bug: 3313179
Change-Id: I513a9b7596fb748ca6b4f8d89550677e6b40348e
2010-12-29 11:06:46 +09:00
Tadashi G. Takaoka 07357f33db Merge "Add config_default_keyboard_theme_id resource" 2010-12-28 04:33:02 -08:00
Tadashi G. Takaoka 05ddb9a5d2 Add config_default_keyboard_theme_id resource
Change-Id: Ie4e9e85694cfd43fcd1fdfeeaa477f13c372a8a6
2010-12-28 21:06:45 +09:00
satok ceaca96b5c Merge "Fix miss spelling" 2010-12-28 03:08:13 -08:00
satok 9111d76cee Fix miss spelling
Change-Id: I29d92d316525a897c86eab44f948a6c61ae38c35
2010-12-28 19:49:43 +09:00
satok 43046fef25 Initialize mMode in SubtypeSwitcher and added TODO
Change-Id: If3fa38c5ecf12159cee8d237fa3d5260a9ed66cb
2010-12-28 19:16:36 +09:00
Tadashi G. Takaoka bfe2b53445 Import new drawable assets
Change-Id: Ie74bd49921cca4aee69f9e7bfc8ef93e13d3c4d9
2010-12-24 11:26:26 +09:00
Eric Fischer 9cfb874f7f Import revised translations.
Change-Id: I3d92d46d7683c07e455ba15c0befee9199a442bc
2010-12-23 14:37:28 -08:00
Tadashi G. Takaoka 363cd6ef0f Make dismissing keyboard by swiping down as configurable
Bug: 3306370
Change-Id: If4e258ce4db05fb75dcd3b23fefa422c1287955b
2010-12-23 12:44:40 +09:00
Tadashi G. Takaoka 23a3b74722 Merge "Suppress punctuation suggestions if not needed" 2010-12-21 18:57:09 -08:00
Tadashi G. Takaoka 9fb8c6dd48 Suppress punctuation suggestions if not needed
Bug: 3294256
Bug: 3284745

Change-Id: I77d54cbfcc2e809315bab59ecb808ae944982501
2010-12-22 01:48:20 +09:00
Ken Wakasa 9aa20e6ad1 Ignore case in editDistance()
bug: 3278422

Change-Id: Ibd20488dcec215038970749b181857527311947b
2010-12-22 00:42:41 +09:00
Tadashi G. Takaoka baf83886be Filter out too short noisy touch events
Bug: 3294017
Change-Id: I1769eab1d096d16bfa9d6f23b973483ee6e7a478
2010-12-21 23:46:15 +09:00
Tadashi G. Takaoka 1d7d9664a9 Refactor PointerTracker class to include queue management
Change-Id: I81d025220df6d970d8758157a89168851c8421ae
2010-12-21 18:56:27 +09:00
Tadashi G. Takaoka 6311acb7f4 Merge "Suppress long press timer on hinted key while temporary upper case mode" 2010-12-21 00:47:03 -08:00
Tadashi G. Takaoka 2b13b4f5e5 Suppress long press timer on hinted key while temporary upper case mode
Bug: 3301932
Change-Id: I29b5e5a9aa8b44681e763a4d6485109f3f99f6fa
2010-12-21 17:28:19 +09:00
satok 68d483e2a2 Merge "Add a parameter to getEnabledSubtype" 2010-12-20 23:19:40 -08:00
satok 127ae5465e Add a parameter to getEnabledSubtype
Change-Id: Iaa87613086093bc83d155ed2c0113fc513898801
2010-12-21 14:14:00 +09:00
Tadashi G. Takaoka c4f71668d7 Remove multi-tap feature
Change-Id: Ife44b3f9d420d77d2cfb51044a8356f02ed63e8b
2010-12-20 21:58:31 +09:00
Tadashi G. Takaoka 8aa3f5a3ad Cleanup KeyboardActionListener interface
Change-Id: I851eaea479f1590fd404a7a37a9a35d1bdcd378c
2010-12-20 19:52:08 +09:00
Tadashi G. Takaoka cb2469ae17 Suppress haptic feedback while sliding key input
Bug: 3298222
Change-Id: I9507a98cc833fc6403cf9abf23457748a2bf89de
2010-12-20 19:48:27 +09:00
Tadashi G. Takaoka 5ef421b58a Cancel long press timer when sliding key input is not allowed
This change also fixes auto snap back behavior of key which has output
text, such as smiley key.

Bug: 3297825
Change-Id: Ia06e1abc0fbdff2a26504ddcce1dc7f933b45453
2010-12-19 21:57:50 +09:00
Tadashi G. Takaoka cc0e41222d Merge "Do not pick up closest key if the point is out of any key" 2010-12-19 04:07:41 -08:00
Tadashi G. Takaoka 6d929d586f Do not pick up closest key if the point is out of any key
Bug: 3286308
Change-Id: I62771fb209027ddec4595d099d5d397ae4e200fd
2010-12-19 20:34:32 +09:00
Tadashi G. Takaoka ef71c4aa4c Fix checking of sliding off from key
This is follow up change of Id6f69e82.

Change-Id: I15127929b8eeb511a652c7ae6a14ababbb49ee24
2010-12-19 19:52:15 +09:00
Tadashi G. Takaoka dbc44989a5 Refactor PointerTracker class
Change-Id: Id6f69e82119a9a3f618d95443a3ecc766abab08a
2010-12-19 19:15:01 +09:00
Tadashi G. Takaoka 9e91472285 Automaticaly snap back to the previous mode from sliding symbol input
Bug: 3280151

Change-Id: I48ea134639465d0cc178e524af8d7885d185957d
2010-12-19 18:48:49 +09:00
Tadashi G. Takaoka 67a4ecacc7 Disallow sliding key input
This feature is configurable by R.bool.config_sliding_key_input_enabled.

Bug: 3294076
Change-Id: I0225a6ce19d9b911c9d9543a106ab57ee0b7de75
2010-12-18 20:41:53 +09:00
Tadashi G. Takaoka c59009648c Add description and CHAR LIMIT to string resources
Bug: 3290252

Change-Id: I1978e132de0280bec5c90bd14d9f4823d742bada
2010-12-17 17:40:04 +09:00
Tadashi G. Takaoka f0ab0b4e86 Merge "Add popupKeyboardTemplate attribute to Keyboard" 2010-12-17 00:21:51 -08:00
Tadashi G. Takaoka 9b6d1d52d9 Add popupKeyboardTemplate attribute to Keyboard
This change
- introduces the popupKeyboardTemplate attribute of Keyboard to
  specify XML Keyboard file for popup mini keyboard.
- introduces the maxPopupKeyboardColumn attribute of Keyboard to
  specify the maximum column of popup mini keyboard.
- changes the content format of the popupCharacters attribute of Key.
  It now represents keyLabel, codes and keyTextOutput of each key of
  popup mini keyboard using CSV format.

Bug: 2214959
Change-Id: I539e310f7e38a049ee193de0b4ad5d7afdce37b1
2010-12-17 17:18:28 +09:00
Tadashi G. Takaoka 7dc190f6a1 Updated contrast in keys
This change also makes the keyboard top gutter slightly taller.

Bug: 3293748
Change-Id: I574a2fea6440c7ad78f8ef51c87b221838b6df13
2010-12-17 16:56:49 +09:00
Tadashi G. Takaoka f61287ae48 Merge "Fix unit test to run" 2010-12-16 16:38:19 -08:00
Tadashi G. Takaoka f8bad151ee Fix unit test to run
Note that two tests in SuggestTests fail. Commented out these for now.

Change-Id: I652ffa1dd8e7b742ea0491ddd7efc14cea1430d4
2010-12-16 22:55:13 +09:00
Ken Wakasa 014f4883c7 Merge "Revise language string size on spacebar" 2010-12-16 00:50:42 -08:00
Tadashi G. Takaoka a8baf5701f Merge "Tweak base line of key top letter" 2010-12-16 00:22:23 -08:00
satok 24e1f28f25 Changed Icon for a US English keyboard subtype temporary
Change-Id: I422b9a1c055177c35e4dd9564b408179cf82f21e
2010-12-16 16:58:00 +09:00
Ken Wakasa 183fbbb0db Revise language string size on spacebar
bug: 3290290
Change-Id: I09694392d7fa447796c56a1f74b5b719ca28e466
2010-12-16 16:53:02 +09:00
Tadashi G. Takaoka 98935836f0 Tweak base line of key top letter
Bug: 3285380
Change-Id: Idf6b9b7e000d87df924742634188d193f948130f
2010-12-16 16:07:40 +09:00
Tadashi G. Takaoka 160d2ec445 Merge "Update suggestion strip drawables" 2010-12-15 22:56:31 -08:00
Ken Wakasa dcfbab91e6 Merge "Update the spacebar visual." 2010-12-15 19:44:26 -08:00
Ken Wakasa 5cc2416c6a Update the spacebar visual.
bug: 3290290
Change-Id: I7f48911bf75e1a54b74e500d5d9603e1015b51ae
2010-12-16 12:42:38 +09:00
Tadashi G. Takaoka e9311bc893 Update suggestion strip drawables
Bug: 3286297
Change-Id: I51d4051ea22c465f81852e4fb98e48bad9cf57f1
2010-12-16 12:38:43 +09:00
Tadashi G. Takaoka 1d11e7903f Fix adding user dictionary
This change is follow up of I9fe45a61

Bug: 3264920
Change-Id: Ic7b95892e36e30fd9fadd7bea011efad7f2f98ca
2010-12-16 12:25:01 +09:00
Eric Fischer 68b6932024 Import revised translations.
Change-Id: I65a87452bbd35b850def20bc37eedf3698f4e931
2010-12-14 13:59:57 -08:00
Tadashi G. Takaoka 9cb9f33f0c Merge "Make "Tab" and "ALT" and "123" as donottranslate resources" 2010-12-13 22:55:48 -08:00
Tadashi G. Takaoka 246acc5033 Make "Tab" and "ALT" and "123" as donottranslate resources
Bug: 3273889
Change-Id: I1bd47ffbc7bc92d66d421c5f2787acf14e08e0f7
2010-12-14 15:33:24 +09:00
Justin Ho 1a878ffe1f Merge "Integrating updated LatinIME keyboard assets" 2010-12-13 09:10:59 -08:00
Tadashi G. Takaoka a893ac38f5 Merge "Tune padding of candidate word" 2010-12-13 01:01:54 -08:00
Tadashi G. Takaoka 4700a6f2b0 Tune padding of candidate word
Change-Id: I980e568f9b4b87b0f414aa7ce0197dba39a7708f
2010-12-13 17:46:11 +09:00
Tadashi G. Takaoka 7bb84eac3b Merge "Check user dictionary before inserting new word" 2010-12-12 23:57:15 -08:00
Tadashi G. Takaoka c5f1368090 Check user dictionary before inserting new word
Bug: 3264920
Change-Id: I9fe45a61b2ad2b1ed69d3a0cbc6eebecb4038acc
2010-12-13 16:52:25 +09:00
satok 7f1d3fa5d8 Remove language settings from preference activity
Bug: 3268561

Change-Id: Ia910f0a090dc66c7dd9176999930d8cb763203b0
2010-12-13 15:27:33 +09:00
Tadashi G. Takaoka 9ecad8c2e8 Fix auto correction threshold values array reference
This change also removes unused argument from Suggest.getSuggestions().

Change-Id: I512f8695d22898bb906e136a66e0ee6b521cd1d1
2010-12-13 14:40:49 +09:00
Tadashi G. Takaoka 4ca16dbd65 Highlight auto corrected word
Bug: 3230726
Bug: 3215175
Change-Id: I086324cdab610b50a96d8eb08b81aa89c886ba00
2010-12-12 22:23:39 +09:00
Tadashi G. Takaoka 1b1f7f907f Cleanup unused string resources
This change also renames some "completion" to "correction".

Change-Id: I156dd7ccafe99a632721f20769d5f0ea5915a564
2010-12-12 21:55:00 +09:00
Tadashi G. Takaoka 3ef38b2907 Merge "Introduce SuggestedWords class to represent suggestions list" 2010-12-12 03:58:50 -08:00
Tadashi G. Takaoka 7e181fe101 Introduce SuggestedWords class to represent suggestions list
Change-Id: I81677a785640d37296be8b42c7a74bd0c00edf46
2010-12-12 16:44:42 +09:00
Tadashi G. Takaoka e7f9a2221c Merge "Swap ",." and "[]" in symbol layout of tablet" 2010-12-11 06:54:32 -08:00
Tadashi G. Takaoka 0459387604 Swap ",." and "[]" in symbol layout of tablet
Bug: 3275623
Change-Id: I28c5830f294596810ff747cdbfa467992b2a9a0b
2010-12-11 16:28:29 +09:00
Justin Ho 62f3317e8f Integrating updated LatinIME keyboard assets
Change-Id: I0bddfb452548eccac27586e9837285745da14918
2010-12-10 16:19:50 -08:00
Eric Fischer 35bcd5c27b Merge "Import revised translations." 2010-12-10 10:57:42 -08:00
Tadashi G. Takaoka a15e45ef45 Keep previous suggestions when there is only one suggestion found
Bug: 1647861
Change-Id: I7aa7ceeb93b5d8db69480d73cc8a7177ab6bbb42
2010-12-10 18:30:50 +09:00
Tadashi G. Takaoka e26ef1bccd Remove Tutorial class and unused debug feature
This change also cleanups compiler warnings.

Bug: 2897373
Change-Id: If972cf45c1eb40436adbddbf71969e5409f4c9c5
2010-12-10 18:24:00 +09:00
satok 20cdb37bd0 Use setInputMethodAndSubtype and shortcutIME API instead of changing only view to Voice Input
Bug: 3201828

Change-Id: If452f0b2d19eeb1f8f6e7e40539ba4bac6759fcd
2010-12-10 18:03:30 +09:00
Eric Fischer a83cfd2923 Import revised translations.
Change-Id: Id1e6d52b266966e02f8adf1ae6583e0551868bc7
2010-12-09 16:09:31 -08:00
Tadashi G. Takaoka 9502cc177c Remove LatinIME prefix from classes
This change also cleanups preference key string constants

Change-Id: I58510f220a90d00d71a935731abeab87384675bb
2010-12-09 21:54:51 +09:00
Tadashi G. Takaoka 55b9d333c5 Show auto correction feedback
Bug: 3230726
Change-Id: Iecf6fc837952c4721f6b726edcf16179254179ca
2010-12-09 20:37:07 +09:00
Tadashi G. Takaoka 8ec36be4f5 Cleanup calling Spannable.setSpan() to set character style span
This change is followup of Iadc11992

Bug: 3230726
Change-Id: I4f6692c3dbfb42986d478f4315105726ff89723a
2010-12-09 14:43:54 +09:00
Tadashi G. Takaoka 522d5c16d2 Show underline for auto-completion candidate instead of bolding
Bug: 3230726
Change-Id: Iadc11992d45776f7a4002ee9ebf24828646bcc53
2010-12-09 14:04:50 +09:00
Tadashi G. Takaoka 89c58745d6 Tweak candidate view height and etc.
Change-Id: I91963d0be122baf2274ea03b5028a66259a2cdb6
2010-12-08 20:05:34 +09:00
Tadashi G. Takaoka 4a734aa21e Fix popup mini keyboard for smiley and .com key
Change-Id: Idd156b14a4a259bc7dcaf498fbc8a121a069cbe9
2010-12-08 17:48:23 +09:00
Tadashi G. Takaoka 9f01ed51d7 Support keyboardHeight and maxKeyboardHeight to Keyboard XML
This change introduces,
- new attribute keyboardHeight to specify default keyboard height.
- new attribute maxKeyboardHeight to specify maximum keyboard height,
  usually specified by percentage to the screen height.
- keyHeight attribute is obsoleted
- new attribute rowHeight to specify a row height, can be specifed as
  percentage of the keyboard height. And verticalGap is included to
  the row height (row height = key height + vertical gap).

Change-Id: I48a2f2661e8a91a998503a847437c1baf1de9b9c
2010-12-08 17:43:29 +09:00
satok 59cd73b916 Merge "Suggest excessive characters" 2010-12-07 23:58:23 -08:00
satok cdbbea735f Suggest excessive characters
bug: 3193883

Change-Id: Iea7a0fce7ce62d8779a7c7e4613d50db30d82b07
2010-12-08 16:56:06 +09:00
Tadashi G. Takaoka e49bd1c43a Implement CandidateView using HorizontalScrollView
This change re-implements CandidateView using HorizontalScrollView and
customized Button, so that the candidate strip can be flingable.

This change also introduces the following features.

- Highlighting candidate strip and space bar is configurable by
  @bool/config_candidate_highlight_enabled.
- Candidate strip can be centered with left/right padding if
  @dimen/candidate_strip_padding size is greater than 0.
- Candidate text size is configurable by @dimen/candidate_text_size.

Bug: 1575885
Bug: 3230726
Change-Id: Iedf78ff31bc9f2f6291a8e8fb7faa0e6b961dd6d
2010-12-08 16:55:36 +09:00
Tadashi G. Takaoka ada7ad2b0d New gutter for tablet keyboard layout
Bug: 3253559
Change-Id: I4d5a54ab7664ff090b33aeabe981e0ed24ea21b2
2010-12-07 16:07:12 +09:00