aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Expand)AuthorAgeFilesLines
...
* | 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 Tadashi G. Takaoka2011-04-075-35/+22
* | 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 Tadashi G. Takaoka2011-04-071-11/+33
* | 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 Tadashi G. Takaoka2011-04-073-3/+3
|/
* Merge "Add settings for theme, userfeedback and other settings (temporary)"satok2011-04-011-0/+10
|\
| * Add settings for theme, userfeedback and other settings (temporary)•••Change-Id: I063c48dbf021f5608c241a3543aa2628b5faaa40 satok2011-04-011-0/+10
* | 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 supported•••Change-Id: I1d455348f56d73ecb942f22c2bbd03f240b489a6 satok2011-04-016-11/+165
| |/
* / Disable Recorrection when APIs are not supported.•••Change-Id: I3b8fdc149d350215fd4852a50456824fe3fabe0b satok2011-04-013-79/+39
|/
* Fix a NPE in InputMethodManagerCompatWrapper•••Change-Id: Ia7c9b7135ba38a8df29464f7776b51d412f71acb satok2011-03-251-0/+3
* Fix some compat bugs and add VoiceInputLoggerCompatUtils•••Change-Id: I54ed0853ed4423704a300977d7880678e066a6fb satok2011-03-257-13/+65
* Move a debug utility function to EditorInfoCompatUtils•••- imeOptionName Change-Id: I7a7ea9bee410cedc0ef9b3d2aa4df8260d7f6a35 satok2011-03-253-24/+44
* Added InputTypeCompatUtils•••Also Moved utilities related to InputType to InputTypeCompatUtils Change-Id: Iab8ff5389f624f2abe627ece2acb156b0e1285ef satok2011-03-254-36/+108
* Added InputConnectionCompatUtils and EditorInfoCompatUtils•••Change-Id: Ie69d5e90c4ee978d3ecb40b68e6466082569ca7a satok2011-03-244-12/+141
* Merge "Moved a functionality of setOverScrollMode to InputMethodServiceCompat...satok2011-03-243-4/+27
|\
| * Moved a functionality of setOverScrollMode to InputMethodServiceCompatWrapper•••Change-Id: Ie473c9fced9f0a8da5643390b44aa4b86128396d satok2011-03-243-4/+27
* | Merge "Added VibratorCompatWrapper"satok2011-03-243-7/+52
|\ \ | |/ |/|
| * Added VibratorCompatWrapper•••Change-Id: I7640f051873f42aa15337edc718ac95ec1c51698 satok2011-03-243-7/+52
* | Merge "Moved a functionality of setting touchableRegion to InputMethodService...satok2011-03-243-2/+42
|\ \ | |/ |/|
| * Moved a functionality of setting touchableRegion to InputMethodServiceCompatW...•••Change-Id: I8b9fe507885ef5ae7cb09db93a977e23b1bbd0db satok2011-03-243-2/+42
* | Merge "Added InputMethodInfoCompatWrapper"satok2011-03-244-17/+82
|\ \
| * | Added InputMethodInfoCompatWrapper•••Change-Id: I5f2970e986afbe3b0b24ccf819f57f524e83ef3f satok2011-03-244-17/+82
* | | Renamed Proxy classes•••- VoiceConnector to VoiceProxy - VoiceInputConnector to VoiceInputWrapper - VoiceLoggerConnector to VoiceLoggerWrapper Change-Id: I908ddc590c8846cf5cbd80b9c0257cb65c638bde satok2011-03-245-66/+66
| |/ |/|
* | Merge "Remove a useless variable."Jean Chalard2011-03-231-1/+0
|\ \ | |/ |/|
| * Remove a useless variable.•••Change-Id: Ifec283fcd397f7f42933220f19a807879ef6195e Jean Chalard2011-03-231-1/+0
* | 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 satok2011-03-231-1/+1
* | Add InputMethodServiceCompatWrapper for moving the callback from LatinIME.•••Change-Id: If6b0180c63738e5e78a20fe5b938ef50d62865d6 satok2011-03-236-16/+100
|/
* Use reflections for classes related to InputMethodSubtype•••Change-Id: Ica53ce879c2b4c5eb47f757fb788a795a881c30e satok2011-03-1810-35/+333
* Merge "Add different ways of reading the dictionary file."Jean Chalard2011-03-1810-15/+494
|\
| * 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 Jean Chalard2011-03-1810-15/+494
* | Added CompatUtils for starting a language selector•••Change-Id: I158414efaff43d0c6abe1f9af83ed3425992dfb9 satok2011-03-183-15/+61
|/
* (Refactor 1) Moved voice related codes to deprecated/voice•••Change-Id: I008ac7099c815fb74a9ab374419617b336453f97 satok2011-03-1614-71/+141
* 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 Tadashi G. Takaoka2011-03-163-60/+48
* 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 Tadashi G. Takaoka2011-03-166-86/+130
* 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 Jean Chalard2011-03-151-1/+14
* Disable debug flag in TextEntryState•••Bug: 4051276 Change-Id: I980c0dfefdf3ae70935aca9755a55d1c925a23f9 Tadashi G. Takaoka2011-03-081-1/+1
* Add whitelist dictionary•••Bug: 3447571 Change-Id: I538e4e706982129b666ca1ab1085f1b68b69f87f satok2011-03-085-92/+238
* Merge "Demote skipped characters matched words with respect to length." into ...Jean Chalard2011-03-041-9/+32
|\
| * 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 Jean Chalard2011-03-051-9/+32
* | Merge "Add the suggestion algorithm of words with space proximity" into honey...satok2011-03-042-16/+14
|\ \
| * | Add the suggestion algorithm of words with space proximity•••Bug: 3311719 Change-Id: Ide12a4a6280103c092fa0f563dd5b9e3f7f5c89b satok2011-03-042-16/+14
* | | Fix a NPE caused by a null typedWord•••bug: 3514797 Change-Id: Ie1056745ded1f848d1e4f70c5344d6969de509b0 Ken Wakasa2011-03-052-2/+1
|/ /
* / Cleanup Suggest to be able to be unit test ready•••Bug: 3414081 Change-Id: Ia76afac4b1a61b8953a215b7cbdb7557736f7b9c Tadashi G. Takaoka2011-03-032-64/+66
|/
* Merge "Move the auto correction functionalities to AutoCorrection.java"satok2011-03-033-66/+154
|\
| * Move the auto correction functionalities to AutoCorrection.java•••- Also removed a quick fix for 2nd or more suggestions. Change-Id: I7bf46a9cd6a727473e68836954fca160c9d853e6 satok2011-03-033-66/+154
* | Hide shortcut key when the shortcut IME is not enabled•••Bug: 3398726 Change-Id: I5e1bfc1fec9047c1c4e4f29fbf79f0fdf9356ffb Tadashi G. Takaoka2011-03-034-13/+32
* | Continue swapping sentence separator and space•••Bug: 3504990 Change-Id: I3de44e9d9adb0bcafa2e59685c4cdc257716b1d6 Tadashi G. Takaoka2011-03-022-2/+1
* | Refactor TextEntryState not to use enum•••Bug: 3504990 Change-Id: Id1ae9715d9f9ba99702e4cd5c243026a84d6861d Tadashi G. Takaoka2011-03-022-224/+153
* | Remove mIsApplicationSpecifiedCompletions flags from SuggestedWords•••Bug: 3504990 Change-Id: Ib7588ab05fa8b8ab58bf3bea6ff1f644c53ebb94 Tadashi G. Takaoka2011-03-023-14/+6
* | 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 Jean Chalard2011-03-032-17/+71
|/
* Remain in previous state while sliding off from shift key•••Bug: 3502290 Change-Id: I69b60051863c78727363ae63576c28d87fb71a3a Tadashi G. Takaoka2011-03-025-32/+38