aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Auto mini keyboard layoutTadashi G. Takaoka2011-04-154-49/+85
|/ | | | | Bug: 4280617 Change-Id: I34c344cbf350fe125589aa14ad69e4bd1f4e6f66
* Count up horizontal gap as part of key widthTadashi G. Takaoka2011-04-151-1/+1
| | | | Change-Id: Ic9a070a9b6a461f4c8330d1cc3e2c33fd7369f73
* Receive a broadcast that the dictionary has been updated.Jean Chalard2011-04-142-0/+12
| | | | Change-Id: I9751cc627a835a4061f144c48ff51e9d81b2c93b
* Merge "Make showing key preview compatible with pre-Honeycomb"Tadashi G. Takaoka2011-04-141-6/+13
|\
| * Make showing key preview compatible with pre-HoneycombTadashi G. Takaoka2011-04-141-6/+13
| | | | | | | | | | Bug: 4179964 Change-Id: Ide0a9c75983b45f8e829f0d64f41557d42fc11e7
* | Fix for language bar switchingsatok2011-04-145-16/+39
|/ | | | Change-Id: Id3974642b62b012968c537eff7c1a7ee37e2def2
* Merge "Fast key preview"Tadashi G. Takaoka2011-04-135-117/+60
|\
| * Fast key previewTadashi G. Takaoka2011-04-135-117/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | 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