Jean Chalard
646d950ed8
Receive a broadcast that the dictionary has been updated.
...
Change-Id: I9751cc627a835a4061f144c48ff51e9d81b2c93b
2011-04-14 20:52:25 +09:00
Tadashi G. Takaoka
e4b2d22636
Merge "Make showing key preview compatible with pre-Honeycomb"
2011-04-14 01:56:15 -07:00
Tadashi G. Takaoka
37cfacbae6
Make showing key preview compatible with pre-Honeycomb
...
Bug: 4179964
Change-Id: Ide0a9c75983b45f8e829f0d64f41557d42fc11e7
2011-04-14 17:43:25 +09:00
satok
6d9021527a
Fix for language bar switching
...
Change-Id: Id3974642b62b012968c537eff7c1a7ee37e2def2
2011-04-14 12:34:48 +09:00
Tadashi G. Takaoka
dc3d4e8c06
Merge "Fast key preview"
2011-04-13 03:12:06 -07:00
Tadashi G. Takaoka
7a3d3ae17f
Fast key preview
...
Previously the key preview was implemented by PopupWindow. The key
preview popup window would be dismissed and shown each time the key
was released and pressed. It turned out that it was taking several
milliseconds.
This change implements the key preview by a simple TextView which will
be layout-ed at absolute coordinates within the screen FrameLayout.
And dismissing and showing the key preview is implemented by the
TextView's visibility.
This implementation needs careful coordination of candidates.xml
layout and LatinIME.onComputeInsets to control suggestion strip
visibility.
Bug: 4179964
Change-Id: Id6347cb35b91eb14ab20dd2f312e58b54b6625a7
2011-04-13 18:59:33 +09:00
satok
88fc9d4418
Support language bar swich for InputMethodSubtype
...
Change-Id: Ie49f0c1c7aea135331dc1d4a635197b3f4a96e93
2011-04-13 17:05:24 +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
Jean Chalard
a944574967
Merge "Reinforce user-history based bigram use."
2011-04-08 02:14:06 -07: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
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
b5d17e52fc
Add logOnSeparator
...
This is a supplement for I9abb8141f23100d
Change-Id: I529d2a78f4fe630611db4cba830d933370c8c34f
2011-04-08 15:24:55 +09: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
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
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
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
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
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
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
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
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
2cff4d7e4a
Added CompatUtils for starting a language selector
...
Change-Id: I158414efaff43d0c6abe1f9af83ed3425992dfb9
2011-03-18 12:33:04 +09: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
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
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
Tadashi G. Takaoka
ab0ee37f52
Disable debug flag in TextEntryState
...
Bug: 4051276
Change-Id: I980c0dfefdf3ae70935aca9755a55d1c925a23f9
2011-03-08 12:11:47 -08:00
satok
bcfce3b3b9
Add whitelist dictionary
...
Bug: 3447571
Change-Id: I538e4e706982129b666ca1ab1085f1b68b69f87f
2011-03-08 11:29:10 +09: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
f9a5bfa147
Merge "Add the suggestion algorithm of words with space proximity" into honeycomb-mr1
2011-03-04 22:24:05 -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
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
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
Ken Wakasa
18e15a1e5e
Fix null token error
...
bug: 3499746
Change-Id: I76bd745b0623f4736c6b0aaf0ab42fd4b7c4f349
2011-03-02 07:20:27 +09: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
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
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
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
satok
8fbd552292
Add proximity info to native
...
Bug: 3311719
Change-Id: Ie596304070e321ad23fb67a13bf05e2b6af1b54b
2011-02-23 23:04:00 +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
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
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
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
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
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
Jean Chalard
6550dce015
Merge "Add debugging info for Latin IME."
2011-01-31 23:25:00 -08:00
Jean Chalard
8553b5ec31
Add debugging info for Latin IME.
...
Add frequency of candidates in the candidates view when the debug
mode is active.
Bug: 3312867
Change-Id: Ie911f14ef11b2fa02af8f3a74302129f16ed0604
2011-02-01 16:06:50 +09:00
Tadashi G. Takaoka
34252baa86
Use custom dialog builder building url link clickable from service
...
This change is derived from I7611ebc1 (Honeycomb).
Bug: 3246715
Change-Id: I6446bd785f1bd3d7b901e86661c91ca5a823f30e
2011-02-01 15:39:33 +09:00
Ken Wakasa
eaa091da78
Merge "Fix subtype settings activity string"
2011-01-31 08:24:53 -08:00
Ken Wakasa
435bd31db3
Fix subtype settings activity string
...
original (abandoned) change: I78463bbb
Change-Id: I1ef4df882fb09dd31a77e8f12d30d03460ecaada
2011-02-01 01:16:32 +09:00
Jean Chalard
728115493e
Do not read the pop up setting if the config says not to.
...
If the configuration says the device should not display the "Pop up
on key press" setting, then do not read the preference and always
use the default setting.
bug: 3406181
Change-Id: Ice2989760cda1d40387ed88311144cbf2c114b93
2011-01-31 15:45:24 +09:00
Ken Wakasa
063a98a7b2
Merge "Reuse keyboard view's drawing bitmap if possible" into honeycomb
2011-01-27 23:43:02 -08:00
Tadashi G. Takaoka
513f1b0454
Merge "Add hack to translate sudden move to up/down events" into honeycomb
2011-01-27 23:37:49 -08:00
Tadashi G. Takaoka
faf437b507
Add hack to translate sudden move to up/down events
...
This change also gets rid of unnecessary debug messages.
Bug: 3400735
Change-Id: I3f003b1c2b553a2f841d4880f348a012d2d9c8ad
2011-01-28 16:35:02 +09:00
Ken Wakasa
566630147d
Reuse keyboard view's drawing bitmap if possible
...
bug: 3398660
Change-Id: I0c7f7c084904990563ac62b5d9cf829f86855661
2011-01-28 16:33:34 +09:00
Tadashi G. Takaoka
4d3b9d709c
Import new icon for disabled mic key
...
This change also updates other hdpi assets.
Bug: 3345931
Change-Id: Ia91e449905677b025307bf9ea6e618d82090a389
2011-01-28 16:16:59 +09:00
satok
b5d7857fbc
Merge "Fix auto-correction threshold and promote full matched words" into honeycomb
2011-01-26 20:10:31 -08:00
satok
14e427d5bb
Fix safety net not to be enabled at aggressive autocompletion mode
...
Bug: 3374359
Change-Id: I7b1dbeb64a87dda05397c236bb58da292f819471
2011-01-27 13:09:27 +09:00
satok
58c49b9132
Fix auto-correction threshold and promote full matched words
...
Bug: 3374359
Bug: 3278422
"zbe" will be auto corrected to "be" by fixing s-line
"teh" will be auto corrected to "the" by promotion of full matched words
Change-Id: I314c632820e4e0b1501edeca60ada205d291451f
2011-01-27 12:53:13 +09:00
Tadashi G. Takaoka
5c35e4109f
Merge "Fix BroadcastReceiver leakage in SubtypeSwitcher" into honeycomb
2011-01-26 09:07:44 -08:00
satok
5ecb352f7f
Merge "If there is no keyboard view attached, use voice input view." into honeycomb
2011-01-26 09:07:33 -08:00
satok
a42cc5303b
If there is no keyboard view attached, use voice input view.
...
Change-Id: Ibf0945f3bd70f02fe0d09229fc899641567c0d4c
2011-01-27 01:51:02 +09:00
Tadashi G. Takaoka
123c4a3851
Fix BroadcastReceiver leakage in SubtypeSwitcher
...
Bug: 3345931
Change-Id: If31a6e803ea7e1a857085ced354722c484fda075
2011-01-27 01:49:44 +09:00
Ken Wakasa
b5e00d5841
Fix NPE in isCandidateStripVisible()
...
Change-Id: I03d3c4806b51e7f902c43887a6769bffbffeccaf
2011-01-27 01:33:02 +09:00
Tadashi G. Takaoka
5cd87e1b1c
Disable shortcut key when network is not available
...
Bug: 3345931
Change-Id: I1deef774598b8e78da4404535b6d3814464a9d2d
2011-01-26 17:07:55 +09:00
satok
257b2a58d1
Merge "Hide recognition view when switchToLastInputMethod failed." into honeycomb
2011-01-25 19:23:56 -08:00
Ken Wakasa
aa0458f917
Fix Input options dialog
...
bug: 3387860
Change-Id: I81e57ca08e07e4c2a68196ca173b764c40fbeb17
2011-01-26 02:56:09 +09:00
Tadashi G. Takaoka
e5ce433a9e
Check second down event of double tap is on shift key
...
This change also removes unnecessary touch point tweaks.
Bug: 3385404
Change-Id: Ic398268ec4fcfaa9eafe8a70f2d10c2cd1fdfc62
2011-01-25 23:34:49 +09:00
satok
760884e027
Hide recognition view when switchToLastInputMethod failed.
...
Change-Id: Ie5f3d267e1042b4379b51c2dc6c8756e394cfc0f
2011-01-25 23:01:13 +09:00
Ken Wakasa
6d0ff1d070
Merge "Revert "Implement callback to handle touch event outside SoftInputWindow"" into honeycomb
2011-01-25 05:42:22 -08:00
Ken Wakasa
3b46ae535f
Merge "Automatically layout mini keyboard" into honeycomb
2011-01-25 05:32:41 -08:00
Tadashi G. Takaoka
04c96ab966
Automatically layout mini keyboard
...
Bug: 2214959
Change-Id: I06370e1c9e0683666ad19454a2fb501008af95c0
2011-01-25 20:36:11 +09:00
Tadashi G. Takaoka
00eb365873
Revert "Implement callback to handle touch event outside SoftInputWindow"
...
This reverts commit de59a84029
(Ie8d4469b).
The requested feature has been implemented by I92d98bed.
Bug: 3238092
Change-Id: I9d53030b3d5c9a0f24883292a93576a3231813aa
2011-01-25 19:27:10 +09:00
satok
099b4dc6ec
Merge "Avoid disk writes on UI thread." into honeycomb
2011-01-25 01:58:09 -08:00
satok
9313bef894
Avoid disk writes on UI thread.
...
Change-Id: I0a498e47afb2c9a5241e2f329c39e266550135a5
2011-01-25 17:59:39 +09:00
Jean Chalard
15638aec33
Show the value of the "Show suggestions" option in summary.
...
Have the "Show correction suggestions" option display its value
in its description.
Bug: 3282448
Change-Id: Id76b5032ed5776d0567e1679d2a74ee758045919
2011-01-25 17:53:32 +09:00
Tadashi G. Takaoka
85996b472a
Reuse language_selection_title string resource for option dialog
...
Bug: 3385831
Change-Id: I23f587815f7fca3190bd0aa669bb6a2378d34ea8
2011-01-25 11:48:06 +09:00
Luca Zanolin
35f1c6a73c
Fix resetting the status of VoiceIME when the user is switching from one VoiceIME to another Voice IME
...
Change-Id: Ibbbe3ed6c4e2e7e3c1266daddf109742bd8d97b6
2011-01-24 15:45:20 +00:00
satok
bd0de0f151
Update shortcut IME when user changes the language of keyboard.
...
Bug: 3329578
Change-Id: I59653ec7b1077e88be3767da9f4190d820fad4d1
2011-01-24 20:43:45 +09:00
Satoshi Kataoka
0dd0ea63ab
Merge "Always display the VoiceIME language in the Speak Now pop-up" into honeycomb
2011-01-24 02:59:22 -08:00
satok
85a6175f49
Merge "Set minimum height for RecognitionView in the case that there is no keyboard view loaded." into honeycomb
2011-01-24 02:58:16 -08:00
Luca Zanolin
2c5ec3a50d
Always display the VoiceIME language in the Speak Now pop-up
...
Change-Id: I1b01458aff98447b7b3d5459b765968bed5515cb
2011-01-24 10:36:15 +00:00
satok
8cacb024cf
Set minimum height for RecognitionView in the case that there is no keyboard view loaded.
...
Bug: 3352322
Change-Id: I9a7b2a745b47bdc62a96a5cd2c0d8ad717e1b406
2011-01-24 19:29:27 +09:00
Tadashi G. Takaoka
603e72baa2
Merge "Implement callback to handle touch event outside SoftInputWindow" into honeycomb
2011-01-24 01:44:28 -08:00
Tadashi G. Takaoka
de59a84029
Implement callback to handle touch event outside SoftInputWindow
...
Bug: 3238092
Change-Id: Ie8d4469bc2c6880bdf2a0c4e4eec68bb136b837c
2011-01-24 17:34:05 +09:00
satok
910b73127f
Add log for voice IME
...
Change-Id: I7d0a458b3cf41fc9dc679f654347e8870c75185d
2011-01-24 15:08:07 +09:00
satok
3d012a57db
Merge "Fix touchable region" into honeycomb
2011-01-21 02:59:49 -08:00
satok
9e347d3d44
Fix touchable region
...
Bug: 3238092
Change-Id: Ie2087086af90ba51e0e310f9e46964e450561cbe
2011-01-21 19:45:32 +09:00
Tadashi G. Takaoka
f3df63a93a
Update suggestions if user typed word is found in dictionary
...
This change aslo eliminates duplicate suggestion from past
suggestions. And call setTypedWordVaild to past suggestions.
Bug: 3367722
Change-Id: I7ffaa2f7e4e30b3951b6c2df002d269671c9d654
2011-01-21 15:52:35 +09:00
satok
15a7e837ab
Merge "Dim previously suggested words" into honeycomb
2011-01-20 22:22:13 -08:00
satok
6f7218627e
Dim previously suggested words
...
Change-Id: Id673c03bfa22ea9ce1bedb5174d8309a37a2a460
2011-01-21 15:20:21 +09:00
satok
58d6d0615d
Disable touchable region until we come up with correct implementation
...
bug: 3373640
Change-Id: I22448b779b0adc60f590aaef916075c7847dcdc9
2011-01-21 14:41:20 +09:00
Tadashi G. Takaoka
a2ad96d959
Make settings dialog cancel-able by touching outside
...
Bug: 3374426
Change-Id: I6ba9b82d4481c43c78b59e78dcf22cd9875a8240
2011-01-21 14:07:05 +09:00
Tadashi G. Takaoka
2fa21f5854
Add input method subtype selector and IME settings dialog
...
Bug: 3351762
Change-Id: Ic1767faac6d4470a89cacb851d449ac53b2f8205
2011-01-21 02:30:52 +09:00
Ken Wakasa
fefda4e6df
Refine InputMethodInfo API
...
bug: 3370297
Change-Id: I16073e6b8b90a06a20e506dac66e3ca25b4712d0
2011-01-20 23:29:53 +09:00
satok
6845da8d7b
Add touchable region
...
Bug: 3238092
Change-Id: I3cda3106a61c40c3b66741dc38c9ff4cc55f487b
2011-01-20 22:04:42 +09:00
satok
4022a79957
Merge "Add subtype languages" into honeycomb
2011-01-19 08:17:05 -08:00
satok
be324535f6
Add subtype languages
...
Change-Id: Ib251bd63f79281a4dc1739b213b16e8a936ea319
2011-01-20 01:15:09 +09:00
Jean Chalard
89764ad4ac
Simplify text correction settings in latin IME.
...
Conditionally remove the "Quick fixes", "Bigram suggestions" and
"Usability study mode" options, depending on configuration.
When disabled, have the quick fixes and bigram option become
false if autocorrect is off, and true otherwise.
Also reorder options to bring "Auto correction" above "Show
suggestions".
bug: 3282448
Change-Id: Ib7fd928be417a816ef9e21423a531773069b7468
2011-01-19 20:08:46 +09:00
Jean Chalard
ce9c417184
Change separator titles in settings screen.
...
Add a "General" category to enclose general settings, and rename
"Word suggestion settings" to "Text correction".
bug: 3282448
Change-Id: Ie695683af0646974da82e29e11d1c3a785ef46c7
2011-01-19 19:50:14 +09:00
satok
ce4b2d2dab
Merge "Add a safety net for auto-correction." into honeycomb
2011-01-19 01:02:28 -08:00
satok
82411d47ba
Add a safety net for auto-correction.
...
Bug: 3353956
Change-Id: I6a32632b2f986f0d9a07aa72f256a2c41cc09873
2011-01-19 17:54:22 +09:00
Ken Wakasa
86f189fd96
Fix NPE
...
bug: 3364217
Change-Id: If6a2514a8feac509d7b6716c8574521a0ec0fa3e
2011-01-19 17:44:51 +09:00
Tadashi G. Takaoka
08ca36d038
Merge "Pressing shift could turn off shift state while auto capitalize mode" into honeycomb
2011-01-18 19:18:01 -08:00
Jean Chalard
8b0febc6f0
Merge "Simplify latin IME settings page." into honeycomb
2011-01-18 19:08:15 -08:00
Tadashi G. Takaoka
d01ae897d3
Pressing shift could turn off shift state while auto capitalize mode
...
Bug: 3363137
Change-Id: I442c1fbb185ad9ea16ee9bab70649f2b9f89400c
2011-01-19 11:59:45 +09:00
Luca Zanolin
bbd651a008
Change the UI of Voice IME to be more like Voice Search.
...
There has been a bit of refactoring in RecognitionView in particular to fix the portrait layout.
The main issues found were:
- the size of the keyboard is specified in inches, and
(cm)(inches + inches) != ((cm) inches) + ((cm) inches))
- the height of keyboard background is high as the landscape keyboard, but it higher than
the portrait keyboard. This is not an issue on LatinKeyboard, as it overwrite the
onMeasure method. However, if I use the same image background in RelativeLayout
the Relative layout height is set to the height of the background, thus higher than the keyboard
- the change configuration was not propageted correctly
Change-Id: Id5dca425826997c573ccae7a085d5ddc9719733b
2011-01-18 15:49:17 +00:00
satok
da9eb5946c
Merge "Disable auto-correct when previous suggestion candidates are shown" into honeycomb
2011-01-18 05:12:17 -08:00
Tadashi G. Takaoka
26df6b508a
Merge "Load keyboard correctly when subtype has been changed to keyboard" into honeycomb
2011-01-18 05:11:31 -08:00
satok
cff6d09595
Disable auto-correct when previous suggestion candidates are shown
...
Change-Id: I16717f0c67950297a077a15b2b6492180c0bc54b
2011-01-18 22:07:58 +09:00
Tadashi G. Takaoka
3f652e2477
Merge "Clear composing text when the auto-corrected word is reverted" into honeycomb
2011-01-18 04:44:45 -08:00
Tadashi G. Takaoka
c1c4ee6b3a
Load keyboard correctly when subtype has been changed to keyboard
...
Bug: 3299191
Change-Id: I5d75898aca5de25d9955efac52979097e529990b
2011-01-18 21:44:02 +09:00
Tadashi G. Takaoka
30be3f9845
Clear composing text when the auto-corrected word is reverted
...
Bug: 3363133
Change-Id: Ib7582ad354ba16eb8ebc9f0b4f51c8ec3790f578
2011-01-18 21:01:26 +09:00
Jean Chalard
fd7d814c81
Simplify latin IME settings page.
...
Do not show the recorrection option on xlarge terminals,
and make it true by default. Also, bring the Auto-capitalization
at the top of the settings page.
Issue: 3282448
Change-Id: I51a9ae6c7e496be2970107277f0a4ac65b12821e
2011-01-18 18:41:15 +09:00
Jean Chalard
6c381b38cc
Remove the keyboard popup option by default.
...
Add an option to mask the sound on keypress preference, and
make it false on xlarge terminals by default.
bug: 3282448
Change-Id: I747272d9edf854dc229aa620836cfa35a437d13f
2011-01-18 16:26:11 +09:00
satok
7766340cac
Add debug log for subtypes.
...
Change-Id: I7941adeab3357db1ceb7bc0c9c01a01d6ac9cf98
2011-01-18 13:52:14 +09:00
Tadashi G. Takaoka
d5a6b910e8
Purge keyboard only when voice input will be invoked
...
This change also draws the language name in light gray on spacebar
without fading out even when the keyboard locale has not been changed.
Bug: 3362369
Bug: 3361915
Change-Id: I66538b03ce2e48c3441091319d0377176f8118ec
2011-01-18 11:41:12 +09:00
Tadashi G. Takaoka
9835307690
Merge "Preserve punctuation character after canceling auto correction" into honeycomb
2011-01-17 06:07:01 -08:00
Tadashi G. Takaoka
a0ff76638c
Merge "Make sure that keyboard is not displayed when voice mode" into honeycomb
2011-01-17 05:49:00 -08:00
Tadashi G. Takaoka
04f815eca4
Make sure that keyboard is not displayed when voice mode
...
Bug: 3352347
Change-Id: I43cf5159f8bdcf2bc2c9a48662ea44a43ad4e25d
2011-01-17 22:41:05 +09:00
Tadashi G. Takaoka
504e8d5171
Preserve punctuation character after canceling auto correction
...
Bug: 3230708
Change-Id: I939ca19c9c08d9b79658261b1e654a66af5cc493
2011-01-17 22:37:36 +09:00
Tadashi G. Takaoka
8bec4aa912
Fix voice key enable status has not been reflected to keyboard id
...
Bug: 3355428
Change-Id: Id4e572357a7b5603e9a609b7e80b81d8e2c500f6
2011-01-17 19:27:39 +09:00
Tadashi G. Takaoka
dc64b138b5
Revert I432be8f7 partially
...
This change reverts removing SubtypeSwitcher.onConfigurationChanged by careless in I432be8f7.
Bug: 3290290
Change-Id: I796ea01877d61eb750dabdeb3fdbf87666646c56
2011-01-17 17:52:15 +09:00
Tadashi G. Takaoka
9d446fc13f
Merge "Place language name at center of spacebar if no space icon" into honeycomb
2011-01-17 00:39:01 -08:00
Tadashi G. Takaoka
66432cfc9b
Place language name at center of spacebar if no space icon
...
This change also leaves the language name as light grayed after fading out.
Bug: 3290290
Change-Id: I71adf80c9a3b77d2fd34bca458845d85d55cbee7
2011-01-17 17:04:53 +09:00
Ken Wakasa
3ff0fb77ce
Merge "Fixes in close() in BinaryDictionary." into honeycomb
2011-01-16 23:12:55 -08:00
Ken Wakasa
da50e1e98d
Fixes in close() in BinaryDictionary.
...
Avoid using 'synchronized' in finalizer as well.
bug: 3340837
Change-Id: I9b28f54e4490ecb844ba33a379f71b625e4246a2
2011-01-17 15:58:07 +09:00
satok
f250c56a38
Allow implicitly enabled subtypes in subtype switcher.
...
Change-Id: I30cd9df85fd1927ee9c3bfbe0574167d4953a765
2011-01-17 14:46:25 +09:00
Tadashi G. Takaoka
67e08bb0fb
Invoke voice recognition certainly onStartInputView
...
Bug: 3352347
Change-Id: I80763c0a48ebf1ecd23549d78269421ebb40d206
2011-01-15 06:13:34 +09:00
Tadashi G. Takaoka
93e2d77741
Merge "Fix froyo-ub-LatinImeGoogle compatibility" into honeycomb
2011-01-14 06:59:01 -08:00
Tadashi G. Takaoka
5a88787e67
Merge "Add SubtypeLocale class" into honeycomb
2011-01-14 05:25:47 -08:00
Tadashi G. Takaoka
34cee317d8
Fix froyo-ub-LatinImeGoogle compatibility
...
Change-Id: I46fca4735d08552dfb414b2b302b4ed97ae96ab0
2011-01-14 22:24:10 +09:00
Tadashi G. Takaoka
de0c8874a4
Notify keyboard language on space bar when it has changed
...
This change also introduces the following.
* space bar language switcher is enabled for phone device.
* get rid of spcae key icon from number keyboard of tablet.
* slightly lower the position of language name on space bar of tablet.
Bug: 3290290
Change-Id: I432be8f757bcc84c257770112ff1f6fa7970c584
2011-01-14 20:11:52 +09:00
satok
1c835437a5
Merge "Do not triggerVoiceIME at changing subtype if IME is not shown." into honeycomb
2011-01-14 00:22:03 -08:00
Tadashi G. Takaoka
e276d8ddaa
Add SubtypeLocale class
...
Change-Id: Ic4c73c313f976ad6df1b4ddf48b914d05a08d283
2011-01-14 16:12:36 +09:00
Tadashi G. Takaoka
212368e877
Merge "Support "nm" (no mic) privateImeOptions" into honeycomb
2011-01-13 23:09:38 -08:00
Tadashi G. Takaoka
96680f28e8
Use integer value instead of symbolic name for os version
...
Change-Id: I1574915ededf5d47d245a3f09692ebbbfe37e4c6
2011-01-14 14:48:23 +09:00
Tadashi G. Takaoka
41f7fb51b0
Make input language selection settings work
...
This change also tweaks the padding of candidate strip for phone.
Change-Id: Iefe4dfeb7015e11d5b2d1566121f719d60b1377e
2011-01-14 14:21:12 +09:00
Tadashi G. Takaoka
0f901aab36
Support "nm" (no mic) privateImeOptions
...
Bug: 3331635
Change-Id: Ide160b9317c8f7d966f879dd460640fc4f894e9b
2011-01-14 10:02:26 +09:00
satok
255831206b
Do not triggerVoiceIME at changing subtype if IME is not shown.
...
Bug: 3325103
Change-Id: I5474553f0b55f286f573af80134e8ef1eeb39354
2011-01-13 21:05:29 +09:00
Tadashi G. Takaoka
a5627e4e1f
Merge "Reset old keyboard state before switching to new keyboard" into honeycomb
2011-01-11 22:54:26 -08:00
Tadashi G. Takaoka
ee66e6fa90
Reset old keyboard state before switching to new keyboard
...
This change is ported version of I8030202f from Gingerbread.
Bug: 3322158
Change-Id: Idc1ef7f174b50b0478ba53b14427485275e97748
2011-01-12 14:13:32 +09:00
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
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
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
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
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
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
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
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
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
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
7e181fe101
Introduce SuggestedWords class to represent suggestions list
...
Change-Id: I81677a785640d37296be8b42c7a74bd0c00edf46
2010-12-12 16:44:42 +09: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
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
satok
e00b7c5f7b
Merge "Fix a crash when MAX_WORD_LENGTH is too short."
2010-12-06 20:06:03 -08:00
Tadashi G. Takaoka
292faee8ba
Fix ghost popup mini keyboard
...
Bug: 3257700
Change-Id: I522ceb426b825575c90e8445336191bcf889f05d
2010-12-07 11:24:18 +09:00
Ken Wakasa
d024ea605c
Fix an issue with lingering composing span underline after orientation changes
...
bug: 3246868
Change-Id: Id3887953e195281d677f31fba5feca1e60016bfa
2010-12-06 23:35:32 +09:00
satok
f5cded1c6c
Fix a crash when MAX_WORD_LENGTH is too short.
...
Change-Id: Idcb5aa2685321b8d0ac7d846caecbd1c79e4dd77
2010-12-06 22:58:56 +09:00
Tadashi G. Takaoka
e18bd3e323
Fix voice key on phone device
...
This change,
- changes voice key code back to -102
- renames some key code names and method names
- adds mic_slash_holo to drawable-hdpi
Change-Id: I8be3a20921f472ece4298edad2d275f29a7e4955
2010-12-06 12:29:59 +09:00
Tadashi G. Takaoka
a275e9eb48
Make Key, Row and Keyboard attributes final
...
Change-Id: Ie87e9e8936646334646cc93b228e0f6a93a79e5b
2010-12-03 14:11:38 +09:00
Tadashi G. Takaoka
7545ec8df0
Fix no smiley popup mini keyboard
...
Change-Id: I0e010c6f0c06fd59b7aef75fc142a4ce0089e740
2010-12-03 13:36:17 +09:00
Tadashi G. Takaoka
391a7ce6d8
Remove LatinKey class
...
Change-Id: I56b15980d994eed698566a1d0451e3ec7ab490a0
2010-12-03 12:55:51 +09:00
Tadashi G. Takaoka
566870c0f1
Fix NPE at Keyboard
...
Bug: 3250672
Change-Id: Ieef7ff5e8ba77a2d43f561c2bd2a1921230bd49d
2010-12-03 12:36:31 +09:00
Tadashi G. Takaoka
418d80d7de
Double tap on shift key turns on caps lock
...
Bug: 3238128
Change-Id: Ib641d33da148b72c7c775caa11e0b2ab58a8c081
2010-12-03 09:31:35 +09:00
Tadashi G. Takaoka
571bdb401f
Refactor LatinKeyboard and LatinKey
...
This change also moves KeyboardSwitcher and related classes to
com.android.inputmethod.keyboard package.
Multi project change with Ib23017b2
Change-Id: Id7d54b24615fe22ebb540ca847549909e346ee24
2010-12-02 23:03:59 +09:00
Tadashi G. Takaoka
5a309f5715
Move some inner static class to top class in new package
...
This change introduces new package com.android.inputmethod.keyboard
which hosts keyboard related classes.
Also adds missing @Override and @SuppressWarning("unused") annotation
Change-Id: I0317f5cfa317e13f3c77815f48ffc69b5d1ade05
2010-12-02 20:06:01 +09:00
satok
711abe6756
Merge "Fix parameters of native functions and refactor Dictionary"
2010-12-01 18:30:33 -08:00
satok
3008825948
Fix parameters of native functions and refactor Dictionary
...
- created bigram/unigram dictionary classes
Change-Id: I233a28ed8d611870db3f4cf8f25fc45b5d41529b
2010-12-02 01:16:44 +09:00
Tadashi G. Takaoka
8d7ecc70a6
Load keyboard only when subtype is keyboard mode
...
Bug: 3224990
Change-Id: I1ae1d86dce923464d4474fc7ce02f2ff22067603
2010-12-01 22:53:06 +09:00
Ken Wakasa
383d6d8c81
Disable "touch to correct words" when suggestion strip is off
...
bug: 3232408
Change-Id: Ic0d5f86288befcd5cf93cd86aaf8936929dbcdcc
2010-12-01 20:24:05 +09:00
Tadashi G. Takaoka
c0007568d9
Merge "Key release event should be sent when finger sliding"
2010-12-01 02:35:17 -08:00
satok
d4952c8fe9
Move a logic for finding words with a missing character to the native code.
...
Change-Id: I58338643830ff4f9708f78a9c26f75c8bf2ebf45
2010-12-01 19:26:36 +09:00
Tadashi G. Takaoka
bd20db25be
Merge "Tweak tablet keyboard design"
2010-12-01 02:07:26 -08:00
Tadashi G. Takaoka
5d04042663
Tweak tablet keyboard design
...
This change introduces,
- center align "More" key label
- remove drop shadow from key label
- darker key label color when manual temporary upper case
- narrower pop up mini keyboard
- remove unnecessary key background from pop up mini keyboard
- smaller key label in portrait
Bug: 3216592
Change-Id: I77e0733f467a88aa32e09fcbace56fe08f755229
2010-12-01 18:51:38 +09:00
Tadashi G. Takaoka
c0b5c9c43e
Key release event should be sent when finger sliding
...
This change is cherry-pick I1a020e3d from Gingerbread-MR
Bug: 3132881
Change-Id: I885eab7744369dfb841f9b34d210b6c2aef8f19a
2010-12-01 15:12:08 +09:00
Ken Wakasa
80e459f8c9
Update the voice input warning dialog message string.
...
Updated the relevant settings menu as well.
bug: 3194809
Change-Id: Ibcd00fcf32f82b7733da155ef6e15e389d53c645
2010-12-01 14:14:47 +09:00
satok
965004fbe9
Remove excessive call of onKeyboardLanguageChanged in SubtypeSwitcher
...
Change-Id: I8f85f9b053a70b8ad1755e4f343ac06ecd9e103b
2010-11-30 11:10:50 +09:00
Tadashi G. Takaoka
fa086c9076
Cleanup unused Java import
...
This change also fixes wrong file mode.
Change-Id: Ifcf4c9444ddcdc62d2e4b394891d6eee135c1e8f
2010-11-29 17:57:48 +09:00
Ken Wakasa
27d13713bb
Preload SharedPreferences at start.
...
bug: 3207554
Change-Id: I84072461aee9675cc67897de03f89e9c0036bc1f
2010-11-26 18:48:04 +09:00
Tadashi G. Takaoka
7f0befe1f0
Update tablet keyboard layout to the latest design
...
This change introduces shiftedIcon attribute for Key which specifies
icon to draw the shift key while the key is in shifted state.
This change also intriduces new configurable dimension value
key_label_horizontal_alignment_padding which represents horizontal
padding for left or right alignment of key label.
Bug: 3216592
Bug: 3201839
Change-Id: I3aa7392227ce573c404517678e6340a8d1fcb328
2010-11-25 00:11:21 -08:00
satok
79efbed76f
Call showInputMethodPicker instead of showInputMethodSubtypePicker
...
- because showInputMethodSubtypePicker will be removed.
Change-Id: I255f9bbff77de24ce067f35ee101d368e36edd45
2010-11-25 14:09:50 +09:00
satok
1fb28137f4
Fix a bug at showing warning dialog at the first time when IME is trigerred in voice mode
...
bug: 3226268
Change-Id: Ife7c752ad309ef796d9b7cc32517f00c2bb2af34
2010-11-24 20:53:57 +09:00
Tadashi G. Takaoka
2c60d6e28e
Support dedicated number/date keyboard layout
...
Bug: 3009716
Change-Id: Idc12cc9d8ee4f5febfae4e11712e2aaca327a6ea
2010-11-24 00:16:00 -08:00
Tadashi G. Takaoka
6624fd8736
Support imeOptions condition in <case>
...
Change-Id: Ie5494601efb29cf65363c4aa3bf5a9ab04a0109a
2010-11-23 23:13:39 -08:00
Tadashi G. Takaoka
59c9930ca9
Support colorScheme <case/> condition in Keyboard XML
...
Change-Id: Ibbfb99e0e2b15df301f83af6739b7bca01ebf490
2010-11-23 18:07:27 -08:00
Tadashi G. Takaoka
a963d0b2e4
Merge "Fix odd "more" key behavior on tablet phone number keyboard"
2010-11-23 15:59:10 -08:00
satok
da64719c6d
Merge "Enabled to change the current subtype to voice input subtypes"
2010-11-23 13:35:20 -08:00
Tadashi G. Takaoka
4b8bbbadac
Fix odd "more" key behavior on tablet phone number keyboard
...
Bug: 3176540
Change-Id: Iaa1f3776d5ac236b2655910ede7522ceac36a9a1
2010-11-23 09:52:59 -08:00
satok
8e09172df1
Enabled to change the current subtype to voice input subtypes
...
bug: 3201828
Change-Id: I4450cbc8ba8829060d702564889c735f1326cf23
2010-11-23 20:20:50 +09:00
Tadashi G. Takaoka
a444889403
Merge "Use normal font for functional key label instead of italic font"
2010-11-23 01:01:43 -08:00
Tadashi G. Takaoka
fab243a183
Use normal font for functional key label instead of italic font
...
This change also uses slightly larger font size for functional key
label according to the v4 keyboard design.
Bug: 3216592
Change-Id: I027f109b7748ade8564dc808487d9a6ce1da9761
2010-11-23 00:38:09 -08:00
Tadashi G. Takaoka
cc359dddb3
Merge "Fix caps lock release in non-distinct multi touch device"
2010-11-22 22:54:34 -08:00
Tadashi G. Takaoka
0d0a46da03
Fix caps lock release in non-distinct multi touch device
...
Bug: 3221869
Change-Id: I7c5d407c465f22945cba37e42683345913b43acc
2010-11-22 22:41:17 -08:00
Tadashi G. Takaoka
0b60f83192
Support <key-style/> and keyStyle attribute for Keyboard XML
...
Change-Id: Ie052e989d0180eecfc8c244ba6c60594a46103d1
2010-11-22 18:33:47 -08:00
satok
4092205833
Refactor to move voice functionarities in LatinIME to VoiceIMEConnector
...
Change-Id: I593a8187d48338c9c0e7d75c73c2dbfc32400335
2010-11-23 10:32:12 +09:00
Tadashi G. Takaoka
04448c2978
Make F1 and Symbol keys static in XML file
...
Change-Id: If869f5ad4fe8f192f89a8679a4abde99a25e02e6
2010-11-21 03:00:53 -08:00
Tadashi G. Takaoka
cd39f2adee
Add keyLabelAlign attribute to Keyboard XML
...
Bug: 3216592
Change-Id: I88f8055199f2cd0525faf9374114fbebba53b951
2010-11-20 18:48:55 -08:00
Tadashi G. Takaoka
45911256fd
Perform editor action IME_ACTION_NEXT/PREVIOUS by tab key
...
Bug: 3122995
Change-Id: I44280fe1c6cc27f429b311edec71e1027178222d
2010-11-19 21:36:37 -08:00
Tadashi G. Takaoka
07f903afba
Merge "Fix automatic temporary upper case mode behaviour"
2010-11-19 17:21:55 -08:00
Tadashi G. Takaoka
6769c67987
Fix automatic temporary upper case mode behaviour
...
This change is a followup of I948ef26f
Automatic Temporary Upper Case mode acts like Normal mode until shift
key is pressed. However, after shift key is pressed, it acts like
Manual Temporary Upper Case mode.
Bug: 3193390
Change-Id: Id3d7a38a1f5905322cd46ded36b1db26576d49af
2010-11-19 16:51:50 -08:00
Tadashi G. Takaoka
1d8196cd41
Use "flag" feature of attr.xml to represent keyboard mode
...
Change-Id: Ibc317ada5167a119477fe8ea2994df6c6462afd0
2010-11-19 14:57:24 -08:00
Tadashi G. Takaoka
75fde64890
Cleanup drawable-xlarge resources into drawable-mdpi
...
Change-Id: I2db335a601ddb0062a637a71289e14cf1d375a1e
2010-11-19 01:37:38 -08:00
Tadashi G. Takaoka
f27364600c
Implement both automatic and manual temporary upper cases
...
With this change,
- Shift and Shift lock state of keyboard is maintained by
LatinKeyboard.ShiftState.
- Shift key state is maintained by ShiftKeyState object in
KeyboardSwitcher.
- LatinIME informs KeyboardSwitcher that shift key press, release and
long press and KeyboardSwitcher determines which state LatinKeyboard
and ShiftLeyState should be.
Bug: 3193390
Change-Id: I948ef26fda512eb1cb0ebddc89d322c4f4f4d670
2010-11-18 19:32:59 -08:00
satok
1d2d3228a3
Merge "Add a functionarity to handle Subtype"
2010-11-18 18:10:25 -08:00
satok
4ab730dbd3
Add a functionarity to handle Subtype
...
Change-Id: Ic6055ba218b64f4276e3db99a435f546c3990ee5
2010-11-19 08:30:02 +09:00
Ken Wakasa
95a5daa3e3
Merge "Avoid disk writes on UI thread."
2010-11-18 12:46:58 -08:00
Ken Wakasa
11eb13e04f
Avoid disk writes on UI thread.
...
bug: 3207554
Change-Id: I285691f9e94d989823fcb5c21615ca50cecddff6
2010-11-19 05:38:18 +09:00
satok
279da1da91
Hide space bar preview when space bar switcher is disabled.
...
Change-Id: I469197a4b3f55335eaee104177f0970cc904bb34
2010-11-18 20:50:37 +09:00
satok
3b776b7892
Move functions in LatinKeyboard related to LanguageSwitcher to SubtypeSwitcher
...
Change-Id: I777db896bd0287931ce7c810b080ccee1121d34e
2010-11-18 08:35:26 +09:00
satok
0ed7191b4d
Move functions related to LanguageSwitcher to LatinIMESubtypeSwitcher
...
Change-Id: I5fa306cf311063ff96b6d45faaca2ffe84cddbf9
2010-11-18 06:58:49 +09:00
Ken Wakasa
378a1b516d
Stop highlighting in suggestion strip after auto-completion cancellation
...
Follow up change to I2185fcf6
bug: 2847211
Change-Id: I7874bc8400e5a7613bfbae83b790ea6192d287b3
2010-11-17 16:40:48 +09:00
Tadashi G. Takaoka
b643dab73a
Refactor KeyboardSwitcher and LatinIME
...
Bug: 3193390
Change-Id: Id894c9bc574a53966d9efc419ab398bae89c34c1
2010-11-16 23:06:37 -08:00
Tadashi G. Takaoka
10227a71a0
Implement temporary upper case hint icon
...
This change partially implements the requested feature. The following
are not supported yet.
- Non-letter key handling on automatic temporary upper case layout.
- Non-letter key handling on shift chording in caps lock layout.
- Hint icons for manual temporary upper case layout are not final ones.
Bug: 3193390
Change-Id: I636da99d1be05b1337935d87c6f4d140661e1cc8
2010-11-16 13:45:49 -08:00
Ken Wakasa
c1e2e827b5
Canceled auto-completion shouldn't be re-auto-completed
...
bug: 2847211
Change-Id: I2185fcf6b798a41135c329485914bc035fad5119
2010-11-16 19:18:05 +09:00
Tadashi G. Takaoka
889691eca1
Refactor shift key state into KeyboardSwitcher
...
Change-Id: If484d3d7e7a0794ee7fc88f0771229d6f90db466
2010-11-16 01:47:39 -08:00
Tadashi G. Takaoka
d7641636db
Refactor UI Handler of LatinIME
...
Change-Id: Iabae338c32969997cb3c7f612c2e5a6999420e28
2010-11-16 01:37:19 -08:00
Tadashi G. Takaoka
89cfd23f34
Merge "Refactor symbol key state into KeyboardSwitcher"
2010-11-16 01:17:26 -08:00
Tadashi G. Takaoka
6c92ee127d
Refactor symbol key state into KeyboardSwitcher
...
Change-Id: Idce4e9bf070b08b8a930fd8e800df9c4d8829f8f
2010-11-16 01:15:16 -08:00
satok
af41759729
Add functions for usability logging
...
Change-Id: I9b66bde1b5ae76742cb685bbc558ce9570dca50a
2010-11-16 18:03:28 +09:00
satok
18e9a7c6fb
Add a logging functionarity for usability study.
...
Bug: 3193879
- Log char input
Change-Id: I5c1568f81012743b7068d423baa99b0f9d1653f8
2010-11-16 17:15:37 +09:00
satok
7599cfea4a
Add showing suggestion only on portrait mode and fixing the state of suggestion strip
...
Change-Id: I7babd1400a3516c87506a3ea4bd46ddaf89e19b4
2010-11-16 07:30:08 +09:00
Tadashi G. Takaoka
71c353aa87
Refactor Tutorial class
...
Change-Id: Ib8dbcf8f36966988fb0d4efdc6bdb7e30b776a68
2010-11-13 01:49:29 -08:00
Tadashi G. Takaoka
1679432d1c
Get rid of the reference to LatinKeyboard from LatinIME
...
Change-Id: I94286ecec0aa8dbfdfaa74d3a76b744c4a250370
2010-11-13 01:45:12 -08:00
Ken Wakasa
3009310283
Partially revert I63ad561c
...
This is required to make cancellations of auto-corrections/completions work.
Change-Id: I091fb9946d4642847fde39d86a6b3b09735e93a8
2010-11-13 15:16:43 +09:00
Tadashi G. Takaoka
d98c20b036
Fix NPE that is caused by null EditorInfo
...
Bug: 3192772
Change-Id: Ia057d29e070ccbb90ee60df1e141de14de95f820
2010-11-12 15:26:54 -08:00
Tadashi G. Takaoka
b0465116bd
Keyboard XML supports switch-case-default tags to select rows and keys
...
Change-Id: I0d92e513757e765d9de98561205754af5a143650
2010-11-12 14:30:25 -08:00
Tadashi G. Takaoka
8b00bc4f32
Rename KeyboardSwitcher.setKeyboardMode to loadKeyboard
...
This change also eliminates KeyboardSwitcher.refreshKeyboardCache,
LatinIME.reloadKeyboards() and LanguageSwicther.getLocales().
Change-Id: I5fd4914660ea1c955ddfa0ca62b920f9bcd53e1b
2010-11-11 15:44:50 -08:00
Ken Wakasa
4174655e23
Check the system vibrator availability for the "Vibrate on keypress" preference.
...
bug: 3021001
Change-Id: I7843a3e4765333c720fd8f258c1fffdf6f090d3a
2010-11-11 19:15:34 +09:00
satok
ca26f20fa4
Fix states for showing PunctuationList and correction
...
- Fixed the visibility of the suggestion strip
Change-Id: I63ad561c71464657521661dbd25c72dd34841834
2010-11-11 17:37:11 +09:00
Tadashi G. Takaoka
48bc6b158b
Refactor KeyboardSwitch.KeyboardId class
...
This change defers determining which keyboard should be loaded and
holds the information in KeyboardId object as much as possible. At
keyboard loading time, the determination deferred will be made
depending on the information of KeyboardId.
Change-Id: Ice2455d9e5b21671a250c342c06c043e4baa5355
2010-11-10 21:26:53 -08:00
Tadashi G. Takaoka
507495efd5
Refactor to remove KeyboardSwitcher.setVoiceMode
...
This change also renames KeyboardSwitcher.makeKeyboards to
refreshKeyboardCache.
Change-Id: I76897562d5876a53364dc378e7800ab92fb2a37b
2010-11-10 21:16:47 -08:00
Tadashi G. Takaoka
8aaab7c286
Should cancel both normal and shift long press timers
...
Bug: 3132881
Change-Id: Ib89e2efa4e68e7d57ac1123df2ec6241f1b902d1
2010-11-10 15:27:24 -08:00
Tadashi G. Takaoka
f8e30a9153
Refactor calling KeyboardSwitcher.setKeyboardMode
...
This change also eliminates unnecessary recursive call in
KeyboardSwitcher.setKeyboardMode.
Change-Id: Iff25fe23b34227d526dee0bbe8710842545c2afa
2010-11-08 23:50:27 -08:00
Tadashi G. Takaoka
59b7bd0730
Using distance to the edge of key as proximity detection
...
Because there may be very long key, such as space bar on tablet, we
should not use the distance between the touch point and the center of
key as proximity detection. Instead of that, this change uses the
distance between the point and the nearest edge of key as proximity
detection.
Also this change fixes the bug that space key (code 32) was not
counted in proximity detection.
Bug: 3164020
Bug: 3168138
Change-Id: I687f1ce94a8e944c3f6eea0fe00e18ed6e68e278
2010-11-06 01:10:55 +09:00
Tadashi Takaoka
68864723cf
Rename LatinKeyboardBaseView class to KeyboardBaseView
...
Change-Id: I496ecbfa7d398583d01f821398f49f75d17311d8
2010-11-05 18:36:19 +09:00
Leon Scroggins
47f795dc87
Treat the new web fields like their corresponding variations.
...
Bug:2692655
Bug:2460543
Change-Id: I86e814902447ecd5c8b00e399a0143d3dc2ad2cf
2010-11-04 11:27:55 -04:00
Ken Wakasa
17fcd719de
Make sure there are no modes with settings key on tablet.
...
Follow-up change to I73b8a502
bug: 3095814
Change-Id: I79bb05c61dc73b036331e17d02c791f08a0168fc
2010-11-02 19:33:27 +09:00
Ken Wakasa
200ece7907
Capitalization for "Quick Fixes" words doesn't work
...
bug: 3151706
Change-Id: I7770a1d26edb1ea72ee93396181953a724dcc4bf
2010-11-01 20:25:07 +09:00
Ken Wakasa
2a952e9b7e
am b5e8c779
: am 69db35c4
: Make the buttons work for edge pixels of the keyboard
...
* commit 'b5e8c7799726a5975283fa138ad2870ab02d01a4':
Make the buttons work for edge pixels of the keyboard
2010-10-29 08:28:28 -07:00
Ken Wakasa
69db35c493
Make the buttons work for edge pixels of the keyboard
...
Follow-up change to If7630b89
bug: 3142416
Change-Id: I2660e3d688eb0490363e460d5b4944c89b8ca35c
2010-10-29 19:24:08 +09:00
satok
dd8c4c0068
Merge "Increased the size of GRID in Keyboard"
2010-10-29 03:01:32 -07:00
satok
74103ee1b9
Increased the size of GRID in Keyboard
...
Bug: 3122894
- Changed width 10 -> 32
- Changed height 5 -> 16
Change-Id: I07354cf5c942974cc25a5e043f41e0f13a09351b
2010-10-29 18:50:18 +09:00
Ken Wakasa
37a0f2d5de
am e32a77c6
: am 9dce586e
: Bugfix: IME gives haptic feedback when button wasn\'t pressed
...
* commit 'e32a77c691567bdb3031d877e80786508bd47e4a':
Bugfix: IME gives haptic feedback when button wasn't pressed
2010-10-28 11:38:38 -07:00
Ken Wakasa
9dce586eaa
Bugfix: IME gives haptic feedback when button wasn't pressed
...
bug: 3142416
Change-Id: If7630b89d6c2a8ec38e191c263c03f8f11d3c498
2010-10-29 03:15:02 +09:00
Ken Wakasa
fd0bd57deb
Change suggestion update delay from 100ms to 180ms to avoid flashy suggestion strip with quick multi-finger typing.
...
bug: 3122641
Change-Id: I385f9eb2e392487d7b4c252553d1f8d7c21da2e4
2010-10-27 18:05:27 +09:00
Ken Wakasa
8252de1a60
Remove auto capitalization by Shift+puncs
...
bug: 3133312
Change-Id: I12a05d9028ab2fad07e1819407d63cf8ffd4d30c
2010-10-27 14:10:36 +09:00
Ken Wakasa
276845c7a9
Follow-up change to revise Caps Lock sequence.
...
bug: 3122877
Change-Id: I44c539d7c041443f3ad027de4b75a67adf6b2c87
2010-10-26 20:00:21 +09:00
Ken Wakasa
eec7bb9386
Get rid of mCapsLock in LatinIME.java
...
Change-Id: I9c6387ee387d53460d23a12225829da344674579
2010-10-25 23:34:47 +09:00
Ken Wakasa
29ff343f77
Remove LatinKeyboardBaseView.isShifted() and setShifted() for refactoring
...
Change-Id: I9a1106b679a9ffb3ae959d90377eef096e5af842
2010-10-25 19:55:06 +09:00
Ken Wakasa
0ce98cbf98
Get rid of references to BaseKeyboard in Latin-specific classes
...
Change-Id: I6871a24967b1410bdb14e902bdd311ef82fd4f0b
2010-10-25 18:04:01 +09:00
Tadashi G. Takaoka
4189eb2308
Revise caps lock sequences
...
This change also fixes that the popup preview of ALT on symbol
keyboard is not showing.
Bug: 3122877
Bug: 3127255
Change-Id: I978cb30a0d05298274d8ab6541b91323a0fef211
2010-10-25 00:03:46 +09:00
Tadashi G. Takaoka
71cc4ef673
Merge "Tablet keyboard should always show "?123" as symbol key"
2010-10-22 10:53:44 -07:00
Tadashi G. Takaoka
36af0880c3
Tablet keyboard should always show "?123" as symbol key
...
Bug: 3118554
Change-Id: Ib609799f28dee56a4ded2e8144ac4a0c0d113ad6
2010-10-22 23:59:21 +09:00
Tadashi G. Takaoka
0b1cb2d039
Refactor BaseKeyboardParser as Recursive Descendent Parser
...
Bug: 3082538
Change-Id: Ic0d72c6fe08cfc20db86aeffb10a27efe678095e
2010-10-22 21:58:45 +09:00
Tadashi G. Takaoka
4f6060b8b7
Table keyboard should always show return icon on enter key
...
Bug: 3122750
Change-Id: I75d2b5adff3a349d29d8a56e7b761c26b04683c0
2010-10-22 18:27:59 +09:00
Tadashi G. Takaoka
503797ae0e
Make "show settings key option" dependent to device configuration
...
Bug: 3095814
Change-Id: I73b8a5023b398621a910c953eade252dc6412923
2010-10-22 17:04:14 +09:00
Tadashi G. Takaoka
41338e6c32
Move BaseKeyboardParser to top-level class
...
Bug: 3082538
Change-Id: If0ddf32bc3811e3c65a7a96503c61ed3351eeb66
2010-10-21 19:38:31 +09:00
Tadashi G. Takaoka
bf77bb7678
Refactor BaseKeyboard parsing code
...
Change-Id: I241125b5b15c9d6bbba456476f1f4fd3ef9db3f2
2010-10-21 17:58:34 +09:00
Ken Wakasa
e354a85ef4
Manual merge of the following Gingerbread changes logically
...
I8b38e280
Ia3929bb0
If925b546
I1062763d
I901e36aa
bug: 3100311
Change-Id: Ic7e01277ec816e77d34732599b2b9552668b81c2
2010-10-20 22:51:33 +09:00
Tadashi G. Takaoka
58bfa35072
Update xlarge drawable of Keyboard
...
Bug: 3109804
Change-Id: I316f9cfcec377a7d0ea1417e1e3cea55cbdb9e2b
2010-10-19 21:59:17 +09:00