aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Support language bar swich for InputMethodSubtypesatok2011-04-137-129/+275
| | | | Change-Id: Ie49f0c1c7aea135331dc1d4a635197b3f4a96e93
* Add visualInsetsLeft and Right as Key attributeTadashi G. Takaoka2011-04-112-17/+29
| | | | | Bug: 4269094 Change-Id: Ic38d326a8e9ef802453c909f3a81d556863acc9b
* Merge "Reinforce user-history based bigram use."Jean Chalard2011-04-082-19/+16
|\
| * Reinforce user-history based bigram use.Jean Chalard2011-04-062-19/+16
| | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Merge "Increase the horizontal gap between shift/delete and normal keys"Tadashi G. Takaoka2011-04-083-4/+16
|\ \
| * | Increase the horizontal gap between shift/delete and normal keysTadashi G. Takaoka2011-04-083-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | This change also adds capability to add horizontal padding to the keyboard. Bug: 4269094 Change-Id: I805e76b253a497079517c01bd2a976f8702f7e56
* | | Disable popup preview and long press on disabled keyTadashi G. Takaoka2011-04-082-1/+6
|/ / | | | | | | | | Bug: 4268147 Change-Id: Ibcb54791ef78737dd09d8a594b5a53b0909609d6
* | Add logOnSeparatorsatok2011-04-084-23/+42
| | | | | | | | | | | | This is a supplement for I9abb8141f23100d Change-Id: I529d2a78f4fe630611db4cba830d933370c8c34f
* | Simplify the Key's on state transitionTadashi G. Takaoka2011-04-075-35/+22
| | | | | | | | | | | | | | | | | | | | | | 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
* | Disable successive modifier key while sliding inputTadashi G. Takaoka2011-04-071-11/+33
| | | | | | | | | | | | | | | | | | | | When user starts sliding key input, sliding through successive modifier key will be ignored. Bug: 4181843 Depends: I082885bd2376ae26bdfc378c14add2b5d6be1d4e Change-Id: Ibe890b9cc1183dbe9f68a421650fcd97e7ff221c
* | Fix popup key preview on tabletTadashi G. Takaoka2011-04-073-3/+3
|/ | | | | | | | This change temporally enable popup key preview option on tablet. (config_enable_show_popup_on_keypress_option). Bug: 3286117 Change-Id: Iabbac5a333460e1ed2f8d05ba82f4bae81854b85
* Merge "Add settings for theme, userfeedback and other settings (temporary)"satok2011-04-011-0/+10
|\
| * Add settings for theme, userfeedback and other settings (temporary)satok2011-04-011-0/+10
| | | | | | | | Change-Id: I063c48dbf021f5608c241a3543aa2628b5faaa40
* | Merge "Enable VoiceInput even if there is no shortcut subtype supported"satok2011-04-016-11/+165
|\ \
| * | Enable VoiceInput even if there is no shortcut subtype supportedsatok2011-04-016-11/+165
| |/ | | | | | | Change-Id: I1d455348f56d73ecb942f22c2bbd03f240b489a6
* / Disable Recorrection when APIs are not supported.satok2011-04-013-79/+39
|/ | | | Change-Id: I3b8fdc149d350215fd4852a50456824fe3fabe0b
* Fix a NPE in InputMethodManagerCompatWrappersatok2011-03-251-0/+3
| | | | Change-Id: Ia7c9b7135ba38a8df29464f7776b51d412f71acb
* Fix some compat bugs and add VoiceInputLoggerCompatUtilssatok2011-03-257-13/+65
| | | | Change-Id: I54ed0853ed4423704a300977d7880678e066a6fb
* Move a debug utility function to EditorInfoCompatUtilssatok2011-03-253-24/+44
| | | | | | - imeOptionName Change-Id: I7a7ea9bee410cedc0ef9b3d2aa4df8260d7f6a35
* Added InputTypeCompatUtilssatok2011-03-254-36/+108
| | | | | | Also Moved utilities related to InputType to InputTypeCompatUtils Change-Id: Iab8ff5389f624f2abe627ece2acb156b0e1285ef
* Added InputConnectionCompatUtils and EditorInfoCompatUtilssatok2011-03-244-12/+141
| | | | Change-Id: Ie69d5e90c4ee978d3ecb40b68e6466082569ca7a
* Merge "Moved a functionality of setOverScrollMode to ↵satok2011-03-243-4/+27
|\ | | | | | | InputMethodServiceCompatWrapper"
| * Moved a functionality of setOverScrollMode to InputMethodServiceCompatWrappersatok2011-03-243-4/+27
| | | | | | | | Change-Id: Ie473c9fced9f0a8da5643390b44aa4b86128396d
* | Merge "Added VibratorCompatWrapper"satok2011-03-243-7/+52
|\ \ | |/ |/|
| * Added VibratorCompatWrappersatok2011-03-243-7/+52
| | | | | | | | Change-Id: I7640f051873f42aa15337edc718ac95ec1c51698
* | Merge "Moved a functionality of setting touchableRegion to ↵satok2011-03-243-2/+42
|\ \ | |/ |/| | | InputMethodServiceCompatWrapper."
| * Moved a functionality of setting touchableRegion to ↵satok2011-03-243-2/+42
| | | | | | | | | | | | InputMethodServiceCompatWrapper. Change-Id: I8b9fe507885ef5ae7cb09db93a977e23b1bbd0db
* | Merge "Added InputMethodInfoCompatWrapper"satok2011-03-244-17/+82
|\ \
| * | Added InputMethodInfoCompatWrappersatok2011-03-244-17/+82
| | | | | | | | | | | | Change-Id: I5f2970e986afbe3b0b24ccf819f57f524e83ef3f
* | | Renamed Proxy classessatok2011-03-245-66/+66
| |/ |/| | | | | | | | | | | | | - VoiceConnector to VoiceProxy - VoiceInputConnector to VoiceInputWrapper - VoiceLoggerConnector to VoiceLoggerWrapper Change-Id: I908ddc590c8846cf5cbd80b9c0257cb65c638bde
* | Merge "Remove a useless variable."Jean Chalard2011-03-231-1/+0
|\ \ | |/ |/|
| * Remove a useless variable.Jean Chalard2011-03-231-1/+0
| | | | | | | | Change-Id: Ifec283fcd397f7f42933220f19a807879ef6195e
* | Fix a bug that Voice IME is not triggered properly.satok2011-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | 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
* | Add InputMethodServiceCompatWrapper for moving the callback from LatinIME.satok2011-03-236-16/+100
|/ | | | Change-Id: If6b0180c63738e5e78a20fe5b938ef50d62865d6
* Use reflections for classes related to InputMethodSubtypesatok2011-03-1810-35/+333
| | | | Change-Id: Ica53ce879c2b4c5eb47f757fb788a795a881c30e
* Merge "Add different ways of reading the dictionary file."Jean Chalard2011-03-1810-15/+494
|\
| * Add different ways of reading the dictionary file.Jean Chalard2011-03-1810-15/+494
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Added CompatUtils for starting a language selectorsatok2011-03-183-15/+61
|/ | | | Change-Id: I158414efaff43d0c6abe1f9af83ed3425992dfb9
* (Refactor 1) Moved voice related codes to deprecated/voicesatok2011-03-1614-71/+141
| | | | Change-Id: I008ac7099c815fb74a9ab374419617b336453f97
* Refactor BinaryDictionary a bitTadashi G. Takaoka2011-03-163-60/+48
| | | | | | | | | 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
* Add Utils.equalsIgnoreCase methodsTadashi G. Takaoka2011-03-166-86/+130
| | | | | | | | | 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
* Avoid the removal of high-ranking exactly typed candidates.Jean Chalard2011-03-151-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Disable debug flag in TextEntryStateTadashi G. Takaoka2011-03-081-1/+1
| | | | | Bug: 4051276 Change-Id: I980c0dfefdf3ae70935aca9755a55d1c925a23f9
* Add whitelist dictionarysatok2011-03-085-92/+238
| | | | | | Bug: 3447571 Change-Id: I538e4e706982129b666ca1ab1085f1b68b69f87f
* Merge "Demote skipped characters matched words with respect to length." into ↵Jean Chalard2011-03-041-9/+32
|\ | | | | | | honeycomb-mr1
| * Demote skipped characters matched words with respect to length.Jean Chalard2011-03-051-9/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Add the suggestion algorithm of words with space proximity" into ↵satok2011-03-042-16/+14
|\ \ | | | | | | | | | honeycomb-mr1
| * | Add the suggestion algorithm of words with space proximitysatok2011-03-042-16/+14
| | | | | | | | | | | | | | | | | | Bug: 3311719 Change-Id: Ide12a4a6280103c092fa0f563dd5b9e3f7f5c89b
* | | Fix a NPE caused by a null typedWordKen Wakasa2011-03-052-2/+1
|/ / | | | | | | | | bug: 3514797 Change-Id: Ie1056745ded1f848d1e4f70c5344d6969de509b0
* / Cleanup Suggest to be able to be unit test readyTadashi G. Takaoka2011-03-032-64/+66
|/ | | | | Bug: 3414081 Change-Id: Ia76afac4b1a61b8953a215b7cbdb7557736f7b9c